@arcgis/map-components 4.34.0-next.91 → 4.34.0-next.98
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/{CRKSFENS.js → 2C5TMVRS.js} +1 -1
- package/dist/cdn/{NEEKZSKM.js → 2G4BYJKW.js} +2 -2
- package/dist/cdn/2RIYZ6Y3.js +4 -0
- package/dist/cdn/2YAJBFCS.js +4 -0
- package/dist/cdn/3BL3DWXL.js +4 -0
- package/dist/cdn/{BGUPM4WE.js → 3GU6UM7Z.js} +2 -2
- package/dist/cdn/{ZPIYTD7Y.js → 3I42UCU7.js} +2 -2
- package/dist/cdn/{4MHH26CF.js → 3M42DIT4.js} +2 -2
- package/dist/cdn/{FCCZSC6F.js → 3RYAJSDW.js} +2 -2
- package/dist/cdn/{4JFTIWTZ.js → 3TLSVY5N.js} +2 -2
- package/dist/cdn/{KV42XCZJ.js → 3VX4IGA2.js} +1 -1
- package/dist/cdn/{RUJFRNC3.js → 3Z54N35Q.js} +2 -2
- package/dist/cdn/{5DOOYV7D.js → 4BHWK2IO.js} +2 -2
- package/dist/cdn/{GPOKRRLY.js → 4ESDWIMM.js} +2 -2
- package/dist/cdn/{GB36F246.js → 4G63G2MT.js} +2 -2
- package/dist/cdn/{WBCPI6YZ.js → 4IWQYNU3.js} +1 -1
- package/dist/cdn/{FEQBVWAQ.js → 4KTKJB3K.js} +2 -2
- package/dist/cdn/4LC5RYDX.js +4 -0
- package/dist/cdn/{XVDDJYRJ.js → 4M6WUEEW.js} +1 -1
- package/dist/cdn/4QNV35KO.js +4 -0
- package/dist/cdn/{P2T4L2ZQ.js → 4SPULH2J.js} +1 -1
- package/dist/cdn/{26VS3G3R.js → 4T2EP3IZ.js} +2 -2
- package/dist/cdn/4V7KRMRS.js +4 -0
- package/dist/cdn/5Z4ZKYFW.js +4 -0
- package/dist/cdn/{IG4PWLRT.js → 6CCOTAPV.js} +2 -2
- package/dist/cdn/{VOWMBFPD.js → 6FW7VHCI.js} +2 -2
- package/dist/cdn/{UZE6K6EG.js → 6H2KUJD4.js} +2 -2
- package/dist/cdn/{R2BD47BM.js → 6JDLVB4N.js} +2 -2
- package/dist/cdn/{TCPDILUG.js → 6S5VAF4T.js} +2 -2
- package/dist/cdn/6UXFV7RT.js +4 -0
- package/dist/cdn/{VQNX3YQV.js → 6VQQGUDK.js} +2 -2
- package/dist/cdn/{RD5LKCEV.js → 72UAR6S4.js} +2 -2
- package/dist/cdn/{ZH3AAFDM.js → 7QNBQSAD.js} +2 -2
- package/dist/cdn/{4Y4KE6AP.js → 7T5AWMOC.js} +2 -2
- package/dist/cdn/{V4WXQITR.js → 7W2G4XQD.js} +3 -3
- package/dist/cdn/{C2K4CKN4.js → 7ZCL2PRV.js} +2 -2
- package/dist/cdn/{XNV7DG2I.js → AA57HXFV.js} +2 -2
- package/dist/cdn/ALZTJYKY.js +4 -0
- package/dist/cdn/{IDNSGNNK.js → AQQVWSJR.js} +2 -2
- package/dist/cdn/{YXFWSY2P.js → ATMRHH5E.js} +2 -2
- package/dist/cdn/{A2DSQ7HZ.js → AUCKAUQS.js} +2 -2
- package/dist/cdn/{KS757FUQ.js → B3P7EH5D.js} +2 -2
- package/dist/cdn/{ORSZNJW5.js → BEEBQMGQ.js} +2 -2
- package/dist/cdn/{LPXJFGAI.js → BJ5BR3NB.js} +2 -2
- package/dist/cdn/{TSEYDOLZ.js → BUSX6XUX.js} +2 -2
- package/dist/cdn/{I6MJ5EVW.js → BW7D2IY7.js} +2 -2
- package/dist/cdn/{AM64DN3I.js → C5FLHRJK.js} +2 -2
- package/dist/cdn/C7QSY5WJ.js +4 -0
- package/dist/cdn/{UAUGVNRE.js → CBIVL2BT.js} +2 -2
- package/dist/cdn/CCQZBJNR.js +4 -0
- package/dist/cdn/{2JY2EHLH.js → CXKQ5X6T.js} +2 -2
- package/dist/cdn/{YSRJSJ5M.js → D6HBBEQT.js} +2 -2
- package/dist/cdn/{3ZIBD6AU.js → DBDRSS2B.js} +2 -2
- package/dist/cdn/{73XXZQR3.js → DGIVGZYH.js} +2 -2
- package/dist/cdn/{ORJEX6OM.js → DIW3NWAP.js} +2 -2
- package/dist/cdn/{3GKUKAQC.js → DPT2RC7R.js} +2 -2
- package/dist/cdn/{RUSPRLLB.js → DXXGX623.js} +2 -2
- package/dist/cdn/{ZH3CQOAN.js → E36LC77Y.js} +2 -2
- package/dist/cdn/{FCY2HC57.js → EFQCFRPS.js} +2 -2
- package/dist/cdn/{U7VOK4GQ.js → EJF2MTKA.js} +2 -2
- package/dist/cdn/FGSP3VBR.js +4 -0
- package/dist/cdn/{P5XXBWN7.js → FR3HWC5W.js} +2 -2
- package/dist/cdn/G5L66HWV.js +4 -0
- package/dist/cdn/GFY5J3FS.js +4 -0
- package/dist/cdn/{SKXZQQFY.js → GK6URPLL.js} +2 -2
- package/dist/cdn/{3F2WSBBS.js → GLXQIBR4.js} +2 -2
- package/dist/cdn/{CE4LXVIJ.js → GPXPVJPF.js} +2 -2
- package/dist/cdn/{RXAG4UQ7.js → GUQYHMXI.js} +2 -2
- package/dist/cdn/{PKL2OB3W.js → HDN67FNV.js} +2 -2
- package/dist/cdn/{LXX5BNBO.js → HGE7F3QM.js} +2 -2
- package/dist/cdn/{23I52OMQ.js → HGZIGKOD.js} +2 -2
- package/dist/cdn/{WJGNBKAL.js → HTVXTYGR.js} +2 -2
- package/dist/cdn/{U72ZSUSL.js → HUAYNAEB.js} +2 -2
- package/dist/cdn/{LFVN5RNO.js → HYXOUMMF.js} +2 -2
- package/dist/cdn/IAUMBWEQ.js +4 -0
- package/dist/cdn/{BHFMEI5F.js → IEF7DFCB.js} +4 -4
- package/dist/cdn/{64KXMZAI.js → IJXQGGLU.js} +2 -2
- package/dist/cdn/IKYQMUB6.js +4 -0
- package/dist/cdn/{P4WWFICX.js → IOGMKZIO.js} +2 -2
- package/dist/cdn/IRJ2BNA3.js +4 -0
- package/dist/cdn/{7OPXEFUW.js → IWXNSGWE.js} +2 -2
- package/dist/cdn/{UMCRKYOM.js → J5ZK22RM.js} +1 -1
- package/dist/cdn/{UWWDRTAD.js → JG24SIPT.js} +2 -2
- package/dist/cdn/{QZASV57A.js → JS5WK52K.js} +2 -2
- package/dist/cdn/{MXVAQEN6.js → JVLUCGVG.js} +2 -2
- package/dist/cdn/{7J6WH5AG.js → JZWUJNUY.js} +2 -2
- package/dist/cdn/{EI3LT3F2.js → K3EXVYNP.js} +2 -2
- package/dist/cdn/{DCSQWPUS.js → K642LGYG.js} +2 -2
- package/dist/cdn/{XJQN3E4Q.js → KCEQ5XCL.js} +2 -2
- package/dist/cdn/{HWPG3LXH.js → KEFXZYXO.js} +2 -2
- package/dist/cdn/{JU6QRUT5.js → KJOQ6IKH.js} +1 -1
- package/dist/cdn/{N25PNI7Q.js → KLVBCHVK.js} +2 -2
- package/dist/cdn/{D2EMU45B.js → KPXHDHNU.js} +2 -2
- package/dist/cdn/KXYFRVHQ.js +4 -0
- package/dist/cdn/{T5SCA24S.js → KZFUTA7V.js} +2 -2
- package/dist/cdn/{VZILC54I.js → L3PVAY5D.js} +2 -2
- package/dist/cdn/LBA4GJ5E.js +4 -0
- package/dist/cdn/LD7VDL6C.js +4 -0
- package/dist/cdn/{YOFQNERO.js → LGI7R5YW.js} +2 -2
- package/dist/cdn/{MLDNR3RO.js → LMBFNLGT.js} +2 -2
- package/dist/cdn/{RVIHTCAO.js → LWMBVCYL.js} +2 -2
- package/dist/cdn/MFM4YV57.js +4 -0
- package/dist/cdn/{6QOP4TDP.js → MH74L3IP.js} +2 -2
- package/dist/cdn/MHUZIFJD.js +4 -0
- package/dist/cdn/{GVVRX4ZO.js → MKA77LCS.js} +2 -2
- package/dist/cdn/{EPESMVAQ.js → MLFR6JZ2.js} +1 -1
- package/dist/cdn/{7A6HN5AI.js → MMVEWOEX.js} +2 -2
- package/dist/cdn/{BGITNRYO.js → MR4UJ45D.js} +2 -2
- package/dist/cdn/{CUMQBJKS.js → MVUEODHW.js} +2 -2
- package/dist/cdn/{V4YKENMS.js → N37F5DPG.js} +1 -1
- package/dist/cdn/{XKVQKESA.js → N4XKEXDY.js} +2 -2
- package/dist/cdn/NMJFQHOA.js +4 -0
- package/dist/cdn/{LVK5S7MP.js → NMNOZUHI.js} +2 -2
- package/dist/cdn/{OBVV4YVY.js → NO5MFUZE.js} +2 -2
- package/dist/cdn/{6P5PZJYT.js → NUKHTUZE.js} +2 -2
- package/dist/cdn/{VQNM3SMG.js → NXNGWMUZ.js} +2 -2
- package/dist/cdn/O2UU4XZA.js +4 -0
- package/dist/cdn/{CG26M4NV.js → O5QSZCLS.js} +2 -2
- package/dist/cdn/{6KP2KSCI.js → O6KKAUHV.js} +2 -2
- package/dist/cdn/{QCEPR5AC.js → OI2MYDDI.js} +2 -2
- package/dist/cdn/{WTM3TQ3J.js → OKLORJFK.js} +1 -1
- package/dist/cdn/{SXJ7QQSA.js → OT6JNQPU.js} +2 -2
- package/dist/cdn/OZ5FLUCS.js +4 -0
- package/dist/cdn/{LPQO52KS.js → P3QR36FE.js} +2 -2
- package/dist/cdn/{6ZGA7GTL.js → P6E7TTUR.js} +2 -2
- package/dist/cdn/{6UIYQA6F.js → PDOVQTEQ.js} +2 -2
- package/dist/cdn/{LKR4CLRV.js → PFNXR7IR.js} +2 -2
- package/dist/cdn/{T4IE7F4N.js → PIKJ4LIV.js} +2 -2
- package/dist/cdn/PLGXL3IU.js +4 -0
- package/dist/cdn/{2GITTS36.js → PTKDZPWZ.js} +2 -2
- package/dist/cdn/{ZQQUL7X2.js → PWZXLAUR.js} +2 -2
- package/dist/cdn/{J54RT4BE.js → PZ2H34LO.js} +2 -2
- package/dist/cdn/{TDI6XBUC.js → PZ53TTCK.js} +2 -2
- package/dist/cdn/{VDCZ2OEW.js → QALAG4WE.js} +2 -2
- package/dist/cdn/QDUKYJEN.js +4 -0
- package/dist/cdn/{E4WSLZJU.js → QEM52UQG.js} +2 -2
- package/dist/cdn/QR542PHE.js +4 -0
- package/dist/cdn/{BVRTSUCH.js → QSQEYVIL.js} +2 -2
- package/dist/cdn/{TEUBEATW.js → R5TPEAWF.js} +2 -2
- package/dist/cdn/{QR7CTJJR.js → REPF3DPO.js} +2 -2
- package/dist/cdn/{FJ7QGZEA.js → RIHROZEX.js} +2 -2
- package/dist/cdn/RITDFAYY.js +4 -0
- package/dist/cdn/{KKFEOWGY.js → RIZCFBOJ.js} +2 -2
- package/dist/cdn/{HNYK6DFY.js → RNSGCZKV.js} +2 -2
- package/dist/cdn/RXGVQIOP.js +4 -0
- package/dist/cdn/{2IKTITRY.js → RYX52275.js} +2 -2
- package/dist/cdn/{OJF6PIZ6.js → S3KUYZ43.js} +2 -2
- package/dist/cdn/S3MYJ7BF.js +4 -0
- package/dist/cdn/{S2A65NUC.js → SBF5SIIM.js} +2 -2
- package/dist/cdn/{DWKMJTS2.js → SDWZMENI.js} +2 -2
- package/dist/cdn/{5AYJKRLQ.js → SIAWO7UV.js} +2 -2
- package/dist/cdn/{Q6ILHWZV.js → SJ4OGFKS.js} +2 -2
- package/dist/cdn/{55MAIXZY.js → SQJ32TSQ.js} +2 -2
- package/dist/cdn/{3HF7GEAD.js → SSP3OZPL.js} +2 -2
- package/dist/cdn/{TWVPE6DV.js → SWAQWSTC.js} +2 -2
- package/dist/cdn/{5F5LA3NY.js → SXLBUW5B.js} +2 -2
- package/dist/cdn/{4LOG2K3V.js → T3DD6QSH.js} +2 -2
- package/dist/cdn/{ZN6QHMX7.js → TC6U5WIL.js} +2 -2
- package/dist/cdn/{YX6NCOWZ.js → TJLAIMAF.js} +2 -2
- package/dist/cdn/TJYBCJBN.js +4 -0
- package/dist/cdn/TTRNINBU.js +4 -0
- package/dist/cdn/{7CYGORQK.js → U35DSVL7.js} +1 -1
- package/dist/cdn/{Q4WT5OQL.js → U4X3GDIX.js} +2 -2
- package/dist/cdn/{X4PJPMIG.js → USAAOQGU.js} +2 -2
- package/dist/cdn/{KCYTRF6W.js → UWVW3Z7M.js} +2 -2
- package/dist/cdn/{PSD2Y63H.js → VAECZPZY.js} +2 -2
- package/dist/cdn/{MAJ3NZVZ.js → VJSFTKTX.js} +2 -2
- package/dist/cdn/{G66O2POY.js → VW5CVDOB.js} +2 -2
- package/dist/cdn/{DTFY2KZA.js → VXWJJSUS.js} +2 -2
- package/dist/cdn/{KJPND6YZ.js → WAHBAYMY.js} +2 -2
- package/dist/cdn/{H2F7Y6AK.js → WHGTVGGD.js} +2 -2
- package/dist/cdn/{FAMDB4MW.js → WLPEGT3J.js} +2 -2
- package/dist/cdn/WOAE5SZK.js +4 -0
- package/dist/cdn/{EGMC7PJP.js → WRNR4THX.js} +2 -2
- package/dist/cdn/{PLEUGOL6.js → WS6ESJDY.js} +2 -2
- package/dist/cdn/{7AFMQHWV.js → WY5NERSA.js} +2 -2
- package/dist/cdn/{BJP35TOP.js → XHY3DHZC.js} +2 -2
- package/dist/cdn/{IJ6NVBBD.js → XO7WK632.js} +2 -2
- package/dist/cdn/{RMCJW5OO.js → XQD3KLPA.js} +2 -2
- package/dist/cdn/{XBVBSU72.js → XQPLFAOT.js} +2 -2
- package/dist/cdn/YEUAOVPN.js +4 -0
- package/dist/cdn/{N3KYN36R.js → YMDMQTAM.js} +2 -2
- package/dist/cdn/{OCPXEQVN.js → YZQFUQFO.js} +2 -2
- package/dist/cdn/{HGK7I4B6.js → ZENVH2RM.js} +2 -2
- package/dist/cdn/{XQRBFQJK.js → ZGN5NNWI.js} +2 -2
- package/dist/cdn/{WVKUFYAZ.js → ZI6A3OSP.js} +2 -2
- package/dist/cdn/{Z6Q3XTZ5.js → ZVN4S5DC.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +84 -83
- 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/index.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 +14 -12
- package/dist/chunks/slots.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.d.ts +6 -4
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +22 -22
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/customElement.js +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +3 -3
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +5 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.js +5 -5
- package/dist/components/arcgis-daylight/customElement.d.ts +3 -3
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +3 -3
- package/dist/components/arcgis-directions/customElement.js +6 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +3 -3
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +2 -2
- package/dist/components/arcgis-expand/customElement.js +6 -7
- package/dist/components/arcgis-feature/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -6
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +2 -2
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-grid-controls/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-home/customElement.js +6 -6
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +3 -3
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.js +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.js +5 -5
- package/dist/components/arcgis-measurement/customElement.d.ts +6 -4
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +5 -5
- package/dist/components/arcgis-print/customElement.d.ts +2 -6
- package/dist/components/arcgis-print/customElement.js +2 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +2 -2
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +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.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.js +18 -18
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.js +9 -9
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +2 -2
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +4 -4
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +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 +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +5 -5
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.js +41 -41
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +4 -4
- package/dist/controllers/useView.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +342 -177
- package/dist/docs/docs.json +270 -103
- package/dist/docs/vscode.html-custom-data.json +16 -1
- package/dist/docs/web-types.json +17 -61
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/2FEFLMYQ.js +0 -4
- package/dist/cdn/4OG7JRC2.js +0 -4
- package/dist/cdn/5BSUDCDS.js +0 -4
- package/dist/cdn/66DAXGDZ.js +0 -4
- package/dist/cdn/6DAUFDDM.js +0 -4
- package/dist/cdn/6WNKRIO3.js +0 -4
- package/dist/cdn/7X7SBKZY.js +0 -4
- package/dist/cdn/A46CYT6N.js +0 -4
- package/dist/cdn/AO56SY4Z.js +0 -4
- package/dist/cdn/B43VSB72.js +0 -4
- package/dist/cdn/BM5U57OI.js +0 -4
- package/dist/cdn/CMAQ7INI.js +0 -4
- package/dist/cdn/CMNGLVOK.js +0 -4
- package/dist/cdn/DT5AFJ7B.js +0 -4
- package/dist/cdn/FIPPVY7H.js +0 -4
- package/dist/cdn/G4TI75ZV.js +0 -4
- package/dist/cdn/G4ZLPJUN.js +0 -4
- package/dist/cdn/GK222ASV.js +0 -4
- package/dist/cdn/HLMX7M4O.js +0 -4
- package/dist/cdn/IEU6GE25.js +0 -4
- package/dist/cdn/IVGDE5P3.js +0 -4
- package/dist/cdn/JGBGU2F7.js +0 -4
- package/dist/cdn/KYTBWDJN.js +0 -4
- package/dist/cdn/LND6N7MU.js +0 -4
- package/dist/cdn/MHOECYWD.js +0 -4
- package/dist/cdn/QVGJ6GSF.js +0 -4
- package/dist/cdn/RG2JIUDG.js +0 -4
- package/dist/cdn/S2WDIVIA.js +0 -4
- package/dist/cdn/SZTNIYKU.js +0 -4
- package/dist/cdn/T3ACCYEG.js +0 -4
- package/dist/cdn/USII3SNI.js +0 -4
- package/dist/cdn/VEJ6MQ7X.js +0 -4
- package/dist/cdn/W2IRNNDD.js +0 -4
- package/dist/cdn/YKDC7BLE.js +0 -4
- package/dist/cdn/ZXN2ALP7.js +0 -4
|
@@ -17,7 +17,7 @@ import x from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
|
17
17
|
import $ from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
18
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
19
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
20
|
-
v4.34.0-next.
|
|
20
|
+
v4.34.0-next.98 */
|
|
21
21
|
const d = "arcgis-weather", g = {
|
|
22
22
|
base: d,
|
|
23
23
|
content: `${d}__content`,
|
|
@@ -28,10 +28,10 @@ const d = "arcgis-weather", g = {
|
|
|
28
28
|
error: `${d}__error`,
|
|
29
29
|
warningTitle: `${d}__warning-title`
|
|
30
30
|
}, L = T`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:block}.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-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`;
|
|
31
|
-
var D = Object.defineProperty, P = Object.getOwnPropertyDescriptor, a = (
|
|
32
|
-
for (var
|
|
33
|
-
(c =
|
|
34
|
-
return o &&
|
|
31
|
+
var D = Object.defineProperty, P = Object.getOwnPropertyDescriptor, a = (i, e, r, o) => {
|
|
32
|
+
for (var t = o > 1 ? void 0 : o ? P(e, r) : e, l = i.length - 1, c; l >= 0; l--)
|
|
33
|
+
(c = i[l]) && (t = (o ? c(e, r, t) : c(t)) || t);
|
|
34
|
+
return o && t && D(e, r, t), t;
|
|
35
35
|
};
|
|
36
36
|
const V = {
|
|
37
37
|
sunny: $,
|
|
@@ -42,8 +42,8 @@ const V = {
|
|
|
42
42
|
}, C = Object.keys(V);
|
|
43
43
|
let n = class extends H {
|
|
44
44
|
//#region Lifecycle
|
|
45
|
-
constructor(
|
|
46
|
-
super(
|
|
45
|
+
constructor(i) {
|
|
46
|
+
super(i), this._settingWeather = !1, this._weatherByType = {
|
|
47
47
|
sunny: new $(),
|
|
48
48
|
cloudy: new b(),
|
|
49
49
|
rainy: new y(),
|
|
@@ -57,10 +57,10 @@ let n = class extends H {
|
|
|
57
57
|
// we need to update the corresponding weather instance in the view model.
|
|
58
58
|
A(
|
|
59
59
|
() => this.current,
|
|
60
|
-
(
|
|
61
|
-
this._settingWeather ||
|
|
60
|
+
(i) => {
|
|
61
|
+
this._settingWeather || i == null || (this._weatherByType = {
|
|
62
62
|
...this._weatherByType,
|
|
63
|
-
[
|
|
63
|
+
[i.type]: i
|
|
64
64
|
});
|
|
65
65
|
},
|
|
66
66
|
{ sync: !0, initial: !0 }
|
|
@@ -91,33 +91,33 @@ let n = class extends H {
|
|
|
91
91
|
return this._weatherByType;
|
|
92
92
|
}
|
|
93
93
|
get error() {
|
|
94
|
-
const
|
|
95
|
-
return
|
|
94
|
+
const i = this.view;
|
|
95
|
+
return i?.ready ? i.type !== "3d" ? "unsupported-view" : i.viewingMode === "local" ? "local-scene" : i.environment.atmosphereEnabled ? i.environment.weatherAvailable ? null : "not-visible" : "no-atmosphere" : null;
|
|
96
96
|
}
|
|
97
97
|
get current() {
|
|
98
98
|
return this._environment?.weather ?? this._weatherByType.sunny;
|
|
99
99
|
}
|
|
100
|
-
set current(
|
|
100
|
+
set current(i) {
|
|
101
101
|
const e = this._environment;
|
|
102
|
-
e && (e.weather =
|
|
102
|
+
e && (e.weather = i);
|
|
103
103
|
}
|
|
104
104
|
get _environment() {
|
|
105
|
-
const
|
|
106
|
-
return
|
|
105
|
+
const i = this.view;
|
|
106
|
+
return i != null && i.type === "3d" ? i.environment : null;
|
|
107
107
|
}
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region Public Methods
|
|
110
|
-
setWeatherByType(
|
|
111
|
-
if (!C.includes(
|
|
112
|
-
console.warn(`arcgis-weather - "${
|
|
110
|
+
setWeatherByType(i) {
|
|
111
|
+
if (!C.includes(i)) {
|
|
112
|
+
console.warn(`arcgis-weather - "${i}" is not a valid weather type`);
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
const e = this._environment;
|
|
116
|
-
e != null && (this._settingWeather = !0, e.weather = this._weatherByType[
|
|
116
|
+
e != null && (this._settingWeather = !0, e.weather = this._weatherByType[i], this._settingWeather = !1);
|
|
117
117
|
}
|
|
118
|
-
setSnowCoverEnabled(
|
|
118
|
+
setSnowCoverEnabled(i) {
|
|
119
119
|
const e = this.current;
|
|
120
|
-
"snowCover" in e && (e.snowCover =
|
|
120
|
+
"snowCover" in e && (e.snowCover = i ? "enabled" : "disabled");
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
123
|
};
|
|
@@ -148,12 +148,12 @@ a([
|
|
|
148
148
|
n = a([
|
|
149
149
|
j("components.weather.WeatherViewModel")
|
|
150
150
|
], n);
|
|
151
|
-
function h({ label:
|
|
152
|
-
const
|
|
151
|
+
function h({ label: i, value: e, disabled: r, onChange: o }) {
|
|
152
|
+
const t = (m) => {
|
|
153
153
|
const k = m.currentTarget.value;
|
|
154
154
|
o?.((k ?? 0) / 100);
|
|
155
155
|
}, l = "s", c = Math.round((e ?? 0) * 100);
|
|
156
|
-
return s`<calcite-label .scale=${l}>${
|
|
156
|
+
return s`<calcite-label .scale=${l}>${i}<calcite-slider .disabled=${r} label-handles label-ticks max=100 max-label=100 min=0 min-label=0 .scale=${l} step=1 ticks=100 .value=${c} @calciteSliderChange=${t} @calciteSliderInput=${t}></calcite-slider></calcite-label>`;
|
|
157
157
|
}
|
|
158
158
|
const R = S(n), F = {
|
|
159
159
|
sunny: "brightness",
|
|
@@ -164,7 +164,7 @@ const R = S(n), F = {
|
|
|
164
164
|
};
|
|
165
165
|
class N extends W {
|
|
166
166
|
constructor() {
|
|
167
|
-
super(...arguments), this.viewModel = R(this), this.messages = E(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.
|
|
167
|
+
super(...arguments), this.viewModel = R(this), this.messages = E(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.state = this.viewModel.state, this.arcgisPropertyChange = z()("state"), this.arcgisReady = O();
|
|
168
168
|
}
|
|
169
169
|
static {
|
|
170
170
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 35 };
|
|
@@ -203,16 +203,16 @@ class N extends W {
|
|
|
203
203
|
return s`<div aria-label=${this.messages.componentLabelAccessible ?? v} class=${u(_(g.base, w.widget, this.viewModel.disabled && w.widgetDisabled))} role=region>${this._renderContent()}</div>`;
|
|
204
204
|
}
|
|
205
205
|
_renderContent() {
|
|
206
|
-
const { headingLevel: e, messages: r, viewModel: o } = this,
|
|
206
|
+
const { headingLevel: e, messages: r, viewModel: o } = this, t = this._getWarningMessage(), l = o.current, c = o.state === "error";
|
|
207
207
|
return s`${this.hideHeader ? void 0 : B({ level: e, children: r.componentLabel })}${c ? s`<div class=${u(g.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${u(_({ [g.content]: !0, [g.hasError]: c }))}><div aria-label=${r.weatherType ?? v} class=${u(g.selector)} role=radiogroup>${C.map(this._renderWeatherTypeButton, this)}</div>${Object.values(o.weatherByType).map((m) => s`<div class=${u(_({
|
|
208
208
|
[g.options]: !0,
|
|
209
209
|
[g.optionsHidden]: m.type !== l?.type
|
|
210
|
-
}))}>${this._renderOptions(m)}</div>`)}${
|
|
210
|
+
}))}>${this._renderOptions(m)}</div>`)}${t ? this._renderWarning(t) : void 0}</div>`;
|
|
211
211
|
}
|
|
212
212
|
_renderWeatherTypeButton(e) {
|
|
213
|
-
const r = this.messages[e]?.label ?? "", { disabled: o } = this.viewModel,
|
|
214
|
-
return s`<calcite-button .appearance=${
|
|
215
|
-
|
|
213
|
+
const r = this.messages[e]?.label ?? "", { disabled: o } = this.viewModel, t = !o && this.viewModel.current.type === e;
|
|
214
|
+
return s`<calcite-button .appearance=${t ? "solid" : "outline"} aria-checked=${t ? "true" : "false"} .disabled=${o} .iconStart=${F[e]} .kind=${t ? "brand" : "neutral"} .label=${r} @click=${() => {
|
|
215
|
+
t || this.viewModel.setWeatherByType(e);
|
|
216
216
|
}} scale=l title=${r ?? v}></calcite-button>`;
|
|
217
217
|
}
|
|
218
218
|
_renderOptions(e) {
|
|
@@ -241,20 +241,20 @@ class N extends W {
|
|
|
241
241
|
}
|
|
242
242
|
_renderRainyOptions(e) {
|
|
243
243
|
const { disabled: r } = this.viewModel, o = this.messages.rainy;
|
|
244
|
-
return s`${h({ disabled: r, label: o?.cloudCover, value: e.cloudCover, onChange: (
|
|
245
|
-
e.cloudCover =
|
|
246
|
-
} })}${h({ disabled: r, label: o?.precipitation, value: e.precipitation, onChange: (
|
|
247
|
-
e.precipitation =
|
|
244
|
+
return s`${h({ disabled: r, label: o?.cloudCover, value: e.cloudCover, onChange: (t) => {
|
|
245
|
+
e.cloudCover = t;
|
|
246
|
+
} })}${h({ disabled: r, label: o?.precipitation, value: e.precipitation, onChange: (t) => {
|
|
247
|
+
e.precipitation = t;
|
|
248
248
|
} })}`;
|
|
249
249
|
}
|
|
250
250
|
_renderSnowyOptions(e) {
|
|
251
251
|
const { disabled: r } = this.viewModel, o = this.messages.snowy;
|
|
252
|
-
return s`${h({ disabled: r, label: o?.cloudCover, value: e.cloudCover, onChange: (
|
|
253
|
-
e.cloudCover =
|
|
254
|
-
} })}${h({ disabled: r, label: o?.precipitation, value: e.precipitation, onChange: (
|
|
255
|
-
e.precipitation =
|
|
256
|
-
} })}<calcite-label layout=inline scale=s title=${o?.snowCoverTooltip ?? v}><calcite-checkbox .checked=${e.snowCover === "enabled"} .disabled=${r} @calciteCheckboxChange=${(
|
|
257
|
-
this.viewModel.setSnowCoverEnabled(
|
|
252
|
+
return s`${h({ disabled: r, label: o?.cloudCover, value: e.cloudCover, onChange: (t) => {
|
|
253
|
+
e.cloudCover = t;
|
|
254
|
+
} })}${h({ disabled: r, label: o?.precipitation, value: e.precipitation, onChange: (t) => {
|
|
255
|
+
e.precipitation = t;
|
|
256
|
+
} })}<calcite-label layout=inline scale=s title=${o?.snowCoverTooltip ?? v}><calcite-checkbox .checked=${e.snowCover === "enabled"} .disabled=${r} @calciteCheckboxChange=${(t) => {
|
|
257
|
+
this.viewModel.setSnowCoverEnabled(t.currentTarget.checked);
|
|
258
258
|
}}></calcite-checkbox>${o?.snowCover}</calcite-label>`;
|
|
259
259
|
}
|
|
260
260
|
_renderFoggyOptions(e) {
|
|
@@ -45,8 +45,8 @@ export declare class ArcgisZoom extends LitElement {
|
|
|
45
45
|
* _**Note**: Individual message keys may change between releases._
|
|
46
46
|
*/
|
|
47
47
|
messageOverrides?: typeof this.messages._overrides;
|
|
48
|
-
/** @
|
|
49
|
-
position
|
|
48
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
49
|
+
position?: __esri.UIPosition;
|
|
50
50
|
/**
|
|
51
51
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
52
52
|
*
|
|
@@ -3,13 +3,13 @@ import { css as f, html as g } from "lit";
|
|
|
3
3
|
import { classes as s } from "@arcgis/toolkit/dom";
|
|
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 y, createEvent as
|
|
7
|
-
import { usePropertyChange as
|
|
6
|
+
import { LitElement as y, createEvent as z, safeClassMap as r, nothing as u } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as p } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { u as b } from "../../chunks/useT9n.js";
|
|
9
9
|
import { u as v } from "../../chunks/useView.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.98 */
|
|
13
13
|
const i = {
|
|
14
14
|
base: "arcgis-zoom",
|
|
15
15
|
button: "arcgis-button",
|
|
@@ -40,7 +40,7 @@ function d(t) {
|
|
|
40
40
|
const O = f`.arcgis-button{--calcite-ui-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);font-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;line-height:1.3em;display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-ui-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}calcite-button{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}}:host{display:flex}.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
41
|
class I extends y {
|
|
42
42
|
constructor() {
|
|
43
|
-
super(...arguments), this.messages = b({}), this.view = v(this), this.canZoomIn = !1, this.canZoomOut = !1, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.
|
|
43
|
+
super(...arguments), this.messages = b({}), this.view = v(this), this.canZoomIn = !1, this.canZoomOut = !1, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.state = "disabled", this.arcgisPropertyChange = p()("state"), this.arcgisReady = z();
|
|
44
44
|
}
|
|
45
45
|
static {
|
|
46
46
|
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, messageOverrides: 0, position: 1, referenceElement: 1, state: 3 };
|
|
@@ -11,7 +11,7 @@ type View = LinkChartView | MapView | SceneView;
|
|
|
11
11
|
type ViewControllerRequires<ViewType extends View> = LitElement & ViewControllerUses<ViewType>;
|
|
12
12
|
export interface ViewControllerUses<ViewType extends View> {
|
|
13
13
|
view?: nil | ViewType;
|
|
14
|
-
position
|
|
14
|
+
position?: __esri.UIPosition;
|
|
15
15
|
referenceElement?: ArcgisReferenceElement | string;
|
|
16
16
|
arcgisReady: EventEmitter;
|
|
17
17
|
el: HTMLElement & {
|
|
@@ -24,7 +24,7 @@ type Uses<Widget extends WidgetInstance> = {
|
|
|
24
24
|
icon: nil | string;
|
|
25
25
|
label: nil | string;
|
|
26
26
|
referenceElement?: ArcgisReferenceElement | string;
|
|
27
|
-
position
|
|
27
|
+
position?: __esri.UIPosition;
|
|
28
28
|
arcgisReady: EventEmitter;
|
|
29
29
|
arcgisPropertyChange: EventEmitter<{
|
|
30
30
|
name: string;
|