@arcgis/map-components 5.0.0-next.125 → 5.0.0-next.126
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/{PWGG35OH.js → 26ELGODT.js} +2 -2
- package/dist/cdn/{USOPHZXC.js → 2A6ZHZOV.js} +2 -2
- package/dist/cdn/{RVKZ4FQK.js → 2DQ6DS52.js} +1 -1
- package/dist/cdn/{7P3T6EAP.js → 2IIP3AC5.js} +1 -1
- package/dist/cdn/{RKVVJVRB.js → 2QH3RUWV.js} +2 -2
- package/dist/cdn/{JH5L57BE.js → 2RAWJZDN.js} +2 -2
- package/dist/cdn/{OU36KP2X.js → 2VDN43OK.js} +2 -2
- package/dist/cdn/{7RCEE5EY.js → 2VTPRLDC.js} +2 -2
- package/dist/cdn/{MGOKYCK7.js → 322RQLGZ.js} +2 -2
- package/dist/cdn/3BUDXYII.js +4 -0
- package/dist/cdn/{ACPAQHOO.js → 3CCZ5NQW.js} +2 -2
- package/dist/cdn/{N4RACC3R.js → 3EEFOLDS.js} +2 -2
- package/dist/cdn/{WQPSWIY7.js → 3GFFFY2G.js} +2 -2
- package/dist/cdn/{AHPF2CRW.js → 3JOKH6WI.js} +2 -2
- package/dist/cdn/3JTWADCF.js +4 -0
- package/dist/cdn/{YODYVB6D.js → 3KBH6XNP.js} +2 -2
- package/dist/cdn/{VEZTWXSI.js → 3LKFTQPD.js} +1 -1
- package/dist/cdn/{APDKUFAY.js → 3T75QXCN.js} +2 -2
- package/dist/cdn/3Y2SMMA3.js +4 -0
- package/dist/cdn/{EINQGF5X.js → 44MN6MXN.js} +2 -2
- package/dist/cdn/{6Z366STQ.js → 4EIYE53Z.js} +2 -2
- package/dist/cdn/{5GDV4KN7.js → 4FJQ7PHI.js} +2 -2
- package/dist/cdn/4FVEAJCN.js +4 -0
- package/dist/cdn/{ZKKPOWDI.js → 4H3KYWSD.js} +2 -2
- package/dist/cdn/{3N4FQCWK.js → 4J524RUE.js} +2 -2
- package/dist/cdn/{LMKMECLK.js → 4J7HTT3W.js} +2 -2
- package/dist/cdn/{7P52BVQQ.js → 4JBDRKEC.js} +2 -2
- package/dist/cdn/{TQIGLXV4.js → 4LQ42UVP.js} +2 -2
- package/dist/cdn/{HC33U25T.js → 4OXAIEC4.js} +2 -2
- package/dist/cdn/{4LOUD4ZG.js → 4SQLZY5Y.js} +2 -2
- package/dist/cdn/{VZHPCMBB.js → 4T4WAGZB.js} +2 -2
- package/dist/cdn/4WUW6UY3.js +6 -0
- package/dist/cdn/{Y5722SFD.js → 52YZJVVJ.js} +2 -2
- package/dist/cdn/{MMTYAKZH.js → 54AAD6ED.js} +2 -2
- package/dist/cdn/{BFAS35SE.js → 5DR6KIYO.js} +2 -2
- package/dist/cdn/{R6WXN75Y.js → 5EC3R3EN.js} +2 -2
- package/dist/cdn/{DJMUBM3O.js → 5XAFYH5D.js} +2 -2
- package/dist/cdn/{SBDHOU2W.js → 5XC3MOZN.js} +1 -1
- package/dist/cdn/{NLZKVGGK.js → 5ZVCBIQ7.js} +2 -2
- package/dist/cdn/{QKS7LMYI.js → 66TPEH4O.js} +2 -2
- package/dist/cdn/{CTEJ2RKF.js → 6CI6T7SY.js} +2 -2
- package/dist/cdn/{BG5T7AGQ.js → 6E3ME7FS.js} +2 -2
- package/dist/cdn/{HIJIGBMC.js → 6HBIGJ3E.js} +2 -2
- package/dist/cdn/{PR3QN37M.js → 6PARD7KR.js} +2 -2
- package/dist/cdn/{HGUNMXIR.js → 6WRBAM7W.js} +2 -2
- package/dist/cdn/{RX555GJP.js → 6XEJDNSQ.js} +2 -2
- package/dist/cdn/{IEDEB26D.js → 76MROXSO.js} +2 -2
- package/dist/cdn/{KO25OCUR.js → 7DPNZOB3.js} +2 -2
- package/dist/cdn/{HARFC6ID.js → 7KYPMJGI.js} +2 -2
- package/dist/cdn/{CHF3KCWS.js → 7MDZYQBT.js} +2 -2
- package/dist/cdn/{QTJWSHUL.js → 7WJEXS7M.js} +2 -2
- package/dist/cdn/{GBL6E6BD.js → A2QK6M74.js} +2 -2
- package/dist/cdn/{XL74PZLX.js → A7NNIE7S.js} +2 -2
- package/dist/cdn/{2YEYSC2T.js → ABIQIYJ7.js} +2 -2
- package/dist/cdn/{UGLZSGVQ.js → ACB6T33E.js} +2 -2
- package/dist/cdn/{JAYKEJIK.js → AGL2XMTE.js} +2 -2
- package/dist/cdn/{NFMOQDJ6.js → AUFWFWDV.js} +2 -2
- package/dist/cdn/{PTR2GSP5.js → BIFNWHJ7.js} +2 -2
- package/dist/cdn/{VEEC7UGN.js → BJAY5VE7.js} +2 -2
- package/dist/cdn/{DSRDZBJN.js → BJF6GCIX.js} +2 -2
- package/dist/cdn/{KZDIRMGU.js → BJZHQDPV.js} +2 -2
- package/dist/cdn/{BNHMODYZ.js → BP7EZAAW.js} +2 -2
- package/dist/cdn/{GIH77KVV.js → BPFVZ7LO.js} +2 -2
- package/dist/cdn/{IG2NIJLQ.js → BPGYYI45.js} +2 -2
- package/dist/cdn/{Z4SXPUGY.js → BPQOEL7S.js} +2 -2
- package/dist/cdn/{IL5SVE66.js → BWE5IWWY.js} +2 -2
- package/dist/cdn/{DE6X5IV6.js → C34C4FT2.js} +2 -2
- package/dist/cdn/{RKWG6EN2.js → C63NLLEM.js} +2 -2
- package/dist/cdn/{BETUR5XF.js → C77AIJNV.js} +2 -2
- package/dist/cdn/{CBSSS6PW.js → CJUX5BPV.js} +2 -2
- package/dist/cdn/{ALWQC7LL.js → CN2P62GH.js} +2 -2
- package/dist/cdn/{J4Y3RJFF.js → CPYNIDTI.js} +2 -2
- package/dist/cdn/{Q5GY7IVO.js → CUCDNIRA.js} +2 -2
- package/dist/cdn/{66TNSK37.js → CYEKCA5P.js} +2 -2
- package/dist/cdn/{7QXUSBON.js → D4DBSVEP.js} +2 -2
- package/dist/cdn/{6Z3BZYCE.js → DAUFUKGI.js} +2 -2
- package/dist/cdn/{WL5XIGDV.js → DAXVKXUK.js} +2 -2
- package/dist/cdn/{K366K2KW.js → DLG2GIOJ.js} +2 -2
- package/dist/cdn/DLLDOOKV.js +4 -0
- package/dist/cdn/{JO23EO3W.js → DNVUVXSD.js} +2 -2
- package/dist/cdn/{Z7AUQAZO.js → DZ64X77M.js} +2 -2
- package/dist/cdn/{7DKNOV5S.js → E3WHOFBT.js} +3 -3
- package/dist/cdn/{4QOTPDK3.js → E7AYAQPO.js} +2 -2
- package/dist/cdn/{GPDTSCHH.js → EOBOMM6O.js} +2 -2
- package/dist/cdn/{4E5VXEGH.js → EXF4WD2K.js} +2 -2
- package/dist/cdn/{DLT53DC2.js → F4KQTJGN.js} +2 -2
- package/dist/cdn/{RENOLECX.js → FDAAPZRA.js} +2 -2
- package/dist/cdn/{RBXQHIEV.js → FFOR4NTR.js} +2 -2
- package/dist/cdn/{Q3LUT7EQ.js → FHKGMVOQ.js} +2 -2
- package/dist/cdn/{WGG7VXZ4.js → FOBJ4QYY.js} +2 -2
- package/dist/cdn/{TD7ST4RV.js → FOH4AUFU.js} +2 -2
- package/dist/cdn/{4PJKV3CL.js → FTXPNQPY.js} +2 -2
- package/dist/cdn/{4J72QRFT.js → G6C436JS.js} +2 -2
- package/dist/cdn/{OZATSVY2.js → G6CEH2DM.js} +2 -2
- package/dist/cdn/{6MMUI3TX.js → GAAHIPUW.js} +2 -2
- package/dist/cdn/{PWNWSRDE.js → GK7Z6JAY.js} +2 -2
- package/dist/cdn/GQCLQ3XS.js +4 -0
- package/dist/cdn/{NU2I26HZ.js → H4GZHAQN.js} +2 -2
- package/dist/cdn/{NGCAUFIS.js → HB73GBBG.js} +2 -2
- package/dist/cdn/{J5D5IMYB.js → HDBCMAIS.js} +2 -2
- package/dist/cdn/{RZ4QOQMR.js → HDBU6BC6.js} +2 -2
- package/dist/cdn/{GU5FYEG3.js → HDUDXLTX.js} +2 -2
- package/dist/cdn/{OPUOGOKN.js → HK2ACEEG.js} +2 -2
- package/dist/cdn/{YVA6OQBE.js → HM2UWNAY.js} +2 -2
- package/dist/cdn/{DALYLO6E.js → HQOCIEVR.js} +2 -2
- package/dist/cdn/{V6YUGO4F.js → HTNXS7ZU.js} +2 -2
- package/dist/cdn/{4U2EDMSR.js → HVOL4Z5Z.js} +2 -2
- package/dist/cdn/{CCZWIBB7.js → HVQBDESS.js} +2 -2
- package/dist/cdn/{W7OMVLKR.js → HWPY72WU.js} +2 -2
- package/dist/cdn/{SDQAOZBP.js → I56REPDN.js} +2 -2
- package/dist/cdn/{IFMGNQ5N.js → IACBL2U2.js} +2 -2
- package/dist/cdn/{6NVPPPGW.js → IBQ2YIY2.js} +2 -2
- package/dist/cdn/{CWY7TORB.js → IIHBGL7W.js} +2 -2
- package/dist/cdn/{O3R7KON4.js → IKCWHYY7.js} +2 -2
- package/dist/cdn/{FCTSU4XG.js → IQMTG5GZ.js} +1 -1
- package/dist/cdn/{OFZOI3SV.js → ISVTMNKQ.js} +2 -2
- package/dist/cdn/{CCC23TO6.js → ITWPCZO4.js} +2 -2
- package/dist/cdn/{EIJSCBW6.js → IVME657Y.js} +2 -2
- package/dist/cdn/{7FTAJ5TH.js → IX6TYXYA.js} +2 -2
- package/dist/cdn/{KJDRRE5K.js → J4P2ZXFW.js} +2 -2
- package/dist/cdn/{MOYEFKHS.js → J6PANDBS.js} +2 -2
- package/dist/cdn/{7G74PPWM.js → JCJIZ2MZ.js} +2 -2
- package/dist/cdn/{PXLJCLDT.js → JFAY36CE.js} +1 -1
- package/dist/cdn/{IK4QKY5S.js → JGS5JZIU.js} +2 -2
- package/dist/cdn/{OIHETT66.js → JH3IGCY3.js} +2 -2
- package/dist/cdn/{MYNHQRHT.js → JHC3RQD6.js} +2 -2
- package/dist/cdn/{SG7R2VYV.js → JOG2VUIH.js} +2 -2
- package/dist/cdn/{SJ46Q2FR.js → JSCHPWGM.js} +2 -2
- package/dist/cdn/{GIFVARRH.js → KBXZ22K7.js} +2 -2
- package/dist/cdn/{VNGE3JFY.js → KCD4ORX4.js} +2 -2
- package/dist/cdn/{6IPHCOHN.js → KCVTX2GG.js} +2 -2
- package/dist/cdn/{WWXKKB3T.js → KGYYMQPX.js} +2 -2
- package/dist/cdn/{JPUM53CO.js → KI6YN2VL.js} +2 -2
- package/dist/cdn/{VPO6FT74.js → KIJDFKVM.js} +2 -2
- package/dist/cdn/{OLR6OWW4.js → KIMNSVG6.js} +2 -2
- package/dist/cdn/{3FLIFGZ4.js → KIW23HS7.js} +2 -2
- package/dist/cdn/{L5NHIHSA.js → KNVC2CJR.js} +2 -2
- package/dist/cdn/{6WDZTMAX.js → KP5EBES5.js} +1 -1
- package/dist/cdn/{65G6ABZ5.js → KTJ5IPFM.js} +2 -2
- package/dist/cdn/{MPTNGONZ.js → KUFZN72G.js} +2 -2
- package/dist/cdn/{X4YUJGYH.js → KZVWOXX3.js} +2 -2
- package/dist/cdn/{WWJOCVCI.js → LGLWLOPY.js} +2 -2
- package/dist/cdn/{DRKOKDE6.js → LHG2R6K6.js} +2 -2
- package/dist/cdn/{IN6NFNVJ.js → LVNUEPLC.js} +2 -2
- package/dist/cdn/MAI5DYQJ.js +4 -0
- package/dist/cdn/{77LEIMT3.js → MFOOE7D3.js} +2 -2
- package/dist/cdn/{YCVDZJZY.js → MQL3CBJM.js} +2 -2
- package/dist/cdn/{XFYHDUCW.js → MTQEZWVV.js} +2 -2
- package/dist/cdn/{LSRAQHLF.js → MU7F53V7.js} +2 -2
- package/dist/cdn/MZFSBTB5.js +4 -0
- package/dist/cdn/{P7ELL466.js → N7BBT6TU.js} +1 -1
- package/dist/cdn/{T75WRNJ6.js → NBTNEEJV.js} +2 -2
- package/dist/cdn/{GBKR3WLZ.js → NMA4V7SA.js} +2 -2
- package/dist/cdn/NOVBKJQF.js +4 -0
- package/dist/cdn/{CUVSKFGO.js → NRRVB3A2.js} +2 -2
- package/dist/cdn/{OBOXTKSG.js → NXWFNFYO.js} +2 -2
- package/dist/cdn/{MACG2HUH.js → O62E7PG5.js} +2 -2
- package/dist/cdn/{MDOSJEFU.js → OALRUL75.js} +2 -2
- package/dist/cdn/{PDUEJGTR.js → OAPBNPYV.js} +2 -2
- package/dist/cdn/{5CCUJDHP.js → OBCV4LGS.js} +2 -2
- package/dist/cdn/{YL7E3O4I.js → OCLOYVCP.js} +2 -2
- package/dist/cdn/{AXNXIMUU.js → OGXOHEY6.js} +2 -2
- package/dist/cdn/{UH5IYKKL.js → OHKBNMXO.js} +2 -2
- package/dist/cdn/{J5TPK7CH.js → OP7IYF5D.js} +2 -2
- package/dist/cdn/{KOTPYBIQ.js → OWIH2YDC.js} +2 -2
- package/dist/cdn/{M2ZGKJLP.js → PA55LV27.js} +2 -2
- package/dist/cdn/PAST4HPQ.js +4 -0
- package/dist/cdn/{EYFK7X2Q.js → PCLRH7W3.js} +2 -2
- package/dist/cdn/{JXRY7JAO.js → PCXW25IT.js} +2 -2
- package/dist/cdn/{7ZZXMSC4.js → PHMZ74Q5.js} +2 -2
- package/dist/cdn/{5KV6QW2E.js → PKPVOYXM.js} +2 -2
- package/dist/cdn/{TUWTH3LI.js → PLIPP6ZP.js} +2 -2
- package/dist/cdn/POCIGHS2.js +4 -0
- package/dist/cdn/{75QLYIFN.js → POW4YB7J.js} +2 -2
- package/dist/cdn/{XGAHAOE3.js → PTRX3UY5.js} +1 -1
- package/dist/cdn/{55EPQRBT.js → PZERXJK2.js} +2 -2
- package/dist/cdn/{2BM75YFE.js → Q2PEU2KX.js} +2 -2
- package/dist/cdn/{HAFZJAN2.js → Q4FCETZE.js} +2 -2
- package/dist/cdn/{MRUSCWYK.js → Q4MH5XB7.js} +2 -2
- package/dist/cdn/{QQQCTYQ4.js → Q5WWQIP2.js} +2 -2
- package/dist/cdn/{KACMEBEW.js → Q72YBFCJ.js} +2 -2
- package/dist/cdn/{V66KG4QY.js → QDP2XA2B.js} +2 -2
- package/dist/cdn/{3KETFLTP.js → QFPCI3ZA.js} +2 -2
- package/dist/cdn/QS2SVNQO.js +4 -0
- package/dist/cdn/RFGXEWC5.js +4 -0
- package/dist/cdn/{F53HF64J.js → RHWSJYPZ.js} +2 -2
- package/dist/cdn/{FJXSIIN6.js → RXRMLUXC.js} +1 -1
- package/dist/cdn/{DP3XIF6L.js → S22SRIZC.js} +2 -2
- package/dist/cdn/{XQYJ2JZR.js → S4ZBQJ4E.js} +2 -2
- package/dist/cdn/{FW5OV27G.js → SEZOZECV.js} +2 -2
- package/dist/cdn/{ZIIOYSVL.js → SIAMYMAS.js} +2 -2
- package/dist/cdn/{UMBF6BZP.js → SNWM7VCA.js} +2 -2
- package/dist/cdn/{M7IMGQBH.js → SQU2LWOB.js} +2 -2
- package/dist/cdn/{AHSXSFZ6.js → SSOAS6QH.js} +2 -2
- package/dist/cdn/{XYLEKS6X.js → SSWXQHA7.js} +1 -1
- package/dist/cdn/{OIRDH454.js → STXVSPHC.js} +2 -2
- package/dist/cdn/{4TGIFRL4.js → TCDRZDAR.js} +2 -2
- package/dist/cdn/{O6S56WKN.js → TENIDCTN.js} +2 -2
- package/dist/cdn/{R55GFEQT.js → TFZC5FSC.js} +2 -2
- package/dist/cdn/{76HRR7ZY.js → TGDJYLLA.js} +2 -2
- package/dist/cdn/{OCFGETZI.js → TJGC7U5V.js} +2 -2
- package/dist/cdn/{UVQA5C2N.js → TQZBVE46.js} +2 -2
- package/dist/cdn/{4URN2WYU.js → TWGMPBWY.js} +2 -2
- package/dist/cdn/{5WXKFB6D.js → UEEZPQJY.js} +2 -2
- package/dist/cdn/{RVW65OEV.js → UFQR6FKJ.js} +2 -2
- package/dist/cdn/{CKAZLQJF.js → UIDVI3RF.js} +2 -2
- package/dist/cdn/{3W732VKD.js → UJVHMKBN.js} +2 -2
- package/dist/cdn/{LJWCCQZC.js → UMD7UIVD.js} +2 -2
- package/dist/cdn/{MI2LKFYG.js → UO7NPDHM.js} +2 -2
- package/dist/cdn/{7MAGDSGW.js → USRZK4XP.js} +2 -2
- package/dist/cdn/{HEZGZ7GR.js → UTCIQWEA.js} +2 -2
- package/dist/cdn/{HKXHNMKL.js → UTY3C6KV.js} +2 -2
- package/dist/cdn/{SDAPKVKL.js → V3YZFESF.js} +2 -2
- package/dist/cdn/{6I2GOQEU.js → V5GJ6SUA.js} +2 -2
- package/dist/cdn/{JE3FUDM2.js → VAAJIUSV.js} +2 -2
- package/dist/cdn/{LOIU3QZ5.js → VATDFNJC.js} +1 -1
- package/dist/cdn/{6O7OOKKF.js → VE4KRNMD.js} +2 -2
- package/dist/cdn/{WLJJECTB.js → VEP2TLF3.js} +1 -1
- package/dist/cdn/{HTENOPQ3.js → VJYWOGV5.js} +2 -2
- package/dist/cdn/{AMHNBBTL.js → VK5UZBSV.js} +2 -2
- package/dist/cdn/{YTKY2WPX.js → VPAXWV77.js} +2 -2
- package/dist/cdn/{5QJIYJXV.js → VZDRKYZV.js} +2 -2
- package/dist/cdn/{CKTQZUJP.js → W4HC6EED.js} +2 -2
- package/dist/cdn/{7P7I4YZR.js → WO6634T4.js} +2 -2
- package/dist/cdn/{MMXUCBCR.js → WQTIKFQJ.js} +2 -2
- package/dist/cdn/{R2KWG3SI.js → X2PBNRXR.js} +1 -1
- package/dist/cdn/{7MR5XA4D.js → X7CXOL57.js} +2 -2
- package/dist/cdn/{C42PUNKN.js → XCIJHJKA.js} +2 -2
- package/dist/cdn/{UHYUDT7C.js → XHS6RMSE.js} +1 -1
- package/dist/cdn/{M6J6PLWI.js → XMUQIAPP.js} +2 -2
- package/dist/cdn/{Q3NZOH23.js → XOULOGQV.js} +1 -1
- package/dist/cdn/{XE5EGC6Q.js → XPSCMEYW.js} +2 -2
- package/dist/cdn/{MVL7FV7C.js → XRHHSSGD.js} +2 -2
- package/dist/cdn/{BL5HLM3S.js → XWS4KX5V.js} +1 -1
- package/dist/cdn/{UBHCLWKX.js → XWUI2LWL.js} +2 -2
- package/dist/cdn/{L4JJMMP7.js → Y623PGCI.js} +2 -2
- package/dist/cdn/{HBRZ6GEZ.js → Y6CQ6ZX5.js} +2 -2
- package/dist/cdn/{LYBPW2EA.js → Y6D5VY3U.js} +2 -2
- package/dist/cdn/{AHLS47JR.js → YE4BYJUL.js} +2 -2
- package/dist/cdn/YPU2XN6K.js +4 -0
- package/dist/cdn/{52NRQIIG.js → YZB2GQFW.js} +2 -2
- package/dist/cdn/{KON2ENZX.js → Z34EJCJ5.js} +2 -2
- package/dist/cdn/{PCENGFYW.js → ZNJHVXNC.js} +2 -2
- package/dist/cdn/{ABXI5TYA.js → ZQSWDPXA.js} +2 -2
- package/dist/cdn/{DHBTCTD4.js → ZSBJRSHJ.js} +2 -2
- package/dist/cdn/{GRHKD2CE.js → ZVNJLVDO.js} +2 -2
- package/dist/cdn/{6NBEWLIS.js → ZY4FZOVV.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/building-layer-utils.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/component-wrapper.js +1 -1
- package/dist/chunks/constants.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +6 -6
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/goTo.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useCloseEvent.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.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.d.ts +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.d.ts +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-discipline-tree/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +6 -6
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +185 -69
- 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/chartCommon.d.ts +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +100 -50
- 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-popup/customElement.js +2 -2
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- 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-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/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-binary-color-size-legacy/customElement.d.ts +232 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +35 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +270 -0
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +35 -0
- package/dist/components/arcgis-slider-classed-color-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-classed-color-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +252 -0
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +35 -0
- package/dist/components/arcgis-slider-classed-size-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-classed-size-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +241 -0
- package/dist/components/arcgis-slider-color-legacy/customElement.js +32 -0
- package/dist/components/arcgis-slider-color-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-color-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +260 -0
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +35 -0
- package/dist/components/arcgis-slider-color-size-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-color-size-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +188 -0
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +29 -0
- package/dist/components/arcgis-slider-heatmap-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-heatmap-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +262 -0
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +32 -0
- package/dist/components/arcgis-slider-opacity-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-opacity-legacy/index.js +1 -0
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +271 -0
- package/dist/components/arcgis-slider-size-legacy/customElement.js +35 -0
- package/dist/components/arcgis-slider-size-legacy/index.d.ts +1 -0
- package/dist/components/arcgis-slider-size-legacy/index.js +1 -0
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- 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.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +24 -24
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +4262 -30
- package/dist/docs/docs.json +3811 -32
- package/dist/docs/vscode.html-custom-data.json +410 -4
- package/dist/docs/web-types.json +1090 -8
- package/dist/index.d.ts +88 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -1
- package/dist/types/lumina.d.ts +72 -0
- package/dist/types/preact.d.ts +80 -0
- package/dist/types/react.d.ts +88 -0
- package/dist/types/stencil.d.ts +72 -0
- package/package.json +4 -5
- package/dist/cdn/7SMY665F.js +0 -4
- package/dist/cdn/ADDLXT6X.js +0 -4
- package/dist/cdn/BVIYB3XH.js +0 -6
- package/dist/cdn/LNX25BVS.js +0 -6
- package/dist/cdn/NKQJ45V3.js +0 -4
- package/dist/cdn/WCQZTE6S.js +0 -4
- package/dist/cdn/WTEWM5GX.js +0 -4
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as OpacitySlider } from '@arcgis/core/widgets/smartMapping/OpacitySlider.js';
|
|
4
|
+
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
6
|
+
import { VisualVariableResult } from '@arcgis/core/smartMapping/renderers/opacity';
|
|
7
|
+
import { HistogramResult } from '@arcgis/core/smartMapping/statistics/types';
|
|
8
|
+
import { IconName } from '../../utils/action-utils';
|
|
9
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
10
|
+
|
|
11
|
+
declare const useOpacitySliderWidget: (component: LitElement & Pick<OpacitySlider, "style" | "label" | "viewModel" | "icon" | "max" | "min" | "precision"> & {
|
|
12
|
+
state?: "disabled" | "ready" | undefined;
|
|
13
|
+
viewModel?: import('@arcgis/core/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel').default | undefined;
|
|
14
|
+
closed?: boolean;
|
|
15
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
16
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
17
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
18
|
+
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
19
|
+
arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
|
|
20
|
+
name: string;
|
|
21
|
+
}> | undefined;
|
|
22
|
+
el: HTMLElement & {
|
|
23
|
+
childElem?: HTMLElement & {
|
|
24
|
+
ownedBy?: HTMLElement;
|
|
25
|
+
};
|
|
26
|
+
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nullish;
|
|
27
|
+
};
|
|
28
|
+
autoDestroyDisabled: boolean;
|
|
29
|
+
destroy: () => Promise<void>;
|
|
30
|
+
}) => OpacitySlider;
|
|
31
|
+
/**
|
|
32
|
+
* The Opacity Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any
|
|
33
|
+
* layer that can be rendered with an [OpacityVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html).
|
|
34
|
+
*
|
|
35
|
+
* <span id="image-annotations"></span>
|
|
36
|
+
* See the image below for a summary of the configurable options available on this slider.
|
|
37
|
+
*
|
|
38
|
+
* 
|
|
39
|
+
*
|
|
40
|
+
* The [updateFromVisualVariableResult()](#updateFromVisualVariableResult()) method can be used to intelligently populate slider properties including [max](#max), [min](#min),
|
|
41
|
+
* the [opacity visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html) configuration,
|
|
42
|
+
* and the slider's histogram after the renderer has been created from the result of the
|
|
43
|
+
* [createVisualVariable()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#createVisualVariable) method.
|
|
44
|
+
*
|
|
45
|
+
* ```js
|
|
46
|
+
* const opacityVariableCreator = await import("@arcgis/core/smartMapping/renderers/opacity.js");
|
|
47
|
+
* const viewElement = document.querySelector("arcgis-map")!;
|
|
48
|
+
* const opacitySlider = document.querySelector("arcgis-slider-opacity")!;
|
|
49
|
+
*
|
|
50
|
+
* const featureLayer = new FeatureLayer({
|
|
51
|
+
* url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Census_2020_DHC_Total_Population/FeatureServer/2",
|
|
52
|
+
* });
|
|
53
|
+
*
|
|
54
|
+
* await viewElement.viewOnReady();
|
|
55
|
+
* viewElement.map?.add(featureLayer);
|
|
56
|
+
*
|
|
57
|
+
* const params = {
|
|
58
|
+
* layer: featureLayer,
|
|
59
|
+
* view: viewElement.view,
|
|
60
|
+
* field: "P002_calc_pct0002",
|
|
61
|
+
* };
|
|
62
|
+
*
|
|
63
|
+
* const variableResult = await opacityVariableCreator.createVisualVariable(params);
|
|
64
|
+
*
|
|
65
|
+
* if (featureLayer.renderer && "visualVariables" in featureLayer.renderer) {
|
|
66
|
+
* featureLayer.renderer.visualVariables = [variableResult.visualVariable];
|
|
67
|
+
* }
|
|
68
|
+
*
|
|
69
|
+
* const histogramResult = await histogram({
|
|
70
|
+
* ...params,
|
|
71
|
+
* numBins: 30,
|
|
72
|
+
* });
|
|
73
|
+
*
|
|
74
|
+
* await opacitySlider.updateFromVisualVariableResult(variableResult, histogramResult);
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* This slider should be used to update an [opacity visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html)
|
|
78
|
+
* in a layer's renderer. It is the responsibility of the app developer
|
|
79
|
+
* to set up event listeners on this slider to update the opacity variable of the appropriate renderer.
|
|
80
|
+
*
|
|
81
|
+
* ```js
|
|
82
|
+
* const updateRendererFromSlider = () => {
|
|
83
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
84
|
+
* if (!renderer || !("visualVariables" in renderer) || !renderer.visualVariables?.[0]) {
|
|
85
|
+
* return;
|
|
86
|
+
* }
|
|
87
|
+
*
|
|
88
|
+
* const visualVariable = renderer.visualVariables[0];
|
|
89
|
+
* if (visualVariable.type !== "opacity") {
|
|
90
|
+
* return;
|
|
91
|
+
* }
|
|
92
|
+
*
|
|
93
|
+
* const opacityVariable = visualVariable.clone();
|
|
94
|
+
* opacityVariable.stops = opacitySlider.stops;
|
|
95
|
+
* renderer.visualVariables = [opacityVariable];
|
|
96
|
+
* featureLayer.renderer = renderer;
|
|
97
|
+
* };
|
|
98
|
+
*
|
|
99
|
+
* opacitySlider.addEventListener("arcgisThumbChange", updateRendererFromSlider);
|
|
100
|
+
* opacitySlider.addEventListener("arcgisThumbDrag", updateRendererFromSlider);
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-opacity-legacy/)
|
|
104
|
+
*
|
|
105
|
+
* @since 5.0.0
|
|
106
|
+
* @see [OpacitySliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-OpacitySlider-OpacitySliderViewModel.html)
|
|
107
|
+
* @see [opacityVariableCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html)
|
|
108
|
+
*/
|
|
109
|
+
export declare class ArcgisSliderOpacityLegacy extends LitElement {
|
|
110
|
+
/**
|
|
111
|
+
* If true, the component will not be destroyed automatically when it is
|
|
112
|
+
* disconnected from the document. This is useful when you want to move the
|
|
113
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
114
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-opacity-legacy/#destroy) method when you are done to
|
|
115
|
+
* prevent memory leaks.
|
|
116
|
+
*
|
|
117
|
+
* @default false
|
|
118
|
+
*/
|
|
119
|
+
autoDestroyDisabled: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Icon which represents the widget. It is typically used when the widget is controlled by another
|
|
122
|
+
* one (e.g. in the Expand widget).
|
|
123
|
+
*
|
|
124
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
125
|
+
*/
|
|
126
|
+
icon: IconName;
|
|
127
|
+
/**
|
|
128
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](#updateFromVisualVariableResult) method,
|
|
129
|
+
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
130
|
+
* to set up event listeners that update the opacity variable of the appropriate renderer.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```js
|
|
134
|
+
* const updateRendererFromSlider = () => {
|
|
135
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
136
|
+
* if (!renderer || !("visualVariables" in renderer) || !renderer.visualVariables?.[0]) {
|
|
137
|
+
* return;
|
|
138
|
+
* }
|
|
139
|
+
*
|
|
140
|
+
* const visualVariable = renderer.visualVariables[0];
|
|
141
|
+
* if (visualVariable.type !== "opacity") {
|
|
142
|
+
* return;
|
|
143
|
+
* }
|
|
144
|
+
*
|
|
145
|
+
* const opacityVariable = visualVariable.clone();
|
|
146
|
+
* opacityVariable.stops = opacitySlider.stops;
|
|
147
|
+
* renderer.visualVariables = [opacityVariable];
|
|
148
|
+
* featureLayer.renderer = renderer;
|
|
149
|
+
* };
|
|
150
|
+
*
|
|
151
|
+
* opacitySlider.addEventListener("arcgisPropertyChange", updateRendererFromSlider);
|
|
152
|
+
* ```
|
|
153
|
+
*/
|
|
154
|
+
max: number;
|
|
155
|
+
/**
|
|
156
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](#updateFromVisualVariableResult) method,
|
|
157
|
+
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
158
|
+
* to set up event listeners that update the opacity variable of the appropriate renderer.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```js
|
|
162
|
+
* const updateRendererFromSlider = () => {
|
|
163
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
164
|
+
* if (!renderer || !("visualVariables" in renderer) || !renderer.visualVariables?.[0]) {
|
|
165
|
+
* return;
|
|
166
|
+
* }
|
|
167
|
+
*
|
|
168
|
+
* const visualVariable = renderer.visualVariables[0];
|
|
169
|
+
* if (visualVariable.type !== "opacity") {
|
|
170
|
+
* return;
|
|
171
|
+
* }
|
|
172
|
+
*
|
|
173
|
+
* const opacityVariable = visualVariable.clone();
|
|
174
|
+
* opacityVariable.stops = opacitySlider.stops;
|
|
175
|
+
* renderer.visualVariables = [opacityVariable];
|
|
176
|
+
* featureLayer.renderer = renderer;
|
|
177
|
+
* };
|
|
178
|
+
*
|
|
179
|
+
* opacitySlider.addEventListener("arcgisPropertyChange", updateRendererFromSlider);
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
min: number;
|
|
183
|
+
/**
|
|
184
|
+
* Defines how slider thumb values should be rounded. This number indicates the number
|
|
185
|
+
* of decimal places slider thumb _values_ should round to when they have been moved.
|
|
186
|
+
*
|
|
187
|
+
* Keep in mind this property rounds thumb [values](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SmartMappingSliderViewModel.html#values) and shouldn't be used exclusively
|
|
188
|
+
* for formatting purposes.
|
|
189
|
+
*
|
|
190
|
+
* @default 4
|
|
191
|
+
* @example
|
|
192
|
+
* ```js
|
|
193
|
+
* slider.precision = 7;
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
precision: number;
|
|
197
|
+
/**
|
|
198
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
199
|
+
*
|
|
200
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
201
|
+
*/
|
|
202
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
203
|
+
/** The current state of the component. */
|
|
204
|
+
state: import('@arcgis/core/widgets/smartMapping/SmartMappingSliderBase').SmartMappingSliderBaseState;
|
|
205
|
+
/**
|
|
206
|
+
* The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html)
|
|
207
|
+
* to link to the slider. The opacity values in these stops will be used
|
|
208
|
+
* to render the gradient on the slider. They should match the opacity
|
|
209
|
+
* rendered in the associated layer's opacity visual variable.
|
|
210
|
+
*/
|
|
211
|
+
readonly stops: import('@arcgis/core/renderers/visualVariables/support/OpacityStop').default[];
|
|
212
|
+
/** Permanently destroy the component. */
|
|
213
|
+
destroy(): Promise<void>;
|
|
214
|
+
/**
|
|
215
|
+
* A convenience function used to update the properties of an OpacitySlider component instance from the
|
|
216
|
+
* [result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#VisualVariableResult) of
|
|
217
|
+
* the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#createVisualVariable)
|
|
218
|
+
* method. This method is used to configure an empty OpacitySlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.
|
|
219
|
+
* Note that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.
|
|
220
|
+
*
|
|
221
|
+
* @param visualVariable
|
|
222
|
+
* @param histogramResult
|
|
223
|
+
* @param visualVariableResult - The result object from the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#createVisualVariable)
|
|
224
|
+
* method.
|
|
225
|
+
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)
|
|
226
|
+
* method.
|
|
227
|
+
* @example
|
|
228
|
+
* ```js
|
|
229
|
+
* const opacityVariableCreator = await import("@arcgis/core/smartMapping/renderers/opacity.js");
|
|
230
|
+
* const variableResult = await opacityVariableCreator.createVisualVariable(params);
|
|
231
|
+
*
|
|
232
|
+
* if (featureLayer.renderer && "visualVariables" in featureLayer.renderer) {
|
|
233
|
+
* featureLayer.renderer.visualVariables = [variableResult.visualVariable];
|
|
234
|
+
* }
|
|
235
|
+
*
|
|
236
|
+
* const histogramResult = await histogram({
|
|
237
|
+
* ...params,
|
|
238
|
+
* numBins: 30,
|
|
239
|
+
* });
|
|
240
|
+
*
|
|
241
|
+
* await opacitySlider.updateFromVisualVariableResult(variableResult, histogramResult);
|
|
242
|
+
* ```
|
|
243
|
+
*/
|
|
244
|
+
updateFromVisualVariableResult(visualVariable: VisualVariableResult, histogramResult?: HistogramResult): Promise<void>;
|
|
245
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
246
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
247
|
+
name: "state" | "max" | "min" | "precision";
|
|
248
|
+
}>;
|
|
249
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
250
|
+
readonly arcgisReady: TargetedEvent<this, void>;
|
|
251
|
+
/** Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider. */
|
|
252
|
+
readonly arcgisThumbChange: TargetedEvent<this, import('@arcgis/core/widgets/Slider/types').ThumbChangeEvent>;
|
|
253
|
+
/** Fires when a user drags a thumb on the component. */
|
|
254
|
+
readonly arcgisThumbDrag: TargetedEvent<this, import('@arcgis/core/widgets/Slider/types').ThumbDragEvent>;
|
|
255
|
+
"@eventTypes": {
|
|
256
|
+
"arcgisPropertyChange": ArcgisSliderOpacityLegacy["arcgisPropertyChange"]["detail"];
|
|
257
|
+
"arcgisReady": ArcgisSliderOpacityLegacy["arcgisReady"]["detail"];
|
|
258
|
+
"arcgisThumbChange": ArcgisSliderOpacityLegacy["arcgisThumbChange"]["detail"];
|
|
259
|
+
"arcgisThumbDrag": ArcgisSliderOpacityLegacy["arcgisThumbDrag"]["detail"];
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
+
import s from "@arcgis/core/widgets/smartMapping/OpacitySlider.js";
|
|
3
|
+
import { m as o } from "../../chunks/useWidget.js";
|
|
4
|
+
import { css as l } from "lit";
|
|
5
|
+
import { LitElement as a, createEvent as d } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as n } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { reEmitEvent as e } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
10
|
+
v5.0.0-next.126 */
|
|
11
|
+
const c = l`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}.esri-histogram{direction:ltr;width:100%;height:100%}.esri-histogram__content{width:100%;height:100%}.esri-histogram__svg{width:100%;height:100%;display:inline-block;overflow:hidden}.esri-histogram__data-line{stroke:var(--calcite-color-text-3);stroke-width:1px;shape-rendering:crispEdges}.esri-histogram__label{stroke:var(--calcite-color-text-1);stroke-width:0;direction:ltr;unicode-bidi:plaintext;font-size:var(--calcite-font-size-sm)}.esri-histogram__average-data-line{stroke:var(--calcite-color-text-3)}.esri-histogram__average-symbol{font-family:Georgia\\, serif,sans-serif;font-style:italic}.esri-expand__panel-content .esri-histogram{width:100%}:dir(rtl) .esri-histogram{direction:rtl}:dir(rtl) .esri-histogram .esri-histogram__average-label{direction:rtl;unicode-bidi:plaintext}:host{min-width:260px}.esri-opacity-slider{direction:ltr}.esri-opacity-slider .esri-slider{z-index:1;font-size:var(--calcite-font-size-sm);position:relative}.esri-opacity-slider .esri-slider .esri-slider__content{flex-direction:row;height:240px;margin:0 auto 0 40%}.esri-opacity-slider .esri-slider .esri-slider__track{background-color:var(--calcite-color-transparent);flex:none;display:flex}.esri-opacity-slider .esri-slider .esri-slider__anchor{border-top:1px solid var(--calcite-color-foreground-1);border-bottom:1px solid var(--calcite-color-text-3);width:30px}.esri-opacity-slider .esri-slider .esri-slider__anchor:hover .esri-slider__label,.esri-opacity-slider .esri-slider .esri-slider__anchor:focus .esri-slider__label{text-decoration:underline}.esri-opacity-slider .esri-slider .esri-slider__anchor:hover .esri-slider__thumb,.esri-opacity-slider .esri-slider .esri-slider__anchor:focus .esri-slider__thumb{background-color:var(--calcite-color-inverse-press);border:none;transform:none}.esri-opacity-slider .esri-slider .esri-slider__anchor:hover .esri-slider__thumb:after,.esri-opacity-slider .esri-slider .esri-slider__anchor:focus .esri-slider__thumb:after{border-left-color:var(--calcite-color-inverse-press)}.esri-opacity-slider .esri-slider .esri-slider__anchor:hover .esri-slider__thumb:before,.esri-opacity-slider .esri-slider .esri-slider__anchor:focus .esri-slider__thumb:before{background-color:var(--calcite-color-brand);transform:translate(-1.5px)}.esri-opacity-slider .esri-slider .esri-slider__thumb{background-color:var(--calcite-color-text-3);border:none;border-radius:0;width:6px;height:12px;top:-6px;left:-12px}.esri-opacity-slider .esri-slider .esri-slider__thumb:before{content:"";background-color:var(--calcite-color-text-3);width:3px;height:12px;transition:transform .125s ease-in-out,background-color .125s ease-in-out;position:absolute;top:0;left:-1.5px}.esri-opacity-slider .esri-slider .esri-slider__thumb:after{content:"";border-top:6px solid var(--calcite-color-transparent);border-bottom:6px solid var(--calcite-color-transparent);border-left:6px solid var(--calcite-color-text-3);width:0;height:0;position:absolute;top:0;left:6px}.esri-opacity-slider .esri-slider .esri-slider__label{text-align:right;min-width:50px;line-height:20px;left:auto;right:50px}.esri-opacity-slider .esri-slider .esri-slider__label:hover{background-color:var(--calcite-color-foreground-2)}.esri-opacity-slider .esri-slider .esri-slider__segment:hover{cursor:default}.esri-opacity-slider .esri-slider .esri-slider__range-input{text-align:center;width:50%;margin:auto}.esri-opacity-slider .esri-slider .esri-slider__label-input{text-align:right;width:70px}.esri-opacity-slider .esri-slider .esri-slider__max,.esri-opacity-slider .esri-slider .esri-slider__min{z-index:0;flex:none;width:auto;margin:9px auto;padding:9px 12px;position:relative}.esri-opacity-slider .esri-slider .esri-slider__max:before,.esri-opacity-slider .esri-slider .esri-slider__min:before{z-index:-1;content:"";width:100%;height:100%;position:absolute;top:0;left:0}.esri-opacity-slider .esri-slider .esri-slider__max.esri-slider__range--active,.esri-opacity-slider .esri-slider .esri-slider__min.esri-slider__range--active{background-color:var(--calcite-color-foreground-1)}.esri-opacity-slider .esri-slider .esri-slider__max .esri-slider__range-input,.esri-opacity-slider .esri-slider .esri-slider__min .esri-slider__range-input{margin:0 auto}.esri-opacity-slider .esri-slider .esri-slider__extra-content{height:100%;display:flex}.esri-opacity-slider .esri-slider .esri-histogram__svg{overflow:visible}.esri-opacity-slider .esri-slider .esri-histogram__label{fill:var(--calcite-color-text-2);stroke-width:2px}.esri-opacity-slider .esri-slider .esri-histogram__average-line,.esri-opacity-slider .esri-slider .esri-histogram__label{paint-order:stroke;stroke:var(--calcite-color-border-3)}.esri-opacity-slider .esri-slider .zoom-cap--max{position:absolute;top:0}.esri-opacity-slider .esri-slider .zoom-cap--min{position:absolute;bottom:0}.esri-opacity-slider .esri-slider .zoom-cap{stroke-width:0;width:30px;height:11px}.esri-opacity-slider .esri-slider .zoom-cap:hover{cursor:pointer}.esri-opacity-slider .esri-slider .zoom-cap:hover .zoom-cap--mask{fill:var(--calcite-color-foreground-1)}.esri-opacity-slider .esri-slider .zoom-cap:hover .zoom-cap--line{fill:var(--calcite-color-brand)}.esri-opacity-slider .esri-slider .zoom-cap:hover .zoom-cap--underline,.esri-opacity-slider .esri-slider .zoom-cap .zoom-cap--mask,.esri-opacity-slider .esri-slider .zoom-cap .zoom-cap--line{fill:var(--calcite-color-foreground-1)}.esri-opacity-slider .esri-slider .zoom-cap .zoom-cap--underline{fill:var(--calcite-color-inverse)}.esri-opacity-slider__ramp{width:30px;height:100%;display:flex;position:relative}.esri-opacity-slider__ramp svg{stroke:var(--calcite-color-text-3);stroke-width:1px;width:100%;height:100%;position:absolute;left:0}.esri-opacity-slider__ramp svg rect{width:100%;height:100%}.esri-opacity-slider__ramp svg path{stroke-width:.5px}.esri-opacity-slider__histogram-container{flex:1 1 0;width:120px;height:100%;display:flex}.esri-opacity-slider.esri-opacity-slider--interactive-track .esri-slider .esri-slider__content{margin:0 auto 0 35%}.esri-opacity-slider.esri-opacity-slider--interactive-track .esri-slider .esri-slider__track{background-color:var(--calcite-color-transparent);width:12px}.esri-opacity-slider.esri-opacity-slider--interactive-track .esri-slider__anchor--active .esri-slider__label{text-decoration:underline}.esri-opacity-slider.esri-opacity-slider--interactive-track .esri-slider__anchor--active .esri-slider__thumb{background-color:var(--calcite-color-inverse-press);border:none;transform:none}.esri-opacity-slider.esri-opacity-slider--interactive-track .esri-slider__anchor--active .esri-slider__thumb:after{border-left-color:var(--calcite-color-inverse-press)}.esri-opacity-slider.esri-opacity-slider--interactive-track .esri-slider__anchor--active .esri-slider__thumb:before{background-color:var(--calcite-color-brand);transform:translate(-1.5px)}`, p = o(s);
|
|
12
|
+
class _ extends a {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments), this.widget = p(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.stops = this.widget.stops, this.arcgisPropertyChange = n()("precision", "state", "max", "min"), this.arcgisReady = d(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, icon: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state: 1, stops: 32 };
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.styles = c;
|
|
21
|
+
}
|
|
22
|
+
async destroy() {
|
|
23
|
+
await this.manager.destroy();
|
|
24
|
+
}
|
|
25
|
+
async updateFromVisualVariableResult(i, r) {
|
|
26
|
+
return this.widget.updateFromVisualVariableResult(i, r);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
t("arcgis-slider-opacity-legacy", _);
|
|
30
|
+
export {
|
|
31
|
+
_ as ArcgisSliderOpacityLegacy
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as SizeSlider } from '@arcgis/core/widgets/smartMapping/SizeSlider.js';
|
|
4
|
+
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { Use } from '@arcgis/lumina/controllers';
|
|
6
|
+
import { ContinuousRendererResult } from '@arcgis/core/smartMapping/renderers/size';
|
|
7
|
+
import { HistogramResult } from '@arcgis/core/smartMapping/statistics/types';
|
|
8
|
+
import { nil } from '@arcgis/toolkit/type';
|
|
9
|
+
import { IconName } from '../../utils/action-utils';
|
|
10
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
11
|
+
|
|
12
|
+
declare const useSizeSliderWidget: (component: LitElement & Pick<SizeSlider, "style" | "label" | "viewModel" | "icon" | "max" | "min" | "precision"> & {
|
|
13
|
+
state?: "disabled" | "ready" | undefined;
|
|
14
|
+
viewModel?: import('@arcgis/core/widgets/smartMapping/SizeSlider/SizeSliderViewModel').default<import('@arcgis/core/renderers/visualVariables/support/SizeStop').default> | undefined;
|
|
15
|
+
closed?: boolean;
|
|
16
|
+
icon: nil | string;
|
|
17
|
+
label: nil | string;
|
|
18
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
19
|
+
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
20
|
+
arcgisPropertyChange: import('@arcgis/lumina').EventEmitter<{
|
|
21
|
+
name: string;
|
|
22
|
+
}> | undefined;
|
|
23
|
+
el: HTMLElement & {
|
|
24
|
+
childElem?: HTMLElement & {
|
|
25
|
+
ownedBy?: HTMLElement;
|
|
26
|
+
};
|
|
27
|
+
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nullish;
|
|
28
|
+
};
|
|
29
|
+
autoDestroyDisabled: boolean;
|
|
30
|
+
destroy: () => Promise<void>;
|
|
31
|
+
}) => SizeSlider;
|
|
32
|
+
/**
|
|
33
|
+
* The Size Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any
|
|
34
|
+
* layer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).
|
|
35
|
+
*
|
|
36
|
+
* <span id="image-annotations"></span>
|
|
37
|
+
* See the image below for a summary of the configurable options available on this slider.
|
|
38
|
+
*
|
|
39
|
+
* 
|
|
40
|
+
*
|
|
41
|
+
* The [updateFromRendererResult()](#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
42
|
+
* [max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)
|
|
43
|
+
* intervals, and the slider's histogram after the renderer has been created from the result of the
|
|
44
|
+
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createContinuousRenderer) method.
|
|
45
|
+
*
|
|
46
|
+
* ```js
|
|
47
|
+
* const sizeRendererCreator = await import("@arcgis/core/smartMapping/renderers/size.js");
|
|
48
|
+
* const viewElement = document.querySelector("arcgis-map")!;
|
|
49
|
+
* const sizeSlider = document.querySelector("arcgis-slider-size")!;
|
|
50
|
+
*
|
|
51
|
+
* const featureLayer = new FeatureLayer({
|
|
52
|
+
* url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Major_Cities_/FeatureServer/0",
|
|
53
|
+
* });
|
|
54
|
+
*
|
|
55
|
+
* await viewElement.viewOnReady();
|
|
56
|
+
* viewElement.map?.add(featureLayer);
|
|
57
|
+
*
|
|
58
|
+
* const params = {
|
|
59
|
+
* layer: featureLayer,
|
|
60
|
+
* view: viewElement.view,
|
|
61
|
+
* field: "POPULATION",
|
|
62
|
+
* };
|
|
63
|
+
*
|
|
64
|
+
* const rendererResult = await sizeRendererCreator.createContinuousRenderer(params);
|
|
65
|
+
*
|
|
66
|
+
* featureLayer.renderer = rendererResult.renderer;
|
|
67
|
+
*
|
|
68
|
+
* const histogramResult = await histogram({
|
|
69
|
+
* ...params,
|
|
70
|
+
* numBins: 30,
|
|
71
|
+
* });
|
|
72
|
+
*
|
|
73
|
+
* sizeSlider.updateFromRendererResult(rendererResult, histogramResult);
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* This slider should be used to update a [size visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)
|
|
77
|
+
* in a layer's renderer. It is the responsibility of the app developer
|
|
78
|
+
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
79
|
+
*
|
|
80
|
+
* ```js
|
|
81
|
+
* const updateRendererFromSlider = () => {
|
|
82
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
83
|
+
* if (!renderer || !("visualVariables" in renderer) || !renderer.visualVariables?.[0]) {
|
|
84
|
+
* return;
|
|
85
|
+
* }
|
|
86
|
+
*
|
|
87
|
+
* const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;
|
|
88
|
+
* const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);
|
|
89
|
+
* if (!updatedSizeVariable) {
|
|
90
|
+
* return;
|
|
91
|
+
* }
|
|
92
|
+
*
|
|
93
|
+
* renderer.visualVariables = [updatedSizeVariable];
|
|
94
|
+
* featureLayer.renderer = renderer;
|
|
95
|
+
* };
|
|
96
|
+
*
|
|
97
|
+
* sizeSlider.addEventListener("arcgisThumbChange", updateRendererFromSlider);
|
|
98
|
+
* sizeSlider.addEventListener("arcgisThumbDrag", updateRendererFromSlider);
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-size-legacy/)
|
|
102
|
+
*
|
|
103
|
+
* @since 5.0.0
|
|
104
|
+
* @see [SizeSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SizeSlider-SizeSliderViewModel.html)
|
|
105
|
+
* @see [sizeRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html)
|
|
106
|
+
*/
|
|
107
|
+
export declare class ArcgisSliderSizeLegacy extends LitElement {
|
|
108
|
+
/**
|
|
109
|
+
* If true, the component will not be destroyed automatically when it is
|
|
110
|
+
* disconnected from the document. This is useful when you want to move the
|
|
111
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
112
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-size-legacy/#destroy) method when you are done to
|
|
113
|
+
* prevent memory leaks.
|
|
114
|
+
*
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
autoDestroyDisabled: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Icon which represents the widget. It is typically used when the widget is controlled by another
|
|
120
|
+
* one (e.g. in the Expand widget).
|
|
121
|
+
*
|
|
122
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
123
|
+
*/
|
|
124
|
+
icon: IconName;
|
|
125
|
+
/**
|
|
126
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult](#updateFromRendererResult) method,
|
|
127
|
+
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
128
|
+
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```js
|
|
132
|
+
* const updateRendererFromSlider = () => {
|
|
133
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
134
|
+
* if (!renderer || !("visualVariables" in renderer) || !renderer.visualVariables?.[0]) {
|
|
135
|
+
* return;
|
|
136
|
+
* }
|
|
137
|
+
*
|
|
138
|
+
* const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;
|
|
139
|
+
* const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);
|
|
140
|
+
* if (!updatedSizeVariable) {
|
|
141
|
+
* return;
|
|
142
|
+
* }
|
|
143
|
+
*
|
|
144
|
+
* renderer.visualVariables = [updatedSizeVariable];
|
|
145
|
+
* featureLayer.renderer = renderer;
|
|
146
|
+
* };
|
|
147
|
+
*
|
|
148
|
+
* sizeSlider.addEventListener("arcgisPropertyChange", updateRendererFromSlider);
|
|
149
|
+
* ```
|
|
150
|
+
*/
|
|
151
|
+
max: number;
|
|
152
|
+
/**
|
|
153
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult](#updateFromRendererResult) method,
|
|
154
|
+
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
155
|
+
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```js
|
|
159
|
+
* const updateRendererFromSlider = () => {
|
|
160
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
161
|
+
* if (!renderer || !("visualVariables" in renderer) || !renderer.visualVariables?.[0]) {
|
|
162
|
+
* return;
|
|
163
|
+
* }
|
|
164
|
+
*
|
|
165
|
+
* const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;
|
|
166
|
+
* const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);
|
|
167
|
+
* if (!updatedSizeVariable) {
|
|
168
|
+
* return;
|
|
169
|
+
* }
|
|
170
|
+
*
|
|
171
|
+
* renderer.visualVariables = [updatedSizeVariable];
|
|
172
|
+
* featureLayer.renderer = renderer;
|
|
173
|
+
* };
|
|
174
|
+
*
|
|
175
|
+
* sizeSlider.addEventListener("arcgisPropertyChange", updateRendererFromSlider);
|
|
176
|
+
* ```
|
|
177
|
+
*/
|
|
178
|
+
min: number;
|
|
179
|
+
/**
|
|
180
|
+
* Defines how slider thumb values should be rounded. This number indicates the number
|
|
181
|
+
* of decimal places slider thumb _values_ should round to when they have been moved.
|
|
182
|
+
*
|
|
183
|
+
* Keep in mind this property rounds thumb [values](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SmartMappingSliderViewModel.html#values) and shouldn't be used exclusively
|
|
184
|
+
* for formatting purposes.
|
|
185
|
+
*
|
|
186
|
+
* @default 4
|
|
187
|
+
* @example
|
|
188
|
+
* ```js
|
|
189
|
+
* slider.precision = 7;
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
precision: number;
|
|
193
|
+
/**
|
|
194
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
195
|
+
*
|
|
196
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
197
|
+
*/
|
|
198
|
+
referenceElement?: ArcgisReferenceElement | string;
|
|
199
|
+
/** The current state of the component. */
|
|
200
|
+
state: import('@arcgis/core/widgets/smartMapping/SmartMappingSliderBase').SmartMappingSliderBaseState;
|
|
201
|
+
/** Permanently destroy the component. */
|
|
202
|
+
destroy(): Promise<void>;
|
|
203
|
+
/**
|
|
204
|
+
* A convenience function used to update the properties of a SizeSlider component instance from the
|
|
205
|
+
* [result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#ContinuousRendererResult) of
|
|
206
|
+
* the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createContinuousRenderer)
|
|
207
|
+
* method. This method is used to configure an empty SizeSlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.
|
|
208
|
+
* Note that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.
|
|
209
|
+
*
|
|
210
|
+
* @param rendererResult
|
|
211
|
+
* @param histogramResult
|
|
212
|
+
* @param rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createContinuousRenderer)
|
|
213
|
+
* method.
|
|
214
|
+
* @param histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)
|
|
215
|
+
* method.
|
|
216
|
+
* @example
|
|
217
|
+
* ```js
|
|
218
|
+
* const rendererResult = await sizeRendererCreator.createContinuousRenderer(params);
|
|
219
|
+
*
|
|
220
|
+
* featureLayer.renderer = rendererResult.renderer;
|
|
221
|
+
*
|
|
222
|
+
* const histogramResult = await histogram({
|
|
223
|
+
* ...params,
|
|
224
|
+
* numBins: 30,
|
|
225
|
+
* });
|
|
226
|
+
*
|
|
227
|
+
* sizeSlider.updateFromRendererResult(rendererResult, histogramResult);
|
|
228
|
+
* ```
|
|
229
|
+
*/
|
|
230
|
+
updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void;
|
|
231
|
+
/**
|
|
232
|
+
* A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)
|
|
233
|
+
* to match the values of the [stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SizeSlider.html#stops) on the slider.
|
|
234
|
+
* The slider stops are automatically updated internally when the user drags a thumb slider.
|
|
235
|
+
*
|
|
236
|
+
* This is particularly useful for Size visual variables that have a set
|
|
237
|
+
* [minDataValue](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#minDataValue) and
|
|
238
|
+
* [maxDataValue](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#minDataValue).
|
|
239
|
+
* This method will properly reconstruct the variable to set on the renderer so it matches the stops on the slider.
|
|
240
|
+
*
|
|
241
|
+
* @param sizeVariable
|
|
242
|
+
* @param sizeVariable - The size visual variable
|
|
243
|
+
* from the renderer to update to the set [stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SizeSlider.html#stops) on the slider.
|
|
244
|
+
* @returns Returns the updated visual variable
|
|
245
|
+
* to set back on the renderer.
|
|
246
|
+
* @example
|
|
247
|
+
* ```js
|
|
248
|
+
* const renderer = featureLayer.renderer?.clone();
|
|
249
|
+
* const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;
|
|
250
|
+
* const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);
|
|
251
|
+
* ```
|
|
252
|
+
*/
|
|
253
|
+
updateVisualVariable(sizeVariable: __esri.SizeVariable): __esri.SizeVariable | nil;
|
|
254
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
255
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
256
|
+
name: "state" | "max" | "min" | "precision";
|
|
257
|
+
}>;
|
|
258
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
259
|
+
readonly arcgisReady: TargetedEvent<this, void>;
|
|
260
|
+
/** Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider. */
|
|
261
|
+
readonly arcgisThumbChange: TargetedEvent<this, import('@arcgis/core/widgets/Slider/types').ThumbChangeEvent>;
|
|
262
|
+
/** Fires when a user drags a thumb on the component. */
|
|
263
|
+
readonly arcgisThumbDrag: TargetedEvent<this, import('@arcgis/core/widgets/Slider/types').ThumbDragEvent>;
|
|
264
|
+
"@eventTypes": {
|
|
265
|
+
"arcgisPropertyChange": ArcgisSliderSizeLegacy["arcgisPropertyChange"]["detail"];
|
|
266
|
+
"arcgisReady": ArcgisSliderSizeLegacy["arcgisReady"]["detail"];
|
|
267
|
+
"arcgisThumbChange": ArcgisSliderSizeLegacy["arcgisThumbChange"]["detail"];
|
|
268
|
+
"arcgisThumbDrag": ArcgisSliderSizeLegacy["arcgisThumbDrag"]["detail"];
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
export {};
|