@arcgis/map-components 5.0.0-next.31 → 5.0.0-next.33
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/{RHS7YWUC.js → 27Y7Z3GO.js} +2 -2
- package/dist/cdn/{VZCZAPJ2.js → 2ARLZPMS.js} +2 -2
- package/dist/cdn/{7KJVFXSO.js → 2C4UBZGX.js} +2 -2
- package/dist/cdn/{VTS3MC5S.js → 2GVCQB2S.js} +2 -2
- package/dist/cdn/{R4IRISQA.js → 2OBGE22O.js} +2 -2
- package/dist/cdn/{XMD5RB7L.js → 2WOGQPE5.js} +2 -2
- package/dist/cdn/{ZZD6VW4H.js → 3CEV46ZK.js} +2 -2
- package/dist/cdn/{DLCVHCP5.js → 3DDAHSTP.js} +2 -2
- package/dist/cdn/{FFXIN2MG.js → 3ECSGXRC.js} +2 -2
- package/dist/cdn/{HZQNDTQR.js → 3ZFVTX24.js} +2 -2
- package/dist/cdn/{GLUDRX26.js → 44LOI7YV.js} +2 -2
- package/dist/cdn/{OCBP4OXX.js → 4ACB75R6.js} +2 -2
- package/dist/cdn/{4UUNBZED.js → 4BOCADDE.js} +2 -2
- package/dist/cdn/{IHIY2OZW.js → 4N4GHMXT.js} +2 -2
- package/dist/cdn/4TE54LNZ.js +4 -0
- package/dist/cdn/{OFE7RRBB.js → 4TITALX3.js} +2 -2
- package/dist/cdn/{B2A4RD3P.js → 4U2TED4N.js} +2 -2
- package/dist/cdn/{XQAOPEXH.js → 55TPTD4Z.js} +2 -2
- package/dist/cdn/{DPY4NZTG.js → 5EAAS36A.js} +2 -2
- package/dist/cdn/{HYMCZNE3.js → 5EY3LSXD.js} +2 -2
- package/dist/cdn/{P7NXNQFY.js → 5JGMYADK.js} +1 -1
- package/dist/cdn/{BAUQB5JT.js → 5JZHPSXT.js} +2 -2
- package/dist/cdn/{HR6LWXLL.js → 5TIL7QCH.js} +2 -2
- package/dist/cdn/{L55HZC7P.js → 5XT2YL5P.js} +2 -2
- package/dist/cdn/{XFPA4O46.js → 66GBCFDM.js} +2 -2
- package/dist/cdn/{TRB3X2QP.js → 66JQGDMF.js} +2 -2
- package/dist/cdn/{7MQ77DN5.js → 67UH6ZJJ.js} +2 -2
- package/dist/cdn/{KY4EPBJA.js → 6EF24ARQ.js} +2 -2
- package/dist/cdn/{5QJJBDTL.js → 6KMUHQ36.js} +2 -2
- package/dist/cdn/{SYV6QG2F.js → 6L7DY5QC.js} +2 -2
- package/dist/cdn/{W3DM7O7B.js → 6M7BPHAL.js} +2 -2
- package/dist/cdn/{EGD6PYMD.js → 6NKOABYT.js} +2 -2
- package/dist/cdn/{72OQPZOG.js → 6SSWKT77.js} +2 -2
- package/dist/cdn/{INRLL4BX.js → 6Y2OTA4Q.js} +2 -2
- package/dist/cdn/{ZPHRLNJF.js → 75ZEJLAY.js} +2 -2
- package/dist/cdn/{MKDNJ7S6.js → 765Q7NHI.js} +2 -2
- package/dist/cdn/{PAITI6FE.js → 7AX5AA7N.js} +2 -2
- package/dist/cdn/{QG5UOMWP.js → 7IYIM2F2.js} +2 -2
- package/dist/cdn/{A3LGOVVH.js → 7JIM3QLQ.js} +2 -2
- package/dist/cdn/{YZEMRTEV.js → 7K6X772G.js} +2 -2
- package/dist/cdn/7KQ7XBDV.js +4 -0
- package/dist/cdn/{J6DKFVGQ.js → 7LJI2RIR.js} +2 -2
- package/dist/cdn/{LGHHXYMZ.js → 7OO4IRCR.js} +2 -2
- package/dist/cdn/{EVQGQEW6.js → 7QUDEGA2.js} +2 -2
- package/dist/cdn/{LOX7PSCC.js → 7TDZ3GOW.js} +2 -2
- package/dist/cdn/7UC4PZJM.js +4 -0
- package/dist/cdn/{ZAOXQBWR.js → 7XDQI5NF.js} +2 -2
- package/dist/cdn/{5YM6G4H7.js → AI55R5XT.js} +2 -2
- package/dist/cdn/{75AMF5N3.js → AKIO6FS6.js} +2 -2
- package/dist/cdn/{SV476ZWT.js → APSVXY5Z.js} +2 -2
- package/dist/cdn/{KBITSIOR.js → AZ4DDWLK.js} +2 -2
- package/dist/cdn/{DJVWTY2O.js → B2XJZCFL.js} +2 -2
- package/dist/cdn/{AZZYSS6I.js → B3H5WAE2.js} +2 -2
- package/dist/cdn/{M2MG7B46.js → B5LZNTCG.js} +2 -2
- package/dist/cdn/{7AOPQJ5N.js → BBC6CDTY.js} +1 -1
- package/dist/cdn/{ATD7IBT2.js → BGAKRCZX.js} +2 -2
- package/dist/cdn/{YXEIVBIK.js → BMMTWOJG.js} +2 -2
- package/dist/cdn/BPYDBWIO.js +4 -0
- package/dist/cdn/{YWKTH7AB.js → BQZPQTZJ.js} +2 -2
- package/dist/cdn/{HGAWW22J.js → BTUE7JWL.js} +2 -2
- package/dist/cdn/{CYYSV6G7.js → BUAAFBZR.js} +1 -1
- package/dist/cdn/{P6MB5YDK.js → BUK2E45O.js} +2 -2
- package/dist/cdn/{LZI7YQFP.js → BVC5MPHL.js} +2 -2
- package/dist/cdn/C6KDEPLZ.js +4 -0
- package/dist/cdn/{GMX6PEIT.js → CK3Q4OPV.js} +1 -1
- package/dist/cdn/{O2IZRAL2.js → CTLFJDA4.js} +2 -2
- package/dist/cdn/{QBCORREL.js → CWU6LTS2.js} +2 -2
- package/dist/cdn/{JH55FP7W.js → D5AP6CW5.js} +2 -2
- package/dist/cdn/{ZBZO6RHJ.js → DABU36KS.js} +2 -2
- package/dist/cdn/{WWQRZMGN.js → DAEHFQYI.js} +2 -2
- package/dist/cdn/{KIHPHOQ7.js → DQP4LMMO.js} +2 -2
- package/dist/cdn/{34LH5JPS.js → DSWFXWMR.js} +2 -2
- package/dist/cdn/{F444TI7Q.js → DXSN66RC.js} +2 -2
- package/dist/cdn/{2GGYYDAO.js → DYV73TF4.js} +2 -2
- package/dist/cdn/{F2QBYAH6.js → DZ77YAIO.js} +2 -2
- package/dist/cdn/{5YL7XWYT.js → E6GR37O6.js} +2 -2
- package/dist/cdn/{CSZF66DN.js → E7I3CRZU.js} +2 -2
- package/dist/cdn/{P57ZN2RW.js → EIMCQY3V.js} +2 -2
- package/dist/cdn/{ZRGH7HRT.js → EJ3OUQ3P.js} +2 -2
- package/dist/cdn/{527A425K.js → ERNHJBXY.js} +2 -2
- package/dist/cdn/{ETEBDFH7.js → ERPE34FS.js} +2 -2
- package/dist/cdn/{IA4TLSGM.js → EUDICIXD.js} +2 -2
- package/dist/cdn/{SGT5BVWY.js → F5C2NXPC.js} +2 -2
- package/dist/cdn/{OHLIGEU3.js → FEYAM4SG.js} +1 -1
- package/dist/cdn/{EECCSOEQ.js → FNGAGAPS.js} +2 -2
- package/dist/cdn/{6BN7JMLX.js → GHUHUTOA.js} +2 -2
- package/dist/cdn/{2UBOOLFG.js → GL5QYVCH.js} +2 -2
- package/dist/cdn/{BRTBZD32.js → GMC6I3GJ.js} +2 -2
- package/dist/cdn/{JNP65RJZ.js → GWRSIJCL.js} +2 -2
- package/dist/cdn/{IKF2AA6N.js → GYRA2QKR.js} +2 -2
- package/dist/cdn/{ODGGTNLL.js → H2NCZLJ3.js} +2 -2
- package/dist/cdn/{HDYK4Y4R.js → HB3TIT2T.js} +2 -2
- package/dist/cdn/{4SIX5I2T.js → HCFREWQA.js} +2 -2
- package/dist/cdn/{YAL2I644.js → HENZXFMP.js} +1 -1
- package/dist/cdn/{WGFWCP6H.js → HGYWWZC5.js} +2 -2
- package/dist/cdn/{BZUZUPVY.js → HIWLL6EY.js} +2 -2
- package/dist/cdn/{4WJTMABC.js → HLFTY6LT.js} +2 -2
- package/dist/cdn/{AC5KGLTK.js → HM65V4B2.js} +2 -2
- package/dist/cdn/{DDEDVC3N.js → HMUFUYOJ.js} +2 -2
- package/dist/cdn/{SN2O52BI.js → HUVF3KLL.js} +2 -2
- package/dist/cdn/{F2IRYW26.js → HZQYIHHL.js} +2 -2
- package/dist/cdn/{RMWT3DT5.js → I2LBIQDU.js} +2 -2
- package/dist/cdn/{S7UVWOGM.js → I3GAVPEG.js} +2 -2
- package/dist/cdn/{K73USKBF.js → I62YHUON.js} +2 -2
- package/dist/cdn/{LZPVUZBZ.js → IGFYFGHW.js} +2 -2
- package/dist/cdn/{WPZH72AE.js → IIELCWQQ.js} +2 -2
- package/dist/cdn/{YJV7QFZ3.js → IR44YLRN.js} +2 -2
- package/dist/cdn/{IDWXVXG4.js → ISZO7S55.js} +2 -2
- package/dist/cdn/{PIEOGNMC.js → IU4AVBYU.js} +2 -2
- package/dist/cdn/{E7MPU2LD.js → IWRDKIBN.js} +2 -2
- package/dist/cdn/{OYB5FX7O.js → IX4UTAFC.js} +2 -2
- package/dist/cdn/{6OD7JEDW.js → J3GVZYWS.js} +2 -2
- package/dist/cdn/{XBWDFG7Q.js → J3ZY2IRS.js} +2 -2
- package/dist/cdn/{ZAOMSMHZ.js → JAH7BGLR.js} +2 -2
- package/dist/cdn/{ZR4ENA57.js → JP6EEE2V.js} +2 -2
- package/dist/cdn/{ZNYRU4NQ.js → JUJNSVX6.js} +2 -2
- package/dist/cdn/{FTIT6G2R.js → KGKR7K4Q.js} +2 -2
- package/dist/cdn/{O66IQNII.js → KHWYZSCI.js} +2 -2
- package/dist/cdn/{BXGL3NLV.js → KOU6LCWG.js} +2 -2
- package/dist/cdn/{RDY3HXV5.js → KRI2LJGG.js} +2 -2
- package/dist/cdn/KVFSFMJD.js +4 -0
- package/dist/cdn/{RWATYW6A.js → LJOGHQI6.js} +2 -2
- package/dist/cdn/{TFCA5Z3E.js → LSLQ3USL.js} +2 -2
- package/dist/cdn/{M4QPN4OV.js → LWD7LMIT.js} +2 -2
- package/dist/cdn/{JGITZIRM.js → MB2GEUIZ.js} +2 -2
- package/dist/cdn/{AC5X6TKC.js → MEZKNN45.js} +2 -2
- package/dist/cdn/{ZDZYWX67.js → MHXYLXND.js} +2 -2
- package/dist/cdn/{VB3QMUGA.js → MLGEYRUD.js} +2 -2
- package/dist/cdn/{WSU3MUWG.js → MOHBDZDO.js} +2 -2
- package/dist/cdn/{XREEDUA7.js → MSW2A5GY.js} +2 -2
- package/dist/cdn/{JMG6JQRL.js → NEWHPONA.js} +2 -2
- package/dist/cdn/{P5UXBDLF.js → NIQISM2H.js} +2 -2
- package/dist/cdn/{D2QZTO6D.js → NOLSQZEM.js} +2 -2
- package/dist/cdn/{7GR7BSV5.js → NRB2NFEK.js} +1 -1
- package/dist/cdn/{QTHBKSHD.js → NS2EQWPC.js} +2 -2
- package/dist/cdn/{VDFGV4MQ.js → NT5GMFCM.js} +2 -2
- package/dist/cdn/{3O7VW2BP.js → NVC236QP.js} +2 -2
- package/dist/cdn/{G7I2COIA.js → NZDNVSJX.js} +2 -2
- package/dist/cdn/{FU2S5XB7.js → O5V646CE.js} +2 -2
- package/dist/cdn/{IW2IYDE3.js → OA7LKT3U.js} +2 -2
- package/dist/cdn/{LJJHQ5RC.js → ODGNO5WA.js} +2 -2
- package/dist/cdn/{7YB2KCZR.js → ODHBRGS7.js} +2 -2
- package/dist/cdn/{DNM5AN5U.js → OFU4IV2Y.js} +2 -2
- package/dist/cdn/{RBLJWJJI.js → OH5OH7Q3.js} +2 -2
- package/dist/cdn/{E6DKUJAY.js → OIWKXCDP.js} +2 -2
- package/dist/cdn/{ZQBE2VSU.js → OL6C654Q.js} +2 -2
- package/dist/cdn/{HTQ2LQTW.js → OVMPNSO3.js} +2 -2
- package/dist/cdn/{YUM7FS5D.js → OYCU2XBV.js} +2 -2
- package/dist/cdn/{6X62UGFL.js → P3O6R7BZ.js} +2 -2
- package/dist/cdn/{NP7Q7AFO.js → P42TSZOV.js} +2 -2
- package/dist/cdn/{NLFPFGOC.js → PBBIPEPU.js} +2 -2
- package/dist/cdn/{PMD5DYML.js → PBKJJBFB.js} +2 -2
- package/dist/cdn/{N52KPVYR.js → PCE4VWS2.js} +2 -2
- package/dist/cdn/{W6XDIOLU.js → PDHXGRJV.js} +2 -2
- package/dist/cdn/{Z32HYGC6.js → PG7CQY5F.js} +2 -2
- package/dist/cdn/{F6B6BT6Q.js → PKO3NQNS.js} +2 -2
- package/dist/cdn/{R72LGRXF.js → PPIVXQCY.js} +2 -2
- package/dist/cdn/{K63PE5TS.js → PSAKZXUY.js} +2 -2
- package/dist/cdn/{CB2QKDBF.js → PTV7GACV.js} +2 -2
- package/dist/cdn/{WCJAR24J.js → QACMSZAQ.js} +1 -1
- package/dist/cdn/{UIURUE3U.js → QLZ7RH2K.js} +2 -2
- package/dist/cdn/{I5DAFEW7.js → QQDYDV67.js} +2 -2
- package/dist/cdn/{2AQRAJTZ.js → RBL7JV47.js} +2 -2
- package/dist/cdn/{7OJC2XHL.js → RCCJ4U3R.js} +2 -2
- package/dist/cdn/{DJRTU65B.js → RFLUS6P2.js} +2 -2
- package/dist/cdn/{IJHFT4D5.js → RHDGOQ3G.js} +2 -2
- package/dist/cdn/{7MCFJ63R.js → RIVQ3FYG.js} +2 -2
- package/dist/cdn/{KKCF6NVT.js → RPIL2HGR.js} +2 -2
- package/dist/cdn/{CVVU6KCP.js → RTF574EZ.js} +2 -2
- package/dist/cdn/{656VJ7WM.js → RTVI4YED.js} +2 -2
- package/dist/cdn/{2EGSWSWX.js → SDEYIUAX.js} +2 -2
- package/dist/cdn/{LZJ4PQ7W.js → SIVFVKOZ.js} +2 -2
- package/dist/cdn/{A74JTXNA.js → SIX6WK2M.js} +1 -1
- package/dist/cdn/{5POYQFJV.js → SKPSQFUY.js} +2 -2
- package/dist/cdn/{CI34P757.js → SOJPEDBB.js} +2 -2
- package/dist/cdn/{BRDIXYZF.js → SQRJT4OA.js} +2 -2
- package/dist/cdn/{5I7ZKWOA.js → SW5FN6J6.js} +2 -2
- package/dist/cdn/{W4YQY636.js → SYJG6XMD.js} +2 -2
- package/dist/cdn/{UYXODDQY.js → SYLXSGVW.js} +2 -2
- package/dist/cdn/{DDLYFJWK.js → TAAKBKQR.js} +2 -2
- package/dist/cdn/{SXN6RDCP.js → TDGASGZP.js} +2 -2
- package/dist/cdn/{BRSVVMDI.js → TM3EFRKI.js} +2 -2
- package/dist/cdn/{PA7EVE6Q.js → U3SLCHLV.js} +1 -1
- package/dist/cdn/{XL3RVYYK.js → U7PU7KDE.js} +2 -2
- package/dist/cdn/{KOY5TZ6C.js → UCTZL5XK.js} +2 -2
- package/dist/cdn/{OZ5ATYQL.js → UWFLBEFJ.js} +2 -2
- package/dist/cdn/{6555OILL.js → UYH3MW2J.js} +2 -2
- package/dist/cdn/{XNKJWTJ5.js → UZVA4KEK.js} +1 -1
- package/dist/cdn/{JLUKLBJ7.js → V4IDHV3V.js} +2 -2
- package/dist/cdn/{C5JSALBJ.js → V7TSNLXL.js} +2 -2
- package/dist/cdn/{ETZDYCX4.js → VDPZ5ZIL.js} +2 -2
- package/dist/cdn/{PMJB2B2I.js → VKTW5XXP.js} +1 -1
- package/dist/cdn/{2ZCRGED2.js → VQJGA6KU.js} +2 -2
- package/dist/cdn/{NNDS7JPY.js → VRFS6SQQ.js} +2 -2
- package/dist/cdn/{MM6M3FST.js → VYCTE22E.js} +2 -2
- package/dist/cdn/{F45ASYSB.js → VYMT3PDP.js} +2 -2
- package/dist/cdn/{XJHQ5CYB.js → W3TY3PC6.js} +1 -1
- package/dist/cdn/{EGTFRPNE.js → W4JKOASU.js} +2 -2
- package/dist/cdn/{QH5C542F.js → W547ZM2Z.js} +2 -2
- package/dist/cdn/{6JXXQFP6.js → W77GIDD3.js} +1 -1
- package/dist/cdn/{BVC7GJQQ.js → WHAYITWC.js} +2 -2
- package/dist/cdn/{SXUHZXNT.js → WJ3RBCUJ.js} +2 -2
- package/dist/cdn/{QSAZRPKV.js → WK27RR2B.js} +2 -2
- package/dist/cdn/{4R2AGRIN.js → WLLZLLVG.js} +2 -2
- package/dist/cdn/{WBESWZSE.js → WLM233JF.js} +2 -2
- package/dist/cdn/{5EFEIHCY.js → WOTTATGK.js} +2 -2
- package/dist/cdn/{GJ7NJVFJ.js → WRU4RX2M.js} +2 -2
- package/dist/cdn/{YUHO3CWK.js → WUXGFPFQ.js} +2 -2
- package/dist/cdn/{EJFQ72MI.js → WWN5EI3Y.js} +2 -2
- package/dist/cdn/{6VEZBQP7.js → XFKSHPUT.js} +2 -2
- package/dist/cdn/{6GRSQ5AT.js → XIWMUJ6S.js} +1 -1
- package/dist/cdn/{ZGYSHMRW.js → XXDU32KY.js} +2 -2
- package/dist/cdn/{PVI6R5NR.js → YHEF7VKL.js} +2 -2
- package/dist/cdn/{WS2CEEZ2.js → YIKTFSPQ.js} +2 -2
- package/dist/cdn/{6A34IZQQ.js → YSOCS6R7.js} +2 -2
- package/dist/cdn/{XIH5B3HP.js → YSZUNHCR.js} +2 -2
- package/dist/cdn/{O46ZITMM.js → YWBNBAAD.js} +2 -2
- package/dist/cdn/{TGBMFRCG.js → YYYEIM2N.js} +2 -2
- package/dist/cdn/{G2MDHNMB.js → Z57RRDLQ.js} +3 -3
- package/dist/cdn/{V66BXYVW.js → ZJGQRYTV.js} +2 -2
- package/dist/cdn/{T2ZVE2A3.js → ZKLLJRAF.js} +2 -2
- package/dist/cdn/{45XJ3ZFG.js → ZTTIUFCZ.js} +2 -2
- package/dist/cdn/{7Q7HXJQQ.js → ZU5YKPCO.js} +2 -2
- package/dist/cdn/{WROZ3K3U.js → ZWCFT42Y.js} +2 -2
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.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/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.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/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-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.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -0
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +19 -18
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +8 -2
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +79 -70
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +16 -0
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +56 -46
- package/dist/docs/docs.json +58 -39
- package/dist/docs/vscode.html-custom-data.json +1 -5
- package/dist/docs/web-types.json +12 -17
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/3QINBRGY.js +0 -4
- package/dist/cdn/G4AMADSL.js +0 -4
- package/dist/cdn/LXQOQXSE.js +0 -4
- package/dist/cdn/MWBOZXZW.js +0 -4
- package/dist/cdn/OP2T5RC4.js +0 -4
- package/dist/cdn/VVSLTCJP.js +0 -4
package/dist/cdn/MWBOZXZW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.31 */
|
|
4
|
-
import{a as z}from"./CI34P757.js";import"./IA4TLSGM.js";import d from"./RBLJWJJI.js";import{a as C}from"./SV476ZWT.js";import{a as m}from"./GMX6PEIT.js";import c from"./KBITSIOR.js";import b from"./PVI6R5NR.js";import{g as k}from"./KY4EPBJA.js";import"./OHLIGEU3.js";import{b as _}from"./P7NXNQFY.js";import{J as x,K as h,M as w,P as $,a as f,b as a,s as y}from"./XNKJWTJ5.js";import"./PA7EVE6Q.js";export default $arcgis.t(([H,{property:p,subclass:L},{watch:D},T,O,B,E,W,,,M])=>{var c="arcgis-weather",g={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warningTitle:`${c}__warning-title`},A=f`.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-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.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:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.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:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.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}.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}`,P=Object.defineProperty,R=Object.getOwnPropertyDescriptor,s=(i,e,r,o)=>{for(var t=o>1?void 0:o?R(e,r):e,l=i.length-1,d;l>=0;l--)(d=i[l])&&(t=(o?d(e,r,t):d(t))||t);return o&&t&&P(e,r,t),t},V={sunny:W,cloudy:T,rainy:B,snowy:E,foggy:O},S=Object.keys(V),n=class extends H{constructor(i){super(i),this._settingWeather=!1,this._weatherByType={sunny:new W,cloudy:new T,rainy:new B,snowy:new E,foggy:new O}}initialize(){this.addHandles([D(()=>this.current,i=>{this._settingWeather||i==null||(this._weatherByType={...this._weatherByType,[i.type]:i})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let i=this.view;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}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(i){let e=this._environment;e&&(e.weather=i)}get _environment(){let i=this.view;return i!=null&&i.type==="3d"?i.environment:null}setWeatherByType(i){if(!S.includes(i)){console.warn(`arcgis-weather - "${i}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[i],this._settingWeather=!1)}setSnowCoverEnabled(i){let e=this.current;"snowCover"in e&&(e.snowCover=i?"enabled":"disabled")}};s([p()],n.prototype,"view",2);s([p()],n.prototype,"state",1);s([p()],n.prototype,"disabled",1);s([p()],n.prototype,"weatherByType",1);s([p()],n.prototype,"error",1);s([p()],n.prototype,"current",1);s([p()],n.prototype,"_weatherByType",2);s([p()],n.prototype,"_environment",1);n=s([L("components.weather.WeatherViewModel")],n);function u({label:i,value:e,disabled:r,onChange:o}){let t=v=>{let j=v.currentTarget.value;o?.((j??0)/100)},l="s",d=Math.round((e??0)*100);return a`<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=${d} @calciteSliderChange=${t} @calciteSliderInput=${t}></calcite-slider></calcite-label>`}var F=M(n),I={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},b=class extends x{constructor(){super(...arguments),this.viewModel=F(this),this.messages=C(),this.view=this.viewModel.view,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=k()("state"),this.arcgisReady=y()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.styles=A}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??w} class=${h(_(g.base,m.widget,this.viewModel.disabled&&m.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:r,viewModel:o}=this,t=this._getWarningMessage(),l=o.current,d=o.state==="error";return a`${this.hideHeader?void 0:z({level:e,children:r.componentLabel})}${d?a`<div class=${h(g.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${h(_({[g.content]:!0,[g.hasError]:d}))}><div aria-label=${r.weatherType??w} class=${h(g.selector)} role=radiogroup>${S.map(this._renderWeatherTypeButton,this)}</div>${Object.values(o.weatherByType).map(v=>a`<div class=${h(_({[g.options]:!0,[g.optionsHidden]:v.type!==l?.type}))}>${this._renderOptions(v)}</div>`)}${t?this._renderWarning(t):void 0}</div>`}_renderWeatherTypeButton(e){let r=this.messages[e]?.label??"",{disabled:o}=this.viewModel,t=!o&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${t?"solid":"outline"} aria-checked=${t?"true":"false"} .disabled=${o} .iconStart=${I[e]} .kind=${t?"brand":"neutral"} .label=${r} @click=${()=>{t||this.viewModel.setWeatherByType(e)}} scale=l title=${r??w}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return u({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}_renderCloudyOptions(e){return u({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}_renderRainyOptions(e){let{disabled:r}=this.viewModel,o=this.messages.rainy;return a`${u({disabled:r,label:o?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}${u({disabled:r,label:o?.precipitation,value:e.precipitation,onChange:t=>{e.precipitation=t}})}`}_renderSnowyOptions(e){let{disabled:r}=this.viewModel,o=this.messages.snowy;return a`${u({disabled:r,label:o?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}${u({disabled:r,label:o?.precipitation,value:e.precipitation,onChange:t=>{e.precipitation=t}})}<calcite-label layout=inline scale=s title=${o?.snowCoverTooltip??w}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${r} @calciteCheckboxChange=${t=>{this.viewModel.setSnowCoverEnabled(t.currentTarget.checked)}}></calcite-checkbox>${o?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return u({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:r=>{e.fogStrength=r}})}_renderWarning(e){return a`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning scale=s><div slot=title class=${h(g.warningTitle)}>${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`}};$("arcgis-weather",b);return b},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",b,c,d)
|
package/dist/cdn/OP2T5RC4.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.31 */
|
|
4
|
-
import{a as c}from"./WSU3MUWG.js";import g from"./RBLJWJJI.js";import{a as b}from"./SV476ZWT.js";import f from"./KBITSIOR.js";import e from"./PVI6R5NR.js";import"./KY4EPBJA.js";import"./OHLIGEU3.js";import"./P7NXNQFY.js";import{H as r,I as n,J as d,P as h,a as l,b as o,s as a}from"./XNKJWTJ5.js";import"./PA7EVE6Q.js";export default $arcgis.t(([p,,,f])=>{var m=l`.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-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.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:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.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:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.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-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,w=f(p),g="map-components:utility-network-trace-analysis",s=class extends d{constructor(){super(...arguments),this._messages=b({blocking:!0}),this._viewModel=w(this),this._traceInputsRef=r(),this._traceResultsRef=r(),this.activeTab="input",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisReady=a()}static{this.properties={activeTab:16,traceResult:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,label:3,messageOverrides:0,mode:1,referenceElement:1,state:3,view:0}}static{this.styles=m}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsExist(){let{traceResult:e}=this;return e!==void 0&&this._numTraceResults>0}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}async _runTrace(){let e=this._traceInputsRef.value?.selectedTraceConfiguration;if(!e?.traceConfiguration){console.error(`${g} - Trace configuration not found`);return}let i=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeNamedTraceConfiguration({namedTraceConfigurationGlobalId:e.globalId,traceLocations:i??[]})}catch(t){console.error(`${g} - Error while running trace: `,String(t)),this.traceResult=void 0}}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return c(`${this.el.id}__results-tab-item`,o`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?o`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:o`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} ${n(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_numTraceResults:e,_traceResultsExist:i}=this;return o`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!i} slot=footer>${i?this._messages.buttons.clearResultsCustom.replace("{number}",e.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return c(`${this.el.id}__inputs-tab-item`,o`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} ${n(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){return o`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:t}}=this,u=t==="disabled"&&i!=null&&i!=="no-utility-network"?o`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return o`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view!==void 0?o`${this.renderInputTab()}${this.renderResultsTab()}`:null}</calcite-tabs>${u}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};h("arcgis-utility-network-trace-analysis",s);return s},"widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel",e,f,g)
|
package/dist/cdn/VVSLTCJP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.31 */
|
|
4
|
-
import{a as u}from"./XFPA4O46.js";import{a as m}from"./SV476ZWT.js";import"./KY4EPBJA.js";import"./P7NXNQFY.js";import{J as y,K as h,P as b,a as k,b as r,s as d}from"./XNKJWTJ5.js";import"./PA7EVE6Q.js";export default $arcgis.t(([{queryAllJSON:T},n,N,g,$,p,L])=>{var v=k`:host{min-width:300px}.arcgis-utility-network-trace-inputs calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.arcgis-utility-network-trace-inputs calcite-block-group{padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-inputs calcite-block calcite-select{padding:0 var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-inputs calcite-notice{padding:var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs .inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.arcgis-utility-network-trace-inputs__add-spatial-mode{display:flex;padding:var(--calcite-spacing-xxl) var(--calcite-spacing-sm);flex-direction:column;justify-content:center;align-items:center;gap:var(--calcite-spacing-md);align-self:stretch}.arcgis-utility-network-trace-inputs .subnetwork-info-block{padding-top:var(--calcite-spacing-md);padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md)}`,f="arcgis-utility-network-trace-inputs",_={base:f,addSpatialMode:`${f}__add-spatial-mode`},c="map-components:utility-network-trace-inputs",S=`utility-network-trace-inputs-sketch-${Date.now()}`,l=`utility-network-trace-inputs-flags-${Date.now()}`,w=class extends y{constructor(){super(...arguments),this._messages=m({blocking:!0}),this._startingPoints=new n,this._barriers=new n,this._stoppingPoints=new n,this._subnetworkTraceTypes=new Set(["subnetwork","subnetwork-controller","upstream","downstream","isolation"]),this._removeDuplicateSubnetworkNames=(e,t,i)=>t===0||e.getAttribute("SUBNETWORKNAME")!==i[t-1].getAttribute("SUBNETWORKNAME"),this.compatibleSubnetworkNames=[],this.traceConfigurations=[],this._state="ready",this._mode="default",this.arcgisTraceInputsChange=d(),this.arcgisUtilityNetworkChange=d()}static{this.properties={compatibleSubnetworkNames:16,subnetworksTable:16,traceConfigurations:16,utilityNetworks:16,_state:16,_mode:16,_activeTraceLocationType:16,view:0,selectedSubnetworkName:1,selectedUtilityNetwork:0,selectedTraceConfiguration:0,referenceElement:1,traceLocations:32}}static{this.styles=v}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get traceLocations(){let e=this._startingPoints.toArray().map(a=>a.traceLocation),t=this._barriers.toArray().map(a=>a.traceLocation),i=this._stoppingPoints.toArray().map(a=>a.traceLocation);return[...e,...t,...i]}load(){this._setupUtilityNetwork(),this._setupSketchViewModel()}willUpdate(e){let{utilityNetworks:t,selectedUtilityNetwork:i}=this;(e.has("utilityNetworks")||!t||t.length===0||!i||!t?.includes(i))&&this._handleUtilityNetworksChange(),e.has("selectedUtilityNetwork")&&(this.arcgisUtilityNetworkChange.emit(),this._handleSelectedUtilityNetworkChange()),e.has("selectedTraceConfiguration")&&(this.arcgisTraceInputsChange.emit(),this._handleTraceConfigChange()),e.has("selectedSubnetworkName")&&this.arcgisTraceInputsChange.emit()}_clearTraceLocations(){this._getGraphicLayer(l)?.removeAll(),this._startingPoints.removeAll(),this._barriers.removeAll(),this._stoppingPoints.removeAll()}_addUniqueLayer(e,t,i){if(!t||!e?.map)return;let{map:a}=e,o=a.layers.find(s=>s===t);o||a.add(t,i),o&&i!=null&&a.layers.reorder(o,i)}_createGraphicLayer(e){let{map:t}=this.view;if(!t?.findLayerById(e)){let i=new N({id:e,listMode:"hide",title:e});this._addUniqueLayer(this.view,i)}}_getGraphicLayer(e){let{map:t}=this.view;if(t){let i=t.findLayerById(e);if(i&&i.type==="graphics")return i}return null}_setSnappingOption(){let{_sketchViewModel:e,_unLayers:t}=this;if(e&&t&&t.length>0){let i=new n;t.forEach(a=>{a.type==="subtype-group"?a.sublayers.forEach(o=>{i.add(new p({layer:o,enabled:!0}))}):i.add(new p({layer:a,enabled:!0}))}),e.snappingOptions={enabled:!0,featureEnabled:!0,featureSources:i}}}_initializeSketchViewModel(){let{view:e,_unLayers:t}=this,i=this._getGraphicLayer(S),a=new n;return t?.forEach(o=>a.add(new p({layer:o,enabled:!0}))),new L({layer:i,view:e})}_setupSketchViewModel(){this._createGraphicLayer(S),this._createGraphicLayer(l),this._sketchViewModel=this._initializeSketchViewModel()}_clearSubnetworks(){this.selectedSubnetworkName=void 0,this.subnetworksTable=void 0,this.compatibleSubnetworkNames=[]}async _loadSubnetworksTable(){this.subnetworksTable||(this.subnetworksTable=await this.selectedUtilityNetwork?.loadSubnetworksTable())}async _querySubnetworks(){let{subnetworksTable:e}=this;if(!e)return;let t=e.createQuery();t.gdbVersion=this.selectedUtilityNetwork?.gdbVersion,t.where=this._getSubnetworkQueryWhereClause(),t.outFields=["SUBNETWORKNAME"],t.orderByFields=["SUBNETWORKNAME"];let i=$.fromJSON(await T(e,t));this.compatibleSubnetworkNames=i.features.filter(this._removeDuplicateSubnetworkNames).map(a=>a.getAttribute("SUBNETWORKNAME"))}_getSubnetworkQueryWhereClause(){let e=this.selectedTraceConfiguration?.traceConfiguration,t=`DOMAINNETWORKNAME = '${e.domainNetworkName}'`,i=`TIERNAME = '${e.tierName}'`;return[t,i].join(" AND ")}async _handleSubnetworkTraceConfigChange(e){let{traceConfiguration:t}=e;if(!(t instanceof g)){console.error(`${c} - Trace configuration not found`);return}await this._loadSubnetworksTable(),await this._querySubnetworks(),this.selectedSubnetworkName=this.compatibleSubnetworkNames.find(i=>i===t.subnetworkName)??this.compatibleSubnetworkNames.at(0)}_selectTraceConfigurationByGuid(e){let t=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations.find(i=>i.globalId===e);if(!t){console.error(`${c} - Trace configuration not found`);return}this.selectedTraceConfiguration=t}_handleTraceConfigChange(){let{selectedTraceConfiguration:e}=this;if(e)switch(e.traceType){case"subnetwork":this._handleSubnetworkTraceConfigChange(e);break;default:console.error(`${c} - Unknown trace configuration type`)}}async _handleSelectedUtilityNetworkChange(){await this.selectedUtilityNetwork?.load(),this._clearSubnetworks(),this._setupTraceConfigurations(),this._filterUnLayers(),this._clearTraceLocations()}_setupTraceConfigurations(){this.traceConfigurations=this.selectedUtilityNetwork?.sharedNamedTraceConfigurations||[],this.selectedTraceConfiguration=this.traceConfigurations.at(0)}_filterUnLayers(){let{selectedUtilityNetwork:e}=this;this._unLayers=new n(this._allLayers.filter(t=>e?.isUtilityLayer(t))),this._setSnappingOption()}_handleUtilityNetworksChange(){let{utilityNetworks:e}=this;if(!e||e.length===0){this._state="error",console.error(`${c} - No utility networks found in the map`);return}(!this.selectedUtilityNetwork||!e.includes(this.selectedUtilityNetwork))&&(this.selectedUtilityNetwork=e.at(0))}async _setupUtilityNetwork(){if(this.view?.map){let e=this.view.map;await e.load(),this.utilityNetworks=e.utilityNetworks||void 0}else this._state="disabled",console.error(`${c} - No view or map available to load utility networks`)}_handleTraceLocationSelectStart(e){this._activeTraceLocationType=e?.target?.traceLocationType,this._mode="add-spatial"}_handleTraceLocationSelectEnd(){this._activeTraceLocationType=void 0,this._mode="default"}_handleFlowItemBack(){this._mode="default",this._activeTraceLocationType=void 0,this._sketchViewModel?.cancel()}renderError(e,t=!1,i){return r`<calcite-notice .closable=${t} kind=danger open scale=s width=auto .icon=${i}><div slot=message>${e}</div></calcite-notice>`}renderLoader(){return r`<calcite-loader label=loading></calcite-loader>`}renderTraceSelection(){let{_messages:e,traceConfigurations:t}=this,i=e.labels.traceConfiguration;if(t.length===0)return this.renderError(e.errors.noTraceConfigurationError,!0);let a=u(t,o=>o.globalId,o=>r`<calcite-option .value=${o.globalId}>${o.title}</calcite-option>`);return r`<calcite-block .heading=${i} .label=${i} expanded><calcite-select .label=${i} .value=${this.selectedTraceConfiguration?.globalId||void 0} @calciteSelectChange=${o=>{this._selectTraceConfigurationByGuid(o.target.value)}}>${a}</calcite-select></calcite-block>`}renderUtilityNetworkSelection(){let{_messages:e}=this,t=e.labels.utilityNetwork,i=u(this.utilityNetworks,a=>a.id,a=>r`<calcite-option .value=${a.id}>${a.title}</calcite-option>`);return r`<calcite-block .heading=${t} .label=${t} expanded><calcite-select .label=${t} .value=${this.selectedUtilityNetwork?.id} @calciteSelectChange=${a=>{this.selectedUtilityNetwork?.id!==a.target.value&&(this.selectedUtilityNetwork=this.utilityNetworks?.find(o=>o.id===a.target.value))}}>${i}</calcite-select></calcite-block>`}renderDefaultMode(){let{_messages:e,_state:t,_mode:i}=this;return r`<calcite-flow-item .selected=${i==="default"}>${t==="disabled"?this.renderError(e.errors.noMapError):this.renderContent()}</calcite-flow-item>`}renderAddSpatialMode(){let{_messages:e,_activeTraceLocationType:t}=this,i=t==="starting-point"?e.labels.addSpatial.startingPoint:t==="barrier"?e.labels.addSpatial.barrier:e.labels.addSpatial.stoppingPoint;return r`<calcite-flow-item selected .heading=${i} @calciteFlowItemBack=${()=>this._handleFlowItemBack()}><div class=${h(_.addSpatialMode)}><calcite-icon icon=pin-plus scale=l></calcite-icon>${e.instructions.addSpatial}</div></calcite-flow-item>`}renderStartingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=starting-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._startingPoints}></arcgis-utility-network-trace-location>`}renderStoppingPointSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=stopping-point @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._stoppingPoints}></arcgis-utility-network-trace-location>`}renderBarrierSelection(){return r`<arcgis-utility-network-trace-location .view=${this.view} trace-location-type=barrier @arcgisTraceLocationSelectStart=${e=>this._handleTraceLocationSelectStart(e)} @arcgisTraceLocationSelectEnd=${()=>this._handleTraceLocationSelectEnd()} @arcgisTraceLocationChange=${()=>this.arcgisTraceInputsChange.emit()} .sketchViewModel=${this._sketchViewModel} .utilityNetwork=${this.selectedUtilityNetwork} .filterLayers=${this._unLayers} .flagLayer=${this._getGraphicLayer(l)} .traceLocations=${this._barriers}></arcgis-utility-network-trace-location>`}renderSubnetworkSelectList(){let{compatibleSubnetworkNames:e,selectedSubnetworkName:t,_messages:i}=this,a=i.labels.subnetworkName,o=e.map(s=>r`<calcite-option .value=${s}>${s}</calcite-option>`);return r`<calcite-block .heading=${a} .label=${a} expanded><calcite-select .label=${a} .value=${t} @calciteSelectChange=${s=>this.selectedSubnetworkName=s.target.value}>${o}</calcite-select></calcite-block>`}renderSubnetworkSelection(){let{compatibleSubnetworkNames:e,_messages:t,selectedTraceConfiguration:i}=this;return i?.traceConfiguration instanceof g&&i.traceType==="subnetwork"&&i.traceConfiguration.subnetworkName?this.subnetworksTable?.loaded?e.length?this.renderSubnetworkSelectList():this.renderError(t.errors.noCompatibleSubnetworks,!1,"exclamation-mark-triangle"):r`<calcite-loader class="inline-loader" label=loading scale=s></calcite-loader>`:null}renderSubnetworkInfo(){let{_messages:e,selectedTraceConfiguration:t}=this;return t?.traceConfiguration instanceof g&&t.traceType&&this._subnetworkTraceTypes.has(t.traceType)?r`<calcite-block class="subnetwork-info-block" expanded .label=${e.labels.subnetworkInfo}><arcgis-utility-network-subnetwork-info .namedTraceConfig=${t}></arcgis-utility-network-subnetwork-info></calcite-block>`:null}renderContent(){let{_messages:e,utilityNetworks:t}=this;if(!t||t.length===0)return this.renderError(e.errors.noUtilityNetworkError);let i=r`${this.renderTraceSelection()}${this.renderSubnetworkInfo()}${this.renderSubnetworkSelection()}`;return r`<calcite-block-group .label=${e.labels.traceInputs}>${t.length>1?this.renderUtilityNetworkSelection():null}${this.selectedUtilityNetwork?.loaded?i:this.renderLoader()}${this.selectedTraceConfiguration?this.renderStartingPointSelection():null}${this.selectedTraceConfiguration?this.renderStoppingPointSelection():null}${this.selectedTraceConfiguration?this.renderBarrierSelection():null}</calcite-block-group>`}render(){let{_mode:e}=this;return r`<div class=${h(_.base)}><calcite-flow>${this.renderDefaultMode()}${e==="add-spatial"?this.renderAddSpatialMode():null}</calcite-flow></div>`}};b("arcgis-utility-network-trace-inputs",w);return w},"applications/Components/featureUtils","core/Collection","layers/GraphicsLayer","networks/support/UNTraceConfiguration","rest/support/FeatureSet","views/interactive/snapping/FeatureSnappingLayerSource","widgets/Sketch/SketchViewModel")
|