@arcgis/map-components 4.33.0-next.87 → 4.33.0-next.88
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/arcgis-map-components/23KC53SG.js +5 -0
- package/dist/arcgis-map-components/{4QQWDT2H.js.LEGAL.txt → 23KC53SG.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{Q4IZPW3N.js → 26LFV752.js} +2 -2
- package/dist/arcgis-map-components/{3Z356RZQ.js.LEGAL.txt → 26LFV752.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{R5SARCRZ.js → 2BU5MNXW.js} +1 -1
- package/dist/arcgis-map-components/{4VKWBNUP.js.LEGAL.txt → 2BU5MNXW.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{5QISQEQ4.js → 2ISCG3YL.js} +2 -2
- package/dist/arcgis-map-components/{4KR7Q6GY.js.LEGAL.txt → 2ISCG3YL.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{6VKYKUSA.js → 2PRI4HKJ.js} +2 -2
- package/dist/arcgis-map-components/2PRI4HKJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{K2WS36NH.js → 2WWSQWLN.js} +2 -2
- package/dist/arcgis-map-components/2WWSQWLN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GJLGAM5N.js → 3G42T4L6.js} +1 -1
- package/dist/arcgis-map-components/3G42T4L6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/3LE67RLN.js +5 -0
- package/dist/arcgis-map-components/3LE67RLN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/44HCKB4W.js +5 -0
- package/dist/arcgis-map-components/44HCKB4W.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{UJMNOMFN.js → 4BTWJDSR.js} +2 -2
- package/dist/arcgis-map-components/4BTWJDSR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/4HYIOPAM.js +5 -0
- package/dist/arcgis-map-components/4HYIOPAM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HR43RSMV.js → 4UFRXED6.js} +2 -2
- package/dist/arcgis-map-components/4UFRXED6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{EK4RIMYK.js → 5B37ILFB.js} +2 -2
- package/dist/arcgis-map-components/5B37ILFB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4QQWDT2H.js → 5HJU47EE.js} +2 -2
- package/dist/arcgis-map-components/5HJU47EE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WPRCXY4Z.js → 5OEIQAWK.js} +2 -2
- package/dist/arcgis-map-components/5OEIQAWK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{C6BMOZOX.js → 62W6JD3G.js} +2 -2
- package/dist/arcgis-map-components/62W6JD3G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6EWLWUHJ.js +5 -0
- package/dist/arcgis-map-components/6EWLWUHJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{KPSDNTUM.js → 6FWLS6VO.js} +2 -2
- package/dist/arcgis-map-components/6FWLS6VO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6YY3CTAP.js +4 -0
- package/dist/arcgis-map-components/6YY3CTAP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/73UWHJZS.js +5 -0
- package/dist/arcgis-map-components/73UWHJZS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{C7OWXWJZ.js → 7PTG724M.js} +2 -2
- package/dist/arcgis-map-components/7PTG724M.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6R3PVIWC.js → 7UIUH3RD.js} +2 -2
- package/dist/arcgis-map-components/7UIUH3RD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XGFPDBNU.js → AADU4QIT.js} +1 -1
- package/dist/arcgis-map-components/AADU4QIT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/AHEL7I25.js +5 -0
- package/dist/arcgis-map-components/AHEL7I25.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{LRZAGHIL.js → APBHQKY2.js} +2 -2
- package/dist/arcgis-map-components/APBHQKY2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MW4TBRRB.js → BI5CNKTG.js} +2 -2
- package/dist/arcgis-map-components/BM5LF6RF.js +5 -0
- package/dist/arcgis-map-components/BM5LF6RF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{N3D3LVDP.js → BQV4O45H.js} +2 -2
- package/dist/arcgis-map-components/BQV4O45H.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BU3UMQYO.js +5 -0
- package/dist/arcgis-map-components/BU3UMQYO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GWGXE7WB.js → C2H243I6.js} +2 -2
- package/dist/arcgis-map-components/C2H243I6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CHY7M4OE.js +5 -0
- package/dist/arcgis-map-components/CHY7M4OE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CN5IBQNQ.js +5 -0
- package/dist/arcgis-map-components/CN5IBQNQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3Z356RZQ.js → CTROO26M.js} +2 -2
- package/dist/arcgis-map-components/CTROO26M.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YLU252UU.js → CXI3SZFH.js} +2 -2
- package/dist/arcgis-map-components/CXI3SZFH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DCCP5R2R.js → DH64LBJH.js} +2 -2
- package/dist/arcgis-map-components/DH64LBJH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{L5RIO5ZU.js → E5CHXAIC.js} +2 -2
- package/dist/arcgis-map-components/E5CHXAIC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{743CPJEB.js → F2VQPSEP.js} +2 -2
- package/dist/arcgis-map-components/F2VQPSEP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JLLKDFUV.js → FNYHGQ6K.js} +2 -2
- package/dist/arcgis-map-components/FNYHGQ6K.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TQHUQZHF.js → FO5SHJIY.js} +2 -2
- package/dist/arcgis-map-components/FO5SHJIY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GFCBL2PH.js +5 -0
- package/dist/arcgis-map-components/GFCBL2PH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GLQKRJ3X.js +5 -0
- package/dist/arcgis-map-components/GLQKRJ3X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PUWKL664.js → GPQ7EPNU.js} +2 -2
- package/dist/arcgis-map-components/GPQ7EPNU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GS6TARDK.js +4 -0
- package/dist/arcgis-map-components/GS6TARDK.js.LEGAL.txt +12 -0
- package/dist/arcgis-map-components/GV7DFVSK.js +5 -0
- package/dist/arcgis-map-components/GV7DFVSK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YQXNPUY2.js → H7NFZYEC.js} +2 -2
- package/dist/arcgis-map-components/{YQXNPUY2.js.LEGAL.txt → H7NFZYEC.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{CYHKVONC.js → HD4FXQQT.js} +2 -2
- package/dist/arcgis-map-components/HD4FXQQT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HJHZARLF.js +5 -0
- package/dist/arcgis-map-components/HJHZARLF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GQ5UWTW6.js → HSFKDO7N.js} +2 -2
- package/dist/arcgis-map-components/HSFKDO7N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HZSWZKLC.js +5 -0
- package/dist/arcgis-map-components/HZSWZKLC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7PO5JMOT.js → IJ2B3AVI.js} +2 -2
- package/dist/arcgis-map-components/IJ2B3AVI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JHVISGIU.js → IMMJWY5K.js} +1 -1
- package/dist/arcgis-map-components/IMMJWY5K.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/J7FONBLF.js +6 -0
- package/dist/arcgis-map-components/{FEL673KF.js.LEGAL.txt → J7FONBLF.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{GJ5XM6WC.js → JNTRI2A2.js} +2 -2
- package/dist/arcgis-map-components/JNTRI2A2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{NZGIMXVM.js → KDPGY5VP.js} +2 -2
- package/dist/arcgis-map-components/KDPGY5VP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KSJUAQDQ.js +5 -0
- package/dist/arcgis-map-components/KSJUAQDQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LHIG3SMU.js +5 -0
- package/dist/arcgis-map-components/LHIG3SMU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OYNN2N2S.js → MCVYKNA7.js} +2 -2
- package/dist/arcgis-map-components/MCVYKNA7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MNQIRJRO.js +5 -0
- package/dist/arcgis-map-components/MNQIRJRO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{AO25IPXD.js → O5Q4DPGR.js} +2 -2
- package/dist/arcgis-map-components/O5Q4DPGR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OELMXKTQ.js +5 -0
- package/dist/arcgis-map-components/OELMXKTQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FCZSCOMX.js → OHTDR2EC.js} +2 -2
- package/dist/arcgis-map-components/OHTDR2EC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WEYIJYZJ.js → OLESLZEU.js} +2 -2
- package/dist/arcgis-map-components/OLESLZEU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{U2VULJWY.js → PT2G3ZVJ.js} +2 -2
- package/dist/arcgis-map-components/PT2G3ZVJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PT4BDEK4.js +5 -0
- package/dist/arcgis-map-components/PT4BDEK4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{LBJ7JZQF.js → QHJD4HBY.js} +2 -2
- package/dist/arcgis-map-components/QHJD4HBY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6BXZCCXL.js → QO5HQ4PK.js} +2 -2
- package/dist/arcgis-map-components/QO5HQ4PK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DZQ4HNWE.js → QS4RWZOX.js} +2 -2
- package/dist/arcgis-map-components/QS4RWZOX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{A7EJ4NDR.js → QUKBVYWK.js} +2 -2
- package/dist/arcgis-map-components/QUKBVYWK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{H3VZ3WKV.js → QXEYMD4U.js} +2 -2
- package/dist/arcgis-map-components/{PKOETAMV.js → QYZPW5HT.js} +2 -2
- package/dist/arcgis-map-components/QYZPW5HT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/R5RPGIDX.js +5 -0
- package/dist/arcgis-map-components/R5RPGIDX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TRHIF5PS.js → RM2NJ3N5.js} +2 -2
- package/dist/arcgis-map-components/RM2NJ3N5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{H7IVI5CQ.js → RPFLVR5Z.js} +2 -2
- package/dist/arcgis-map-components/RPFLVR5Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{U3TTASUM.js → SMPB3QR7.js} +2 -2
- package/dist/arcgis-map-components/SMPB3QR7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SR3FW6OY.js +4 -0
- package/dist/arcgis-map-components/SR3FW6OY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/STFHSKJI.js +5 -0
- package/dist/arcgis-map-components/STFHSKJI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TEKJHFWC.js +5 -0
- package/dist/arcgis-map-components/TEKJHFWC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TQTIMPN3.js +5 -0
- package/dist/arcgis-map-components/TQTIMPN3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DEXW4HOM.js → TQVA424L.js} +2 -2
- package/dist/arcgis-map-components/TQVA424L.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{Q2WSMVC4.js → TVM7HV52.js} +2 -2
- package/dist/arcgis-map-components/TVM7HV52.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IIGPXH2X.js → VRKZ5LFI.js} +2 -2
- package/dist/arcgis-map-components/VRKZ5LFI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IVGC5E67.js → VZ4A7Z72.js} +2 -2
- package/dist/arcgis-map-components/VZ4A7Z72.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{G7TASNZA.js → W5RX5ZBC.js} +2 -2
- package/dist/arcgis-map-components/W5RX5ZBC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7MQYWFEV.js → WEX2QSCL.js} +2 -2
- package/dist/arcgis-map-components/WEX2QSCL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XGYKADPQ.js +5 -0
- package/dist/arcgis-map-components/XGYKADPQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FTYL45AV.js → XUSYNS5L.js} +2 -2
- package/dist/arcgis-map-components/XUSYNS5L.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FFKDIEPC.js → YLO6VPWF.js} +2 -2
- package/dist/arcgis-map-components/YLO6VPWF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{K3ONXWMP.js → YQQPRS25.js} +2 -2
- package/dist/arcgis-map-components/YQQPRS25.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YU6CLFLV.js +4 -0
- package/dist/arcgis-map-components/YYD5JLYV.js +5 -0
- package/dist/arcgis-map-components/YYD5JLYV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PUMTT2TU.js → ZM2XDH2T.js} +2 -2
- package/dist/arcgis-map-components/ZM2XDH2T.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/arcgis-map-components.css +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.ar.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.bg.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.bs.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.ca.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.cs.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.da.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.de.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.el.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.en.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.es.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.et.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.fi.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.fr.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.he.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.hr.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.hu.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.id.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.it.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.ja.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.ko.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.lt.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.lv.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.nl.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.no.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.pl.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.ro.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.ru.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.sk.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.sl.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.sr.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.sv.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.th.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.tr.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.uk.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.vi.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/grid-controls/t9n/messages.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +4 -4
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +5 -5
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +2 -2
- 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.d.ts +10 -1
- package/dist/components/arcgis-bookmarks/customElement.js +3 -3
- 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.d.ts +1 -0
- package/dist/components/arcgis-compass/customElement.js +15 -15
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +7 -7
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -0
- package/dist/components/arcgis-directions/customElement.js +7 -7
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +0 -3
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +206 -0
- package/dist/components/arcgis-grid-controls/customElement.js +233 -0
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +16 -0
- package/dist/components/arcgis-grid-controls/index.d.ts +10 -0
- package/dist/components/arcgis-grid-controls/index.js +10 -0
- package/dist/components/arcgis-histogram/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.d.ts +41 -0
- package/dist/components/arcgis-labeled-switch/customElement.js +50 -0
- package/dist/components/arcgis-labeled-switch/index.d.ts +5 -0
- package/dist/components/arcgis-labeled-switch/index.js +5 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/components/arcgis-measurement/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 +2 -2
- package/dist/components/arcgis-print/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 +2 -2
- package/dist/components/arcgis-search/customElement.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.js +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-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-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/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +1407 -123
- package/dist/docs/docs.json +1343 -286
- package/dist/docs/vscode.html-custom-data.json +237 -1
- package/dist/docs/web-types.json +463 -4
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +8 -6
- package/dist/types/lumina.d.ts +12 -5
- package/dist/types/preact.d.ts +13 -5
- package/dist/types/react.d.ts +14 -5
- package/dist/types/stencil.d.ts +12 -5
- package/package.json +6 -6
- package/dist/arcgis-map-components/4KR7Q6GY.js +0 -5
- package/dist/arcgis-map-components/4VKWBNUP.js +0 -5
- package/dist/arcgis-map-components/5QISQEQ4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6BXZCCXL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6R3PVIWC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6VKYKUSA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/743CPJEB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7677LP2U.js +0 -5
- package/dist/arcgis-map-components/7677LP2U.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7MQYWFEV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7PO5JMOT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/A7EJ4NDR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AO25IPXD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/B5AVL24G.js +0 -5
- package/dist/arcgis-map-components/B5AVL24G.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/C5UY2F5K.js +0 -5
- package/dist/arcgis-map-components/C5UY2F5K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/C6BMOZOX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/C7OWXWJZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CO2U4GHQ.js +0 -4
- package/dist/arcgis-map-components/CO2U4GHQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CVRWZ3UJ.js +0 -5
- package/dist/arcgis-map-components/CVRWZ3UJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CYHKVONC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DCCP5R2R.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DDYTBGMD.js +0 -5
- package/dist/arcgis-map-components/DDYTBGMD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DEXW4HOM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DZQ4HNWE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/EJSEIXBI.js +0 -5
- package/dist/arcgis-map-components/EJSEIXBI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/EK4RIMYK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/EP47VWIO.js +0 -5
- package/dist/arcgis-map-components/EP47VWIO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FCZSCOMX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FEL673KF.js +0 -6
- package/dist/arcgis-map-components/FFKDIEPC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FTYL45AV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/G7TASNZA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GJ5XM6WC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GJLGAM5N.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GQ5UWTW6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GWGXE7WB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/H7IVI5CQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HK7UVMLS.js +0 -4
- package/dist/arcgis-map-components/HK7UVMLS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HR43RSMV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IIGPXH2X.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IVGC5E67.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JHVISGIU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JLLKDFUV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JWTGKW76.js +0 -4
- package/dist/arcgis-map-components/K2WS36NH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/K3ONXWMP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/KPSDNTUM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/L5RIO5ZU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LBJ7JZQF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LE4LLVJA.js +0 -5
- package/dist/arcgis-map-components/LE4LLVJA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LOV4PTXZ.js +0 -5
- package/dist/arcgis-map-components/LOV4PTXZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LQWB5G5M.js +0 -5
- package/dist/arcgis-map-components/LQWB5G5M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LRZAGHIL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/N3D3LVDP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/NZGIMXVM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O75JQIIC.js +0 -5
- package/dist/arcgis-map-components/O75JQIIC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OYNN2N2S.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PKOETAMV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PUMTT2TU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PUWKL664.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Q2WSMVC4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Q4IZPW3N.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QXRUM665.js +0 -5
- package/dist/arcgis-map-components/QXRUM665.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/R5SARCRZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RBNOQPTZ.js +0 -5
- package/dist/arcgis-map-components/RBNOQPTZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RTL77625.js +0 -5
- package/dist/arcgis-map-components/RTL77625.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SUN2BGLV.js +0 -5
- package/dist/arcgis-map-components/SUN2BGLV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TQHUQZHF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TRHIF5PS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TZW62F64.js +0 -5
- package/dist/arcgis-map-components/TZW62F64.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/U2VULJWY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/U3TTASUM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UJMNOMFN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UTBJWL6G.js +0 -5
- package/dist/arcgis-map-components/UTBJWL6G.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/V4CZ3W7I.js +0 -5
- package/dist/arcgis-map-components/V4CZ3W7I.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/W7LTB3ZJ.js +0 -5
- package/dist/arcgis-map-components/W7LTB3ZJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WEYIJYZJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WFBULYAQ.js +0 -5
- package/dist/arcgis-map-components/WFBULYAQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WN6E3X5Z.js +0 -5
- package/dist/arcgis-map-components/WN6E3X5Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WPRCXY4Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WZ24YUR7.js +0 -5
- package/dist/arcgis-map-components/WZ24YUR7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XGFPDBNU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YKV5DSZT.js +0 -5
- package/dist/arcgis-map-components/YKV5DSZT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YLU252UU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Z6RM6NGO.js +0 -5
- package/dist/arcgis-map-components/Z6RM6NGO.js.LEGAL.txt +0 -3
- /package/dist/arcgis-map-components/{MW4TBRRB.js.LEGAL.txt → BI5CNKTG.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{H3VZ3WKV.js.LEGAL.txt → QXEYMD4U.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{JWTGKW76.js.LEGAL.txt → YU6CLFLV.js.LEGAL.txt} +0 -0
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.88 */
|
|
9
9
|
const d = n`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`, c = a(e);
|
|
10
10
|
class l extends s {
|
|
11
11
|
//#endregion
|
|
@@ -6,7 +6,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.88 */
|
|
10
10
|
const r = l`@layer{arcgis-feature{display:block}}`, c = h(n);
|
|
11
11
|
class m extends a {
|
|
12
12
|
constructor() {
|
|
@@ -34,9 +34,6 @@ declare const useFeatureFormWidget: (component: import('@arcgis/components-contr
|
|
|
34
34
|
}, options?: {
|
|
35
35
|
editConstructorProperties(props: __esri.FeatureFormProperties | undefined): __esri.FeatureFormProperties | Promise<__esri.FeatureFormProperties | undefined> | undefined;
|
|
36
36
|
} | undefined) => FeatureForm;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
37
|
export declare class ArcgisFeatureForm extends LitElement {
|
|
41
38
|
/**
|
|
42
39
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.88 */
|
|
11
11
|
const l = m`@layer{arcgis-feature-form{display:block}}`, g = h(s);
|
|
12
12
|
class n extends r {
|
|
13
13
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.88 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, b = g(d);
|
|
14
14
|
class y extends a {
|
|
15
15
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.88 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.88 */
|
|
11
11
|
const c = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, g = d(o);
|
|
12
12
|
class u extends r {
|
|
13
13
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.88 */
|
|
9
9
|
const h = r`@layer{arcgis-floor-filter{display:block}}`, n = a(i);
|
|
10
10
|
class c extends s {
|
|
11
11
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { g as o } from "../../chunks/globalCss.js";
|
|
|
10
10
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.88 */
|
|
14
14
|
const b = y`@layer{arcgis-fullscreen{display:block}}`, v = {
|
|
15
15
|
base: "esri-fullscreen"
|
|
16
16
|
}, M = w(m);
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference types="../../index.d.ts" />
|
|
3
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { Use } from '@arcgis/components-controllers';
|
|
6
|
+
import { GridPlacementState, GridTheme } from './interfaces';
|
|
7
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
8
|
+
import { default as Color } from '@arcgis/core/Color.js';
|
|
9
|
+
|
|
10
|
+
declare const useGridControlsViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
11
|
+
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
12
|
+
el: HTMLElement;
|
|
13
|
+
autoDestroyDisabled?: boolean;
|
|
14
|
+
destroy?: () => Promise<void>;
|
|
15
|
+
} & Pick<__esri.GridControlsViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<__esri.GridControlsViewModel>, options?: {
|
|
16
|
+
editConstructorProperties(props: unknown): unknown;
|
|
17
|
+
} | undefined) => __esri.GridControlsViewModel;
|
|
18
|
+
/**
|
|
19
|
+
* `GridControls` provides a user interface (UI) for configuring and displaying a two-dimensional grid.
|
|
20
|
+
* The grid displayed provides a network of horizontal and vertical lines used to divide the view into equal cells.
|
|
21
|
+
* With support for snapping, the grid lines can be used as a reference when drawing features.
|
|
22
|
+
* Note: grid controls are embedded in snapping controls for Sketch and Editor by default.
|
|
23
|
+
*
|
|
24
|
+
* **Known limitations**
|
|
25
|
+
*
|
|
26
|
+
* - GridControls is only supported in 2D/arcgis-map.
|
|
27
|
+
* - The grid spacing does not correspond to real world measurements. Distortion will be minimized when used in conjunction with an equal area basemap.
|
|
28
|
+
* - The grid spacing input will be hidden when working with Web Mercator and Geographic Coordinate Systems.
|
|
29
|
+
*/
|
|
30
|
+
export declare class ArcgisGridControls extends LitElement {
|
|
31
|
+
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
32
|
+
position: __esri.UIPosition;
|
|
33
|
+
/**
|
|
34
|
+
* Icon which represents the component. It is typically used when the component is controlled by another
|
|
35
|
+
* one (e.g. in <arcgis-expand>).
|
|
36
|
+
*
|
|
37
|
+
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
38
|
+
* @default "grid-unit"
|
|
39
|
+
*/
|
|
40
|
+
icon: Nil | string;
|
|
41
|
+
/**
|
|
42
|
+
* The custom color used for drawing the grid, if any.
|
|
43
|
+
*/
|
|
44
|
+
customColor: Color | Nil;
|
|
45
|
+
/**
|
|
46
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html)
|
|
47
|
+
* that will be controlled by this component if the snapping toggle is enabled for display.
|
|
48
|
+
* If SnappingOptions are provided, grid display will be automatically enabled or disabled to match snapping state.
|
|
49
|
+
*/
|
|
50
|
+
snappingOptions: nullish | __esri.SnappingOptions;
|
|
51
|
+
/**
|
|
52
|
+
* The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
|
|
53
|
+
* the [customColor](#customColor) is shown, otherwise a default light or dark theme color is used.
|
|
54
|
+
*
|
|
55
|
+
* @default "dark"
|
|
56
|
+
*/
|
|
57
|
+
get theme(): GridTheme | Nil;
|
|
58
|
+
set theme(theme: GridTheme | Nil);
|
|
59
|
+
/**
|
|
60
|
+
* Controls display of the color and theme selection options.
|
|
61
|
+
*/
|
|
62
|
+
hideColorSelection: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Controls display of the dynamic scaling toggle. Dynamic scaling adjusts the size of the grid to work
|
|
65
|
+
* well regardless of view scale.
|
|
66
|
+
*/
|
|
67
|
+
hideDynamicScaleToggle: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Controls display of the grid enabled toggle. This toggle controls whether the grid is displayed.
|
|
70
|
+
*/
|
|
71
|
+
hideGridEnabledToggle: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Controls display of the numeric input fields for setting grid spacing and rotation.
|
|
74
|
+
*/
|
|
75
|
+
hideNumericInputs: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Controls display of the grid snapping enabled toggle. This toggle controls whether snapping is enabled.
|
|
78
|
+
*/
|
|
79
|
+
hideGridSnapEnabledToggle: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Controls display of the line interval input field for setting the interval between major grid lines.
|
|
82
|
+
*/
|
|
83
|
+
hideLineIntervalInput: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Controls display of the out of scale warning. This warning is displayed when the grid is not shown
|
|
86
|
+
* because it would be too small at the current scale and dynamic scaling is disabled.
|
|
87
|
+
*/
|
|
88
|
+
hideOutOfScaleWarning: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Controls display of the grid placement buttons. These buttons allow the user to start interactive
|
|
91
|
+
* configuration of the grid.
|
|
92
|
+
*/
|
|
93
|
+
hidePlacementButtons: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Controls display of the rotate with map toggle. This toggle controls whether the grid rotates with the map.
|
|
96
|
+
*/
|
|
97
|
+
hideRotateWithMapToggle: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Rotation of the grid in radians. NOTE: UI controls convert to and from degrees automatically.
|
|
100
|
+
*/
|
|
101
|
+
rotation: number;
|
|
102
|
+
/**
|
|
103
|
+
* Controls whether the grid rotates with the map, or stays fixed to the screen.
|
|
104
|
+
*/
|
|
105
|
+
rotateWithMap: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Length of a grid cell. Grid cells are always square. Defined in [unit](#unit).
|
|
108
|
+
* @default 1
|
|
109
|
+
*/
|
|
110
|
+
spacing: number;
|
|
111
|
+
/**
|
|
112
|
+
* Controls the number of grid cells shown between major grid lines. Can be anything between 1 and 15.
|
|
113
|
+
* No minor grid lines are shown when this is set to 1.
|
|
114
|
+
*/
|
|
115
|
+
majorLineInterval: number;
|
|
116
|
+
/**
|
|
117
|
+
* Controls the color of the major grid lines. Minor grid lines are a slightly transparent version of this color.
|
|
118
|
+
*/
|
|
119
|
+
gridColor: Color | Nil;
|
|
120
|
+
/**
|
|
121
|
+
* Returns `true` if the grid is enabled for display.
|
|
122
|
+
* Use [trySetDisplayEnabled](#trySetDisplayEnabled) to enable or disable grid display.
|
|
123
|
+
*/
|
|
124
|
+
readonly displayEnabled: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* True if the grid is currently not displayed (and therefore also not a valid snap target),
|
|
127
|
+
* because [dynamicScaling](#dynamicScaling) is off and the grid cells are too small
|
|
128
|
+
* to render at the current scale.
|
|
129
|
+
*/
|
|
130
|
+
readonly gridOutOfScale: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Unit of measure (foot, meter, etc) used when defining the [spacing](#spacing) grid cell.
|
|
133
|
+
* Note that units are defined relatively to the map's spatial reference length unit,
|
|
134
|
+
* which will not correspond to geographic distance unless using a special-purpose basemap
|
|
135
|
+
* within a supported target area.
|
|
136
|
+
*
|
|
137
|
+
* When using Web Mercator, the projection defines the length of a meter in projection system units;
|
|
138
|
+
* this length is equal to a geographic meter only at the equator. On screen, the size of the grid cells is constant
|
|
139
|
+
* from the equator to the poles, but the real-world size of the grid cell is much larger further from the equator.
|
|
140
|
+
*
|
|
141
|
+
* The length of the grid cells can usefully correspond to a geographic length when the Grid is used with an
|
|
142
|
+
* appropriate spatial reference (for example a local system or a State Plane system) within the reference's area of interest.
|
|
143
|
+
*/
|
|
144
|
+
unit: nullish | __esri.LengthUnit;
|
|
145
|
+
/**
|
|
146
|
+
* Returns `true` if the grid is set to scale dynamically. When dynamic scaling is enabled,
|
|
147
|
+
* grid cells are added or removed to ensure that grid cells are a reasonable size on screen as the user zooms.
|
|
148
|
+
* The way additional grid lines are shown is controlled by the [majorLineInterval](#majorLineInterval) property.
|
|
149
|
+
*/
|
|
150
|
+
dynamicScaling: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Returns `true` if the grid is in a valid state for manually setting grid properties or starting an interactive placement.
|
|
153
|
+
*/
|
|
154
|
+
readonly gridControlsEnabled: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Sets the interactive placement state, either starting or ending a draw operation that implicitly adjusts the grid.
|
|
157
|
+
* Interactive placement allows the user to define the center of the grid, then the scale and rotation of the grid by
|
|
158
|
+
* drawing a second point. Setting this to "place" allows the user to move the grid center only. Setting this to "rotate"
|
|
159
|
+
* keeps the scale and center of the grid constant while rotating the grid by defining a second point.
|
|
160
|
+
* @default null
|
|
161
|
+
*/
|
|
162
|
+
interactivePlacementState: nullish | "rotate" | "place" | "interactive";
|
|
163
|
+
/**
|
|
164
|
+
* Controls snapping behavior if [snappingOptions](#snappingOptions) has been defined.
|
|
165
|
+
* If [snappingOptions](#snappingOptions) have been defined, disabling or enabling grid snapping will
|
|
166
|
+
* also disable or enable grid display.
|
|
167
|
+
*
|
|
168
|
+
* @default false
|
|
169
|
+
*/
|
|
170
|
+
snappingEnabled: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the actual spacing of grid lines after dynamic scaling has been applied at the current scale.
|
|
173
|
+
*/
|
|
174
|
+
readonly effectiveSpacingAfterDynamicScaling: number | nullish;
|
|
175
|
+
/**
|
|
176
|
+
* Use this property to disable the interactive grid placement buttons as needed.
|
|
177
|
+
* An example use case might be to block interaction while another interactive operation
|
|
178
|
+
* (e.g. sketching) is in progress.
|
|
179
|
+
*/
|
|
180
|
+
placementDisabled: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* If true, the component will not be destroyed automatically when
|
|
183
|
+
* it is disconnected from the document. This is useful when you
|
|
184
|
+
* want to move the component to a different place on the page, or
|
|
185
|
+
* temporary hide it. If this is set, make sure to call the
|
|
186
|
+
* \`destroy\` method when you are done to prevent memory leaks.
|
|
187
|
+
*/
|
|
188
|
+
autoDestroyDisabled: boolean;
|
|
189
|
+
/** Overwrite localized strings for this component */
|
|
190
|
+
messageOverrides?: typeof this._messages._overrides;
|
|
191
|
+
/** The component's default label. */
|
|
192
|
+
label: Nil | string;
|
|
193
|
+
/** Permanently destroy the component */
|
|
194
|
+
destroy(): Promise<void>;
|
|
195
|
+
/**
|
|
196
|
+
* Call this to turn the grid on/off.
|
|
197
|
+
* @param enabled Desired end state for grid display.
|
|
198
|
+
*/
|
|
199
|
+
trySetDisplayEnabled(enabled: boolean): void;
|
|
200
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
201
|
+
name: "rotation" | "theme" | "customColor" | "rotateWithMap" | "spacing" | "majorLineInterval" | "gridColor" | "displayEnabled" | "gridOutOfScale" | "dynamicScaling" | "gridControlsEnabled" | "interactivePlacementState" | "snappingEnabled" | "effectiveSpacingAfterDynamicScaling";
|
|
202
|
+
}>;
|
|
203
|
+
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
204
|
+
private _messages;
|
|
205
|
+
}
|
|
206
|
+
export {};
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { c as S } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as n } from "lit-html";
|
|
3
|
+
import { ref as f } from "lit-html/directives/ref.js";
|
|
4
|
+
import { g as _ } from "../../chunks/globalCss.js";
|
|
5
|
+
import C from "@arcgis/core/views/Theme.js";
|
|
6
|
+
import { u as I } from "../../chunks/useT9n.js";
|
|
7
|
+
import { generateGuid as M, classes as g } from "@arcgis/components-utils";
|
|
8
|
+
import { usePropertyChange as T } from "@arcgis/components-controllers";
|
|
9
|
+
import { m as E } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { newWidgetsSupportGridControlsGridControlsViewModel as x } from "@arcgis/core-adapter";
|
|
11
|
+
import h from "@arcgis/core/Color.js";
|
|
12
|
+
import { LitElement as P, createEvent as R, noShadowRoot as k, safeClassMap as d, nothing as u } from "@arcgis/lumina";
|
|
13
|
+
import { css as O } from "@lit/reactive-element/css-tag.js";
|
|
14
|
+
import { substitute as D } from "@arcgis/core/intl.js";
|
|
15
|
+
import { watch as L } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
18
|
+
v4.33.0-next.88 */
|
|
19
|
+
function B(o) {
|
|
20
|
+
if (o == null || Number.isNaN(o))
|
|
21
|
+
return 0;
|
|
22
|
+
const e = o + 180;
|
|
23
|
+
return Math.trunc(w(e, 360));
|
|
24
|
+
}
|
|
25
|
+
function N(o) {
|
|
26
|
+
let e = o;
|
|
27
|
+
return e == null || (typeof e == "string" && (e = Number.parseInt(e, 10)), Number.isNaN(e)) ? 0 : w(Math.trunc(e), 360) - 180;
|
|
28
|
+
}
|
|
29
|
+
function w(o, e) {
|
|
30
|
+
return (o % e + e) % e;
|
|
31
|
+
}
|
|
32
|
+
const $ = {
|
|
33
|
+
fromAttribute: (o) => h.fromHex(o),
|
|
34
|
+
toAttribute: (o) => typeof o == "string" ? o : o?.toHex() ?? ""
|
|
35
|
+
}, W = O`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`, G = "arcgis-grid-controls", r = {
|
|
36
|
+
base: G,
|
|
37
|
+
borderedSwitch: "switch--bordered",
|
|
38
|
+
container: "container",
|
|
39
|
+
numericInputsContainer: "numeric-inputs-container",
|
|
40
|
+
tileGroup: "tile-group",
|
|
41
|
+
tile: "tile",
|
|
42
|
+
tileDisabled: "disabled",
|
|
43
|
+
tileContent: "content",
|
|
44
|
+
inlineIcon: "inline-icon"
|
|
45
|
+
}, m = {
|
|
46
|
+
componentIcon: "grid-unit",
|
|
47
|
+
gridTheme: { light: "circle", dark: "circle-area", custom: "palette" },
|
|
48
|
+
placementState: { interactive: "maximum-territory-distance", place: "move", rotate: "rotate" },
|
|
49
|
+
warning: "exclamation-mark-triangle"
|
|
50
|
+
}, b = h.fromArray([115, 115, 115]), v = h.fromArray([200, 200, 200]), A = ["interactive", "place", "rotate"], j = E(x);
|
|
51
|
+
class V extends P {
|
|
52
|
+
constructor() {
|
|
53
|
+
super(...arguments), this._labelUid = M(), this._messages = I({}), this._viewModel = j(this), this._placementModeButtonRefs = /* @__PURE__ */ new Map(), this._warningIconTooltipRef = void 0, this._themePopoverRef = void 0, this.numericSpacingInputShouldBeVisible = this._viewModel.numericSpacingInputShouldBeVisible, this.position = "bottom-right", this.icon = m.componentIcon, this.customColor = null, this.snappingOptions = this._viewModel.snappingOptions, this.hideColorSelection = !1, this.hideDynamicScaleToggle = !1, this.hideGridEnabledToggle = !1, this.hideNumericInputs = !1, this.hideGridSnapEnabledToggle = !1, this.hideLineIntervalInput = !1, this.hideOutOfScaleWarning = !1, this.hidePlacementButtons = !1, this.hideRotateWithMapToggle = !1, this.rotation = this._viewModel.rotation, this.rotateWithMap = this._viewModel.rotateWithMap, this.spacing = this._viewModel.spacing, this.majorLineInterval = this._viewModel.majorLineInterval, this.gridColor = this._viewModel.gridColor, this.displayEnabled = this._viewModel.displayEnabled, this.gridOutOfScale = this._viewModel.gridOutOfScale, this.unit = this._viewModel.unit, this.dynamicScaling = this._viewModel.dynamicScaling, this.gridControlsEnabled = this._viewModel.gridControlsEnabled, this.interactivePlacementState = this._viewModel.interactivePlacementState, this.snappingEnabled = this._viewModel.snappingEnabled, this.effectiveSpacingAfterDynamicScaling = this._viewModel.effectiveSpacingAfterDynamicScaling, this.placementDisabled = this._viewModel.placementDisabled, this.autoDestroyDisabled = !1, this.arcgisPropertyChange = T()("customColor", "theme", "spacing", "rotation", "majorLineInterval", "rotateWithMap", "dynamicScaling", "snappingEnabled", "interactivePlacementState", "displayEnabled", "gridOutOfScale", "effectiveSpacingAfterDynamicScaling", "gridControlsEnabled", "gridColor"), this.arcgisReady = R();
|
|
54
|
+
}
|
|
55
|
+
static {
|
|
56
|
+
this.properties = { _placementModeButtonRefs: 16, _warningIconTooltipRef: 16, _themePopoverRef: 16, numericSpacingInputShouldBeVisible: 16, referenceElement: 1, position: 3, icon: 3, customColor: [3, { converter: $ }], snappingOptions: 0, theme: 1, hideColorSelection: 5, hideDynamicScaleToggle: 5, hideGridEnabledToggle: 5, hideNumericInputs: 5, hideGridSnapEnabledToggle: 5, hideLineIntervalInput: 5, hideOutOfScaleWarning: 5, hidePlacementButtons: 5, hideRotateWithMapToggle: 5, rotation: 11, rotateWithMap: 5, spacing: 11, majorLineInterval: 11, gridColor: [3, { converter: $ }], displayEnabled: 4, gridOutOfScale: 7, unit: 1, dynamicScaling: 5, gridControlsEnabled: 4, interactivePlacementState: 3, snappingEnabled: 5, effectiveSpacingAfterDynamicScaling: 43, placementDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1 };
|
|
57
|
+
}
|
|
58
|
+
static {
|
|
59
|
+
this.styles = W;
|
|
60
|
+
}
|
|
61
|
+
static {
|
|
62
|
+
this.shadowRootOptions = k;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The color scheme used to display the grid. This will be light, dark, or custom. When theme is set to custom,
|
|
66
|
+
* the [customColor](#customColor) is shown, otherwise a default light or dark theme color is used.
|
|
67
|
+
*
|
|
68
|
+
* @default "dark"
|
|
69
|
+
*/
|
|
70
|
+
get theme() {
|
|
71
|
+
const e = this.gridColor;
|
|
72
|
+
return !e || b.equals(e) ? "dark" : v.equals(e) ? "light" : "custom";
|
|
73
|
+
}
|
|
74
|
+
set theme(e) {
|
|
75
|
+
const { customColor: t } = this, i = this._viewModel.view;
|
|
76
|
+
switch (e) {
|
|
77
|
+
case "dark":
|
|
78
|
+
this.gridColor = b;
|
|
79
|
+
break;
|
|
80
|
+
case "custom":
|
|
81
|
+
t == null && (this.customColor = i?.theme?.accentColor ?? new C().accentColor), this.gridColor = this.customColor;
|
|
82
|
+
break;
|
|
83
|
+
case "light":
|
|
84
|
+
default:
|
|
85
|
+
this.gridColor = v;
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region Public Methods
|
|
91
|
+
/** Permanently destroy the component */
|
|
92
|
+
async destroy() {
|
|
93
|
+
await this.manager.destroy();
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Call this to turn the grid on/off.
|
|
97
|
+
* @param enabled Desired end state for grid display.
|
|
98
|
+
*/
|
|
99
|
+
trySetDisplayEnabled(e) {
|
|
100
|
+
this._viewModel.trySetDisplayEnabled(e);
|
|
101
|
+
}
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region Lifecycle
|
|
104
|
+
loaded() {
|
|
105
|
+
this.manager.onLifecycle(() => [
|
|
106
|
+
// Move focus when movement angle changed by touch/mouse (not keyboard!)
|
|
107
|
+
L(() => this._viewModel.gridColor, (e) => {
|
|
108
|
+
const t = e instanceof h ? e : typeof e == "string" ? h.fromHex(e) : null;
|
|
109
|
+
t && !b.equals(e) && !v.equals(t) ? this.customColor = t : b.equals(t) ? this.theme = "dark" : v.equals(t) && (this.theme = "light");
|
|
110
|
+
})
|
|
111
|
+
]);
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region Private Methods
|
|
115
|
+
_togglePlacementState(e) {
|
|
116
|
+
this.interactivePlacementState = this.interactivePlacementState === e ? null : e;
|
|
117
|
+
}
|
|
118
|
+
_setWarningIconRef(e) {
|
|
119
|
+
this._warningIconTooltipRef = e;
|
|
120
|
+
}
|
|
121
|
+
_setPopoverRef(e) {
|
|
122
|
+
this._themePopoverRef = e;
|
|
123
|
+
}
|
|
124
|
+
_emptyFunction(e) {
|
|
125
|
+
}
|
|
126
|
+
_setPlacementButtonRef(e) {
|
|
127
|
+
if (e) {
|
|
128
|
+
const t = e.dataset.placementAction;
|
|
129
|
+
this._placementModeButtonRefs.set(t, e);
|
|
130
|
+
} else
|
|
131
|
+
this._placementModeButtonRefs.clear();
|
|
132
|
+
}
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region Rendering
|
|
135
|
+
render() {
|
|
136
|
+
return n`<div class=${d(g(r.base, _.widget, _.panel))}><div class=${d(r.container)}>${this._renderContent()}</div></div>`;
|
|
137
|
+
}
|
|
138
|
+
_renderContent() {
|
|
139
|
+
const { hideGridEnabledToggle: e, hidePlacementButtons: t, hideNumericInputs: i, hideLineIntervalInput: a, hideGridSnapEnabledToggle: l, hideDynamicScaleToggle: s, hideRotateWithMapToggle: c, hideColorSelection: p } = this;
|
|
140
|
+
return [
|
|
141
|
+
e ? void 0 : this._renderEnabledToggle(),
|
|
142
|
+
t ? void 0 : this._renderGridPlacementButtons(),
|
|
143
|
+
i ? void 0 : this._renderNumericInputs(),
|
|
144
|
+
a ? void 0 : this._renderIntervalInput(),
|
|
145
|
+
!l && this.snappingOptions ? this._renderSnappingToggle() : void 0,
|
|
146
|
+
s ? void 0 : this._renderDynamicScaleToggle(),
|
|
147
|
+
c ? void 0 : this._renderRotateToggle(),
|
|
148
|
+
p ? void 0 : this._renderColorSelection()
|
|
149
|
+
];
|
|
150
|
+
}
|
|
151
|
+
_renderGridPlacementButtons() {
|
|
152
|
+
const { interactivePlacementState: e, placementDisabled: t, gridControlsEnabled: i } = this, a = t || !i;
|
|
153
|
+
return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${A.map((l) => this._renderPlacementModeButton(l, a, e))}</calcite-action-bar></calcite-label>`;
|
|
154
|
+
}
|
|
155
|
+
_renderPlacementModeButton(e, t, i) {
|
|
156
|
+
const a = this._messages?.placementState?.[e], l = this._placementModeButtonRefs.get(e);
|
|
157
|
+
return n`<div><calcite-action .active=${i === e} alignment=center .disabled=${t} .icon=${m.placementState[e]} data-placement-action=${e ?? u} @click=${() => this._togglePlacementState(e)} .text=${a ?? ""} ${f(this._setPlacementButtonRef)}></calcite-action>${l ? n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${l}>${a}</calcite-tooltip>` : void 0}</div>`;
|
|
158
|
+
}
|
|
159
|
+
_renderNumericInputs() {
|
|
160
|
+
const { rotation: e, spacing: t, effectiveSpacingAfterDynamicScaling: i, numericSpacingInputShouldBeVisible: a, gridControlsEnabled: l } = this, s = i != null && i !== t;
|
|
161
|
+
return n`<div class=${d(g(r.numericInputsContainer))}>${[
|
|
162
|
+
a ? n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${s ? n`<calcite-icon class=${d(g(r.inlineIcon))} .icon=${m.warning} scale=s tabindex=0 ${f(this._setWarningIconRef)}></calcite-icon>` : void 0}</span><calcite-input-number .disabled=${!l} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({ currentTarget: c }) => {
|
|
163
|
+
const p = Number.parseFloat(c.value);
|
|
164
|
+
this.spacing = p, p !== this.spacing && (c.value = `${this.spacing}`);
|
|
165
|
+
}}></calcite-input-number>${s && this._warningIconTooltipRef ? n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing ?? "", { actualSpacingIncludingUnit: i }, {
|
|
166
|
+
format: {
|
|
167
|
+
actualSpacingIncludingUnit: {
|
|
168
|
+
type: "number",
|
|
169
|
+
intlOptions: {
|
|
170
|
+
minimumFractionDigits: 2,
|
|
171
|
+
maximumFractionDigits: 2,
|
|
172
|
+
unit: this.unit ?? "meters",
|
|
173
|
+
style: "decimal"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
})}</calcite-tooltip>` : void 0}</calcite-label>` : void 0,
|
|
178
|
+
n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!l} integer number-button-type=none suffix-text=\u00B0 .value=${`${B(e)}`} @calciteInputNumberChange=${({ currentTarget: c }) => this.rotation = N(c.value)}></calcite-input-number></calcite-label>`
|
|
179
|
+
]}</div>`;
|
|
180
|
+
}
|
|
181
|
+
_renderIntervalInput() {
|
|
182
|
+
const { majorLineInterval: e, gridControlsEnabled: t } = this;
|
|
183
|
+
return n`<div class=${d(g(r.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({ currentTarget: i }) => {
|
|
184
|
+
const a = Number.parseInt(i.value, 10);
|
|
185
|
+
this.majorLineInterval = a, a !== this.majorLineInterval && (i.value = `${this.majorLineInterval}`);
|
|
186
|
+
}}></calcite-input-number></calcite-label></div>`;
|
|
187
|
+
}
|
|
188
|
+
_renderSnappingToggle() {
|
|
189
|
+
const { snappingOptions: e, gridControlsEnabled: t } = this, i = e?.gridEnabled ?? !1;
|
|
190
|
+
return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t && !!e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${(l) => {
|
|
191
|
+
l.stopPropagation(), this.snappingOptions?.set("gridEnabled", l.detail);
|
|
192
|
+
}}></arcgis-labeled-switch>`;
|
|
193
|
+
}
|
|
194
|
+
_renderDynamicScaleToggle() {
|
|
195
|
+
const { _messages: e, gridOutOfScale: t, dynamicScaling: i, gridControlsEnabled: a } = this, l = !this.hideOutOfScaleWarning && t;
|
|
196
|
+
return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${l ? e?.warnings?.outOfScale : void 0} .hintIcon=${m.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${(s) => {
|
|
197
|
+
s.stopPropagation(), this.dynamicScaling = s.detail;
|
|
198
|
+
}}></arcgis-labeled-switch>`;
|
|
199
|
+
}
|
|
200
|
+
_renderRotateToggle() {
|
|
201
|
+
const { gridControlsEnabled: e, rotateWithMap: t } = this;
|
|
202
|
+
return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap ?? ""} @arcgisCheckedChanged=${(i) => {
|
|
203
|
+
i.stopPropagation(), this.rotateWithMap = i.detail;
|
|
204
|
+
}}></arcgis-labeled-switch>`;
|
|
205
|
+
}
|
|
206
|
+
_renderEnabledToggle() {
|
|
207
|
+
return n`<div class=${d(r.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${(e) => {
|
|
208
|
+
e.stopPropagation(), this.trySetDisplayEnabled(e.detail);
|
|
209
|
+
}}></arcgis-labeled-switch></div>`;
|
|
210
|
+
}
|
|
211
|
+
_renderColorSelection() {
|
|
212
|
+
const { customColor: e } = this;
|
|
213
|
+
return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${d(r.tileGroup)}>${[
|
|
214
|
+
this._renderThemeTile({ value: "dark" }),
|
|
215
|
+
this._renderThemeTile({ value: "light" }),
|
|
216
|
+
this._renderThemeTile({ value: "custom" }),
|
|
217
|
+
this._themePopoverRef ? n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel ?? ""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({ digits: 8 }) ?? "#000000ff"} @calciteColorPickerChange=${(t) => {
|
|
218
|
+
const i = h.fromHex(t.currentTarget.value);
|
|
219
|
+
i && (this.customColor = i, this.theme = "custom");
|
|
220
|
+
}}></calcite-color-picker></calcite-popover>` : void 0
|
|
221
|
+
]}</div></calcite-label>`;
|
|
222
|
+
}
|
|
223
|
+
_renderThemeTile(e) {
|
|
224
|
+
const { theme: t, gridControlsEnabled: i } = this, { value: a } = e, l = this._messages?.gridTheme?.[a], s = `${this._labelUid}--theme_tile_${a}`, c = `${s}__label`, p = m.gridTheme[a];
|
|
225
|
+
return n`<div class=${d(g({ [r.tile]: !0, [r.tileDisabled]: !i }))} role=button ${f(a === "custom" ? this._setPopoverRef : this._emptyFunction)}><input aria-labelledby=${c ?? u} .checked=${t === a} .disabled=${!i} id=${s ?? u} .name=${`${this._labelUid}--theme`} @change=${(y) => {
|
|
226
|
+
this.theme = a, y.currentTarget.focus();
|
|
227
|
+
}} tabindex=0 type=radio><div class=${d(r.tileContent)}><calcite-icon .icon=${p} scale=l></calcite-icon><calcite-label .for=${s} id=${c ?? u}>${l}</calcite-label></div></div>`;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
S("arcgis-grid-controls", V);
|
|
231
|
+
export {
|
|
232
|
+
V as ArcgisGridControls
|
|
233
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Nil } from '@arcgis/components-utils';
|
|
2
|
+
import { default as Color } from '@arcgis/core/Color.js';
|
|
3
|
+
/** Convert grid rotation value to user-facing degrees value. */
|
|
4
|
+
export declare function gridRotationToDegrees(rotationFromGrid: Nil | number): number;
|
|
5
|
+
/**
|
|
6
|
+
* Takes a number or string representation of grid rotation in degrees,
|
|
7
|
+
* and transforms to the equivalent MeasuredGrid rotation value.
|
|
8
|
+
*/
|
|
9
|
+
export declare function userInputToGridRotation(rotationFromAnywhere: Nil | number | string): number;
|
|
10
|
+
/** Applies a single color to a grid; major line gets color as-is, minor line gets color with half opacity. */
|
|
11
|
+
export declare function applyColorToGrid(grid: Nil | object, color: number[]): void;
|
|
12
|
+
export declare function moduloPositive(a: number, n: number): number;
|
|
13
|
+
export declare const ColorPropertyConverter: {
|
|
14
|
+
fromAttribute: (value: string) => Color | Nil;
|
|
15
|
+
toAttribute: (value: Color | Nil | string) => string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action-bar";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-tooltip";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-input-number";
|
|
7
|
+
import "../arcgis-labeled-switch/index.js";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-color-picker";
|
|
10
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action-bar";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-tooltip";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-input-number";
|
|
7
|
+
import "../arcgis-labeled-switch/index.js";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-color-picker";
|
|
10
|
+
export * from "./customElement.js";
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.88 */
|
|
10
10
|
const h = n`@layer{arcgis-histogram{display:block}}`, d = r(e);
|
|
11
11
|
class m extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.88 */
|
|
10
10
|
const h = d`@layer{arcgis-histogram-range-slider{display:block}}`, l = n(s);
|
|
11
11
|
class g extends a {
|
|
12
12
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { g as a } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.88 */
|
|
15
15
|
const b = u`@layer{arcgis-home{display:block}}`, y = {
|
|
16
16
|
base: "esri-home"
|
|
17
17
|
}, M = f(d);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="../../index.d.ts" />
|
|
2
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Labeled switch component shows a label, a switch, and optionally an icon with a tooltip for hints.
|
|
6
|
+
* Used by grid controls, snapping controls, etc.
|
|
7
|
+
* @private
|
|
8
|
+
*/
|
|
9
|
+
export declare class LabeledSwitch extends LitElement {
|
|
10
|
+
/**
|
|
11
|
+
* Tracks the state of the switch.
|
|
12
|
+
*/
|
|
13
|
+
checked: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Used to disable the switch.
|
|
16
|
+
*/
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Label to display alongside the switch.
|
|
20
|
+
*/
|
|
21
|
+
label: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Hint shown when user hovers over the hint icon.
|
|
24
|
+
*/
|
|
25
|
+
hint: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Icon to show for the hint. Common values are "warning" and "information"
|
|
28
|
+
*/
|
|
29
|
+
hintIcon: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Controls the presentation of the hint icon. Uses a yellow color if set to warning.
|
|
32
|
+
* @default "info"
|
|
33
|
+
*/
|
|
34
|
+
hintKind: "info" | "warning";
|
|
35
|
+
/** Permanently destroy the component */
|
|
36
|
+
destroy(): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Emitted when the switch is toggled. Event detail is the new checked state.
|
|
39
|
+
*/
|
|
40
|
+
readonly arcgisCheckedChanged: TargetedEvent<this, boolean>;
|
|
41
|
+
}
|