@arcgis/map-components 4.34.0-next.76 → 4.34.0-next.78
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/{V4LEM74B.js → 22ZZNFWZ.js} +2 -2
- package/dist/cdn/{AFQZB4PI.js → 2AUWUEA4.js} +2 -2
- package/dist/cdn/{H5AIL277.js → 2GTI3LHP.js} +2 -2
- package/dist/cdn/{NWVXRMA4.js → 2LG5AQOE.js} +2 -2
- package/dist/cdn/{4DCVK6PZ.js → 2MPCP6WU.js} +2 -2
- package/dist/cdn/{RQCQZJZD.js → 2Z7TCD2I.js} +2 -2
- package/dist/cdn/{XAR3XIGX.js → 37EH6CNB.js} +2 -2
- package/dist/cdn/{IHLD4P3G.js → 3A42C2H4.js} +2 -2
- package/dist/cdn/{7YWORNAX.js → 3GKNY7DW.js} +1 -1
- package/dist/cdn/{Z6FNFZUR.js → 3LPVOUI7.js} +1 -1
- package/dist/cdn/{ND7M6HT7.js → 3MN5CNEY.js} +2 -2
- package/dist/cdn/{HJLAXGOX.js → 3T7AQ5SO.js} +2 -2
- package/dist/cdn/{65EVPMZR.js → 3UQJW43R.js} +2 -2
- package/dist/cdn/{BXW2BAX4.js → 3V4OVWO5.js} +1 -1
- package/dist/cdn/{XBBEOSW2.js → 452MABUH.js} +2 -2
- package/dist/cdn/{Z5XGYXOX.js → 45QSEX5O.js} +2 -2
- package/dist/cdn/{2FZON6TF.js → 4DXQBHSZ.js} +2 -2
- package/dist/cdn/{MM5FU7RF.js → 4DZFPJA5.js} +1 -1
- package/dist/cdn/{MXXMRRNC.js → 4FKVP6ZR.js} +2 -2
- package/dist/cdn/{WYJNUPQQ.js → 4IUYXGVZ.js} +2 -2
- package/dist/cdn/{P7MTSQ6I.js → 4JJ7QACB.js} +2 -2
- package/dist/cdn/{QVHEGYYS.js → 4WKWMSX2.js} +2 -2
- package/dist/cdn/{KSPQ6CQO.js → 54MOPEWZ.js} +2 -2
- package/dist/cdn/{F4AWFTY2.js → 55XG2QKI.js} +2 -2
- package/dist/cdn/{OPPAXQSD.js → 5NZXGXMD.js} +2 -2
- package/dist/cdn/{IFVLOQCZ.js → 676SDWAS.js} +2 -2
- package/dist/cdn/{MUEDPDXE.js → 67PHACCR.js} +2 -2
- package/dist/cdn/{YHWJDKP7.js → 6AEBJ3E2.js} +2 -2
- package/dist/cdn/{6W4MLHA3.js → 6ARBR42C.js} +2 -2
- package/dist/cdn/{S4SALY73.js → 6FKY2ZS6.js} +2 -2
- package/dist/cdn/{W3M6QKCP.js → 6LT5RC6H.js} +2 -2
- package/dist/cdn/{ATDLSGAA.js → 6RXJZNPD.js} +2 -2
- package/dist/cdn/{S3XLQ4YN.js → 73A5FR3F.js} +2 -2
- package/dist/cdn/{I4KVFWB2.js → 7GJH44HH.js} +2 -2
- package/dist/cdn/{IBGEJGTH.js → 7JF7GEDX.js} +2 -2
- package/dist/cdn/{NJXCM7MP.js → 7UVFKMUJ.js} +2 -2
- package/dist/cdn/{EIM2NEMF.js → 7XGJHRHE.js} +2 -2
- package/dist/cdn/{KO5DB6LN.js → ADZCPNDT.js} +2 -2
- package/dist/cdn/{7VIBZ5YY.js → AOQALCID.js} +1 -1
- package/dist/cdn/{42T3EIGK.js → B4M2TQDS.js} +2 -2
- package/dist/cdn/{4UJRS5PF.js → BC7F7TFD.js} +2 -2
- package/dist/cdn/{H2DEYGZV.js → BDD7TC7D.js} +1 -1
- package/dist/cdn/{MWHQTVCJ.js → BI4RX6VY.js} +2 -2
- package/dist/cdn/{EIBGMJ2H.js → BQ3CLAI5.js} +2 -2
- package/dist/cdn/{QXQ2XTG5.js → BSGQRVRI.js} +2 -2
- package/dist/cdn/{BFGQ5FYN.js → CHPOYBB5.js} +2 -2
- package/dist/cdn/{YV5EPQ7X.js → CIRJWOTB.js} +2 -2
- package/dist/cdn/{7WYKL4HM.js → CJV7BB37.js} +1 -1
- package/dist/cdn/{6SUGJ3BT.js → DCWEYRSN.js} +2 -2
- package/dist/cdn/{5S4TL7EJ.js → DHAP4IHN.js} +2 -2
- package/dist/cdn/{YLNH5VNW.js → DMUIRLQL.js} +2 -2
- package/dist/cdn/{EDZ56XSR.js → DP3AX5OX.js} +2 -2
- package/dist/cdn/{B7FNSRKH.js → DRORBDK2.js} +2 -2
- package/dist/cdn/{AQIJR6CF.js → DVZKZ5N5.js} +2 -2
- package/dist/cdn/{S63W2KJF.js → DZRV4AUP.js} +2 -2
- package/dist/cdn/{JMIWPOEW.js → E6VYB2SI.js} +2 -2
- package/dist/cdn/{RN7CKAUW.js → EIC3EJNE.js} +2 -2
- package/dist/cdn/{SYQ3IFPL.js → EJJOTLC2.js} +2 -2
- package/dist/cdn/{S5SEBPPA.js → ELWUZS4B.js} +2 -2
- package/dist/cdn/{4JJ7UB27.js → EQD5S7JE.js} +2 -2
- package/dist/cdn/{AFH3IYJU.js → EQW2WXAA.js} +2 -2
- package/dist/cdn/{FNNSQDFR.js → EUFDBN6T.js} +2 -2
- package/dist/cdn/{WOZPMV4C.js → EVQU57ZX.js} +1 -1
- package/dist/cdn/{THJ7JF3T.js → EX42D5S7.js} +2 -2
- package/dist/cdn/{VOAZ7L3J.js → F3EBCDLX.js} +2 -2
- package/dist/cdn/{GI5VLHSW.js → FAXOW5DJ.js} +2 -2
- package/dist/cdn/{WUFD7NCY.js → FGRNMVRR.js} +2 -2
- package/dist/cdn/{BPAHROKE.js → FPZAPRS6.js} +2 -2
- package/dist/cdn/{2RV2ITYL.js → FROVZFZT.js} +2 -2
- package/dist/cdn/{SAHZN2ZT.js → FV3DR37T.js} +2 -2
- package/dist/cdn/{XDBL2QVE.js → FVCYXIM6.js} +2 -2
- package/dist/cdn/{NXAB7YQS.js → G2JAX37J.js} +2 -2
- package/dist/cdn/{NEP3G3UP.js → G3AHGW6S.js} +2 -2
- package/dist/cdn/{SVZIZUWL.js → G4WGEGAI.js} +2 -2
- package/dist/cdn/{A47X4SUT.js → GIP4ROWC.js} +2 -2
- package/dist/cdn/{MQEKXUXG.js → H2LP27FF.js} +2 -2
- package/dist/cdn/{27U46CTP.js → HBXG6GOW.js} +1 -1
- package/dist/cdn/{LQEX43HC.js → HBZB6LGP.js} +2 -2
- package/dist/cdn/{7XHQLYUK.js → HELPOUI6.js} +2 -2
- package/dist/cdn/{QWQBWX7Q.js → HF4G5PEN.js} +2 -2
- package/dist/cdn/{JJWA3SP6.js → HHDYJ6EG.js} +2 -2
- package/dist/cdn/{TZEQYB3B.js → HQ6KVOQ5.js} +2 -2
- package/dist/cdn/{YKWPDWXM.js → HSYJQQIF.js} +2 -2
- package/dist/cdn/{SOKRZZ32.js → HXQ7AGFF.js} +2 -2
- package/dist/cdn/{HSUWEOJE.js → IDDNOZR3.js} +2 -2
- package/dist/cdn/{2NTBVQK2.js → IQKFR3XB.js} +2 -2
- package/dist/cdn/{3KZKUXB5.js → IV2AJOGC.js} +2 -2
- package/dist/cdn/{F5L67JLA.js → IVF4N3WB.js} +2 -2
- package/dist/cdn/{S2L3MIV7.js → J562LVYV.js} +2 -2
- package/dist/cdn/{74UCLQC4.js → JFXLO25G.js} +2 -2
- package/dist/cdn/{5JXAV3PG.js → JGJMUTPU.js} +2 -2
- package/dist/cdn/{XEQMFNI3.js → JIAS3GXR.js} +2 -2
- package/dist/cdn/{W437RNI7.js → JKQV4GVF.js} +2 -2
- package/dist/cdn/{2BTTIOOI.js → JOLAOWXA.js} +2 -2
- package/dist/cdn/{6ZSBIUZI.js → JRVIOZVC.js} +2 -2
- package/dist/cdn/{5JWMVBAW.js → JU5OBQPV.js} +2 -2
- package/dist/cdn/{TGF5K65M.js → K2MZBZU4.js} +2 -2
- package/dist/cdn/{NMVKEK3X.js → KOIH2QRU.js} +1 -1
- package/dist/cdn/{QLAN2CWK.js → KR6Y3XSF.js} +2 -2
- package/dist/cdn/{FEKHGHN5.js → KSH3MG6Q.js} +2 -2
- package/dist/cdn/{ZOSPBPU5.js → L45QF6MV.js} +2 -2
- package/dist/cdn/{35OTDXZ4.js → LFUI3HZZ.js} +2 -2
- package/dist/cdn/{Y4Q7SVNC.js → LGD2NBC4.js} +2 -2
- package/dist/cdn/{WPACHP7U.js → LI7WJ4CB.js} +2 -2
- package/dist/cdn/{INFQUGP3.js → LIYBWUHL.js} +1 -1
- package/dist/cdn/LOLBAMRO.js +4 -0
- package/dist/cdn/{3G3VWPYK.js → LTWMCX2W.js} +2 -2
- package/dist/cdn/{PSZSBKVZ.js → M3ETRDHQ.js} +2 -2
- package/dist/cdn/{77GQHO46.js → M5MC6KCV.js} +2 -2
- package/dist/cdn/{S6R7JVBJ.js → MQEJF4CH.js} +2 -2
- package/dist/cdn/{AUTQVIDV.js → MSMI44JD.js} +2 -2
- package/dist/cdn/{HGQUQOYU.js → NBQWGOHQ.js} +2 -2
- package/dist/cdn/{5GGNQSJL.js → NMWW3LR2.js} +2 -2
- package/dist/cdn/{LIYQV5FZ.js → NTKDLRTE.js} +2 -2
- package/dist/cdn/{VEIIZSE7.js → O6KQ5CPR.js} +2 -2
- package/dist/cdn/{673WSVFW.js → OBDBYUAT.js} +2 -2
- package/dist/cdn/{F3XIDQNU.js → OBRZ2ZL2.js} +2 -2
- package/dist/cdn/{NXZ5DZET.js → OBXVTD2N.js} +3 -3
- package/dist/cdn/{A3WTQ7EM.js → ODSLRCPP.js} +2 -2
- package/dist/cdn/{QDOX5WHT.js → OEGACH2U.js} +2 -2
- package/dist/cdn/{FVLGQ3L7.js → OHW46ZGR.js} +2 -2
- package/dist/cdn/{DFX6HMIX.js → ONDEIE6A.js} +2 -2
- package/dist/cdn/{O4VWPL5L.js → OUSCDBB7.js} +2 -2
- package/dist/cdn/{TM3QJ72H.js → OXJXYMDR.js} +2 -2
- package/dist/cdn/{AXOFVLFK.js → P3ROV65G.js} +2 -2
- package/dist/cdn/{CKOHDKS6.js → P7N5M4IF.js} +2 -2
- package/dist/cdn/{JZX5AZS4.js → PAJCQHIP.js} +2 -2
- package/dist/cdn/{DAQYGXZX.js → PGJICPTT.js} +2 -2
- package/dist/cdn/{4LIZT6DL.js → PJVBAFIR.js} +2 -2
- package/dist/cdn/{FZYMLAOL.js → PNMQEM5V.js} +2 -2
- package/dist/cdn/{GKASVIZR.js → QCDFFDTT.js} +2 -2
- package/dist/cdn/{MDC5YBAK.js → QIAJAMEW.js} +2 -2
- package/dist/cdn/{ZAUOJ5EL.js → QPFLZHSR.js} +2 -2
- package/dist/cdn/{RLJ47CVZ.js → QRCFSKIP.js} +2 -2
- package/dist/cdn/{IQ3KPGL6.js → QTRSVLCO.js} +2 -2
- package/dist/cdn/{GFYYUS5Q.js → QWTKFG3E.js} +2 -2
- package/dist/cdn/{RBX7M5V2.js → R52HKQJL.js} +2 -2
- package/dist/cdn/{DLXNNKMM.js → R7GVDF5O.js} +2 -2
- package/dist/cdn/{7PYDLEBL.js → RRDUR62R.js} +2 -2
- package/dist/cdn/{TIUIAHRJ.js → S7CDSWQW.js} +2 -2
- package/dist/cdn/{TNWJMZ5W.js → SKYB5EKZ.js} +2 -2
- package/dist/cdn/SS3ZTYM4.js +4 -0
- package/dist/cdn/{RH2PGLUX.js → SY4VNWTS.js} +2 -2
- package/dist/cdn/{CJEZ3E6Y.js → T43ESLKL.js} +2 -2
- package/dist/cdn/{DP5D5YSR.js → TC23ZASW.js} +2 -2
- package/dist/cdn/{PJQBVM5I.js → TEAGVUC3.js} +2 -2
- package/dist/cdn/{MKGDZB4R.js → TGVN3VRM.js} +2 -2
- package/dist/cdn/{WMDOHPCA.js → TM37L72W.js} +2 -2
- package/dist/cdn/{7GXRM6PJ.js → TWWWFQR3.js} +2 -2
- package/dist/cdn/{EV73XD53.js → TZFUQ6HA.js} +2 -2
- package/dist/cdn/{53WIW3YD.js → U2NDZMK6.js} +2 -2
- package/dist/cdn/{JB77A775.js → U2P4UYIR.js} +2 -2
- package/dist/cdn/{AN46X62G.js → UAPBNREE.js} +2 -2
- package/dist/cdn/{BIWPN7NS.js → UCRUSFUI.js} +2 -2
- package/dist/cdn/{45L7SFQY.js → UEI5GPIV.js} +2 -2
- package/dist/cdn/{XXR3S5NH.js → UIFHUHLZ.js} +2 -2
- package/dist/cdn/{MPIQT5EI.js → USHQYWDR.js} +2 -2
- package/dist/cdn/{T66GUPNO.js → UXBF3ZSZ.js} +2 -2
- package/dist/cdn/{GYO7J4W2.js → V4RHDGGM.js} +2 -2
- package/dist/cdn/{KD3QPVW3.js → VMQZ7Z6R.js} +2 -2
- package/dist/cdn/{MBRSJ5P5.js → VO75RE63.js} +2 -2
- package/dist/cdn/{ZNGYQISS.js → VSEES755.js} +2 -2
- package/dist/cdn/{466WG7LG.js → VSFRGJHZ.js} +2 -2
- package/dist/cdn/{NKN4BRQ3.js → VV5FQLQC.js} +2 -2
- package/dist/cdn/{D2DBRAL3.js → VXPGKXPY.js} +2 -2
- package/dist/cdn/{T255YQ2H.js → VXPV6DEM.js} +2 -2
- package/dist/cdn/{NB6Q5CZL.js → W2XV55RV.js} +2 -2
- package/dist/cdn/{EODCGHHU.js → WAFRAUEP.js} +2 -2
- package/dist/cdn/{4QKP2QAK.js → WAVYABRH.js} +2 -2
- package/dist/cdn/{A4FZQKFJ.js → WF3INWJH.js} +2 -2
- package/dist/cdn/{XQB76KJY.js → WXRHOQ3V.js} +2 -2
- package/dist/cdn/{GMYGDC43.js → WZNFV4WB.js} +2 -2
- package/dist/cdn/{FYLR6T2Z.js → X3BOJLGG.js} +2 -2
- package/dist/cdn/{EANY6R3U.js → X3C4U7ZU.js} +2 -2
- package/dist/cdn/{PBQMVOA3.js → X6GGGKZE.js} +2 -2
- package/dist/cdn/{DGPRFQMA.js → XB75NTLD.js} +2 -2
- package/dist/cdn/XBVMZT4E.js +4 -0
- package/dist/cdn/{DW673NQH.js → XH33Z7ME.js} +1 -1
- package/dist/cdn/{6PZ7FNGX.js → XPC36S2N.js} +1 -1
- package/dist/cdn/{TEFRU7UJ.js → XSYMUWHT.js} +2 -2
- package/dist/cdn/{N5M7RFEE.js → YHKLV3AE.js} +2 -2
- package/dist/cdn/{K267GIYN.js → YY74X777.js} +2 -2
- package/dist/cdn/{RSLK3GM4.js → Z5XBJQHQ.js} +2 -2
- package/dist/cdn/{P2MZ4GXS.js → Z6AQWEHL.js} +2 -2
- package/dist/cdn/{JAD6UCY4.js → ZMYTJPVZ.js} +2 -2
- package/dist/cdn/{BV4TDATX.js → ZUIOBU6A.js} +2 -2
- package/dist/cdn/{NJTBEUJQ.js → ZXLG4FFQ.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/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/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 +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/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.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.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-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-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/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-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/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.js +22 -21
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.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/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +2 -0
- package/dist/components/arcgis-weather/customElement.js +58 -62
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +13 -13
- package/dist/docs/docs.json +8 -8
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/63655WCF.js +0 -4
- package/dist/cdn/6ZZZ76TF.js +0 -4
- package/dist/cdn/QXLXGQHJ.js +0 -4
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
8
|
-
import { H as
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as O, html as o } from "lit";
|
|
3
|
+
import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as m } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { LitElement as S, createEvent as B, noShadowRoot as E, nothing as y, safeClassMap as g } from "@arcgis/lumina";
|
|
6
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as H } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { H as L } from "../../chunks/heading.js";
|
|
9
9
|
import { g as w } from "../../chunks/globalCss.js";
|
|
10
|
-
import
|
|
11
|
-
import { property as
|
|
10
|
+
import A from "@arcgis/core/core/Accessor.js";
|
|
11
|
+
import { property as p, subclass as D } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
12
|
import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
13
|
import b from "@arcgis/core/views/3d/environment/CloudyWeather.js";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import _ from "@arcgis/core/views/3d/environment/FoggyWeather.js";
|
|
15
|
+
import f from "@arcgis/core/views/3d/environment/RainyWeather.js";
|
|
16
16
|
import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
17
17
|
import C 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.
|
|
21
|
-
const
|
|
22
|
-
base:
|
|
23
|
-
content: `${
|
|
24
|
-
hasError: `${
|
|
25
|
-
selector: `${
|
|
26
|
-
options: `${
|
|
27
|
-
optionsHidden: `${
|
|
28
|
-
error: `${
|
|
29
|
-
|
|
30
|
-
}, R =
|
|
20
|
+
v4.34.0-next.78 */
|
|
21
|
+
const d = "arcgis-weather", h = {
|
|
22
|
+
base: d,
|
|
23
|
+
content: `${d}__content`,
|
|
24
|
+
hasError: `${d}__content--has-error`,
|
|
25
|
+
selector: `${d}__selector`,
|
|
26
|
+
options: `${d}__options`,
|
|
27
|
+
optionsHidden: `${d}__options--hidden`,
|
|
28
|
+
error: `${d}__error`,
|
|
29
|
+
warningTitle: `${d}__warning-title`
|
|
30
|
+
}, R = O`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}}`;
|
|
31
31
|
var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, s, i) => {
|
|
32
|
-
for (var r = i > 1 ? void 0 : i ? j(e, s) : e,
|
|
33
|
-
(
|
|
32
|
+
for (var r = i > 1 ? void 0 : i ? j(e, s) : e, l = t.length - 1, c; l >= 0; l--)
|
|
33
|
+
(c = t[l]) && (r = (i ? c(e, s, r) : c(r)) || r);
|
|
34
34
|
return i && r && V(e, s, r), r;
|
|
35
35
|
};
|
|
36
|
-
const
|
|
36
|
+
const F = {
|
|
37
37
|
sunny: C,
|
|
38
38
|
cloudy: b,
|
|
39
|
-
rainy:
|
|
39
|
+
rainy: f,
|
|
40
40
|
snowy: $,
|
|
41
|
-
foggy:
|
|
42
|
-
}, M = Object.keys(
|
|
43
|
-
let n = class extends
|
|
41
|
+
foggy: _
|
|
42
|
+
}, M = Object.keys(F);
|
|
43
|
+
let n = class extends A {
|
|
44
44
|
//#region Lifecycle
|
|
45
45
|
constructor(t) {
|
|
46
46
|
super(t), this._settingWeather = !1, this._weatherByType = {
|
|
47
47
|
sunny: new C(),
|
|
48
48
|
cloudy: new b(),
|
|
49
|
-
rainy: new
|
|
49
|
+
rainy: new f(),
|
|
50
50
|
snowy: new $(),
|
|
51
|
-
foggy: new
|
|
51
|
+
foggy: new _()
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
initialize() {
|
|
@@ -122,44 +122,40 @@ let n = class extends D {
|
|
|
122
122
|
//#endregion
|
|
123
123
|
};
|
|
124
124
|
a([
|
|
125
|
-
|
|
125
|
+
p()
|
|
126
126
|
], n.prototype, "view", 2);
|
|
127
127
|
a([
|
|
128
|
-
|
|
128
|
+
p()
|
|
129
129
|
], n.prototype, "state", 1);
|
|
130
130
|
a([
|
|
131
|
-
|
|
131
|
+
p()
|
|
132
132
|
], n.prototype, "disabled", 1);
|
|
133
133
|
a([
|
|
134
|
-
|
|
134
|
+
p()
|
|
135
135
|
], n.prototype, "weatherByType", 1);
|
|
136
136
|
a([
|
|
137
|
-
|
|
137
|
+
p()
|
|
138
138
|
], n.prototype, "error", 1);
|
|
139
139
|
a([
|
|
140
|
-
|
|
140
|
+
p()
|
|
141
141
|
], n.prototype, "current", 1);
|
|
142
142
|
a([
|
|
143
|
-
|
|
143
|
+
p()
|
|
144
144
|
], n.prototype, "_weatherByType", 2);
|
|
145
145
|
a([
|
|
146
|
-
|
|
146
|
+
p()
|
|
147
147
|
], n.prototype, "_environment", 1);
|
|
148
148
|
n = a([
|
|
149
|
-
|
|
149
|
+
D("components.weather.WeatherViewModel")
|
|
150
150
|
], n);
|
|
151
151
|
function u({ label: t, value: e, disabled: s, onChange: i }) {
|
|
152
|
-
const r = (
|
|
153
|
-
const
|
|
154
|
-
i?.(
|
|
155
|
-
};
|
|
156
|
-
return o`<calcite-label scale
|
|
157
|
-
// Tweaks to make the slider more compact and better-align within the weather component */
|
|
158
|
-
marginInline: "-7px",
|
|
159
|
-
marginBottom: "-7px"
|
|
160
|
-
})} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
152
|
+
const r = (v) => {
|
|
153
|
+
const T = v.currentTarget.value;
|
|
154
|
+
i?.((T ?? 0) / 100);
|
|
155
|
+
}, l = "s", c = Math.round((e ?? 0) * 100);
|
|
156
|
+
return o`<calcite-label .scale=${l}>${t}<calcite-slider .disabled=${s} label-handles label-ticks max=100 max-label=100 min=0 min-label=0 .scale=${l} step=1 ticks=100 .value=${c} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
161
157
|
}
|
|
162
|
-
const
|
|
158
|
+
const z = H(n), I = {
|
|
163
159
|
sunny: "brightness",
|
|
164
160
|
cloudy: "partly-cloudy",
|
|
165
161
|
rainy: "rain",
|
|
@@ -168,7 +164,7 @@ const F = L(n), I = {
|
|
|
168
164
|
};
|
|
169
165
|
class q extends S {
|
|
170
166
|
constructor() {
|
|
171
|
-
super(...arguments), this.viewModel =
|
|
167
|
+
super(...arguments), this.viewModel = z(this), this.messages = k(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = x()("state"), this.arcgisReady = B();
|
|
172
168
|
}
|
|
173
169
|
static {
|
|
174
170
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 35 };
|
|
@@ -207,20 +203,20 @@ class q extends S {
|
|
|
207
203
|
}
|
|
208
204
|
}
|
|
209
205
|
render() {
|
|
210
|
-
return o`<div aria-label=${this.messages.componentLabelAccessible ??
|
|
206
|
+
return o`<div aria-label=${this.messages.componentLabelAccessible ?? y} class=${g(m(h.base, w.widget, this.viewModel.disabled && w.widgetDisabled))} role=region>${this._renderContent()}</div>`;
|
|
211
207
|
}
|
|
212
208
|
_renderContent() {
|
|
213
|
-
const { headingLevel: e, messages: s, viewModel: i } = this, r = this._getWarningMessage(),
|
|
214
|
-
return o`${this.hideHeader ? void 0 :
|
|
215
|
-
[
|
|
216
|
-
[
|
|
217
|
-
}))}>${this._renderOptions(
|
|
209
|
+
const { headingLevel: e, messages: s, viewModel: i } = this, r = this._getWarningMessage(), l = i.current, c = i.state === "error";
|
|
210
|
+
return o`${this.hideHeader ? void 0 : L({ level: e, children: s.componentLabel })}${c ? o`<div class=${g(h.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${g(m({ [h.content]: !0, [h.hasError]: c }))}><div aria-label=${s.weatherType ?? y} class=${g(h.selector)} role=radiogroup>${M.map(this._renderWeatherTypeButton, this)}</div>${Object.values(i.weatherByType).map((v) => o`<div class=${g(m({
|
|
211
|
+
[h.options]: !0,
|
|
212
|
+
[h.optionsHidden]: v.type !== l?.type
|
|
213
|
+
}))}>${this._renderOptions(v)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
|
|
218
214
|
}
|
|
219
215
|
_renderWeatherTypeButton(e) {
|
|
220
216
|
const s = this.messages[e]?.label ?? "", { disabled: i } = this.viewModel, r = !i && this.viewModel.current.type === e;
|
|
221
217
|
return o`<calcite-button .appearance=${r ? "solid" : "outline"} aria-checked=${r ? "true" : "false"} .disabled=${i} .iconStart=${I[e]} .kind=${r ? "brand" : "neutral"} .label=${s} @click=${() => {
|
|
222
218
|
r || this.viewModel.setWeatherByType(e);
|
|
223
|
-
}} scale=l title=${s ??
|
|
219
|
+
}} scale=l title=${s ?? y}></calcite-button>`;
|
|
224
220
|
}
|
|
225
221
|
_renderOptions(e) {
|
|
226
222
|
switch (e.type) {
|
|
@@ -260,7 +256,7 @@ class q extends S {
|
|
|
260
256
|
e.cloudCover = r;
|
|
261
257
|
} })}${u({ disabled: s, label: i?.precipitation, value: e.precipitation, onChange: (r) => {
|
|
262
258
|
e.precipitation = r;
|
|
263
|
-
} })}<calcite-label layout=inline scale=s title=${i?.snowCoverTooltip ??
|
|
259
|
+
} })}<calcite-label layout=inline scale=s title=${i?.snowCoverTooltip ?? y}><calcite-checkbox .checked=${e.snowCover === "enabled"} .disabled=${s} @calciteCheckboxChange=${(r) => {
|
|
264
260
|
this.viewModel.setSnowCoverEnabled(r.currentTarget.checked);
|
|
265
261
|
}}></calcite-checkbox>${i?.snowCover}</calcite-label>`;
|
|
266
262
|
}
|
|
@@ -270,10 +266,10 @@ class q extends S {
|
|
|
270
266
|
} });
|
|
271
267
|
}
|
|
272
268
|
_renderWarning(e) {
|
|
273
|
-
return o`<
|
|
269
|
+
return o`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning scale=s><div slot=title class=${g(h.warningTitle)}>${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`;
|
|
274
270
|
}
|
|
275
271
|
}
|
|
276
|
-
|
|
272
|
+
W("arcgis-weather", q);
|
|
277
273
|
export {
|
|
278
274
|
q as ArcgisWeather
|
|
279
275
|
};
|
|
@@ -2,5 +2,5 @@ import "@esri/calcite-components/components/calcite-label";
|
|
|
2
2
|
import "@esri/calcite-components/components/calcite-slider";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-button";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-checkbox";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
6
6
|
export * from "./customElement.js";
|
|
@@ -2,5 +2,5 @@ import "@esri/calcite-components/components/calcite-label";
|
|
|
2
2
|
import "@esri/calcite-components/components/calcite-slider";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-button";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-checkbox";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
6
6
|
export * from "./customElement.js";
|
|
@@ -9,7 +9,7 @@ import { u as O } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { u as Z } 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.78 */
|
|
13
13
|
const a = {
|
|
14
14
|
base: "arcgis-zoom",
|
|
15
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
package/dist/docs/api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-08-02T04:42:25",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.34.0-next.
|
|
5
|
+
"version": "4.34.0-next.78",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"schemaVersion": "1.0.0",
|
|
@@ -14412,7 +14412,7 @@
|
|
|
14412
14412
|
"name": "profiles",
|
|
14413
14413
|
"description": "Collection of elevation profile lines which are to be generated and displayed in the component's chart.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#profiles)",
|
|
14414
14414
|
"type": {
|
|
14415
|
-
"text": "Collection<
|
|
14415
|
+
"text": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>",
|
|
14416
14416
|
"references": [
|
|
14417
14417
|
{
|
|
14418
14418
|
"name": "Collection",
|
|
@@ -14423,36 +14423,36 @@
|
|
|
14423
14423
|
"end": 10
|
|
14424
14424
|
},
|
|
14425
14425
|
{
|
|
14426
|
-
"name": "
|
|
14426
|
+
"name": "ElevationProfileLineGround",
|
|
14427
14427
|
"package": "@arcgis/core",
|
|
14428
14428
|
"module": "interfaces.d.ts",
|
|
14429
14429
|
"viewUrl": "https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile-ElevationProfileLineGround.html",
|
|
14430
14430
|
"start": 11,
|
|
14431
|
-
"end":
|
|
14431
|
+
"end": 37
|
|
14432
14432
|
},
|
|
14433
14433
|
{
|
|
14434
|
-
"name": "
|
|
14434
|
+
"name": "ElevationProfileLineInput",
|
|
14435
14435
|
"package": "@arcgis/core",
|
|
14436
14436
|
"module": "interfaces.d.ts",
|
|
14437
14437
|
"viewUrl": "https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile-ElevationProfileLineInput.html",
|
|
14438
|
-
"start":
|
|
14439
|
-
"end":
|
|
14438
|
+
"start": 40,
|
|
14439
|
+
"end": 65
|
|
14440
14440
|
},
|
|
14441
14441
|
{
|
|
14442
|
-
"name": "
|
|
14442
|
+
"name": "ElevationProfileLineQuery",
|
|
14443
14443
|
"package": "@arcgis/core",
|
|
14444
14444
|
"module": "interfaces.d.ts",
|
|
14445
14445
|
"viewUrl": "https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile-ElevationProfileLineQuery.html",
|
|
14446
|
-
"start":
|
|
14447
|
-
"end":
|
|
14446
|
+
"start": 68,
|
|
14447
|
+
"end": 93
|
|
14448
14448
|
},
|
|
14449
14449
|
{
|
|
14450
14450
|
"name": "ElevationProfileLineView",
|
|
14451
14451
|
"package": "@arcgis/core",
|
|
14452
14452
|
"module": "interfaces.d.ts",
|
|
14453
14453
|
"viewUrl": "https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile-ElevationProfileLineView.html",
|
|
14454
|
-
"start":
|
|
14455
|
-
"end":
|
|
14454
|
+
"start": 96,
|
|
14455
|
+
"end": 120
|
|
14456
14456
|
}
|
|
14457
14457
|
]
|
|
14458
14458
|
}
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-08-02T04:42:25",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.34.0-next.
|
|
5
|
+
"version": "4.34.0-next.78",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -11923,27 +11923,27 @@
|
|
|
11923
11923
|
},
|
|
11924
11924
|
{
|
|
11925
11925
|
"name": "profiles",
|
|
11926
|
-
"type": "Collection<
|
|
11926
|
+
"type": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>",
|
|
11927
11927
|
"complexType": {
|
|
11928
|
-
"original": "Collection<
|
|
11929
|
-
"resolved": "Collection<
|
|
11928
|
+
"original": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>",
|
|
11929
|
+
"resolved": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>",
|
|
11930
11930
|
"references": {
|
|
11931
11931
|
"Collection": {
|
|
11932
11932
|
"location": "import",
|
|
11933
11933
|
"path": "@arcgis/core/interfaces.d.ts",
|
|
11934
11934
|
"id": "notImplemented"
|
|
11935
11935
|
},
|
|
11936
|
-
"
|
|
11936
|
+
"ElevationProfileLineGround": {
|
|
11937
11937
|
"location": "import",
|
|
11938
11938
|
"path": "@arcgis/core/interfaces.d.ts",
|
|
11939
11939
|
"id": "notImplemented"
|
|
11940
11940
|
},
|
|
11941
|
-
"
|
|
11941
|
+
"ElevationProfileLineInput": {
|
|
11942
11942
|
"location": "import",
|
|
11943
11943
|
"path": "@arcgis/core/interfaces.d.ts",
|
|
11944
11944
|
"id": "notImplemented"
|
|
11945
11945
|
},
|
|
11946
|
-
"
|
|
11946
|
+
"ElevationProfileLineQuery": {
|
|
11947
11947
|
"location": "import",
|
|
11948
11948
|
"path": "@arcgis/core/interfaces.d.ts",
|
|
11949
11949
|
"id": "notImplemented"
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.34.0-next.
|
|
4
|
+
"version": "4.34.0-next.78",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -4483,7 +4483,7 @@
|
|
|
4483
4483
|
{
|
|
4484
4484
|
"name": "profiles",
|
|
4485
4485
|
"description": "Collection of elevation profile lines which are to be generated and displayed in the component's chart.\n\n[Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#profiles)",
|
|
4486
|
-
"type": "Collection<
|
|
4486
|
+
"type": "Collection<ElevationProfileLineGround | ElevationProfileLineInput | ElevationProfileLineQuery | ElevationProfileLineView>"
|
|
4487
4487
|
},
|
|
4488
4488
|
{
|
|
4489
4489
|
"name": "progress",
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
|
-
v4.34.0-next.
|
|
4
|
+
v4.34.0-next.78 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
5
|
-
v4.34.0-next.
|
|
5
|
+
v4.34.0-next.78 */
|
|
6
6
|
const o = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.78",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@amcharts/amcharts5": "^5.13.1",
|
|
46
|
-
"@arcgis/lumina": "4.34.0-next.
|
|
47
|
-
"@arcgis/toolkit": "4.34.0-next.
|
|
46
|
+
"@arcgis/lumina": "4.34.0-next.78",
|
|
47
|
+
"@arcgis/toolkit": "4.34.0-next.78",
|
|
48
48
|
"lit": "^3.3.0",
|
|
49
49
|
"tslib": "^2.8.1"
|
|
50
50
|
},
|
package/dist/cdn/63655WCF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.76 */
|
|
4
|
-
import{j as m}from"./GKASVIZR.js";import"./35OTDXZ4.js";import"./ZNGYQISS.js";import{t as p}from"./2BTTIOOI.js";import"./QDOX5WHT.js";import"./7WYKL4HM.js";import"./GYO7J4W2.js";import"./7YWORNAX.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./JZX5AZS4.js")],["bg-BG",()=>import("./XQB76KJY.js")],["bs-BA",()=>import("./7XHQLYUK.js")],["ca-ES",()=>import("./EANY6R3U.js")],["cs-CZ",()=>import("./7PYDLEBL.js")],["da-DK",()=>import("./RLJ47CVZ.js")],["de-DE",()=>import("./4DCVK6PZ.js")],["de-CH",()=>import("./GI5VLHSW.js")],["el-GR",()=>import("./VOAZ7L3J.js")],["en-US",()=>import("./6W4MLHA3.js")],["en-CA",()=>import("./NXAB7YQS.js")],["es-ES",()=>import("./4LIZT6DL.js")],["et-EE",()=>import("./MQEKXUXG.js")],["fi-FI",()=>import("./CJEZ3E6Y.js")],["fr-FR",()=>import("./KSPQ6CQO.js")],["he-IL",()=>import("./YV5EPQ7X.js")],["hr-HR",()=>import("./WMDOHPCA.js")],["hu-HU",()=>import("./FYLR6T2Z.js")],["id-ID",()=>import("./EODCGHHU.js")],["it-IT",()=>import("./NEP3G3UP.js")],["ja-JP",()=>import("./XAR3XIGX.js")],["ko-KR",()=>import("./466WG7LG.js")],["lt-LT",()=>import("./45L7SFQY.js")],["lv-LV",()=>import("./Y4Q7SVNC.js")],["no-NO",()=>import("./2NTBVQK2.js")],["nb-NO",()=>import("./2NTBVQK2.js")],["nl-NL",()=>import("./JJWA3SP6.js")],["pl-PL",()=>import("./TM3QJ72H.js")],["pt-BR",()=>import("./XBBEOSW2.js")],["pt-PT",()=>import("./RBX7M5V2.js")],["ro-RO",()=>import("./TIUIAHRJ.js")],["ru-RU",()=>import("./QWQBWX7Q.js")],["sk-SK",()=>import("./WYJNUPQQ.js")],["sl-SL",()=>import("./EIBGMJ2H.js")],["sr-RS",()=>import("./PJQBVM5I.js")],["sv-SE",()=>import("./XDBL2QVE.js")],["th-TH",()=>import("./QLAN2CWK.js")],["tr-TR",()=>import("./MXXMRRNC.js")],["uk-UA",()=>import("./SOKRZZ32.js")],["vi-VN",()=>import("./4UJRS5PF.js")],["zh-CN",()=>import("./JMIWPOEW.js")],["zh-HK",()=>import("./THJ7JF3T.js")],["zh-TW",()=>import("./THJ7JF3T.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
|
package/dist/cdn/6ZZZ76TF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.76 */
|
|
4
|
-
import{a as g}from"./7VIBZ5YY.js";import e from"./KO5DB6LN.js";import{a as C}from"./TGF5K65M.js";import{a as x}from"./WOZPMV4C.js";import c from"./3G3VWPYK.js";import a from"./FNNSQDFR.js";import{f as $}from"./ND7M6HT7.js";import"./77GQHO46.js";import"./Z5XGYXOX.js";import"./H2DEYGZV.js";import{a as b}from"./6PZ7FNGX.js";import{I as d,J as S,K as l,M,O as f,i as m,j as o,o as _,s as v,x as w}from"./INFQUGP3.js";import"./7YWORNAX.js";export default $arcgis.t(([A,{isAbortError:D},{substitute:T},{watch:E},,{a:a},R])=>{var h="arcgis-search",u={base:h,autocomplete:`${h}__autocomplete`,dropdown:`${h}__dropdown`,container:`${h}__container`,form:`${h}__form`},I=m`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`,N=R(A),p=class extends S{constructor(){super(...arguments),this.viewModel=N(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererContainerEl=document.createElement("div"),this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=C({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=$()("state"),this.arcgisReady=v(),this.arcgisSearchClear=a(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=a(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=a(()=>this.viewModel,"search-start"),this.arcgisSelectResult=a(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=a(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=a(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=I}static{this.shadowRootOptions=w}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,i)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=void 0,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>E(()=>this.viewModel?.defaultPopupTemplate,e=>{if(e){let t=document.createElement("div");t.appendChild(this._searchResultRendererContainerEl),e.content=t}},{initial:!0}))}_addSearchResultRenderer(){_(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:r})=>r===s.sourceIndex)?.results?.find(({key:r})=>`${r}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){D(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),o`<div class=${l(b(u.base,x.widget))}><div class=${l(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:r}=this.viewModel;return i.length>1?o`<calcite-dropdown class=${l(u.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r?this._renderSource(-1):null}${i.map((c,n)=>this._renderSource(n)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:r,searchTerm:c,state:n}=this.viewModel,y=this.label??t.searchButtonTitle??"";return o`<calcite-autocomplete .autocomplete=${"off"} class=${l(u.autocomplete)} .disabled=${s} .icon=${this.icon||!1} .inputValue=${c} .label=${y} .loading=${n==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(c?"":r)??M} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return o`<form class=${l(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,r=e.results?.length,c=t.length>1&&s===-1,n=this._getSourceName(i);return r&&c?o`<calcite-autocomplete-item-group .heading=${n}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return o`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?T(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};f("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",a,c,e)
|
package/dist/cdn/QXLXGQHJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.76 */
|
|
4
|
-
import{a as S}from"./HGQUQOYU.js";import"./W437RNI7.js";import d from"./KO5DB6LN.js";import{a as T}from"./TGF5K65M.js";import{a as w}from"./WOZPMV4C.js";import c from"./3G3VWPYK.js";import b from"./FNNSQDFR.js";import{f as O}from"./ND7M6HT7.js";import"./77GQHO46.js";import"./Z5XGYXOX.js";import"./H2DEYGZV.js";import{a as v}from"./6PZ7FNGX.js";import{J as C,K as u,L as M,M as y,O as x,i as _,j as a,s as f,x as $}from"./INFQUGP3.js";import"./7YWORNAX.js";export default $arcgis.t(([R,{property:h,subclass:j},{watch:A},W,E,k,H,L,,,B])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=_`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:L,cloudy:W,rainy:k,snowy:H,foggy:E},D=Object.keys(I),n=class extends R{constructor(t){super(t),this._settingWeather=!1,this._weatherByType={sunny:new L,cloudy:new W,rainy:new k,snowy:new H,foggy:new E}}initialize(){this.addHandles([A(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{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 t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!D.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([j("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),G={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=$}static{this.styles=P}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??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${D.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${G[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></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 g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);return m},"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)
|