@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
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-01-
|
|
2
|
+
"timestamp": "2026-01-15T04:41:46",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "5.0.0-next.
|
|
5
|
+
"version": "5.0.0-next.126",
|
|
6
6
|
"typescriptVersion": "5.9.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -35085,11 +35085,23 @@
|
|
|
35085
35085
|
"overview": "",
|
|
35086
35086
|
"readme": "",
|
|
35087
35087
|
"usage": {},
|
|
35088
|
-
"docs": "",
|
|
35088
|
+
"docs": "The Measurement component groups and manages multiple measurement tools and allows you to easily switch between them using\nthe [activeTool](#activeTool) property. The tools correspond to the measurement components for area and distance in 2D\n[arcgis-area-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/), [arcgis-distance-measurement-2d](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-distance-measurement-2d/) and in 3D\n[arcgis-area-measurement-3d](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/), [arcgis-direct-line-measurement-3d](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/).\n\nThis component follows a composite pattern that allows developers to configure the UI to best match their specific requirements.\nThe measurement tools, placements, and icons can all be configured, which offers great flexibility to use with tabbed\ninterfaces or other customized UI.\n\nHow distances, areas, and perimeters are computed depends on the view type and its spatial reference.\n\nIn 2D Maps:\n- In geographic coordinate systems (GCS) and in Web Mercator, they are computed geodetically.\n- In projected coordinate systems (PCS), apart from Web Mercator, they are computed\n in a Euclidean manner (in their respective PCS).\n\nIn 3D Scenes:\n- In geographic coordinate systems (GCS) and in Web Mercator:\n - horizontal distance is computed geodetically;\n - vertical distance is computed as a difference in z-values;\n - direct distance is computed in a Euclidean manner;\n - area and perimeter are computed:\n - in a Euclidean manner if the perimeter is below 100km;\n - geodetically if the perimeter is above 100km.\n- In projected coordinate systems (PCS), apart from Web Mercator:\n - all three distances (direct, horizontal, and vertical), areas, and perimeters are computed in a Euclidean manner (in their respective PCS).",
|
|
35089
35089
|
"docsTags": [
|
|
35090
35090
|
{
|
|
35091
35091
|
"name": "internal"
|
|
35092
35092
|
},
|
|
35093
|
+
{
|
|
35094
|
+
"name": "esriCompatibilityName",
|
|
35095
|
+
"text": "Measurement"
|
|
35096
|
+
},
|
|
35097
|
+
{
|
|
35098
|
+
"name": "since",
|
|
35099
|
+
"text": "5.0"
|
|
35100
|
+
},
|
|
35101
|
+
{
|
|
35102
|
+
"name": "example",
|
|
35103
|
+
"text": "```html\n<arcgis-map basemap=\"hybrid\" center=\"-71.69,43.76\" zoom=\"15\">\n <arcgis-measurement slot=\"top-right\" active-tool=\"distance\"></arcgis-measurement>\n</arcgis-map>\n<script type=\"module\">\n // Add the measurement component to the upper right hand corner\n // with the distance tool active\n const mapElement = document.querySelector(\"arcgis-map\");\n const measurementElement = document.querySelector(\"arcgis-measurement\");\n\n // Switch between area and distance measurement\n function switchTool() {\n const tool = measurementElement.activeTool === \"distance\" ? \"area\" : \"distance\";\n measurementElement.activeTool = tool;\n }\n</script>\n```"
|
|
35104
|
+
},
|
|
35093
35105
|
{
|
|
35094
35106
|
"name": "superclass",
|
|
35095
35107
|
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
@@ -35111,11 +35123,11 @@
|
|
|
35111
35123
|
"mutable": true,
|
|
35112
35124
|
"attr": "active-tool",
|
|
35113
35125
|
"reflectToAttr": false,
|
|
35114
|
-
"docs": "Specifies the current measurement tool to display. Setting its value to `area` activates\nthe area measurement tool and it works
|
|
35126
|
+
"docs": "Specifies the current measurement tool to display. Setting its value to `area` activates\nthe area measurement tool and it works in both [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) and [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/). To measure distance in a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/),\nset the property to `distance` and in a [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) set it to `direct-line`.\nIf this property is not set, the component will not be displayed.",
|
|
35115
35127
|
"docsTags": [
|
|
35116
35128
|
{
|
|
35117
35129
|
"name": "example",
|
|
35118
|
-
"text": "// To
|
|
35130
|
+
"text": "```js\n// To use the Measurement component with SceneView's direct-line tool active.\nconst measurementElement = document.querySelector(\"arcgis-measurement\");\nmeasurementElement.activeTool = \"direct-line\";\n\n// To switch between direct line and area measurement tools\nfunction switchTool() {\n const tool = measurementElement.activeTool === \"direct-line\" ? \"area\" : \"direct-line\";\n measurementElement.activeTool = tool;\n}\n```"
|
|
35119
35131
|
}
|
|
35120
35132
|
],
|
|
35121
35133
|
"values": [
|
|
@@ -35170,7 +35182,7 @@
|
|
|
35170
35182
|
"docsTags": [
|
|
35171
35183
|
{
|
|
35172
35184
|
"name": "example",
|
|
35173
|
-
"text": "// Print the active widget to the console.\nconst
|
|
35185
|
+
"text": "```js\n// Print the active widget to the console.\nconst measurementElement = document.querySelector(\"arcgis-measurement\");\nmeasurementElement.activeTool = \"distance\";\nconsole.log(\"Active Widget: \", measurementElement.activeWidget);\n```"
|
|
35174
35186
|
},
|
|
35175
35187
|
{
|
|
35176
35188
|
"name": "readonly",
|
|
@@ -35205,11 +35217,11 @@
|
|
|
35205
35217
|
"mutable": true,
|
|
35206
35218
|
"attr": "area-unit",
|
|
35207
35219
|
"reflectToAttr": false,
|
|
35208
|
-
"docs": "Unit system (imperial, metric) or specific unit used for displaying the area values
|
|
35220
|
+
"docs": "Unit system (imperial, metric) or specific unit used for displaying the area values.",
|
|
35209
35221
|
"docsTags": [
|
|
35210
35222
|
{
|
|
35211
35223
|
"name": "example",
|
|
35212
|
-
"text": "// To
|
|
35224
|
+
"text": "```js\n// To use the Measurement component to display area in square US feet\nconst measurementElement = document.querySelector(\"arcgis-measurement\");\nmeasurementElement.activeTool = \"area\";\nmeasurementElement.areaUnit = \"square-us-feet\";\n\n// To display the current area measurement unit\nconsole.log(\"Current unit: \", measurement.areaUnit);\n```"
|
|
35213
35225
|
}
|
|
35214
35226
|
],
|
|
35215
35227
|
"values": [
|
|
@@ -35321,10 +35333,6 @@
|
|
|
35321
35333
|
"reflectToAttr": false,
|
|
35322
35334
|
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
35323
35335
|
"docsTags": [
|
|
35324
|
-
{
|
|
35325
|
-
"name": "since",
|
|
35326
|
-
"text": "4.27"
|
|
35327
|
-
},
|
|
35328
35336
|
{
|
|
35329
35337
|
"name": "see",
|
|
35330
35338
|
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
@@ -35347,12 +35355,7 @@
|
|
|
35347
35355
|
"attr": "label",
|
|
35348
35356
|
"reflectToAttr": false,
|
|
35349
35357
|
"docs": "The widget's default label. This property is useful whenever the widget is controlled by another one\n(e.g. [Expand](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Expand.html)).",
|
|
35350
|
-
"docsTags": [
|
|
35351
|
-
{
|
|
35352
|
-
"name": "since",
|
|
35353
|
-
"text": "4.11"
|
|
35354
|
-
}
|
|
35355
|
-
],
|
|
35358
|
+
"docsTags": [],
|
|
35356
35359
|
"values": [
|
|
35357
35360
|
{
|
|
35358
35361
|
"type": "string"
|
|
@@ -35372,11 +35375,11 @@
|
|
|
35372
35375
|
"mutable": true,
|
|
35373
35376
|
"attr": "linear-unit",
|
|
35374
35377
|
"reflectToAttr": false,
|
|
35375
|
-
"docs": "Unit system (imperial, metric) or specific unit used for displaying the distance values
|
|
35378
|
+
"docs": "Unit system (imperial, metric) or specific unit used for displaying the distance values.",
|
|
35376
35379
|
"docsTags": [
|
|
35377
35380
|
{
|
|
35378
35381
|
"name": "example",
|
|
35379
|
-
"text": "// To
|
|
35382
|
+
"text": "```js\n// To use the Measurement component to display distance in yards\nconst measurementElement = document.querySelector(\"arcgis-measurement\");\nmeasurementElement.activeTool = \"distance\";\nmeasurementElement.linearUnit = \"yards\";\n\n// To display the current linear measurement unit\nconsole.log(\"Current linear unit: \", measurementElement.linearUnit);\n```"
|
|
35380
35383
|
}
|
|
35381
35384
|
],
|
|
35382
35385
|
"values": [
|
|
@@ -35501,7 +35504,7 @@
|
|
|
35501
35504
|
"docsTags": [
|
|
35502
35505
|
{
|
|
35503
35506
|
"name": "example",
|
|
35504
|
-
"text": "// To display the state of the AreaMeasurement2D
|
|
35507
|
+
"text": "```js\n// To display the state of the AreaMeasurement2D component\nconst measurementElement = document.querySelector(\"arcgis-measurement\");\nmeasurementElement.activeTool = \"area\";\n\nmeasurementElement.addEventListener(\"arcgisPropertyChange\", () => {\n console.log(\"Current state: \", measurementElement.viewModel.state);\n});\n```"
|
|
35505
35508
|
},
|
|
35506
35509
|
{
|
|
35507
35510
|
"name": "readonly",
|
|
@@ -35552,12 +35555,7 @@
|
|
|
35552
35555
|
"mutable": true,
|
|
35553
35556
|
"reflectToAttr": false,
|
|
35554
35557
|
"docs": "The view associated with the component. \n > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Measurement component will be associated with a map or scene component rather than using the `view` property.",
|
|
35555
|
-
"docsTags": [
|
|
35556
|
-
{
|
|
35557
|
-
"name": "example",
|
|
35558
|
-
"text": "// To create the Measurement widget for SceneView with the direct-line tool active.\nconst measurement = new Measurement({\n view: sceneView,\n activeTool: \"direct-line\"\n});"
|
|
35559
|
-
}
|
|
35560
|
-
],
|
|
35558
|
+
"docsTags": [],
|
|
35561
35559
|
"values": [
|
|
35562
35560
|
{
|
|
35563
35561
|
"type": "MapView"
|
|
@@ -35591,7 +35589,7 @@
|
|
|
35591
35589
|
},
|
|
35592
35590
|
"signature": "clear(): Promise<void>",
|
|
35593
35591
|
"parameters": [],
|
|
35594
|
-
"docs": "",
|
|
35592
|
+
"docs": "Removes all measurement widgets and associated graphics.",
|
|
35595
35593
|
"docsTags": []
|
|
35596
35594
|
},
|
|
35597
35595
|
{
|
|
@@ -35669,8 +35667,16 @@
|
|
|
35669
35667
|
},
|
|
35670
35668
|
"signature": "startMeasurement(): Promise<void>",
|
|
35671
35669
|
"parameters": [],
|
|
35672
|
-
"docs": "",
|
|
35673
|
-
"docsTags": [
|
|
35670
|
+
"docs": "Starts a new measurement for the active measurement widget.",
|
|
35671
|
+
"docsTags": [
|
|
35672
|
+
{
|
|
35673
|
+
"name": "public"
|
|
35674
|
+
},
|
|
35675
|
+
{
|
|
35676
|
+
"name": "example",
|
|
35677
|
+
"text": "```js\nconst measurementElement = document.querySelector(\"arcgis-measurement\");\nmeasurementElement.activeTool = \"distance\";\n\nfunction measure() {\n measurementElement.startMeasurement();\n}\n\nmeasure();\n```"
|
|
35678
|
+
}
|
|
35679
|
+
]
|
|
35674
35680
|
}
|
|
35675
35681
|
],
|
|
35676
35682
|
"events": [
|
|
@@ -48967,6 +48973,3779 @@
|
|
|
48967
48973
|
"parts": [],
|
|
48968
48974
|
"listeners": []
|
|
48969
48975
|
},
|
|
48976
|
+
{
|
|
48977
|
+
"filePath": "src/components/slider-binary-color-size-legacy/slider-binary-color-size-legacy.tsx",
|
|
48978
|
+
"tag": "arcgis-slider-binary-color-size-legacy",
|
|
48979
|
+
"overview": "",
|
|
48980
|
+
"readme": "",
|
|
48981
|
+
"usage": {},
|
|
48982
|
+
"docs": "The Binary Color Size Slider (Legacy) component is intended for authoring and exploring diverging data-driven visualizations in any\nlayer that can be rendered with an above and below theme for a [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).\n\nThe [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-BinaryColorSizeSlider.html#fromRendererResult)\nmethod can be used to intelligently populate slider properties including [max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)\nconfiguration, and the slider's histogram after the renderer has been created from the result of the\n[createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer) method.\n\n```js\nconst univariateColorSizeRendererCreator = await import(\n \"@arcgis/core/smartMapping/renderers/univariateColorSize.js\"\n);\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst binaryColorSizeSlider = document.querySelector(\"arcgis-slider-binary-color-size\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Poverty_by_Age_Boundaries/FeatureServer/1\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params = {\n layer: featureLayer,\n field: \"B17020_calc_pctPovE\",\n view: viewElement.view,\n theme: \"above-and-below\" as UnivariateTheme,\n};\n\nconst rendererResult = await univariateColorSizeRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait binaryColorSizeSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```\n\nThis slider should be used to update an above and below (diverging) visualization in a layer's renderer.\nIt is the responsibility of the app developer to set up event listeners on that update the size variable of the appropriate renderer.\n\n```js\nconst updateRendererFromSlider = async () => {\n const result = await binaryColorSizeSlider.updateRenderer(featureLayer.renderer as ClassBreaksRenderer);\n featureLayer.renderer = result;\n};\n\nbinaryColorSizeSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\nbinaryColorSizeSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
48983
|
+
"docsTags": [
|
|
48984
|
+
{
|
|
48985
|
+
"name": "since",
|
|
48986
|
+
"text": "5.0.0"
|
|
48987
|
+
},
|
|
48988
|
+
{
|
|
48989
|
+
"name": "see",
|
|
48990
|
+
"text": "[BinaryColorSizeSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-BinaryColorSizeSlider-BinaryColorSizeSliderViewModel.html)"
|
|
48991
|
+
},
|
|
48992
|
+
{
|
|
48993
|
+
"name": "see",
|
|
48994
|
+
"text": "[univariateColorSizeRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html)"
|
|
48995
|
+
},
|
|
48996
|
+
{
|
|
48997
|
+
"name": "superclass",
|
|
48998
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
48999
|
+
}
|
|
49000
|
+
],
|
|
49001
|
+
"encapsulation": "shadow",
|
|
49002
|
+
"dependents": [],
|
|
49003
|
+
"dependencies": [],
|
|
49004
|
+
"dependencyGraph": {},
|
|
49005
|
+
"props": [
|
|
49006
|
+
{
|
|
49007
|
+
"name": "autoDestroyDisabled",
|
|
49008
|
+
"type": "boolean",
|
|
49009
|
+
"complexType": {
|
|
49010
|
+
"original": "boolean",
|
|
49011
|
+
"resolved": "boolean",
|
|
49012
|
+
"references": {}
|
|
49013
|
+
},
|
|
49014
|
+
"mutable": true,
|
|
49015
|
+
"attr": "auto-destroy-disabled",
|
|
49016
|
+
"reflectToAttr": false,
|
|
49017
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-binary-color-size-legacy/#destroy) method when you are done to\nprevent memory leaks.",
|
|
49018
|
+
"docsTags": [],
|
|
49019
|
+
"default": "false",
|
|
49020
|
+
"values": [
|
|
49021
|
+
{
|
|
49022
|
+
"type": "boolean"
|
|
49023
|
+
}
|
|
49024
|
+
],
|
|
49025
|
+
"optional": true,
|
|
49026
|
+
"required": false
|
|
49027
|
+
},
|
|
49028
|
+
{
|
|
49029
|
+
"name": "icon",
|
|
49030
|
+
"type": "IconName",
|
|
49031
|
+
"complexType": {
|
|
49032
|
+
"original": "IconName",
|
|
49033
|
+
"resolved": "IconName",
|
|
49034
|
+
"references": {
|
|
49035
|
+
"IconName": {
|
|
49036
|
+
"location": "import",
|
|
49037
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
49038
|
+
"id": "notImplemented"
|
|
49039
|
+
}
|
|
49040
|
+
}
|
|
49041
|
+
},
|
|
49042
|
+
"mutable": true,
|
|
49043
|
+
"reflectToAttr": false,
|
|
49044
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
49045
|
+
"docsTags": [
|
|
49046
|
+
{
|
|
49047
|
+
"name": "see",
|
|
49048
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
49049
|
+
}
|
|
49050
|
+
],
|
|
49051
|
+
"values": [],
|
|
49052
|
+
"optional": true,
|
|
49053
|
+
"required": false
|
|
49054
|
+
},
|
|
49055
|
+
{
|
|
49056
|
+
"name": "max",
|
|
49057
|
+
"type": "number",
|
|
49058
|
+
"complexType": {
|
|
49059
|
+
"original": "number",
|
|
49060
|
+
"resolved": "number",
|
|
49061
|
+
"references": {}
|
|
49062
|
+
},
|
|
49063
|
+
"mutable": true,
|
|
49064
|
+
"attr": "max",
|
|
49065
|
+
"reflectToAttr": false,
|
|
49066
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the size variable of the appropriate renderer.",
|
|
49067
|
+
"docsTags": [
|
|
49068
|
+
{
|
|
49069
|
+
"name": "example",
|
|
49070
|
+
"text": "```js\nconst updateRendererFromSlider = async () => {\n const updatedRenderer = await binaryColorSizeSlider.updateRenderer(\n featureLayer.renderer as ClassBreaksRenderer,\n );\n featureLayer.renderer = updatedRenderer;\n};\n\nbinaryColorSizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
49071
|
+
}
|
|
49072
|
+
],
|
|
49073
|
+
"values": [
|
|
49074
|
+
{
|
|
49075
|
+
"type": "number"
|
|
49076
|
+
}
|
|
49077
|
+
],
|
|
49078
|
+
"optional": true,
|
|
49079
|
+
"required": false
|
|
49080
|
+
},
|
|
49081
|
+
{
|
|
49082
|
+
"name": "min",
|
|
49083
|
+
"type": "number",
|
|
49084
|
+
"complexType": {
|
|
49085
|
+
"original": "number",
|
|
49086
|
+
"resolved": "number",
|
|
49087
|
+
"references": {}
|
|
49088
|
+
},
|
|
49089
|
+
"mutable": true,
|
|
49090
|
+
"attr": "min",
|
|
49091
|
+
"reflectToAttr": false,
|
|
49092
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the size variable of the appropriate renderer.",
|
|
49093
|
+
"docsTags": [
|
|
49094
|
+
{
|
|
49095
|
+
"name": "example",
|
|
49096
|
+
"text": "```js\nconst updateRendererFromSlider = async () => {\n const updatedRenderer = await binaryColorSizeSlider.updateRenderer(\n featureLayer.renderer as ClassBreaksRenderer,\n );\n featureLayer.renderer = updatedRenderer;\n};\n\nbinaryColorSizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
49097
|
+
}
|
|
49098
|
+
],
|
|
49099
|
+
"values": [
|
|
49100
|
+
{
|
|
49101
|
+
"type": "number"
|
|
49102
|
+
}
|
|
49103
|
+
],
|
|
49104
|
+
"optional": true,
|
|
49105
|
+
"required": false
|
|
49106
|
+
},
|
|
49107
|
+
{
|
|
49108
|
+
"name": "precision",
|
|
49109
|
+
"type": "number",
|
|
49110
|
+
"complexType": {
|
|
49111
|
+
"original": "number",
|
|
49112
|
+
"resolved": "number",
|
|
49113
|
+
"references": {}
|
|
49114
|
+
},
|
|
49115
|
+
"mutable": true,
|
|
49116
|
+
"attr": "precision",
|
|
49117
|
+
"reflectToAttr": false,
|
|
49118
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
49119
|
+
"docsTags": [
|
|
49120
|
+
{
|
|
49121
|
+
"name": "example",
|
|
49122
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
49123
|
+
}
|
|
49124
|
+
],
|
|
49125
|
+
"default": "4",
|
|
49126
|
+
"values": [
|
|
49127
|
+
{
|
|
49128
|
+
"type": "number"
|
|
49129
|
+
}
|
|
49130
|
+
],
|
|
49131
|
+
"optional": true,
|
|
49132
|
+
"required": false
|
|
49133
|
+
},
|
|
49134
|
+
{
|
|
49135
|
+
"name": "referenceElement",
|
|
49136
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
49137
|
+
"complexType": {
|
|
49138
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
49139
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
49140
|
+
"references": {
|
|
49141
|
+
"HTMLArcgisLinkChartElement": {
|
|
49142
|
+
"location": "local",
|
|
49143
|
+
"path": "index.js",
|
|
49144
|
+
"id": "notImplemented"
|
|
49145
|
+
},
|
|
49146
|
+
"HTMLArcgisMapElement": {
|
|
49147
|
+
"location": "local",
|
|
49148
|
+
"path": "index.js",
|
|
49149
|
+
"id": "notImplemented"
|
|
49150
|
+
},
|
|
49151
|
+
"HTMLArcgisSceneElement": {
|
|
49152
|
+
"location": "local",
|
|
49153
|
+
"path": "index.js",
|
|
49154
|
+
"id": "notImplemented"
|
|
49155
|
+
}
|
|
49156
|
+
}
|
|
49157
|
+
},
|
|
49158
|
+
"mutable": true,
|
|
49159
|
+
"attr": "reference-element",
|
|
49160
|
+
"reflectToAttr": false,
|
|
49161
|
+
"docs": "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.",
|
|
49162
|
+
"docsTags": [
|
|
49163
|
+
{
|
|
49164
|
+
"name": "see",
|
|
49165
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
49166
|
+
}
|
|
49167
|
+
],
|
|
49168
|
+
"values": [
|
|
49169
|
+
{
|
|
49170
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
49171
|
+
},
|
|
49172
|
+
{
|
|
49173
|
+
"type": "HTMLArcgisMapElement"
|
|
49174
|
+
},
|
|
49175
|
+
{
|
|
49176
|
+
"type": "HTMLArcgisSceneElement"
|
|
49177
|
+
},
|
|
49178
|
+
{
|
|
49179
|
+
"type": "string"
|
|
49180
|
+
}
|
|
49181
|
+
],
|
|
49182
|
+
"optional": true,
|
|
49183
|
+
"required": false
|
|
49184
|
+
},
|
|
49185
|
+
{
|
|
49186
|
+
"name": "state",
|
|
49187
|
+
"type": "\"disabled\" | \"ready\"",
|
|
49188
|
+
"complexType": {
|
|
49189
|
+
"original": "\"disabled\" | \"ready\"",
|
|
49190
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
49191
|
+
"references": {}
|
|
49192
|
+
},
|
|
49193
|
+
"mutable": true,
|
|
49194
|
+
"attr": "state",
|
|
49195
|
+
"reflectToAttr": false,
|
|
49196
|
+
"docs": "The current state of the component.",
|
|
49197
|
+
"docsTags": [],
|
|
49198
|
+
"values": [
|
|
49199
|
+
{
|
|
49200
|
+
"type": "string",
|
|
49201
|
+
"value": "disabled"
|
|
49202
|
+
},
|
|
49203
|
+
{
|
|
49204
|
+
"type": "string",
|
|
49205
|
+
"value": "ready"
|
|
49206
|
+
}
|
|
49207
|
+
],
|
|
49208
|
+
"optional": true,
|
|
49209
|
+
"required": false
|
|
49210
|
+
}
|
|
49211
|
+
],
|
|
49212
|
+
"methods": [
|
|
49213
|
+
{
|
|
49214
|
+
"name": "componentOnReady",
|
|
49215
|
+
"returns": {
|
|
49216
|
+
"type": "Promise<this>",
|
|
49217
|
+
"docs": ""
|
|
49218
|
+
},
|
|
49219
|
+
"complexType": {
|
|
49220
|
+
"signature": "(): Promise<this>",
|
|
49221
|
+
"parameters": [],
|
|
49222
|
+
"return": "Promise<this>",
|
|
49223
|
+
"references": {
|
|
49224
|
+
"Promise": {
|
|
49225
|
+
"location": "import",
|
|
49226
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49227
|
+
"id": "notImplemented"
|
|
49228
|
+
}
|
|
49229
|
+
}
|
|
49230
|
+
},
|
|
49231
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
49232
|
+
"parameters": [],
|
|
49233
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
49234
|
+
"docsTags": [
|
|
49235
|
+
{
|
|
49236
|
+
"name": "example",
|
|
49237
|
+
"text": "```js\nconst arcgisSliderBinaryColorSizeLegacy = document.querySelector(\"arcgis-slider-binary-color-size-legacy\");\ndocument.body.append(arcgisSliderBinaryColorSizeLegacy);\nawait arcgisSliderBinaryColorSizeLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-binary-color-size-legacy is ready to go!\");\n```"
|
|
49238
|
+
},
|
|
49239
|
+
{
|
|
49240
|
+
"name": "inheritedFrom",
|
|
49241
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
49242
|
+
}
|
|
49243
|
+
]
|
|
49244
|
+
},
|
|
49245
|
+
{
|
|
49246
|
+
"name": "destroy",
|
|
49247
|
+
"returns": {
|
|
49248
|
+
"type": "Promise<void>",
|
|
49249
|
+
"docs": ""
|
|
49250
|
+
},
|
|
49251
|
+
"complexType": {
|
|
49252
|
+
"signature": "(): Promise<void>",
|
|
49253
|
+
"parameters": [],
|
|
49254
|
+
"return": "Promise<void>",
|
|
49255
|
+
"references": {
|
|
49256
|
+
"Promise": {
|
|
49257
|
+
"location": "import",
|
|
49258
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49259
|
+
"id": "notImplemented"
|
|
49260
|
+
}
|
|
49261
|
+
}
|
|
49262
|
+
},
|
|
49263
|
+
"signature": "destroy(): Promise<void>",
|
|
49264
|
+
"parameters": [],
|
|
49265
|
+
"docs": "Permanently destroy the component.",
|
|
49266
|
+
"docsTags": []
|
|
49267
|
+
},
|
|
49268
|
+
{
|
|
49269
|
+
"name": "updateFromRendererResult",
|
|
49270
|
+
"returns": {
|
|
49271
|
+
"type": "Promise<void>",
|
|
49272
|
+
"docs": ""
|
|
49273
|
+
},
|
|
49274
|
+
"complexType": {
|
|
49275
|
+
"signature": "(rendererResult: RendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
49276
|
+
"parameters": [
|
|
49277
|
+
{
|
|
49278
|
+
"name": "rendererResult",
|
|
49279
|
+
"type": "RendererResult",
|
|
49280
|
+
"docs": ""
|
|
49281
|
+
},
|
|
49282
|
+
{
|
|
49283
|
+
"name": "histogramResult",
|
|
49284
|
+
"type": "HistogramResult | undefined",
|
|
49285
|
+
"docs": ""
|
|
49286
|
+
}
|
|
49287
|
+
],
|
|
49288
|
+
"return": "Promise<void>",
|
|
49289
|
+
"references": {
|
|
49290
|
+
"Promise": {
|
|
49291
|
+
"location": "import",
|
|
49292
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49293
|
+
"id": "notImplemented"
|
|
49294
|
+
},
|
|
49295
|
+
"RendererResult": {
|
|
49296
|
+
"location": "import",
|
|
49297
|
+
"path": "@arcgis/core/smartMapping/renderers/univariateColorSize.d.ts",
|
|
49298
|
+
"id": "notImplemented"
|
|
49299
|
+
},
|
|
49300
|
+
"HistogramResult": {
|
|
49301
|
+
"location": "import",
|
|
49302
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
49303
|
+
"id": "notImplemented"
|
|
49304
|
+
}
|
|
49305
|
+
}
|
|
49306
|
+
},
|
|
49307
|
+
"signature": "updateFromRendererResult(rendererResult: RendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
49308
|
+
"parameters": [
|
|
49309
|
+
{
|
|
49310
|
+
"name": "rendererResult",
|
|
49311
|
+
"type": "RendererResult",
|
|
49312
|
+
"docs": ""
|
|
49313
|
+
},
|
|
49314
|
+
{
|
|
49315
|
+
"name": "histogramResult",
|
|
49316
|
+
"type": "HistogramResult | undefined",
|
|
49317
|
+
"docs": ""
|
|
49318
|
+
}
|
|
49319
|
+
],
|
|
49320
|
+
"docs": "A convenience function used to update the properties of a BinaryColorSizeSlider component instance from the\n[result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#RendererResult) of\nthe [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer)\nmethod. This method is useful for cases when the app allows the end user to switch data variables used to render the data.\nNote that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
49321
|
+
"docsTags": [
|
|
49322
|
+
{
|
|
49323
|
+
"name": "param",
|
|
49324
|
+
"text": "rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer)\nmethod."
|
|
49325
|
+
},
|
|
49326
|
+
{
|
|
49327
|
+
"name": "param",
|
|
49328
|
+
"text": "histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)\nmethod."
|
|
49329
|
+
},
|
|
49330
|
+
{
|
|
49331
|
+
"name": "example",
|
|
49332
|
+
"text": "```js\nconst rendererResult = await univariateColorSizeRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait binaryColorSizeSlider?.updateFromRendererResult(rendererResult, histogramResult)\n```"
|
|
49333
|
+
}
|
|
49334
|
+
]
|
|
49335
|
+
},
|
|
49336
|
+
{
|
|
49337
|
+
"name": "updateRenderer",
|
|
49338
|
+
"returns": {
|
|
49339
|
+
"type": "Promise<ClassBreaksRenderer | null | undefined>",
|
|
49340
|
+
"docs": "Returns the updated renderer."
|
|
49341
|
+
},
|
|
49342
|
+
"complexType": {
|
|
49343
|
+
"signature": "(renderer: ClassBreaksRenderer): Promise<ClassBreaksRenderer | nil>",
|
|
49344
|
+
"parameters": [
|
|
49345
|
+
{
|
|
49346
|
+
"name": "renderer",
|
|
49347
|
+
"type": "ClassBreaksRenderer",
|
|
49348
|
+
"docs": ""
|
|
49349
|
+
}
|
|
49350
|
+
],
|
|
49351
|
+
"return": "Promise<ClassBreaksRenderer | null | undefined>",
|
|
49352
|
+
"references": {
|
|
49353
|
+
"Promise": {
|
|
49354
|
+
"location": "import",
|
|
49355
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49356
|
+
"id": "notImplemented"
|
|
49357
|
+
},
|
|
49358
|
+
"ClassBreaksRenderer": {
|
|
49359
|
+
"location": "import",
|
|
49360
|
+
"path": "@arcgis/core/renderers/ClassBreaksRenderer.d.ts",
|
|
49361
|
+
"id": "notImplemented"
|
|
49362
|
+
}
|
|
49363
|
+
}
|
|
49364
|
+
},
|
|
49365
|
+
"signature": "updateRenderer(renderer: ClassBreaksRenderer): Promise<ClassBreaksRenderer | nil>",
|
|
49366
|
+
"parameters": [
|
|
49367
|
+
{
|
|
49368
|
+
"name": "renderer",
|
|
49369
|
+
"type": "ClassBreaksRenderer",
|
|
49370
|
+
"docs": ""
|
|
49371
|
+
}
|
|
49372
|
+
],
|
|
49373
|
+
"docs": "A convenience function used to update the input renderer based on\nthe values of the slider [stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-BinaryColorSizeSlider.html#stops).",
|
|
49374
|
+
"docsTags": [
|
|
49375
|
+
{
|
|
49376
|
+
"name": "param",
|
|
49377
|
+
"text": "renderer - The renderer\nto update from the slider values."
|
|
49378
|
+
},
|
|
49379
|
+
{
|
|
49380
|
+
"name": "returns",
|
|
49381
|
+
"text": "Returns the updated renderer."
|
|
49382
|
+
},
|
|
49383
|
+
{
|
|
49384
|
+
"name": "example",
|
|
49385
|
+
"text": "```js\nconst updatedRenderer = await binaryColorSizeSlider.updateRenderer(featureLayer.renderer as ClassBreaksRenderer);\nfeatureLayer.renderer = updatedRenderer;\n```"
|
|
49386
|
+
}
|
|
49387
|
+
]
|
|
49388
|
+
}
|
|
49389
|
+
],
|
|
49390
|
+
"events": [
|
|
49391
|
+
{
|
|
49392
|
+
"event": "arcgisPropertyChange",
|
|
49393
|
+
"detail": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
49394
|
+
"bubbles": true,
|
|
49395
|
+
"complexType": {
|
|
49396
|
+
"original": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
49397
|
+
"resolved": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
49398
|
+
"references": {}
|
|
49399
|
+
},
|
|
49400
|
+
"cancelable": true,
|
|
49401
|
+
"composed": true,
|
|
49402
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
49403
|
+
"docsTags": []
|
|
49404
|
+
},
|
|
49405
|
+
{
|
|
49406
|
+
"event": "arcgisReady",
|
|
49407
|
+
"detail": "void",
|
|
49408
|
+
"bubbles": true,
|
|
49409
|
+
"complexType": {
|
|
49410
|
+
"original": "void",
|
|
49411
|
+
"resolved": "void",
|
|
49412
|
+
"references": {}
|
|
49413
|
+
},
|
|
49414
|
+
"cancelable": true,
|
|
49415
|
+
"composed": true,
|
|
49416
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
49417
|
+
"docsTags": []
|
|
49418
|
+
},
|
|
49419
|
+
{
|
|
49420
|
+
"event": "arcgisThumbChange",
|
|
49421
|
+
"detail": "ThumbChangeEvent",
|
|
49422
|
+
"bubbles": true,
|
|
49423
|
+
"complexType": {
|
|
49424
|
+
"original": "ThumbChangeEvent",
|
|
49425
|
+
"resolved": "ThumbChangeEvent",
|
|
49426
|
+
"references": {
|
|
49427
|
+
"ThumbChangeEvent": {
|
|
49428
|
+
"location": "import",
|
|
49429
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
49430
|
+
"id": "notImplemented"
|
|
49431
|
+
}
|
|
49432
|
+
}
|
|
49433
|
+
},
|
|
49434
|
+
"cancelable": true,
|
|
49435
|
+
"composed": true,
|
|
49436
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
49437
|
+
"docsTags": []
|
|
49438
|
+
},
|
|
49439
|
+
{
|
|
49440
|
+
"event": "arcgisThumbDrag",
|
|
49441
|
+
"detail": "ThumbDragEvent",
|
|
49442
|
+
"bubbles": true,
|
|
49443
|
+
"complexType": {
|
|
49444
|
+
"original": "ThumbDragEvent",
|
|
49445
|
+
"resolved": "ThumbDragEvent",
|
|
49446
|
+
"references": {
|
|
49447
|
+
"ThumbDragEvent": {
|
|
49448
|
+
"location": "import",
|
|
49449
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
49450
|
+
"id": "notImplemented"
|
|
49451
|
+
}
|
|
49452
|
+
}
|
|
49453
|
+
},
|
|
49454
|
+
"cancelable": true,
|
|
49455
|
+
"composed": true,
|
|
49456
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
49457
|
+
"docsTags": []
|
|
49458
|
+
}
|
|
49459
|
+
],
|
|
49460
|
+
"styles": [],
|
|
49461
|
+
"slots": [],
|
|
49462
|
+
"parts": [],
|
|
49463
|
+
"listeners": []
|
|
49464
|
+
},
|
|
49465
|
+
{
|
|
49466
|
+
"filePath": "src/components/slider-classed-color-legacy/slider-classed-color-legacy.tsx",
|
|
49467
|
+
"tag": "arcgis-slider-classed-color-legacy",
|
|
49468
|
+
"overview": "",
|
|
49469
|
+
"readme": "",
|
|
49470
|
+
"usage": {},
|
|
49471
|
+
"docs": "The Classed Color Slider (Legacy) component is designed for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with color in a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html).\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\nThe [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedColorSlider.html#fromRendererResult) method can be used to intelligently populate slider properties including\n[max](#max), [min](#min), the [classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos) configuration,\nand the slider's histogram after the renderer has been created from the result of the\n[createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#createClassBreaksRenderer) method.\n\n```js\nconst colorRendererCreator = await import(\"@arcgis/core/smartMapping/renderers/color.js\");\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst classedColorSlider = document.querySelector(\"arcgis-slider-classed-color\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Poverty_by_Age_Boundaries/FeatureServer/1\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params = {\n layer: featureLayer,\n field: \"B17020_calc_pctPovE\",\n view: viewElement.view,\n numClasses: 4\n};\n\nconst rendererResult = await colorRendererCreator.createClassBreaksRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait classedColorSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```\n\nThis slider should be used to update the [classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos)\nin a ClassBreaksRenderer. It is the responsibility of the app developer\nto set up event listeners on this slider that update the breaks of the appropriate renderer.\n\n```js\nconst updateRendererFromSlider = async () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"classBreakInfos\" in renderer) || !renderer.classBreakInfos?.[0]) {\n return;\n }\n\n const updatedClassBreakInfos = await classedColorSlider.updateClassBreakInfos(renderer.classBreakInfos);\n if (!updatedClassBreakInfos) {\n return;\n }\n\n renderer.classBreakInfos = updatedClassBreakInfos;\n featureLayer.renderer = renderer;\n};\n\nclassedColorSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\nclassedColorSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
49472
|
+
"docsTags": [
|
|
49473
|
+
{
|
|
49474
|
+
"name": "since",
|
|
49475
|
+
"text": "5.0.0"
|
|
49476
|
+
},
|
|
49477
|
+
{
|
|
49478
|
+
"name": "see",
|
|
49479
|
+
"text": "[ClassedColorSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedColorSlider-ClassedColorSliderViewModel.html)"
|
|
49480
|
+
},
|
|
49481
|
+
{
|
|
49482
|
+
"name": "see",
|
|
49483
|
+
"text": "[colorRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html)"
|
|
49484
|
+
},
|
|
49485
|
+
{
|
|
49486
|
+
"name": "see",
|
|
49487
|
+
"text": "[ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html)"
|
|
49488
|
+
},
|
|
49489
|
+
{
|
|
49490
|
+
"name": "superclass",
|
|
49491
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
49492
|
+
}
|
|
49493
|
+
],
|
|
49494
|
+
"encapsulation": "shadow",
|
|
49495
|
+
"dependents": [],
|
|
49496
|
+
"dependencies": [],
|
|
49497
|
+
"dependencyGraph": {},
|
|
49498
|
+
"props": [
|
|
49499
|
+
{
|
|
49500
|
+
"name": "autoDestroyDisabled",
|
|
49501
|
+
"type": "boolean",
|
|
49502
|
+
"complexType": {
|
|
49503
|
+
"original": "boolean",
|
|
49504
|
+
"resolved": "boolean",
|
|
49505
|
+
"references": {}
|
|
49506
|
+
},
|
|
49507
|
+
"mutable": true,
|
|
49508
|
+
"attr": "auto-destroy-disabled",
|
|
49509
|
+
"reflectToAttr": false,
|
|
49510
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-classed-color-legacy/#destroy) method when you are done to\nprevent memory leaks.",
|
|
49511
|
+
"docsTags": [],
|
|
49512
|
+
"default": "false",
|
|
49513
|
+
"values": [
|
|
49514
|
+
{
|
|
49515
|
+
"type": "boolean"
|
|
49516
|
+
}
|
|
49517
|
+
],
|
|
49518
|
+
"optional": true,
|
|
49519
|
+
"required": false
|
|
49520
|
+
},
|
|
49521
|
+
{
|
|
49522
|
+
"name": "icon",
|
|
49523
|
+
"type": "IconName",
|
|
49524
|
+
"complexType": {
|
|
49525
|
+
"original": "IconName",
|
|
49526
|
+
"resolved": "IconName",
|
|
49527
|
+
"references": {
|
|
49528
|
+
"IconName": {
|
|
49529
|
+
"location": "import",
|
|
49530
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
49531
|
+
"id": "notImplemented"
|
|
49532
|
+
}
|
|
49533
|
+
}
|
|
49534
|
+
},
|
|
49535
|
+
"mutable": true,
|
|
49536
|
+
"reflectToAttr": false,
|
|
49537
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
49538
|
+
"docsTags": [
|
|
49539
|
+
{
|
|
49540
|
+
"name": "see",
|
|
49541
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
49542
|
+
}
|
|
49543
|
+
],
|
|
49544
|
+
"values": [],
|
|
49545
|
+
"optional": true,
|
|
49546
|
+
"required": false
|
|
49547
|
+
},
|
|
49548
|
+
{
|
|
49549
|
+
"name": "max",
|
|
49550
|
+
"type": "number",
|
|
49551
|
+
"complexType": {
|
|
49552
|
+
"original": "number",
|
|
49553
|
+
"resolved": "number",
|
|
49554
|
+
"references": {}
|
|
49555
|
+
},
|
|
49556
|
+
"mutable": true,
|
|
49557
|
+
"attr": "max",
|
|
49558
|
+
"reflectToAttr": false,
|
|
49559
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the breaks of the appropriate renderer.",
|
|
49560
|
+
"docsTags": [
|
|
49561
|
+
{
|
|
49562
|
+
"name": "example",
|
|
49563
|
+
"text": "```js\nconst updateRendererFromSlider = async () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"classBreakInfos\" in renderer) || !renderer.classBreakInfos?.[0]) {\n return;\n }\n\n const updatedClassBreakInfos = await classedColorSlider.updateClassBreakInfos(renderer.classBreakInfos);\n if (!updatedClassBreakInfos) {\n return;\n }\n\n renderer.classBreakInfos = updatedClassBreakInfos;\n featureLayer.renderer = renderer;\n};\n\nclassedColorSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
49564
|
+
}
|
|
49565
|
+
],
|
|
49566
|
+
"values": [
|
|
49567
|
+
{
|
|
49568
|
+
"type": "number"
|
|
49569
|
+
}
|
|
49570
|
+
],
|
|
49571
|
+
"optional": true,
|
|
49572
|
+
"required": false
|
|
49573
|
+
},
|
|
49574
|
+
{
|
|
49575
|
+
"name": "min",
|
|
49576
|
+
"type": "number",
|
|
49577
|
+
"complexType": {
|
|
49578
|
+
"original": "number",
|
|
49579
|
+
"resolved": "number",
|
|
49580
|
+
"references": {}
|
|
49581
|
+
},
|
|
49582
|
+
"mutable": true,
|
|
49583
|
+
"attr": "min",
|
|
49584
|
+
"reflectToAttr": false,
|
|
49585
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the breaks of the appropriate renderer.",
|
|
49586
|
+
"docsTags": [
|
|
49587
|
+
{
|
|
49588
|
+
"name": "example",
|
|
49589
|
+
"text": "```js\nconst updateRendererFromSlider = async () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"classBreakInfos\" in renderer) || !renderer.classBreakInfos?.[0]) {\n return;\n }\n\n const updatedClassBreakInfos = await classedColorSlider.updateClassBreakInfos(renderer.classBreakInfos);\n if (!updatedClassBreakInfos) {\n return;\n }\n\n renderer.classBreakInfos = updatedClassBreakInfos;\n featureLayer.renderer = renderer;\n};\n\nclassedColorSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
49590
|
+
}
|
|
49591
|
+
],
|
|
49592
|
+
"values": [
|
|
49593
|
+
{
|
|
49594
|
+
"type": "number"
|
|
49595
|
+
}
|
|
49596
|
+
],
|
|
49597
|
+
"optional": true,
|
|
49598
|
+
"required": false
|
|
49599
|
+
},
|
|
49600
|
+
{
|
|
49601
|
+
"name": "precision",
|
|
49602
|
+
"type": "number",
|
|
49603
|
+
"complexType": {
|
|
49604
|
+
"original": "number",
|
|
49605
|
+
"resolved": "number",
|
|
49606
|
+
"references": {}
|
|
49607
|
+
},
|
|
49608
|
+
"mutable": true,
|
|
49609
|
+
"attr": "precision",
|
|
49610
|
+
"reflectToAttr": false,
|
|
49611
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
49612
|
+
"docsTags": [
|
|
49613
|
+
{
|
|
49614
|
+
"name": "example",
|
|
49615
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
49616
|
+
}
|
|
49617
|
+
],
|
|
49618
|
+
"default": "4",
|
|
49619
|
+
"values": [
|
|
49620
|
+
{
|
|
49621
|
+
"type": "number"
|
|
49622
|
+
}
|
|
49623
|
+
],
|
|
49624
|
+
"optional": true,
|
|
49625
|
+
"required": false
|
|
49626
|
+
},
|
|
49627
|
+
{
|
|
49628
|
+
"name": "referenceElement",
|
|
49629
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
49630
|
+
"complexType": {
|
|
49631
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
49632
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
49633
|
+
"references": {
|
|
49634
|
+
"HTMLArcgisLinkChartElement": {
|
|
49635
|
+
"location": "local",
|
|
49636
|
+
"path": "index.js",
|
|
49637
|
+
"id": "notImplemented"
|
|
49638
|
+
},
|
|
49639
|
+
"HTMLArcgisMapElement": {
|
|
49640
|
+
"location": "local",
|
|
49641
|
+
"path": "index.js",
|
|
49642
|
+
"id": "notImplemented"
|
|
49643
|
+
},
|
|
49644
|
+
"HTMLArcgisSceneElement": {
|
|
49645
|
+
"location": "local",
|
|
49646
|
+
"path": "index.js",
|
|
49647
|
+
"id": "notImplemented"
|
|
49648
|
+
}
|
|
49649
|
+
}
|
|
49650
|
+
},
|
|
49651
|
+
"mutable": true,
|
|
49652
|
+
"attr": "reference-element",
|
|
49653
|
+
"reflectToAttr": false,
|
|
49654
|
+
"docs": "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.",
|
|
49655
|
+
"docsTags": [
|
|
49656
|
+
{
|
|
49657
|
+
"name": "see",
|
|
49658
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
49659
|
+
}
|
|
49660
|
+
],
|
|
49661
|
+
"values": [
|
|
49662
|
+
{
|
|
49663
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
49664
|
+
},
|
|
49665
|
+
{
|
|
49666
|
+
"type": "HTMLArcgisMapElement"
|
|
49667
|
+
},
|
|
49668
|
+
{
|
|
49669
|
+
"type": "HTMLArcgisSceneElement"
|
|
49670
|
+
},
|
|
49671
|
+
{
|
|
49672
|
+
"type": "string"
|
|
49673
|
+
}
|
|
49674
|
+
],
|
|
49675
|
+
"optional": true,
|
|
49676
|
+
"required": false
|
|
49677
|
+
},
|
|
49678
|
+
{
|
|
49679
|
+
"name": "state",
|
|
49680
|
+
"type": "\"disabled\" | \"ready\"",
|
|
49681
|
+
"complexType": {
|
|
49682
|
+
"original": "\"disabled\" | \"ready\"",
|
|
49683
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
49684
|
+
"references": {}
|
|
49685
|
+
},
|
|
49686
|
+
"mutable": true,
|
|
49687
|
+
"attr": "state",
|
|
49688
|
+
"reflectToAttr": false,
|
|
49689
|
+
"docs": "The current state of the component.",
|
|
49690
|
+
"docsTags": [],
|
|
49691
|
+
"values": [
|
|
49692
|
+
{
|
|
49693
|
+
"type": "string",
|
|
49694
|
+
"value": "disabled"
|
|
49695
|
+
},
|
|
49696
|
+
{
|
|
49697
|
+
"type": "string",
|
|
49698
|
+
"value": "ready"
|
|
49699
|
+
}
|
|
49700
|
+
],
|
|
49701
|
+
"optional": true,
|
|
49702
|
+
"required": false
|
|
49703
|
+
}
|
|
49704
|
+
],
|
|
49705
|
+
"methods": [
|
|
49706
|
+
{
|
|
49707
|
+
"name": "componentOnReady",
|
|
49708
|
+
"returns": {
|
|
49709
|
+
"type": "Promise<this>",
|
|
49710
|
+
"docs": ""
|
|
49711
|
+
},
|
|
49712
|
+
"complexType": {
|
|
49713
|
+
"signature": "(): Promise<this>",
|
|
49714
|
+
"parameters": [],
|
|
49715
|
+
"return": "Promise<this>",
|
|
49716
|
+
"references": {
|
|
49717
|
+
"Promise": {
|
|
49718
|
+
"location": "import",
|
|
49719
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49720
|
+
"id": "notImplemented"
|
|
49721
|
+
}
|
|
49722
|
+
}
|
|
49723
|
+
},
|
|
49724
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
49725
|
+
"parameters": [],
|
|
49726
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
49727
|
+
"docsTags": [
|
|
49728
|
+
{
|
|
49729
|
+
"name": "example",
|
|
49730
|
+
"text": "```js\nconst arcgisSliderClassedColorLegacy = document.querySelector(\"arcgis-slider-classed-color-legacy\");\ndocument.body.append(arcgisSliderClassedColorLegacy);\nawait arcgisSliderClassedColorLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-classed-color-legacy is ready to go!\");\n```"
|
|
49731
|
+
},
|
|
49732
|
+
{
|
|
49733
|
+
"name": "inheritedFrom",
|
|
49734
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
49735
|
+
}
|
|
49736
|
+
]
|
|
49737
|
+
},
|
|
49738
|
+
{
|
|
49739
|
+
"name": "destroy",
|
|
49740
|
+
"returns": {
|
|
49741
|
+
"type": "Promise<void>",
|
|
49742
|
+
"docs": ""
|
|
49743
|
+
},
|
|
49744
|
+
"complexType": {
|
|
49745
|
+
"signature": "(): Promise<void>",
|
|
49746
|
+
"parameters": [],
|
|
49747
|
+
"return": "Promise<void>",
|
|
49748
|
+
"references": {
|
|
49749
|
+
"Promise": {
|
|
49750
|
+
"location": "import",
|
|
49751
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49752
|
+
"id": "notImplemented"
|
|
49753
|
+
}
|
|
49754
|
+
}
|
|
49755
|
+
},
|
|
49756
|
+
"signature": "destroy(): Promise<void>",
|
|
49757
|
+
"parameters": [],
|
|
49758
|
+
"docs": "Permanently destroy the component.",
|
|
49759
|
+
"docsTags": []
|
|
49760
|
+
},
|
|
49761
|
+
{
|
|
49762
|
+
"name": "updateClassBreakInfos",
|
|
49763
|
+
"returns": {
|
|
49764
|
+
"type": "Promise<Array<ClassBreakInfo> | null | undefined>",
|
|
49765
|
+
"docs": "The updated classBreakInfos to set\non a ClassBreaksRenderer object."
|
|
49766
|
+
},
|
|
49767
|
+
"complexType": {
|
|
49768
|
+
"signature": "(breakInfos: ClassBreakInfo[]): Promise<ClassBreakInfo[] | nil>",
|
|
49769
|
+
"parameters": [
|
|
49770
|
+
{
|
|
49771
|
+
"name": "breakInfos",
|
|
49772
|
+
"type": "Array<ClassBreakInfo>",
|
|
49773
|
+
"docs": ""
|
|
49774
|
+
}
|
|
49775
|
+
],
|
|
49776
|
+
"return": "Promise<Array<ClassBreakInfo> | null | undefined>",
|
|
49777
|
+
"references": {
|
|
49778
|
+
"Promise": {
|
|
49779
|
+
"location": "import",
|
|
49780
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49781
|
+
"id": "notImplemented"
|
|
49782
|
+
},
|
|
49783
|
+
"Array": {
|
|
49784
|
+
"location": "import",
|
|
49785
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49786
|
+
"id": "notImplemented"
|
|
49787
|
+
},
|
|
49788
|
+
"ClassBreakInfo": {
|
|
49789
|
+
"location": "import",
|
|
49790
|
+
"path": "@arcgis/core/renderers/support/ClassBreakInfo.d.ts",
|
|
49791
|
+
"id": "notImplemented"
|
|
49792
|
+
}
|
|
49793
|
+
}
|
|
49794
|
+
},
|
|
49795
|
+
"signature": "updateClassBreakInfos(breakInfos: ClassBreakInfo[]): Promise<ClassBreakInfo[] | nil>",
|
|
49796
|
+
"parameters": [
|
|
49797
|
+
{
|
|
49798
|
+
"name": "breakInfos",
|
|
49799
|
+
"type": "Array<ClassBreakInfo>",
|
|
49800
|
+
"docs": ""
|
|
49801
|
+
}
|
|
49802
|
+
],
|
|
49803
|
+
"docs": "A convenience function used to update the\n[classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos)\nof a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html) associated with this slider.\n\nThe number of breaks from the renderer must match the number of breaks in the slider.\nGenerally, the input breaks for this method should come from the same renderer as one\nused to create the slider with the [fromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedColorSlider.html#fromRendererResult) method.",
|
|
49804
|
+
"docsTags": [
|
|
49805
|
+
{
|
|
49806
|
+
"name": "param",
|
|
49807
|
+
"text": "breakInfos - The classBreakInfos\nfrom a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html) instance to update based on\nthe properties of the slider."
|
|
49808
|
+
},
|
|
49809
|
+
{
|
|
49810
|
+
"name": "returns",
|
|
49811
|
+
"text": "The updated classBreakInfos to set\non a ClassBreaksRenderer object."
|
|
49812
|
+
},
|
|
49813
|
+
{
|
|
49814
|
+
"name": "example",
|
|
49815
|
+
"text": "```js\nconst renderer = featureLayer?.renderer?.clone();\nconst updatedClassBreakInfos = await classedColorSlider.updateClassBreakInfos(renderer.classBreakInfos);\nrenderer.classBreakInfos = updatedClassBreakInfos;\nfeatureLayer.renderer = renderer;\n```"
|
|
49816
|
+
}
|
|
49817
|
+
]
|
|
49818
|
+
},
|
|
49819
|
+
{
|
|
49820
|
+
"name": "updateFromRendererResult",
|
|
49821
|
+
"returns": {
|
|
49822
|
+
"type": "Promise<void>",
|
|
49823
|
+
"docs": ""
|
|
49824
|
+
},
|
|
49825
|
+
"complexType": {
|
|
49826
|
+
"signature": "(rendererResult: ClassBreaksRendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
49827
|
+
"parameters": [
|
|
49828
|
+
{
|
|
49829
|
+
"name": "rendererResult",
|
|
49830
|
+
"type": "ClassBreaksRendererResult",
|
|
49831
|
+
"docs": ""
|
|
49832
|
+
},
|
|
49833
|
+
{
|
|
49834
|
+
"name": "histogramResult",
|
|
49835
|
+
"type": "HistogramResult | undefined",
|
|
49836
|
+
"docs": ""
|
|
49837
|
+
}
|
|
49838
|
+
],
|
|
49839
|
+
"return": "Promise<void>",
|
|
49840
|
+
"references": {
|
|
49841
|
+
"Promise": {
|
|
49842
|
+
"location": "import",
|
|
49843
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
49844
|
+
"id": "notImplemented"
|
|
49845
|
+
},
|
|
49846
|
+
"ClassBreaksRendererResult": {
|
|
49847
|
+
"location": "import",
|
|
49848
|
+
"path": "@arcgis/core/smartMapping/renderers/color.d.ts",
|
|
49849
|
+
"id": "notImplemented"
|
|
49850
|
+
},
|
|
49851
|
+
"HistogramResult": {
|
|
49852
|
+
"location": "import",
|
|
49853
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
49854
|
+
"id": "notImplemented"
|
|
49855
|
+
}
|
|
49856
|
+
}
|
|
49857
|
+
},
|
|
49858
|
+
"signature": "updateFromRendererResult(rendererResult: ClassBreaksRendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
49859
|
+
"parameters": [
|
|
49860
|
+
{
|
|
49861
|
+
"name": "rendererResult",
|
|
49862
|
+
"type": "ClassBreaksRendererResult",
|
|
49863
|
+
"docs": ""
|
|
49864
|
+
},
|
|
49865
|
+
{
|
|
49866
|
+
"name": "histogramResult",
|
|
49867
|
+
"type": "HistogramResult | undefined",
|
|
49868
|
+
"docs": ""
|
|
49869
|
+
}
|
|
49870
|
+
],
|
|
49871
|
+
"docs": "A convenience function used to update the properties a ClassedColorSlider from the result\nof the [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#createClassBreaksRenderer) method.\nNote that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
49872
|
+
"docsTags": [
|
|
49873
|
+
{
|
|
49874
|
+
"name": "param",
|
|
49875
|
+
"text": "rendererResult - The result object from the [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#createClassBreaksRenderer)\nmethod."
|
|
49876
|
+
},
|
|
49877
|
+
{
|
|
49878
|
+
"name": "param",
|
|
49879
|
+
"text": "histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)\nmethod."
|
|
49880
|
+
},
|
|
49881
|
+
{
|
|
49882
|
+
"name": "example",
|
|
49883
|
+
"text": "```js\nconst rendererResult = await colorRendererCreator.createClassBreaksRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait classedColorSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```"
|
|
49884
|
+
}
|
|
49885
|
+
]
|
|
49886
|
+
}
|
|
49887
|
+
],
|
|
49888
|
+
"events": [
|
|
49889
|
+
{
|
|
49890
|
+
"event": "arcgisPropertyChange",
|
|
49891
|
+
"detail": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
49892
|
+
"bubbles": true,
|
|
49893
|
+
"complexType": {
|
|
49894
|
+
"original": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
49895
|
+
"resolved": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
49896
|
+
"references": {}
|
|
49897
|
+
},
|
|
49898
|
+
"cancelable": true,
|
|
49899
|
+
"composed": true,
|
|
49900
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
49901
|
+
"docsTags": []
|
|
49902
|
+
},
|
|
49903
|
+
{
|
|
49904
|
+
"event": "arcgisReady",
|
|
49905
|
+
"detail": "void",
|
|
49906
|
+
"bubbles": true,
|
|
49907
|
+
"complexType": {
|
|
49908
|
+
"original": "void",
|
|
49909
|
+
"resolved": "void",
|
|
49910
|
+
"references": {}
|
|
49911
|
+
},
|
|
49912
|
+
"cancelable": true,
|
|
49913
|
+
"composed": true,
|
|
49914
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
49915
|
+
"docsTags": []
|
|
49916
|
+
},
|
|
49917
|
+
{
|
|
49918
|
+
"event": "arcgisThumbChange",
|
|
49919
|
+
"detail": "ThumbChangeEvent",
|
|
49920
|
+
"bubbles": true,
|
|
49921
|
+
"complexType": {
|
|
49922
|
+
"original": "ThumbChangeEvent",
|
|
49923
|
+
"resolved": "ThumbChangeEvent",
|
|
49924
|
+
"references": {
|
|
49925
|
+
"ThumbChangeEvent": {
|
|
49926
|
+
"location": "import",
|
|
49927
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
49928
|
+
"id": "notImplemented"
|
|
49929
|
+
}
|
|
49930
|
+
}
|
|
49931
|
+
},
|
|
49932
|
+
"cancelable": true,
|
|
49933
|
+
"composed": true,
|
|
49934
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
49935
|
+
"docsTags": []
|
|
49936
|
+
},
|
|
49937
|
+
{
|
|
49938
|
+
"event": "arcgisThumbDrag",
|
|
49939
|
+
"detail": "ThumbDragEvent",
|
|
49940
|
+
"bubbles": true,
|
|
49941
|
+
"complexType": {
|
|
49942
|
+
"original": "ThumbDragEvent",
|
|
49943
|
+
"resolved": "ThumbDragEvent",
|
|
49944
|
+
"references": {
|
|
49945
|
+
"ThumbDragEvent": {
|
|
49946
|
+
"location": "import",
|
|
49947
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
49948
|
+
"id": "notImplemented"
|
|
49949
|
+
}
|
|
49950
|
+
}
|
|
49951
|
+
},
|
|
49952
|
+
"cancelable": true,
|
|
49953
|
+
"composed": true,
|
|
49954
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
49955
|
+
"docsTags": []
|
|
49956
|
+
}
|
|
49957
|
+
],
|
|
49958
|
+
"styles": [],
|
|
49959
|
+
"slots": [],
|
|
49960
|
+
"parts": [],
|
|
49961
|
+
"listeners": []
|
|
49962
|
+
},
|
|
49963
|
+
{
|
|
49964
|
+
"filePath": "src/components/slider-classed-size-legacy/slider-classed-size-legacy.tsx",
|
|
49965
|
+
"tag": "arcgis-slider-classed-size-legacy",
|
|
49966
|
+
"overview": "",
|
|
49967
|
+
"readme": "",
|
|
49968
|
+
"usage": {},
|
|
49969
|
+
"docs": "The Classed Size Slider (Legacy) component is designed for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with size in a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html).\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\nThe [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedSizeSlider.html#fromRendererResult) method can be used to intelligently populate slider properties including\n[max](#max), [min](#min), the [classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos) configuration,\nand the slider's histogram after the renderer has been created from the result of the [createClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createClassBreaksRenderer)\nmethod.\n\n```js\nconst sizeRendererCreator = await import(\"@arcgis/core/smartMapping/renderers/size.js\");\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst classedSizeSlider = document.querySelector(\"arcgis-slider-classed-size\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Median_Income_by_Race_and_Age_Selp_Emp_Boundaries/FeatureServer/1\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params = {\n layer: featureLayer,\n field: \"B19049_001E\",\n view: viewElement.view,\n numClasses: 4,\n};\n\nconst rendererResult = await sizeRendererCreator.createClassBreaksRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait classedSizeSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```\n\nThis slider should be used to update the [classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos)\nin a ClassBreaksRenderer. It is the responsibility of the app developer\nto set up event listeners on this slider that update the breaks of the appropriate renderer.\n\n```js\nconst updateRendererFromSlider = async () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"classBreakInfos\" in renderer) || !renderer.classBreakInfos?.[0]) {\n return;\n }\n renderer.classBreakInfos = (await classedSizeSlider.updateClassBreakInfos(renderer.classBreakInfos)) as any;\n featureLayer.renderer = renderer;\n};\n\nclassedSizeSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\nclassedSizeSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
49970
|
+
"docsTags": [
|
|
49971
|
+
{
|
|
49972
|
+
"name": "since",
|
|
49973
|
+
"text": "5.0.0"
|
|
49974
|
+
},
|
|
49975
|
+
{
|
|
49976
|
+
"name": "see",
|
|
49977
|
+
"text": "[ClassedSizeSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedSizeSlider-ClassedSizeSliderViewModel.html)"
|
|
49978
|
+
},
|
|
49979
|
+
{
|
|
49980
|
+
"name": "see",
|
|
49981
|
+
"text": "[sizeRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html)"
|
|
49982
|
+
},
|
|
49983
|
+
{
|
|
49984
|
+
"name": "see",
|
|
49985
|
+
"text": "[ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html)"
|
|
49986
|
+
},
|
|
49987
|
+
{
|
|
49988
|
+
"name": "superclass",
|
|
49989
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
49990
|
+
}
|
|
49991
|
+
],
|
|
49992
|
+
"encapsulation": "shadow",
|
|
49993
|
+
"dependents": [],
|
|
49994
|
+
"dependencies": [],
|
|
49995
|
+
"dependencyGraph": {},
|
|
49996
|
+
"props": [
|
|
49997
|
+
{
|
|
49998
|
+
"name": "autoDestroyDisabled",
|
|
49999
|
+
"type": "boolean",
|
|
50000
|
+
"complexType": {
|
|
50001
|
+
"original": "boolean",
|
|
50002
|
+
"resolved": "boolean",
|
|
50003
|
+
"references": {}
|
|
50004
|
+
},
|
|
50005
|
+
"mutable": true,
|
|
50006
|
+
"attr": "auto-destroy-disabled",
|
|
50007
|
+
"reflectToAttr": false,
|
|
50008
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-classed-size-legacy/#destroy) method when you are done to\nprevent memory leaks.",
|
|
50009
|
+
"docsTags": [],
|
|
50010
|
+
"default": "false",
|
|
50011
|
+
"values": [
|
|
50012
|
+
{
|
|
50013
|
+
"type": "boolean"
|
|
50014
|
+
}
|
|
50015
|
+
],
|
|
50016
|
+
"optional": true,
|
|
50017
|
+
"required": false
|
|
50018
|
+
},
|
|
50019
|
+
{
|
|
50020
|
+
"name": "icon",
|
|
50021
|
+
"type": "IconName",
|
|
50022
|
+
"complexType": {
|
|
50023
|
+
"original": "IconName",
|
|
50024
|
+
"resolved": "IconName",
|
|
50025
|
+
"references": {
|
|
50026
|
+
"IconName": {
|
|
50027
|
+
"location": "import",
|
|
50028
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
50029
|
+
"id": "notImplemented"
|
|
50030
|
+
}
|
|
50031
|
+
}
|
|
50032
|
+
},
|
|
50033
|
+
"mutable": true,
|
|
50034
|
+
"reflectToAttr": false,
|
|
50035
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
50036
|
+
"docsTags": [
|
|
50037
|
+
{
|
|
50038
|
+
"name": "see",
|
|
50039
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
50040
|
+
}
|
|
50041
|
+
],
|
|
50042
|
+
"values": [],
|
|
50043
|
+
"optional": true,
|
|
50044
|
+
"required": false
|
|
50045
|
+
},
|
|
50046
|
+
{
|
|
50047
|
+
"name": "max",
|
|
50048
|
+
"type": "number",
|
|
50049
|
+
"complexType": {
|
|
50050
|
+
"original": "number",
|
|
50051
|
+
"resolved": "number",
|
|
50052
|
+
"references": {}
|
|
50053
|
+
},
|
|
50054
|
+
"mutable": true,
|
|
50055
|
+
"attr": "max",
|
|
50056
|
+
"reflectToAttr": false,
|
|
50057
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the breaks of the appropriate renderer.",
|
|
50058
|
+
"docsTags": [
|
|
50059
|
+
{
|
|
50060
|
+
"name": "example",
|
|
50061
|
+
"text": "```js\nconst updateRendererFromSlider = async () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"classBreakInfos\" in renderer) || !renderer.classBreakInfos?.[0]) {\n return;\n }\n renderer.classBreakInfos = (await classedSizeSlider.updateClassBreakInfos(renderer.classBreakInfos)) as any;\n featureLayer.renderer = renderer;\n};\n\nclassedSizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
50062
|
+
}
|
|
50063
|
+
],
|
|
50064
|
+
"values": [
|
|
50065
|
+
{
|
|
50066
|
+
"type": "number"
|
|
50067
|
+
}
|
|
50068
|
+
],
|
|
50069
|
+
"optional": true,
|
|
50070
|
+
"required": false
|
|
50071
|
+
},
|
|
50072
|
+
{
|
|
50073
|
+
"name": "min",
|
|
50074
|
+
"type": "number",
|
|
50075
|
+
"complexType": {
|
|
50076
|
+
"original": "number",
|
|
50077
|
+
"resolved": "number",
|
|
50078
|
+
"references": {}
|
|
50079
|
+
},
|
|
50080
|
+
"mutable": true,
|
|
50081
|
+
"attr": "min",
|
|
50082
|
+
"reflectToAttr": false,
|
|
50083
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the breaks of the appropriate renderer.",
|
|
50084
|
+
"docsTags": [
|
|
50085
|
+
{
|
|
50086
|
+
"name": "example",
|
|
50087
|
+
"text": "```js\nconst updateRendererFromSlider = async () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"classBreakInfos\" in renderer) || !renderer.classBreakInfos?.[0]) {\n return;\n }\n renderer.classBreakInfos = (await classedSizeSlider.updateClassBreakInfos(renderer.classBreakInfos)) as any;\n featureLayer.renderer = renderer;\n};\n\nclassedSizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
50088
|
+
}
|
|
50089
|
+
],
|
|
50090
|
+
"values": [
|
|
50091
|
+
{
|
|
50092
|
+
"type": "number"
|
|
50093
|
+
}
|
|
50094
|
+
],
|
|
50095
|
+
"optional": true,
|
|
50096
|
+
"required": false
|
|
50097
|
+
},
|
|
50098
|
+
{
|
|
50099
|
+
"name": "precision",
|
|
50100
|
+
"type": "number",
|
|
50101
|
+
"complexType": {
|
|
50102
|
+
"original": "number",
|
|
50103
|
+
"resolved": "number",
|
|
50104
|
+
"references": {}
|
|
50105
|
+
},
|
|
50106
|
+
"mutable": true,
|
|
50107
|
+
"attr": "precision",
|
|
50108
|
+
"reflectToAttr": false,
|
|
50109
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
50110
|
+
"docsTags": [
|
|
50111
|
+
{
|
|
50112
|
+
"name": "example",
|
|
50113
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
50114
|
+
}
|
|
50115
|
+
],
|
|
50116
|
+
"default": "4",
|
|
50117
|
+
"values": [
|
|
50118
|
+
{
|
|
50119
|
+
"type": "number"
|
|
50120
|
+
}
|
|
50121
|
+
],
|
|
50122
|
+
"optional": true,
|
|
50123
|
+
"required": false
|
|
50124
|
+
},
|
|
50125
|
+
{
|
|
50126
|
+
"name": "referenceElement",
|
|
50127
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
50128
|
+
"complexType": {
|
|
50129
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
50130
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
50131
|
+
"references": {
|
|
50132
|
+
"HTMLArcgisLinkChartElement": {
|
|
50133
|
+
"location": "local",
|
|
50134
|
+
"path": "index.js",
|
|
50135
|
+
"id": "notImplemented"
|
|
50136
|
+
},
|
|
50137
|
+
"HTMLArcgisMapElement": {
|
|
50138
|
+
"location": "local",
|
|
50139
|
+
"path": "index.js",
|
|
50140
|
+
"id": "notImplemented"
|
|
50141
|
+
},
|
|
50142
|
+
"HTMLArcgisSceneElement": {
|
|
50143
|
+
"location": "local",
|
|
50144
|
+
"path": "index.js",
|
|
50145
|
+
"id": "notImplemented"
|
|
50146
|
+
}
|
|
50147
|
+
}
|
|
50148
|
+
},
|
|
50149
|
+
"mutable": true,
|
|
50150
|
+
"attr": "reference-element",
|
|
50151
|
+
"reflectToAttr": false,
|
|
50152
|
+
"docs": "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.",
|
|
50153
|
+
"docsTags": [
|
|
50154
|
+
{
|
|
50155
|
+
"name": "see",
|
|
50156
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
50157
|
+
}
|
|
50158
|
+
],
|
|
50159
|
+
"values": [
|
|
50160
|
+
{
|
|
50161
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
50162
|
+
},
|
|
50163
|
+
{
|
|
50164
|
+
"type": "HTMLArcgisMapElement"
|
|
50165
|
+
},
|
|
50166
|
+
{
|
|
50167
|
+
"type": "HTMLArcgisSceneElement"
|
|
50168
|
+
},
|
|
50169
|
+
{
|
|
50170
|
+
"type": "string"
|
|
50171
|
+
}
|
|
50172
|
+
],
|
|
50173
|
+
"optional": true,
|
|
50174
|
+
"required": false
|
|
50175
|
+
},
|
|
50176
|
+
{
|
|
50177
|
+
"name": "state",
|
|
50178
|
+
"type": "\"disabled\" | \"ready\"",
|
|
50179
|
+
"complexType": {
|
|
50180
|
+
"original": "\"disabled\" | \"ready\"",
|
|
50181
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
50182
|
+
"references": {}
|
|
50183
|
+
},
|
|
50184
|
+
"mutable": true,
|
|
50185
|
+
"attr": "state",
|
|
50186
|
+
"reflectToAttr": false,
|
|
50187
|
+
"docs": "The current state of the component.",
|
|
50188
|
+
"docsTags": [],
|
|
50189
|
+
"values": [
|
|
50190
|
+
{
|
|
50191
|
+
"type": "string",
|
|
50192
|
+
"value": "disabled"
|
|
50193
|
+
},
|
|
50194
|
+
{
|
|
50195
|
+
"type": "string",
|
|
50196
|
+
"value": "ready"
|
|
50197
|
+
}
|
|
50198
|
+
],
|
|
50199
|
+
"optional": true,
|
|
50200
|
+
"required": false
|
|
50201
|
+
}
|
|
50202
|
+
],
|
|
50203
|
+
"methods": [
|
|
50204
|
+
{
|
|
50205
|
+
"name": "componentOnReady",
|
|
50206
|
+
"returns": {
|
|
50207
|
+
"type": "Promise<this>",
|
|
50208
|
+
"docs": ""
|
|
50209
|
+
},
|
|
50210
|
+
"complexType": {
|
|
50211
|
+
"signature": "(): Promise<this>",
|
|
50212
|
+
"parameters": [],
|
|
50213
|
+
"return": "Promise<this>",
|
|
50214
|
+
"references": {
|
|
50215
|
+
"Promise": {
|
|
50216
|
+
"location": "import",
|
|
50217
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50218
|
+
"id": "notImplemented"
|
|
50219
|
+
}
|
|
50220
|
+
}
|
|
50221
|
+
},
|
|
50222
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
50223
|
+
"parameters": [],
|
|
50224
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
50225
|
+
"docsTags": [
|
|
50226
|
+
{
|
|
50227
|
+
"name": "example",
|
|
50228
|
+
"text": "```js\nconst arcgisSliderClassedSizeLegacy = document.querySelector(\"arcgis-slider-classed-size-legacy\");\ndocument.body.append(arcgisSliderClassedSizeLegacy);\nawait arcgisSliderClassedSizeLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-classed-size-legacy is ready to go!\");\n```"
|
|
50229
|
+
},
|
|
50230
|
+
{
|
|
50231
|
+
"name": "inheritedFrom",
|
|
50232
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
50233
|
+
}
|
|
50234
|
+
]
|
|
50235
|
+
},
|
|
50236
|
+
{
|
|
50237
|
+
"name": "destroy",
|
|
50238
|
+
"returns": {
|
|
50239
|
+
"type": "Promise<void>",
|
|
50240
|
+
"docs": ""
|
|
50241
|
+
},
|
|
50242
|
+
"complexType": {
|
|
50243
|
+
"signature": "(): Promise<void>",
|
|
50244
|
+
"parameters": [],
|
|
50245
|
+
"return": "Promise<void>",
|
|
50246
|
+
"references": {
|
|
50247
|
+
"Promise": {
|
|
50248
|
+
"location": "import",
|
|
50249
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50250
|
+
"id": "notImplemented"
|
|
50251
|
+
}
|
|
50252
|
+
}
|
|
50253
|
+
},
|
|
50254
|
+
"signature": "destroy(): Promise<void>",
|
|
50255
|
+
"parameters": [],
|
|
50256
|
+
"docs": "Permanently destroy the component.",
|
|
50257
|
+
"docsTags": []
|
|
50258
|
+
},
|
|
50259
|
+
{
|
|
50260
|
+
"name": "updateClassBreakInfos",
|
|
50261
|
+
"returns": {
|
|
50262
|
+
"type": "Promise<Array<ClassBreakInfo> | null | undefined>",
|
|
50263
|
+
"docs": "The updated classBreakInfos to set\non a ClassBreaksRenderer object."
|
|
50264
|
+
},
|
|
50265
|
+
"complexType": {
|
|
50266
|
+
"signature": "(breakInfos: ClassBreakInfo[]): Promise<ClassBreakInfo[] | nil>",
|
|
50267
|
+
"parameters": [
|
|
50268
|
+
{
|
|
50269
|
+
"name": "breakInfos",
|
|
50270
|
+
"type": "Array<ClassBreakInfo>",
|
|
50271
|
+
"docs": ""
|
|
50272
|
+
}
|
|
50273
|
+
],
|
|
50274
|
+
"return": "Promise<Array<ClassBreakInfo> | null | undefined>",
|
|
50275
|
+
"references": {
|
|
50276
|
+
"Promise": {
|
|
50277
|
+
"location": "import",
|
|
50278
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50279
|
+
"id": "notImplemented"
|
|
50280
|
+
},
|
|
50281
|
+
"Array": {
|
|
50282
|
+
"location": "import",
|
|
50283
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50284
|
+
"id": "notImplemented"
|
|
50285
|
+
},
|
|
50286
|
+
"ClassBreakInfo": {
|
|
50287
|
+
"location": "import",
|
|
50288
|
+
"path": "@arcgis/core/renderers/support/ClassBreakInfo.d.ts",
|
|
50289
|
+
"id": "notImplemented"
|
|
50290
|
+
}
|
|
50291
|
+
}
|
|
50292
|
+
},
|
|
50293
|
+
"signature": "updateClassBreakInfos(breakInfos: ClassBreakInfo[]): Promise<ClassBreakInfo[] | nil>",
|
|
50294
|
+
"parameters": [
|
|
50295
|
+
{
|
|
50296
|
+
"name": "breakInfos",
|
|
50297
|
+
"type": "Array<ClassBreakInfo>",
|
|
50298
|
+
"docs": ""
|
|
50299
|
+
}
|
|
50300
|
+
],
|
|
50301
|
+
"docs": "A convenience function used to update the\n[classBreakInfos](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html#classBreakInfos)\nof a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html) associated with this slider.\n\nThe number of breaks from the renderer must match the number of breaks in the slider.\nGenerally, the input breaks for this method should come from the same renderer as one\nused to create the slider with the [fromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedSizeSlider.html#fromRendererResult) method.",
|
|
50302
|
+
"docsTags": [
|
|
50303
|
+
{
|
|
50304
|
+
"name": "param",
|
|
50305
|
+
"text": "breakInfos - The classBreakInfos\nfrom a [ClassBreaksRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-ClassBreaksRenderer.html) instance to update based on\nthe properties of the slider."
|
|
50306
|
+
},
|
|
50307
|
+
{
|
|
50308
|
+
"name": "returns",
|
|
50309
|
+
"text": "The updated classBreakInfos to set\non a ClassBreaksRenderer object."
|
|
50310
|
+
},
|
|
50311
|
+
{
|
|
50312
|
+
"name": "example",
|
|
50313
|
+
"text": "```js\nconst renderer = featureLayer?.renderer?.clone();\nrenderer.classBreakInfos = (await classedSizeSlider.updateClassBreakInfos(renderer.classBreakInfos));\nfeatureLayer.renderer = renderer;\n```"
|
|
50314
|
+
}
|
|
50315
|
+
]
|
|
50316
|
+
},
|
|
50317
|
+
{
|
|
50318
|
+
"name": "updateFromRendererResult",
|
|
50319
|
+
"returns": {
|
|
50320
|
+
"type": "Promise<void>",
|
|
50321
|
+
"docs": ""
|
|
50322
|
+
},
|
|
50323
|
+
"complexType": {
|
|
50324
|
+
"signature": "(rendererResult: ClassBreaksRendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
50325
|
+
"parameters": [
|
|
50326
|
+
{
|
|
50327
|
+
"name": "rendererResult",
|
|
50328
|
+
"type": "ClassBreaksRendererResult",
|
|
50329
|
+
"docs": ""
|
|
50330
|
+
},
|
|
50331
|
+
{
|
|
50332
|
+
"name": "histogramResult",
|
|
50333
|
+
"type": "HistogramResult | undefined",
|
|
50334
|
+
"docs": ""
|
|
50335
|
+
}
|
|
50336
|
+
],
|
|
50337
|
+
"return": "Promise<void>",
|
|
50338
|
+
"references": {
|
|
50339
|
+
"Promise": {
|
|
50340
|
+
"location": "import",
|
|
50341
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50342
|
+
"id": "notImplemented"
|
|
50343
|
+
},
|
|
50344
|
+
"ClassBreaksRendererResult": {
|
|
50345
|
+
"location": "import",
|
|
50346
|
+
"path": "@arcgis/core/smartMapping/renderers/size.d.ts",
|
|
50347
|
+
"id": "notImplemented"
|
|
50348
|
+
},
|
|
50349
|
+
"HistogramResult": {
|
|
50350
|
+
"location": "import",
|
|
50351
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
50352
|
+
"id": "notImplemented"
|
|
50353
|
+
}
|
|
50354
|
+
}
|
|
50355
|
+
},
|
|
50356
|
+
"signature": "updateFromRendererResult(rendererResult: ClassBreaksRendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
50357
|
+
"parameters": [
|
|
50358
|
+
{
|
|
50359
|
+
"name": "rendererResult",
|
|
50360
|
+
"type": "ClassBreaksRendererResult",
|
|
50361
|
+
"docs": ""
|
|
50362
|
+
},
|
|
50363
|
+
{
|
|
50364
|
+
"name": "histogramResult",
|
|
50365
|
+
"type": "HistogramResult | undefined",
|
|
50366
|
+
"docs": ""
|
|
50367
|
+
}
|
|
50368
|
+
],
|
|
50369
|
+
"docs": "A convenience function used to update the properties a ClassedSizeSlider from the result\nof the [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createClassBreaksRenderer) method.\nThis method is used to configure an empty ClassedSizeSlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.\nNote that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
50370
|
+
"docsTags": [
|
|
50371
|
+
{
|
|
50372
|
+
"name": "param",
|
|
50373
|
+
"text": "rendererResult - The result object from the [createClassBreaksRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createClassBreaksRenderer)\nmethod."
|
|
50374
|
+
},
|
|
50375
|
+
{
|
|
50376
|
+
"name": "param",
|
|
50377
|
+
"text": "histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)\nmethod."
|
|
50378
|
+
},
|
|
50379
|
+
{
|
|
50380
|
+
"name": "example",
|
|
50381
|
+
"text": "```js\nconst rendererResult = await sizeRendererCreator.createClassBreaksRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait classedSizeSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```"
|
|
50382
|
+
}
|
|
50383
|
+
]
|
|
50384
|
+
}
|
|
50385
|
+
],
|
|
50386
|
+
"events": [
|
|
50387
|
+
{
|
|
50388
|
+
"event": "arcgisPropertyChange",
|
|
50389
|
+
"detail": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
50390
|
+
"bubbles": true,
|
|
50391
|
+
"complexType": {
|
|
50392
|
+
"original": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
50393
|
+
"resolved": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
50394
|
+
"references": {}
|
|
50395
|
+
},
|
|
50396
|
+
"cancelable": true,
|
|
50397
|
+
"composed": true,
|
|
50398
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
50399
|
+
"docsTags": []
|
|
50400
|
+
},
|
|
50401
|
+
{
|
|
50402
|
+
"event": "arcgisReady",
|
|
50403
|
+
"detail": "void",
|
|
50404
|
+
"bubbles": true,
|
|
50405
|
+
"complexType": {
|
|
50406
|
+
"original": "void",
|
|
50407
|
+
"resolved": "void",
|
|
50408
|
+
"references": {}
|
|
50409
|
+
},
|
|
50410
|
+
"cancelable": true,
|
|
50411
|
+
"composed": true,
|
|
50412
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
50413
|
+
"docsTags": []
|
|
50414
|
+
},
|
|
50415
|
+
{
|
|
50416
|
+
"event": "arcgisThumbChange",
|
|
50417
|
+
"detail": "ThumbChangeEvent",
|
|
50418
|
+
"bubbles": true,
|
|
50419
|
+
"complexType": {
|
|
50420
|
+
"original": "ThumbChangeEvent",
|
|
50421
|
+
"resolved": "ThumbChangeEvent",
|
|
50422
|
+
"references": {
|
|
50423
|
+
"ThumbChangeEvent": {
|
|
50424
|
+
"location": "import",
|
|
50425
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
50426
|
+
"id": "notImplemented"
|
|
50427
|
+
}
|
|
50428
|
+
}
|
|
50429
|
+
},
|
|
50430
|
+
"cancelable": true,
|
|
50431
|
+
"composed": true,
|
|
50432
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
50433
|
+
"docsTags": []
|
|
50434
|
+
},
|
|
50435
|
+
{
|
|
50436
|
+
"event": "arcgisThumbDrag",
|
|
50437
|
+
"detail": "ThumbDragEvent",
|
|
50438
|
+
"bubbles": true,
|
|
50439
|
+
"complexType": {
|
|
50440
|
+
"original": "ThumbDragEvent",
|
|
50441
|
+
"resolved": "ThumbDragEvent",
|
|
50442
|
+
"references": {
|
|
50443
|
+
"ThumbDragEvent": {
|
|
50444
|
+
"location": "import",
|
|
50445
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
50446
|
+
"id": "notImplemented"
|
|
50447
|
+
}
|
|
50448
|
+
}
|
|
50449
|
+
},
|
|
50450
|
+
"cancelable": true,
|
|
50451
|
+
"composed": true,
|
|
50452
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
50453
|
+
"docsTags": []
|
|
50454
|
+
}
|
|
50455
|
+
],
|
|
50456
|
+
"styles": [],
|
|
50457
|
+
"slots": [],
|
|
50458
|
+
"parts": [],
|
|
50459
|
+
"listeners": []
|
|
50460
|
+
},
|
|
50461
|
+
{
|
|
50462
|
+
"filePath": "src/components/slider-color-legacy/slider-color-legacy.tsx",
|
|
50463
|
+
"tag": "arcgis-slider-color-legacy",
|
|
50464
|
+
"overview": "",
|
|
50465
|
+
"readme": "",
|
|
50466
|
+
"usage": {},
|
|
50467
|
+
"docs": "The Color Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with a [ColorVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html).\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\nThe [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ColorSlider.html#fromRendererResult) method can be used to intelligently populate slider properties including\n[max](#max), [min](#min), the [color visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html) configuration,\nand the slider's histogram after the renderer has been created from the result of the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#createContinuousRenderer) method.\n\n```js\nconst colorRendererCreator = await import(\"@arcgis/core/smartMapping/renderers/color.js\");\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst colorSlider = document.querySelector(\"arcgis-slider-color\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Poverty_by_Age_Boundaries/FeatureServer/1\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params: ContinuousRendererParameters = {\n layer: featureLayer,\n field: \"B17020_calc_pctPovE\",\n view: viewElement.view,\n theme: \"above-and-below\",\n};\n\nconst rendererResult = await colorRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\ncolorSlider.updateFromRendererResult(rendererResult, histogramResult);\n```\n\nThis slider should be used to update a [color visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html)\nin a layer's renderer. It is the responsibility of the app developer\nto set up event listeners on this slider that update the color variable of the appropriate renderer.\n\n```js\ncolorSlider.updateFromRendererResult(rendererResult, histogramResult);\n\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const colorVariable = renderer.visualVariables[0].clone() as __esri.ColorVariable;\n colorVariable.stops = colorSlider.stops;\n\n renderer.visualVariables = [colorVariable];\n featureLayer.renderer = renderer;\n};\n\ncolorSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\ncolorSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
50468
|
+
"docsTags": [
|
|
50469
|
+
{
|
|
50470
|
+
"name": "since",
|
|
50471
|
+
"text": "5.0.0"
|
|
50472
|
+
},
|
|
50473
|
+
{
|
|
50474
|
+
"name": "see",
|
|
50475
|
+
"text": "[ColorSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ColorSlider-ColorSliderViewModel.html)"
|
|
50476
|
+
},
|
|
50477
|
+
{
|
|
50478
|
+
"name": "see",
|
|
50479
|
+
"text": "[colorRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html)"
|
|
50480
|
+
},
|
|
50481
|
+
{
|
|
50482
|
+
"name": "superclass",
|
|
50483
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
50484
|
+
}
|
|
50485
|
+
],
|
|
50486
|
+
"encapsulation": "shadow",
|
|
50487
|
+
"dependents": [],
|
|
50488
|
+
"dependencies": [],
|
|
50489
|
+
"dependencyGraph": {},
|
|
50490
|
+
"props": [
|
|
50491
|
+
{
|
|
50492
|
+
"name": "autoDestroyDisabled",
|
|
50493
|
+
"type": "boolean",
|
|
50494
|
+
"complexType": {
|
|
50495
|
+
"original": "boolean",
|
|
50496
|
+
"resolved": "boolean",
|
|
50497
|
+
"references": {}
|
|
50498
|
+
},
|
|
50499
|
+
"mutable": true,
|
|
50500
|
+
"attr": "auto-destroy-disabled",
|
|
50501
|
+
"reflectToAttr": false,
|
|
50502
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-color-legacy/#destroy) method when you are done to\nprevent memory leaks.",
|
|
50503
|
+
"docsTags": [],
|
|
50504
|
+
"default": "false",
|
|
50505
|
+
"values": [
|
|
50506
|
+
{
|
|
50507
|
+
"type": "boolean"
|
|
50508
|
+
}
|
|
50509
|
+
],
|
|
50510
|
+
"optional": true,
|
|
50511
|
+
"required": false
|
|
50512
|
+
},
|
|
50513
|
+
{
|
|
50514
|
+
"name": "icon",
|
|
50515
|
+
"type": "IconName",
|
|
50516
|
+
"complexType": {
|
|
50517
|
+
"original": "IconName",
|
|
50518
|
+
"resolved": "IconName",
|
|
50519
|
+
"references": {
|
|
50520
|
+
"IconName": {
|
|
50521
|
+
"location": "import",
|
|
50522
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
50523
|
+
"id": "notImplemented"
|
|
50524
|
+
}
|
|
50525
|
+
}
|
|
50526
|
+
},
|
|
50527
|
+
"mutable": true,
|
|
50528
|
+
"reflectToAttr": false,
|
|
50529
|
+
"docs": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).",
|
|
50530
|
+
"docsTags": [
|
|
50531
|
+
{
|
|
50532
|
+
"name": "see",
|
|
50533
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
50534
|
+
}
|
|
50535
|
+
],
|
|
50536
|
+
"values": [],
|
|
50537
|
+
"optional": true,
|
|
50538
|
+
"required": false
|
|
50539
|
+
},
|
|
50540
|
+
{
|
|
50541
|
+
"name": "max",
|
|
50542
|
+
"type": "number",
|
|
50543
|
+
"complexType": {
|
|
50544
|
+
"original": "number",
|
|
50545
|
+
"resolved": "number",
|
|
50546
|
+
"references": {}
|
|
50547
|
+
},
|
|
50548
|
+
"mutable": true,
|
|
50549
|
+
"attr": "max",
|
|
50550
|
+
"reflectToAttr": false,
|
|
50551
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the color variable of the appropriate renderer.",
|
|
50552
|
+
"docsTags": [
|
|
50553
|
+
{
|
|
50554
|
+
"name": "example",
|
|
50555
|
+
"text": "const updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const colorVariable = renderer.visualVariables[0].clone() as __esri.ColorVariable;\n colorVariable.stops = colorSlider.stops;\n\n renderer.visualVariables = [colorVariable];\n featureLayer.renderer = renderer;\n};\n\ncolorSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);"
|
|
50556
|
+
}
|
|
50557
|
+
],
|
|
50558
|
+
"values": [
|
|
50559
|
+
{
|
|
50560
|
+
"type": "number"
|
|
50561
|
+
}
|
|
50562
|
+
],
|
|
50563
|
+
"optional": true,
|
|
50564
|
+
"required": false
|
|
50565
|
+
},
|
|
50566
|
+
{
|
|
50567
|
+
"name": "min",
|
|
50568
|
+
"type": "number",
|
|
50569
|
+
"complexType": {
|
|
50570
|
+
"original": "number",
|
|
50571
|
+
"resolved": "number",
|
|
50572
|
+
"references": {}
|
|
50573
|
+
},
|
|
50574
|
+
"mutable": true,
|
|
50575
|
+
"attr": "min",
|
|
50576
|
+
"reflectToAttr": false,
|
|
50577
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the color variable of the appropriate renderer.",
|
|
50578
|
+
"docsTags": [
|
|
50579
|
+
{
|
|
50580
|
+
"name": "example",
|
|
50581
|
+
"text": "const updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const colorVariable = renderer.visualVariables[0].clone() as __esri.ColorVariable;\n colorVariable.stops = colorSlider.stops;\n\n renderer.visualVariables = [colorVariable];\n featureLayer.renderer = renderer;\n};\n\ncolorSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);"
|
|
50582
|
+
}
|
|
50583
|
+
],
|
|
50584
|
+
"values": [
|
|
50585
|
+
{
|
|
50586
|
+
"type": "number"
|
|
50587
|
+
}
|
|
50588
|
+
],
|
|
50589
|
+
"optional": true,
|
|
50590
|
+
"required": false
|
|
50591
|
+
},
|
|
50592
|
+
{
|
|
50593
|
+
"name": "precision",
|
|
50594
|
+
"type": "number",
|
|
50595
|
+
"complexType": {
|
|
50596
|
+
"original": "number",
|
|
50597
|
+
"resolved": "number",
|
|
50598
|
+
"references": {}
|
|
50599
|
+
},
|
|
50600
|
+
"mutable": true,
|
|
50601
|
+
"attr": "precision",
|
|
50602
|
+
"reflectToAttr": false,
|
|
50603
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
50604
|
+
"docsTags": [
|
|
50605
|
+
{
|
|
50606
|
+
"name": "example",
|
|
50607
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
50608
|
+
}
|
|
50609
|
+
],
|
|
50610
|
+
"default": "4",
|
|
50611
|
+
"values": [
|
|
50612
|
+
{
|
|
50613
|
+
"type": "number"
|
|
50614
|
+
}
|
|
50615
|
+
],
|
|
50616
|
+
"optional": true,
|
|
50617
|
+
"required": false
|
|
50618
|
+
},
|
|
50619
|
+
{
|
|
50620
|
+
"name": "referenceElement",
|
|
50621
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
50622
|
+
"complexType": {
|
|
50623
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
50624
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
50625
|
+
"references": {
|
|
50626
|
+
"HTMLArcgisLinkChartElement": {
|
|
50627
|
+
"location": "local",
|
|
50628
|
+
"path": "index.js",
|
|
50629
|
+
"id": "notImplemented"
|
|
50630
|
+
},
|
|
50631
|
+
"HTMLArcgisMapElement": {
|
|
50632
|
+
"location": "local",
|
|
50633
|
+
"path": "index.js",
|
|
50634
|
+
"id": "notImplemented"
|
|
50635
|
+
},
|
|
50636
|
+
"HTMLArcgisSceneElement": {
|
|
50637
|
+
"location": "local",
|
|
50638
|
+
"path": "index.js",
|
|
50639
|
+
"id": "notImplemented"
|
|
50640
|
+
}
|
|
50641
|
+
}
|
|
50642
|
+
},
|
|
50643
|
+
"mutable": true,
|
|
50644
|
+
"attr": "reference-element",
|
|
50645
|
+
"reflectToAttr": false,
|
|
50646
|
+
"docs": "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.",
|
|
50647
|
+
"docsTags": [
|
|
50648
|
+
{
|
|
50649
|
+
"name": "see",
|
|
50650
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
50651
|
+
}
|
|
50652
|
+
],
|
|
50653
|
+
"values": [
|
|
50654
|
+
{
|
|
50655
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
50656
|
+
},
|
|
50657
|
+
{
|
|
50658
|
+
"type": "HTMLArcgisMapElement"
|
|
50659
|
+
},
|
|
50660
|
+
{
|
|
50661
|
+
"type": "HTMLArcgisSceneElement"
|
|
50662
|
+
},
|
|
50663
|
+
{
|
|
50664
|
+
"type": "string"
|
|
50665
|
+
}
|
|
50666
|
+
],
|
|
50667
|
+
"optional": true,
|
|
50668
|
+
"required": false
|
|
50669
|
+
},
|
|
50670
|
+
{
|
|
50671
|
+
"name": "stops",
|
|
50672
|
+
"type": "Array<ColorStop>",
|
|
50673
|
+
"complexType": {
|
|
50674
|
+
"original": "Array<ColorStop>",
|
|
50675
|
+
"resolved": "Array<ColorStop>",
|
|
50676
|
+
"references": {
|
|
50677
|
+
"Array": {
|
|
50678
|
+
"location": "import",
|
|
50679
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50680
|
+
"id": "notImplemented"
|
|
50681
|
+
},
|
|
50682
|
+
"ColorStop": {
|
|
50683
|
+
"location": "import",
|
|
50684
|
+
"path": "@arcgis/core/renderers/visualVariables/support/ColorStop.d.ts",
|
|
50685
|
+
"id": "notImplemented"
|
|
50686
|
+
}
|
|
50687
|
+
}
|
|
50688
|
+
},
|
|
50689
|
+
"mutable": true,
|
|
50690
|
+
"reflectToAttr": false,
|
|
50691
|
+
"docs": "The color stops from the [ColorVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html)\nto link to the slider. The colors in these stops will be used\nto render the color gradient on the slider's track. They should match the colors\nrendered in the associated layer's renderer.",
|
|
50692
|
+
"docsTags": [
|
|
50693
|
+
{
|
|
50694
|
+
"name": "readonly",
|
|
50695
|
+
"text": ""
|
|
50696
|
+
}
|
|
50697
|
+
],
|
|
50698
|
+
"values": [],
|
|
50699
|
+
"optional": true,
|
|
50700
|
+
"required": false
|
|
50701
|
+
}
|
|
50702
|
+
],
|
|
50703
|
+
"methods": [
|
|
50704
|
+
{
|
|
50705
|
+
"name": "componentOnReady",
|
|
50706
|
+
"returns": {
|
|
50707
|
+
"type": "Promise<this>",
|
|
50708
|
+
"docs": ""
|
|
50709
|
+
},
|
|
50710
|
+
"complexType": {
|
|
50711
|
+
"signature": "(): Promise<this>",
|
|
50712
|
+
"parameters": [],
|
|
50713
|
+
"return": "Promise<this>",
|
|
50714
|
+
"references": {
|
|
50715
|
+
"Promise": {
|
|
50716
|
+
"location": "import",
|
|
50717
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50718
|
+
"id": "notImplemented"
|
|
50719
|
+
}
|
|
50720
|
+
}
|
|
50721
|
+
},
|
|
50722
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
50723
|
+
"parameters": [],
|
|
50724
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
50725
|
+
"docsTags": [
|
|
50726
|
+
{
|
|
50727
|
+
"name": "example",
|
|
50728
|
+
"text": "```js\nconst arcgisSliderColorLegacy = document.querySelector(\"arcgis-slider-color-legacy\");\ndocument.body.append(arcgisSliderColorLegacy);\nawait arcgisSliderColorLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-color-legacy is ready to go!\");\n```"
|
|
50729
|
+
},
|
|
50730
|
+
{
|
|
50731
|
+
"name": "inheritedFrom",
|
|
50732
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
50733
|
+
}
|
|
50734
|
+
]
|
|
50735
|
+
},
|
|
50736
|
+
{
|
|
50737
|
+
"name": "destroy",
|
|
50738
|
+
"returns": {
|
|
50739
|
+
"type": "Promise<void>",
|
|
50740
|
+
"docs": ""
|
|
50741
|
+
},
|
|
50742
|
+
"complexType": {
|
|
50743
|
+
"signature": "(): Promise<void>",
|
|
50744
|
+
"parameters": [],
|
|
50745
|
+
"return": "Promise<void>",
|
|
50746
|
+
"references": {
|
|
50747
|
+
"Promise": {
|
|
50748
|
+
"location": "import",
|
|
50749
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
50750
|
+
"id": "notImplemented"
|
|
50751
|
+
}
|
|
50752
|
+
}
|
|
50753
|
+
},
|
|
50754
|
+
"signature": "destroy(): Promise<void>",
|
|
50755
|
+
"parameters": [],
|
|
50756
|
+
"docs": "Permanently destroy the component.",
|
|
50757
|
+
"docsTags": []
|
|
50758
|
+
},
|
|
50759
|
+
{
|
|
50760
|
+
"name": "updateFromRendererResult",
|
|
50761
|
+
"returns": {
|
|
50762
|
+
"type": "void",
|
|
50763
|
+
"docs": ""
|
|
50764
|
+
},
|
|
50765
|
+
"complexType": {
|
|
50766
|
+
"signature": "(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void",
|
|
50767
|
+
"parameters": [
|
|
50768
|
+
{
|
|
50769
|
+
"name": "rendererResult",
|
|
50770
|
+
"type": "ContinuousRendererResult",
|
|
50771
|
+
"docs": ""
|
|
50772
|
+
},
|
|
50773
|
+
{
|
|
50774
|
+
"name": "histogramResult",
|
|
50775
|
+
"type": "HistogramResult | undefined",
|
|
50776
|
+
"docs": ""
|
|
50777
|
+
}
|
|
50778
|
+
],
|
|
50779
|
+
"return": "void",
|
|
50780
|
+
"references": {
|
|
50781
|
+
"ContinuousRendererResult": {
|
|
50782
|
+
"location": "import",
|
|
50783
|
+
"path": "@arcgis/core/smartMapping/renderers/color.d.ts",
|
|
50784
|
+
"id": "notImplemented"
|
|
50785
|
+
},
|
|
50786
|
+
"HistogramResult": {
|
|
50787
|
+
"location": "import",
|
|
50788
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
50789
|
+
"id": "notImplemented"
|
|
50790
|
+
}
|
|
50791
|
+
}
|
|
50792
|
+
},
|
|
50793
|
+
"signature": "updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void",
|
|
50794
|
+
"parameters": [
|
|
50795
|
+
{
|
|
50796
|
+
"name": "rendererResult",
|
|
50797
|
+
"type": "ContinuousRendererResult",
|
|
50798
|
+
"docs": ""
|
|
50799
|
+
},
|
|
50800
|
+
{
|
|
50801
|
+
"name": "histogramResult",
|
|
50802
|
+
"type": "HistogramResult | undefined",
|
|
50803
|
+
"docs": ""
|
|
50804
|
+
}
|
|
50805
|
+
],
|
|
50806
|
+
"docs": "A convenience function used to update the properties of a ColorSlider component instance from the\n[result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#ContinuousRendererResult) of\nthe [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#createContinuousRenderer)\nmethod. This method is used to configure an empty ColorSlider to be used with the layer data, and is useful for cases when the app allows the end user to switch data variables.\nNote that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
50807
|
+
"docsTags": [
|
|
50808
|
+
{
|
|
50809
|
+
"name": "param",
|
|
50810
|
+
"text": "rendererResult - The result object from the [createContinuousRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-color.html#createContinuousRenderer)\nmethod."
|
|
50811
|
+
},
|
|
50812
|
+
{
|
|
50813
|
+
"name": "param",
|
|
50814
|
+
"text": "histogramResult - The result histogram object from the [histogram](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html)\nmethod."
|
|
50815
|
+
},
|
|
50816
|
+
{
|
|
50817
|
+
"name": "example",
|
|
50818
|
+
"text": "```js\nconst rendererResult = await colorRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\ncolorSlider.updateFromRendererResult(rendererResult, histogramResult);\n```"
|
|
50819
|
+
}
|
|
50820
|
+
]
|
|
50821
|
+
}
|
|
50822
|
+
],
|
|
50823
|
+
"events": [
|
|
50824
|
+
{
|
|
50825
|
+
"event": "arcgisPropertyChange",
|
|
50826
|
+
"detail": "{ name: \"max\" | \"min\" | \"precision\"; }",
|
|
50827
|
+
"bubbles": true,
|
|
50828
|
+
"complexType": {
|
|
50829
|
+
"original": "{ name: \"max\" | \"min\" | \"precision\"; }",
|
|
50830
|
+
"resolved": "{ name: \"max\" | \"min\" | \"precision\"; }",
|
|
50831
|
+
"references": {}
|
|
50832
|
+
},
|
|
50833
|
+
"cancelable": true,
|
|
50834
|
+
"composed": true,
|
|
50835
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
50836
|
+
"docsTags": []
|
|
50837
|
+
},
|
|
50838
|
+
{
|
|
50839
|
+
"event": "arcgisReady",
|
|
50840
|
+
"detail": "void",
|
|
50841
|
+
"bubbles": true,
|
|
50842
|
+
"complexType": {
|
|
50843
|
+
"original": "void",
|
|
50844
|
+
"resolved": "void",
|
|
50845
|
+
"references": {}
|
|
50846
|
+
},
|
|
50847
|
+
"cancelable": true,
|
|
50848
|
+
"composed": true,
|
|
50849
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
50850
|
+
"docsTags": []
|
|
50851
|
+
},
|
|
50852
|
+
{
|
|
50853
|
+
"event": "arcgisThumbChange",
|
|
50854
|
+
"detail": "ThumbChangeEvent",
|
|
50855
|
+
"bubbles": true,
|
|
50856
|
+
"complexType": {
|
|
50857
|
+
"original": "ThumbChangeEvent",
|
|
50858
|
+
"resolved": "ThumbChangeEvent",
|
|
50859
|
+
"references": {
|
|
50860
|
+
"ThumbChangeEvent": {
|
|
50861
|
+
"location": "import",
|
|
50862
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
50863
|
+
"id": "notImplemented"
|
|
50864
|
+
}
|
|
50865
|
+
}
|
|
50866
|
+
},
|
|
50867
|
+
"cancelable": true,
|
|
50868
|
+
"composed": true,
|
|
50869
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
50870
|
+
"docsTags": []
|
|
50871
|
+
},
|
|
50872
|
+
{
|
|
50873
|
+
"event": "arcgisThumbDrag",
|
|
50874
|
+
"detail": "ThumbDragEvent",
|
|
50875
|
+
"bubbles": true,
|
|
50876
|
+
"complexType": {
|
|
50877
|
+
"original": "ThumbDragEvent",
|
|
50878
|
+
"resolved": "ThumbDragEvent",
|
|
50879
|
+
"references": {
|
|
50880
|
+
"ThumbDragEvent": {
|
|
50881
|
+
"location": "import",
|
|
50882
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
50883
|
+
"id": "notImplemented"
|
|
50884
|
+
}
|
|
50885
|
+
}
|
|
50886
|
+
},
|
|
50887
|
+
"cancelable": true,
|
|
50888
|
+
"composed": true,
|
|
50889
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
50890
|
+
"docsTags": []
|
|
50891
|
+
}
|
|
50892
|
+
],
|
|
50893
|
+
"styles": [],
|
|
50894
|
+
"slots": [],
|
|
50895
|
+
"parts": [],
|
|
50896
|
+
"listeners": []
|
|
50897
|
+
},
|
|
50898
|
+
{
|
|
50899
|
+
"filePath": "src/components/slider-color-size-legacy/slider-color-size-legacy.tsx",
|
|
50900
|
+
"tag": "arcgis-slider-color-size-legacy",
|
|
50901
|
+
"overview": "",
|
|
50902
|
+
"readme": "",
|
|
50903
|
+
"usage": {},
|
|
50904
|
+
"docs": "The Color Size Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with a [ColorVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html) and\na [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html). Both visual variables should be used\nto visualize the same data variable.\n\nThis slider and visualization style is designed specifically for\n3D thematic visualizations where both size and color are used to visualize the same data variable in order\nto minimize confusion because of distortion in perception. For example, a visualization of extruded points\nmay be difficult to understand if two features of similar sizes (and therefore data values) are located\nfar apart from one another; the feature furthest from the [Camera](https://developers.arcgis.com/javascript/latest/api-reference/esri-Camera.html) will appear smaller than\nthe feature closer to the camera. The color variable can help the user understand that both features have similar values.\n\n\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\nThe [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ColorSizeSlider.html#fromRendererResult) method can be used to intelligently populate slider properties including\n[max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html) configuration,\n[color visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html) configuration, and the slider's histogram after the\nrenderer has been created from the result of the [createContinuousRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer) method.\n\n```js\nconst colorAndSizeRendererCreator = await import(\"@arcgis/core/smartMapping/renderers/univariateColorSize.js\");\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst colorSizeSlider = document.querySelector(\"arcgis-slider-color-size\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Poverty_by_Age_Boundaries/FeatureServer/1\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params = {\n layer: featureLayer,\n field: \"B17020_calc_pctPovE\",\n view: viewElement.view,\n};\n\nconst rendererResult = await colorAndSizeRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait colorSizeSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```\n\nThis slider should be used to update the matching [color](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-ColorVariable.html)\nand [size](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html) visual variables in a layer's renderer. It is the responsibility of the app developer\nto set up event listeners on this slider that update these variables in the appropriate renderer.\n\n```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n renderer.visualVariables = colorSizeSlider.updateVisualVariables(\n renderer.visualVariables as VisualVariable[],\n );\n featureLayer.renderer = renderer;\n};\n\ncolorSizeSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\ncolorSizeSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
50905
|
+
"docsTags": [
|
|
50906
|
+
{
|
|
50907
|
+
"name": "since",
|
|
50908
|
+
"text": "5.0.0"
|
|
50909
|
+
},
|
|
50910
|
+
{
|
|
50911
|
+
"name": "see",
|
|
50912
|
+
"text": "[ColorSizeSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ColorSizeSlider-ColorSizeSliderViewModel.html)"
|
|
50913
|
+
},
|
|
50914
|
+
{
|
|
50915
|
+
"name": "see",
|
|
50916
|
+
"text": "[univariateColorSizeRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html)"
|
|
50917
|
+
},
|
|
50918
|
+
{
|
|
50919
|
+
"name": "superclass",
|
|
50920
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
50921
|
+
}
|
|
50922
|
+
],
|
|
50923
|
+
"encapsulation": "shadow",
|
|
50924
|
+
"dependents": [],
|
|
50925
|
+
"dependencies": [],
|
|
50926
|
+
"dependencyGraph": {},
|
|
50927
|
+
"props": [
|
|
50928
|
+
{
|
|
50929
|
+
"name": "autoDestroyDisabled",
|
|
50930
|
+
"type": "boolean",
|
|
50931
|
+
"complexType": {
|
|
50932
|
+
"original": "boolean",
|
|
50933
|
+
"resolved": "boolean",
|
|
50934
|
+
"references": {}
|
|
50935
|
+
},
|
|
50936
|
+
"mutable": true,
|
|
50937
|
+
"attr": "auto-destroy-disabled",
|
|
50938
|
+
"reflectToAttr": false,
|
|
50939
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-color-size-legacy/#destroy) method when you are done to\nprevent memory leaks.",
|
|
50940
|
+
"docsTags": [],
|
|
50941
|
+
"default": "false",
|
|
50942
|
+
"values": [
|
|
50943
|
+
{
|
|
50944
|
+
"type": "boolean"
|
|
50945
|
+
}
|
|
50946
|
+
],
|
|
50947
|
+
"optional": true,
|
|
50948
|
+
"required": false
|
|
50949
|
+
},
|
|
50950
|
+
{
|
|
50951
|
+
"name": "icon",
|
|
50952
|
+
"type": "IconName",
|
|
50953
|
+
"complexType": {
|
|
50954
|
+
"original": "IconName",
|
|
50955
|
+
"resolved": "IconName",
|
|
50956
|
+
"references": {
|
|
50957
|
+
"IconName": {
|
|
50958
|
+
"location": "import",
|
|
50959
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
50960
|
+
"id": "notImplemented"
|
|
50961
|
+
}
|
|
50962
|
+
}
|
|
50963
|
+
},
|
|
50964
|
+
"mutable": true,
|
|
50965
|
+
"reflectToAttr": false,
|
|
50966
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
50967
|
+
"docsTags": [
|
|
50968
|
+
{
|
|
50969
|
+
"name": "see",
|
|
50970
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
50971
|
+
}
|
|
50972
|
+
],
|
|
50973
|
+
"values": [],
|
|
50974
|
+
"optional": true,
|
|
50975
|
+
"required": false
|
|
50976
|
+
},
|
|
50977
|
+
{
|
|
50978
|
+
"name": "max",
|
|
50979
|
+
"type": "number",
|
|
50980
|
+
"complexType": {
|
|
50981
|
+
"original": "number",
|
|
50982
|
+
"resolved": "number",
|
|
50983
|
+
"references": {}
|
|
50984
|
+
},
|
|
50985
|
+
"mutable": true,
|
|
50986
|
+
"attr": "max",
|
|
50987
|
+
"reflectToAttr": false,
|
|
50988
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the color and size variables of the appropriate renderer.",
|
|
50989
|
+
"docsTags": [
|
|
50990
|
+
{
|
|
50991
|
+
"name": "example",
|
|
50992
|
+
"text": "```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n renderer.visualVariables = colorSizeSlider.updateVisualVariables(\n renderer.visualVariables as VisualVariable[],\n );\n featureLayer.renderer = renderer;\n};\n\ncolorSizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
50993
|
+
}
|
|
50994
|
+
],
|
|
50995
|
+
"values": [
|
|
50996
|
+
{
|
|
50997
|
+
"type": "number"
|
|
50998
|
+
}
|
|
50999
|
+
],
|
|
51000
|
+
"optional": true,
|
|
51001
|
+
"required": false
|
|
51002
|
+
},
|
|
51003
|
+
{
|
|
51004
|
+
"name": "min",
|
|
51005
|
+
"type": "number",
|
|
51006
|
+
"complexType": {
|
|
51007
|
+
"original": "number",
|
|
51008
|
+
"resolved": "number",
|
|
51009
|
+
"references": {}
|
|
51010
|
+
},
|
|
51011
|
+
"mutable": true,
|
|
51012
|
+
"attr": "min",
|
|
51013
|
+
"reflectToAttr": false,
|
|
51014
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the color and size variables of the appropriate renderer.",
|
|
51015
|
+
"docsTags": [
|
|
51016
|
+
{
|
|
51017
|
+
"name": "example",
|
|
51018
|
+
"text": "```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer?.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n renderer.visualVariables = colorSizeSlider.updateVisualVariables(\n renderer.visualVariables as VisualVariable[],\n );\n featureLayer.renderer = renderer;\n};\n\ncolorSizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);"
|
|
51019
|
+
}
|
|
51020
|
+
],
|
|
51021
|
+
"values": [
|
|
51022
|
+
{
|
|
51023
|
+
"type": "number"
|
|
51024
|
+
}
|
|
51025
|
+
],
|
|
51026
|
+
"optional": true,
|
|
51027
|
+
"required": false
|
|
51028
|
+
},
|
|
51029
|
+
{
|
|
51030
|
+
"name": "precision",
|
|
51031
|
+
"type": "number",
|
|
51032
|
+
"complexType": {
|
|
51033
|
+
"original": "number",
|
|
51034
|
+
"resolved": "number",
|
|
51035
|
+
"references": {}
|
|
51036
|
+
},
|
|
51037
|
+
"mutable": true,
|
|
51038
|
+
"attr": "precision",
|
|
51039
|
+
"reflectToAttr": false,
|
|
51040
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
51041
|
+
"docsTags": [
|
|
51042
|
+
{
|
|
51043
|
+
"name": "example",
|
|
51044
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
51045
|
+
}
|
|
51046
|
+
],
|
|
51047
|
+
"default": "4",
|
|
51048
|
+
"values": [
|
|
51049
|
+
{
|
|
51050
|
+
"type": "number"
|
|
51051
|
+
}
|
|
51052
|
+
],
|
|
51053
|
+
"optional": true,
|
|
51054
|
+
"required": false
|
|
51055
|
+
},
|
|
51056
|
+
{
|
|
51057
|
+
"name": "referenceElement",
|
|
51058
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51059
|
+
"complexType": {
|
|
51060
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51061
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51062
|
+
"references": {
|
|
51063
|
+
"HTMLArcgisLinkChartElement": {
|
|
51064
|
+
"location": "local",
|
|
51065
|
+
"path": "index.js",
|
|
51066
|
+
"id": "notImplemented"
|
|
51067
|
+
},
|
|
51068
|
+
"HTMLArcgisMapElement": {
|
|
51069
|
+
"location": "local",
|
|
51070
|
+
"path": "index.js",
|
|
51071
|
+
"id": "notImplemented"
|
|
51072
|
+
},
|
|
51073
|
+
"HTMLArcgisSceneElement": {
|
|
51074
|
+
"location": "local",
|
|
51075
|
+
"path": "index.js",
|
|
51076
|
+
"id": "notImplemented"
|
|
51077
|
+
}
|
|
51078
|
+
}
|
|
51079
|
+
},
|
|
51080
|
+
"mutable": true,
|
|
51081
|
+
"attr": "reference-element",
|
|
51082
|
+
"reflectToAttr": false,
|
|
51083
|
+
"docs": "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.",
|
|
51084
|
+
"docsTags": [
|
|
51085
|
+
{
|
|
51086
|
+
"name": "see",
|
|
51087
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
51088
|
+
}
|
|
51089
|
+
],
|
|
51090
|
+
"values": [
|
|
51091
|
+
{
|
|
51092
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
51093
|
+
},
|
|
51094
|
+
{
|
|
51095
|
+
"type": "HTMLArcgisMapElement"
|
|
51096
|
+
},
|
|
51097
|
+
{
|
|
51098
|
+
"type": "HTMLArcgisSceneElement"
|
|
51099
|
+
},
|
|
51100
|
+
{
|
|
51101
|
+
"type": "string"
|
|
51102
|
+
}
|
|
51103
|
+
],
|
|
51104
|
+
"optional": true,
|
|
51105
|
+
"required": false
|
|
51106
|
+
},
|
|
51107
|
+
{
|
|
51108
|
+
"name": "state",
|
|
51109
|
+
"type": "\"disabled\" | \"ready\"",
|
|
51110
|
+
"complexType": {
|
|
51111
|
+
"original": "\"disabled\" | \"ready\"",
|
|
51112
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
51113
|
+
"references": {}
|
|
51114
|
+
},
|
|
51115
|
+
"mutable": true,
|
|
51116
|
+
"attr": "state",
|
|
51117
|
+
"reflectToAttr": false,
|
|
51118
|
+
"docs": "The current state of the component.",
|
|
51119
|
+
"docsTags": [],
|
|
51120
|
+
"values": [
|
|
51121
|
+
{
|
|
51122
|
+
"type": "string",
|
|
51123
|
+
"value": "disabled"
|
|
51124
|
+
},
|
|
51125
|
+
{
|
|
51126
|
+
"type": "string",
|
|
51127
|
+
"value": "ready"
|
|
51128
|
+
}
|
|
51129
|
+
],
|
|
51130
|
+
"optional": true,
|
|
51131
|
+
"required": false
|
|
51132
|
+
}
|
|
51133
|
+
],
|
|
51134
|
+
"methods": [
|
|
51135
|
+
{
|
|
51136
|
+
"name": "componentOnReady",
|
|
51137
|
+
"returns": {
|
|
51138
|
+
"type": "Promise<this>",
|
|
51139
|
+
"docs": ""
|
|
51140
|
+
},
|
|
51141
|
+
"complexType": {
|
|
51142
|
+
"signature": "(): Promise<this>",
|
|
51143
|
+
"parameters": [],
|
|
51144
|
+
"return": "Promise<this>",
|
|
51145
|
+
"references": {
|
|
51146
|
+
"Promise": {
|
|
51147
|
+
"location": "import",
|
|
51148
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51149
|
+
"id": "notImplemented"
|
|
51150
|
+
}
|
|
51151
|
+
}
|
|
51152
|
+
},
|
|
51153
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
51154
|
+
"parameters": [],
|
|
51155
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
51156
|
+
"docsTags": [
|
|
51157
|
+
{
|
|
51158
|
+
"name": "example",
|
|
51159
|
+
"text": "```js\nconst arcgisSliderColorSizeLegacy = document.querySelector(\"arcgis-slider-color-size-legacy\");\ndocument.body.append(arcgisSliderColorSizeLegacy);\nawait arcgisSliderColorSizeLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-color-size-legacy is ready to go!\");\n```"
|
|
51160
|
+
},
|
|
51161
|
+
{
|
|
51162
|
+
"name": "inheritedFrom",
|
|
51163
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
51164
|
+
}
|
|
51165
|
+
]
|
|
51166
|
+
},
|
|
51167
|
+
{
|
|
51168
|
+
"name": "destroy",
|
|
51169
|
+
"returns": {
|
|
51170
|
+
"type": "Promise<void>",
|
|
51171
|
+
"docs": ""
|
|
51172
|
+
},
|
|
51173
|
+
"complexType": {
|
|
51174
|
+
"signature": "(): Promise<void>",
|
|
51175
|
+
"parameters": [],
|
|
51176
|
+
"return": "Promise<void>",
|
|
51177
|
+
"references": {
|
|
51178
|
+
"Promise": {
|
|
51179
|
+
"location": "import",
|
|
51180
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51181
|
+
"id": "notImplemented"
|
|
51182
|
+
}
|
|
51183
|
+
}
|
|
51184
|
+
},
|
|
51185
|
+
"signature": "destroy(): Promise<void>",
|
|
51186
|
+
"parameters": [],
|
|
51187
|
+
"docs": "Permanently destroy the component.",
|
|
51188
|
+
"docsTags": []
|
|
51189
|
+
},
|
|
51190
|
+
{
|
|
51191
|
+
"name": "updateFromRendererResult",
|
|
51192
|
+
"returns": {
|
|
51193
|
+
"type": "Promise<void>",
|
|
51194
|
+
"docs": ""
|
|
51195
|
+
},
|
|
51196
|
+
"complexType": {
|
|
51197
|
+
"signature": "(rendererResult: RendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
51198
|
+
"parameters": [
|
|
51199
|
+
{
|
|
51200
|
+
"name": "rendererResult",
|
|
51201
|
+
"type": "RendererResult",
|
|
51202
|
+
"docs": ""
|
|
51203
|
+
},
|
|
51204
|
+
{
|
|
51205
|
+
"name": "histogramResult",
|
|
51206
|
+
"type": "HistogramResult | undefined",
|
|
51207
|
+
"docs": ""
|
|
51208
|
+
}
|
|
51209
|
+
],
|
|
51210
|
+
"return": "Promise<void>",
|
|
51211
|
+
"references": {
|
|
51212
|
+
"Promise": {
|
|
51213
|
+
"location": "import",
|
|
51214
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51215
|
+
"id": "notImplemented"
|
|
51216
|
+
},
|
|
51217
|
+
"RendererResult": {
|
|
51218
|
+
"location": "import",
|
|
51219
|
+
"path": "@arcgis/core/smartMapping/renderers/univariateColorSize.d.ts",
|
|
51220
|
+
"id": "notImplemented"
|
|
51221
|
+
},
|
|
51222
|
+
"HistogramResult": {
|
|
51223
|
+
"location": "import",
|
|
51224
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
51225
|
+
"id": "notImplemented"
|
|
51226
|
+
}
|
|
51227
|
+
}
|
|
51228
|
+
},
|
|
51229
|
+
"signature": "updateFromRendererResult(rendererResult: RendererResult, histogramResult?: HistogramResult): Promise<void>",
|
|
51230
|
+
"parameters": [
|
|
51231
|
+
{
|
|
51232
|
+
"name": "rendererResult",
|
|
51233
|
+
"type": "RendererResult",
|
|
51234
|
+
"docs": ""
|
|
51235
|
+
},
|
|
51236
|
+
{
|
|
51237
|
+
"name": "histogramResult",
|
|
51238
|
+
"type": "HistogramResult | undefined",
|
|
51239
|
+
"docs": ""
|
|
51240
|
+
}
|
|
51241
|
+
],
|
|
51242
|
+
"docs": "A convenience function used to update the properties of a Slider Color Size component instance from the\n[result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#RendererResult) of\nthe [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer)\nmethod. Note that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
51243
|
+
"docsTags": [
|
|
51244
|
+
{
|
|
51245
|
+
"name": "param",
|
|
51246
|
+
"text": "rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer)\nmethod."
|
|
51247
|
+
},
|
|
51248
|
+
{
|
|
51249
|
+
"name": "param",
|
|
51250
|
+
"text": "histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)\nmethod."
|
|
51251
|
+
},
|
|
51252
|
+
{
|
|
51253
|
+
"name": "example",
|
|
51254
|
+
"text": "```js\nconst rendererResult = await colorAndSizeRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait colorSizeSlider?.updateFromRendererResult(rendererResult, histogramResult);\n```"
|
|
51255
|
+
}
|
|
51256
|
+
]
|
|
51257
|
+
},
|
|
51258
|
+
{
|
|
51259
|
+
"name": "updateVisualVariables",
|
|
51260
|
+
"returns": {
|
|
51261
|
+
"type": "Array<SizeVariable | ColorVariable>",
|
|
51262
|
+
"docs": "Returns the input visual variables updated to match the current slider values. These should be set directly\nback to the renderer where they came from."
|
|
51263
|
+
},
|
|
51264
|
+
"complexType": {
|
|
51265
|
+
"signature": "(variables: VisualVariable[]): VisualVariable[]",
|
|
51266
|
+
"parameters": [
|
|
51267
|
+
{
|
|
51268
|
+
"name": "variables",
|
|
51269
|
+
"type": "Array<SizeVariable | ColorVariable>",
|
|
51270
|
+
"docs": ""
|
|
51271
|
+
}
|
|
51272
|
+
],
|
|
51273
|
+
"return": "Array<SizeVariable | ColorVariable>",
|
|
51274
|
+
"references": {
|
|
51275
|
+
"Array": {
|
|
51276
|
+
"location": "import",
|
|
51277
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51278
|
+
"id": "notImplemented"
|
|
51279
|
+
},
|
|
51280
|
+
"SizeVariable": {
|
|
51281
|
+
"location": "import",
|
|
51282
|
+
"path": "@arcgis/core/renderers/visualVariables/SizeVariable.d.ts",
|
|
51283
|
+
"id": "notImplemented"
|
|
51284
|
+
},
|
|
51285
|
+
"ColorVariable": {
|
|
51286
|
+
"location": "import",
|
|
51287
|
+
"path": "@arcgis/core/renderers/visualVariables/ColorVariable.d.ts",
|
|
51288
|
+
"id": "notImplemented"
|
|
51289
|
+
}
|
|
51290
|
+
}
|
|
51291
|
+
},
|
|
51292
|
+
"signature": "updateVisualVariables(variables: VisualVariable[]): VisualVariable[]",
|
|
51293
|
+
"parameters": [
|
|
51294
|
+
{
|
|
51295
|
+
"name": "variables",
|
|
51296
|
+
"type": "Array<SizeVariable | ColorVariable>",
|
|
51297
|
+
"docs": ""
|
|
51298
|
+
}
|
|
51299
|
+
],
|
|
51300
|
+
"docs": "A convenience function used to update the visual variables of a renderer generated with the\n[createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-univariateColorSize.html#createContinuousRenderer)\nmethod with the values obtained from the slider. This method is useful for cases when the app allows the end user to switch data variables\nused to render the data.",
|
|
51301
|
+
"docsTags": [
|
|
51302
|
+
{
|
|
51303
|
+
"name": "param",
|
|
51304
|
+
"text": "variables - The visual variables to update from the renderer associated with the slider. The properties of the\ncolor and size variables will update based on the slider thumb values."
|
|
51305
|
+
},
|
|
51306
|
+
{
|
|
51307
|
+
"name": "returns",
|
|
51308
|
+
"text": "Returns the input visual variables updated to match the current slider values. These should be set directly\nback to the renderer where they came from."
|
|
51309
|
+
},
|
|
51310
|
+
{
|
|
51311
|
+
"name": "example",
|
|
51312
|
+
"text": "```js\nconst renderer = featureLayer?.renderer?.clone();\nrenderer.visualVariables = colorSizeSlider.updateVisualVariables(renderer.visualVariables as VisualVariable[]);\nfeatureLayer.renderer = renderer;\n```"
|
|
51313
|
+
}
|
|
51314
|
+
]
|
|
51315
|
+
}
|
|
51316
|
+
],
|
|
51317
|
+
"events": [
|
|
51318
|
+
{
|
|
51319
|
+
"event": "arcgisPropertyChange",
|
|
51320
|
+
"detail": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
51321
|
+
"bubbles": true,
|
|
51322
|
+
"complexType": {
|
|
51323
|
+
"original": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
51324
|
+
"resolved": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
51325
|
+
"references": {}
|
|
51326
|
+
},
|
|
51327
|
+
"cancelable": true,
|
|
51328
|
+
"composed": true,
|
|
51329
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
51330
|
+
"docsTags": []
|
|
51331
|
+
},
|
|
51332
|
+
{
|
|
51333
|
+
"event": "arcgisReady",
|
|
51334
|
+
"detail": "void",
|
|
51335
|
+
"bubbles": true,
|
|
51336
|
+
"complexType": {
|
|
51337
|
+
"original": "void",
|
|
51338
|
+
"resolved": "void",
|
|
51339
|
+
"references": {}
|
|
51340
|
+
},
|
|
51341
|
+
"cancelable": true,
|
|
51342
|
+
"composed": true,
|
|
51343
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
51344
|
+
"docsTags": []
|
|
51345
|
+
},
|
|
51346
|
+
{
|
|
51347
|
+
"event": "arcgisThumbChange",
|
|
51348
|
+
"detail": "ThumbChangeEvent",
|
|
51349
|
+
"bubbles": true,
|
|
51350
|
+
"complexType": {
|
|
51351
|
+
"original": "ThumbChangeEvent",
|
|
51352
|
+
"resolved": "ThumbChangeEvent",
|
|
51353
|
+
"references": {
|
|
51354
|
+
"ThumbChangeEvent": {
|
|
51355
|
+
"location": "import",
|
|
51356
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
51357
|
+
"id": "notImplemented"
|
|
51358
|
+
}
|
|
51359
|
+
}
|
|
51360
|
+
},
|
|
51361
|
+
"cancelable": true,
|
|
51362
|
+
"composed": true,
|
|
51363
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
51364
|
+
"docsTags": []
|
|
51365
|
+
},
|
|
51366
|
+
{
|
|
51367
|
+
"event": "arcgisThumbDrag",
|
|
51368
|
+
"detail": "ThumbDragEvent",
|
|
51369
|
+
"bubbles": true,
|
|
51370
|
+
"complexType": {
|
|
51371
|
+
"original": "ThumbDragEvent",
|
|
51372
|
+
"resolved": "ThumbDragEvent",
|
|
51373
|
+
"references": {
|
|
51374
|
+
"ThumbDragEvent": {
|
|
51375
|
+
"location": "import",
|
|
51376
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
51377
|
+
"id": "notImplemented"
|
|
51378
|
+
}
|
|
51379
|
+
}
|
|
51380
|
+
},
|
|
51381
|
+
"cancelable": true,
|
|
51382
|
+
"composed": true,
|
|
51383
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
51384
|
+
"docsTags": []
|
|
51385
|
+
}
|
|
51386
|
+
],
|
|
51387
|
+
"styles": [],
|
|
51388
|
+
"slots": [],
|
|
51389
|
+
"parts": [],
|
|
51390
|
+
"listeners": []
|
|
51391
|
+
},
|
|
51392
|
+
{
|
|
51393
|
+
"filePath": "src/components/slider-heatmap-legacy/slider-heatmap-legacy.tsx",
|
|
51394
|
+
"tag": "arcgis-slider-heatmap-legacy",
|
|
51395
|
+
"overview": "",
|
|
51396
|
+
"readme": "",
|
|
51397
|
+
"usage": {},
|
|
51398
|
+
"docs": "The Heatmap Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with a [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html).\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\n```js\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst heatmapSlider = document.querySelector(\"arcgis-slider-heatmap-legacy\")!;\n\nconst layer = new CSVLayer({\n url: \"https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_week.csv\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(layer);\n\nconst params = {\n layer,\n valueExpression: \"($feature.mag)\",\n view: viewElement.view,\n};\n\nconst rendererResult = await heatmapRendererCreator.createRenderer(params);\n\nlayer.renderer = rendererResult.renderer;\n\nheatmapSlider.stops = rendererResult.renderer.colorStops;\n```\n\nThis slider should be used to update the [colorStops](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html#colorStops)\nproperty in a HeatmapRenderer. It is the responsibility of the app developer\nto set up event listeners on this slider to update the renderer's colorStops based on how the [stops](#stops) property was recalculated.\n\n```js\nconst updateRendererFromSlider = () => {\n const renderer = layer.renderer?.clone();\n if (!renderer || !(\"colorStops\" in renderer)) {\n return;\n }\n renderer.colorStops = heatmapSlider.stops;\n layer.renderer = renderer;\n};\n\nheatmapSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\nheatmapSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
51399
|
+
"docsTags": [
|
|
51400
|
+
{
|
|
51401
|
+
"name": "since",
|
|
51402
|
+
"text": "5.0.0"
|
|
51403
|
+
},
|
|
51404
|
+
{
|
|
51405
|
+
"name": "see",
|
|
51406
|
+
"text": "[HeatmapSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-HeatmapSlider-HeatmapSliderViewModel.html)"
|
|
51407
|
+
},
|
|
51408
|
+
{
|
|
51409
|
+
"name": "see",
|
|
51410
|
+
"text": "[heatmapRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-heatmap.html)"
|
|
51411
|
+
},
|
|
51412
|
+
{
|
|
51413
|
+
"name": "superclass",
|
|
51414
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
51415
|
+
}
|
|
51416
|
+
],
|
|
51417
|
+
"encapsulation": "shadow",
|
|
51418
|
+
"dependents": [],
|
|
51419
|
+
"dependencies": [],
|
|
51420
|
+
"dependencyGraph": {},
|
|
51421
|
+
"props": [
|
|
51422
|
+
{
|
|
51423
|
+
"name": "autoDestroyDisabled",
|
|
51424
|
+
"type": "boolean",
|
|
51425
|
+
"complexType": {
|
|
51426
|
+
"original": "boolean",
|
|
51427
|
+
"resolved": "boolean",
|
|
51428
|
+
"references": {}
|
|
51429
|
+
},
|
|
51430
|
+
"mutable": true,
|
|
51431
|
+
"attr": "auto-destroy-disabled",
|
|
51432
|
+
"reflectToAttr": false,
|
|
51433
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slider-heatmap-legacy/#destroy) method when you are done to\nprevent memory leaks.",
|
|
51434
|
+
"docsTags": [],
|
|
51435
|
+
"default": "false",
|
|
51436
|
+
"values": [
|
|
51437
|
+
{
|
|
51438
|
+
"type": "boolean"
|
|
51439
|
+
}
|
|
51440
|
+
],
|
|
51441
|
+
"optional": true,
|
|
51442
|
+
"required": false
|
|
51443
|
+
},
|
|
51444
|
+
{
|
|
51445
|
+
"name": "icon",
|
|
51446
|
+
"type": "IconName",
|
|
51447
|
+
"complexType": {
|
|
51448
|
+
"original": "IconName",
|
|
51449
|
+
"resolved": "IconName",
|
|
51450
|
+
"references": {
|
|
51451
|
+
"IconName": {
|
|
51452
|
+
"location": "import",
|
|
51453
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
51454
|
+
"id": "notImplemented"
|
|
51455
|
+
}
|
|
51456
|
+
}
|
|
51457
|
+
},
|
|
51458
|
+
"mutable": true,
|
|
51459
|
+
"reflectToAttr": false,
|
|
51460
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
51461
|
+
"docsTags": [
|
|
51462
|
+
{
|
|
51463
|
+
"name": "see",
|
|
51464
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
51465
|
+
}
|
|
51466
|
+
],
|
|
51467
|
+
"values": [],
|
|
51468
|
+
"optional": true,
|
|
51469
|
+
"required": false
|
|
51470
|
+
},
|
|
51471
|
+
{
|
|
51472
|
+
"name": "max",
|
|
51473
|
+
"type": "number",
|
|
51474
|
+
"complexType": {
|
|
51475
|
+
"original": "number",
|
|
51476
|
+
"resolved": "number",
|
|
51477
|
+
"references": {}
|
|
51478
|
+
},
|
|
51479
|
+
"mutable": true,
|
|
51480
|
+
"reflectToAttr": false,
|
|
51481
|
+
"docs": "The maximum value or upper bound of the slider.",
|
|
51482
|
+
"docsTags": [
|
|
51483
|
+
{
|
|
51484
|
+
"name": "example",
|
|
51485
|
+
"text": "```js\nslider.max = 150;\n```"
|
|
51486
|
+
},
|
|
51487
|
+
{
|
|
51488
|
+
"name": "readonly",
|
|
51489
|
+
"text": ""
|
|
51490
|
+
}
|
|
51491
|
+
],
|
|
51492
|
+
"values": [
|
|
51493
|
+
{
|
|
51494
|
+
"type": "number"
|
|
51495
|
+
}
|
|
51496
|
+
],
|
|
51497
|
+
"optional": true,
|
|
51498
|
+
"required": false
|
|
51499
|
+
},
|
|
51500
|
+
{
|
|
51501
|
+
"name": "min",
|
|
51502
|
+
"type": "number",
|
|
51503
|
+
"complexType": {
|
|
51504
|
+
"original": "number",
|
|
51505
|
+
"resolved": "number",
|
|
51506
|
+
"references": {}
|
|
51507
|
+
},
|
|
51508
|
+
"mutable": true,
|
|
51509
|
+
"reflectToAttr": false,
|
|
51510
|
+
"docs": "The minimum value or lower bound of the slider.",
|
|
51511
|
+
"docsTags": [
|
|
51512
|
+
{
|
|
51513
|
+
"name": "example",
|
|
51514
|
+
"text": "```js\nslider.min = -150;\n```"
|
|
51515
|
+
},
|
|
51516
|
+
{
|
|
51517
|
+
"name": "readonly",
|
|
51518
|
+
"text": ""
|
|
51519
|
+
}
|
|
51520
|
+
],
|
|
51521
|
+
"values": [
|
|
51522
|
+
{
|
|
51523
|
+
"type": "number"
|
|
51524
|
+
}
|
|
51525
|
+
],
|
|
51526
|
+
"optional": true,
|
|
51527
|
+
"required": false
|
|
51528
|
+
},
|
|
51529
|
+
{
|
|
51530
|
+
"name": "precision",
|
|
51531
|
+
"type": "number",
|
|
51532
|
+
"complexType": {
|
|
51533
|
+
"original": "number",
|
|
51534
|
+
"resolved": "number",
|
|
51535
|
+
"references": {}
|
|
51536
|
+
},
|
|
51537
|
+
"mutable": true,
|
|
51538
|
+
"attr": "precision",
|
|
51539
|
+
"reflectToAttr": false,
|
|
51540
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
51541
|
+
"docsTags": [
|
|
51542
|
+
{
|
|
51543
|
+
"name": "example",
|
|
51544
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
51545
|
+
}
|
|
51546
|
+
],
|
|
51547
|
+
"default": "4",
|
|
51548
|
+
"values": [
|
|
51549
|
+
{
|
|
51550
|
+
"type": "number"
|
|
51551
|
+
}
|
|
51552
|
+
],
|
|
51553
|
+
"optional": true,
|
|
51554
|
+
"required": false
|
|
51555
|
+
},
|
|
51556
|
+
{
|
|
51557
|
+
"name": "referenceElement",
|
|
51558
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51559
|
+
"complexType": {
|
|
51560
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51561
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51562
|
+
"references": {
|
|
51563
|
+
"HTMLArcgisLinkChartElement": {
|
|
51564
|
+
"location": "local",
|
|
51565
|
+
"path": "index.js",
|
|
51566
|
+
"id": "notImplemented"
|
|
51567
|
+
},
|
|
51568
|
+
"HTMLArcgisMapElement": {
|
|
51569
|
+
"location": "local",
|
|
51570
|
+
"path": "index.js",
|
|
51571
|
+
"id": "notImplemented"
|
|
51572
|
+
},
|
|
51573
|
+
"HTMLArcgisSceneElement": {
|
|
51574
|
+
"location": "local",
|
|
51575
|
+
"path": "index.js",
|
|
51576
|
+
"id": "notImplemented"
|
|
51577
|
+
}
|
|
51578
|
+
}
|
|
51579
|
+
},
|
|
51580
|
+
"mutable": true,
|
|
51581
|
+
"attr": "reference-element",
|
|
51582
|
+
"reflectToAttr": false,
|
|
51583
|
+
"docs": "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.",
|
|
51584
|
+
"docsTags": [
|
|
51585
|
+
{
|
|
51586
|
+
"name": "see",
|
|
51587
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
51588
|
+
}
|
|
51589
|
+
],
|
|
51590
|
+
"values": [
|
|
51591
|
+
{
|
|
51592
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
51593
|
+
},
|
|
51594
|
+
{
|
|
51595
|
+
"type": "HTMLArcgisMapElement"
|
|
51596
|
+
},
|
|
51597
|
+
{
|
|
51598
|
+
"type": "HTMLArcgisSceneElement"
|
|
51599
|
+
},
|
|
51600
|
+
{
|
|
51601
|
+
"type": "string"
|
|
51602
|
+
}
|
|
51603
|
+
],
|
|
51604
|
+
"optional": true,
|
|
51605
|
+
"required": false
|
|
51606
|
+
},
|
|
51607
|
+
{
|
|
51608
|
+
"name": "state",
|
|
51609
|
+
"type": "\"disabled\" | \"ready\"",
|
|
51610
|
+
"complexType": {
|
|
51611
|
+
"original": "\"disabled\" | \"ready\"",
|
|
51612
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
51613
|
+
"references": {}
|
|
51614
|
+
},
|
|
51615
|
+
"mutable": true,
|
|
51616
|
+
"attr": "state",
|
|
51617
|
+
"reflectToAttr": false,
|
|
51618
|
+
"docs": "The current state of the component.",
|
|
51619
|
+
"docsTags": [],
|
|
51620
|
+
"values": [
|
|
51621
|
+
{
|
|
51622
|
+
"type": "string",
|
|
51623
|
+
"value": "disabled"
|
|
51624
|
+
},
|
|
51625
|
+
{
|
|
51626
|
+
"type": "string",
|
|
51627
|
+
"value": "ready"
|
|
51628
|
+
}
|
|
51629
|
+
],
|
|
51630
|
+
"optional": true,
|
|
51631
|
+
"required": false
|
|
51632
|
+
},
|
|
51633
|
+
{
|
|
51634
|
+
"name": "stops",
|
|
51635
|
+
"type": "Array<HeatmapColorStop>",
|
|
51636
|
+
"complexType": {
|
|
51637
|
+
"original": "Array<HeatmapColorStop>",
|
|
51638
|
+
"resolved": "Array<HeatmapColorStop>",
|
|
51639
|
+
"references": {
|
|
51640
|
+
"Array": {
|
|
51641
|
+
"location": "import",
|
|
51642
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51643
|
+
"id": "notImplemented"
|
|
51644
|
+
},
|
|
51645
|
+
"HeatmapColorStop": {
|
|
51646
|
+
"location": "import",
|
|
51647
|
+
"path": "@arcgis/core/renderers/support/HeatmapColorStop.d.ts",
|
|
51648
|
+
"id": "notImplemented"
|
|
51649
|
+
}
|
|
51650
|
+
}
|
|
51651
|
+
},
|
|
51652
|
+
"mutable": true,
|
|
51653
|
+
"reflectToAttr": false,
|
|
51654
|
+
"docs": "The color stops of the [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-HeatmapRenderer.html) to associate with the slider.",
|
|
51655
|
+
"docsTags": [
|
|
51656
|
+
{
|
|
51657
|
+
"name": "example",
|
|
51658
|
+
"text": "```js\nslider.stops = [\n { color: \"rgba(63, 40, 102, 0)\", ratio: 0 },\n { color: \"#472b77\", ratio: 0.083 },\n { color: \"#4e2d87\", ratio: 0.166 },\n { color: \"#563098\", ratio: 0.249 },\n { color: \"#5d32a8\", ratio: 0.332 },\n { color: \"#6735be\", ratio: 0.415 },\n { color: \"#7139d4\", ratio: 0.498 },\n { color: \"#7b3ce9\", ratio: 0.581 },\n { color: \"#853fff\", ratio: 0.664 },\n { color: \"#a46fbf\", ratio: 0.747 },\n { color: \"#c29f80\", ratio: 0.83 },\n { color: \"#e0cf40\", ratio: 0.913 },\n { color: \"#ffff00\", ratio: 1 }\n];"
|
|
51659
|
+
},
|
|
51660
|
+
{
|
|
51661
|
+
"name": "example",
|
|
51662
|
+
"text": "slider.stops = rendererResult.renderer.colorStops;\n```"
|
|
51663
|
+
}
|
|
51664
|
+
],
|
|
51665
|
+
"values": [],
|
|
51666
|
+
"optional": true,
|
|
51667
|
+
"required": false
|
|
51668
|
+
}
|
|
51669
|
+
],
|
|
51670
|
+
"methods": [
|
|
51671
|
+
{
|
|
51672
|
+
"name": "componentOnReady",
|
|
51673
|
+
"returns": {
|
|
51674
|
+
"type": "Promise<this>",
|
|
51675
|
+
"docs": ""
|
|
51676
|
+
},
|
|
51677
|
+
"complexType": {
|
|
51678
|
+
"signature": "(): Promise<this>",
|
|
51679
|
+
"parameters": [],
|
|
51680
|
+
"return": "Promise<this>",
|
|
51681
|
+
"references": {
|
|
51682
|
+
"Promise": {
|
|
51683
|
+
"location": "import",
|
|
51684
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51685
|
+
"id": "notImplemented"
|
|
51686
|
+
}
|
|
51687
|
+
}
|
|
51688
|
+
},
|
|
51689
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
51690
|
+
"parameters": [],
|
|
51691
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
51692
|
+
"docsTags": [
|
|
51693
|
+
{
|
|
51694
|
+
"name": "example",
|
|
51695
|
+
"text": "```js\nconst arcgisSliderHeatmapLegacy = document.querySelector(\"arcgis-slider-heatmap-legacy\");\ndocument.body.append(arcgisSliderHeatmapLegacy);\nawait arcgisSliderHeatmapLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-heatmap-legacy is ready to go!\");\n```"
|
|
51696
|
+
},
|
|
51697
|
+
{
|
|
51698
|
+
"name": "inheritedFrom",
|
|
51699
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
51700
|
+
}
|
|
51701
|
+
]
|
|
51702
|
+
},
|
|
51703
|
+
{
|
|
51704
|
+
"name": "destroy",
|
|
51705
|
+
"returns": {
|
|
51706
|
+
"type": "Promise<void>",
|
|
51707
|
+
"docs": ""
|
|
51708
|
+
},
|
|
51709
|
+
"complexType": {
|
|
51710
|
+
"signature": "(): Promise<void>",
|
|
51711
|
+
"parameters": [],
|
|
51712
|
+
"return": "Promise<void>",
|
|
51713
|
+
"references": {
|
|
51714
|
+
"Promise": {
|
|
51715
|
+
"location": "import",
|
|
51716
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
51717
|
+
"id": "notImplemented"
|
|
51718
|
+
}
|
|
51719
|
+
}
|
|
51720
|
+
},
|
|
51721
|
+
"signature": "destroy(): Promise<void>",
|
|
51722
|
+
"parameters": [],
|
|
51723
|
+
"docs": "Permanently destroy the component.",
|
|
51724
|
+
"docsTags": []
|
|
51725
|
+
}
|
|
51726
|
+
],
|
|
51727
|
+
"events": [
|
|
51728
|
+
{
|
|
51729
|
+
"event": "arcgisPropertyChange",
|
|
51730
|
+
"detail": "{ name: \"state\" | \"precision\"; }",
|
|
51731
|
+
"bubbles": true,
|
|
51732
|
+
"complexType": {
|
|
51733
|
+
"original": "{ name: \"state\" | \"precision\"; }",
|
|
51734
|
+
"resolved": "{ name: \"state\" | \"precision\"; }",
|
|
51735
|
+
"references": {}
|
|
51736
|
+
},
|
|
51737
|
+
"cancelable": true,
|
|
51738
|
+
"composed": true,
|
|
51739
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
51740
|
+
"docsTags": []
|
|
51741
|
+
},
|
|
51742
|
+
{
|
|
51743
|
+
"event": "arcgisReady",
|
|
51744
|
+
"detail": "void",
|
|
51745
|
+
"bubbles": true,
|
|
51746
|
+
"complexType": {
|
|
51747
|
+
"original": "void",
|
|
51748
|
+
"resolved": "void",
|
|
51749
|
+
"references": {}
|
|
51750
|
+
},
|
|
51751
|
+
"cancelable": true,
|
|
51752
|
+
"composed": true,
|
|
51753
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
51754
|
+
"docsTags": []
|
|
51755
|
+
},
|
|
51756
|
+
{
|
|
51757
|
+
"event": "arcgisThumbChange",
|
|
51758
|
+
"detail": "ThumbChangeEvent",
|
|
51759
|
+
"bubbles": true,
|
|
51760
|
+
"complexType": {
|
|
51761
|
+
"original": "ThumbChangeEvent",
|
|
51762
|
+
"resolved": "ThumbChangeEvent",
|
|
51763
|
+
"references": {
|
|
51764
|
+
"ThumbChangeEvent": {
|
|
51765
|
+
"location": "import",
|
|
51766
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
51767
|
+
"id": "notImplemented"
|
|
51768
|
+
}
|
|
51769
|
+
}
|
|
51770
|
+
},
|
|
51771
|
+
"cancelable": true,
|
|
51772
|
+
"composed": true,
|
|
51773
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
51774
|
+
"docsTags": []
|
|
51775
|
+
},
|
|
51776
|
+
{
|
|
51777
|
+
"event": "arcgisThumbDrag",
|
|
51778
|
+
"detail": "ThumbDragEvent",
|
|
51779
|
+
"bubbles": true,
|
|
51780
|
+
"complexType": {
|
|
51781
|
+
"original": "ThumbDragEvent",
|
|
51782
|
+
"resolved": "ThumbDragEvent",
|
|
51783
|
+
"references": {
|
|
51784
|
+
"ThumbDragEvent": {
|
|
51785
|
+
"location": "import",
|
|
51786
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
51787
|
+
"id": "notImplemented"
|
|
51788
|
+
}
|
|
51789
|
+
}
|
|
51790
|
+
},
|
|
51791
|
+
"cancelable": true,
|
|
51792
|
+
"composed": true,
|
|
51793
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
51794
|
+
"docsTags": []
|
|
51795
|
+
}
|
|
51796
|
+
],
|
|
51797
|
+
"styles": [],
|
|
51798
|
+
"slots": [],
|
|
51799
|
+
"parts": [],
|
|
51800
|
+
"listeners": []
|
|
51801
|
+
},
|
|
51802
|
+
{
|
|
51803
|
+
"filePath": "src/components/slider-opacity-legacy/slider-opacity-legacy.tsx",
|
|
51804
|
+
"tag": "arcgis-slider-opacity-legacy",
|
|
51805
|
+
"overview": "",
|
|
51806
|
+
"readme": "",
|
|
51807
|
+
"usage": {},
|
|
51808
|
+
"docs": "The Opacity Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with an [OpacityVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html).\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\nThe [updateFromVisualVariableResult()](#updateFromVisualVariableResult()) method can be used to intelligently populate slider properties including [max](#max), [min](#min),\nthe [opacity visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html) configuration,\nand the slider's histogram after the renderer has been created from the result of the\n[createVisualVariable()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#createVisualVariable) method.\n\n```js\nconst opacityVariableCreator = await import(\"@arcgis/core/smartMapping/renderers/opacity.js\");\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst opacitySlider = document.querySelector(\"arcgis-slider-opacity\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Census_2020_DHC_Total_Population/FeatureServer/2\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params = {\n layer: featureLayer,\n view: viewElement.view,\n field: \"P002_calc_pct0002\",\n};\n\nconst variableResult = await opacityVariableCreator.createVisualVariable(params);\n\nif (featureLayer.renderer && \"visualVariables\" in featureLayer.renderer) {\n featureLayer.renderer.visualVariables = [variableResult.visualVariable];\n}\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait opacitySlider.updateFromVisualVariableResult(variableResult, histogramResult);\n```\n\nThis slider should be used to update an [opacity visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html)\nin a layer's renderer. It is the responsibility of the app developer\nto set up event listeners on this slider to update the opacity variable of the appropriate renderer.\n\n```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const visualVariable = renderer.visualVariables[0];\n if (visualVariable.type !== \"opacity\") {\n return;\n }\n\n const opacityVariable = visualVariable.clone();\n opacityVariable.stops = opacitySlider.stops;\n renderer.visualVariables = [opacityVariable];\n featureLayer.renderer = renderer;\n};\n\nopacitySlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\nopacitySlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
51809
|
+
"docsTags": [
|
|
51810
|
+
{
|
|
51811
|
+
"name": "since",
|
|
51812
|
+
"text": "5.0.0"
|
|
51813
|
+
},
|
|
51814
|
+
{
|
|
51815
|
+
"name": "see",
|
|
51816
|
+
"text": "[OpacitySliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-OpacitySlider-OpacitySliderViewModel.html)"
|
|
51817
|
+
},
|
|
51818
|
+
{
|
|
51819
|
+
"name": "see",
|
|
51820
|
+
"text": "[opacityVariableCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html)"
|
|
51821
|
+
},
|
|
51822
|
+
{
|
|
51823
|
+
"name": "superclass",
|
|
51824
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
51825
|
+
}
|
|
51826
|
+
],
|
|
51827
|
+
"encapsulation": "shadow",
|
|
51828
|
+
"dependents": [],
|
|
51829
|
+
"dependencies": [],
|
|
51830
|
+
"dependencyGraph": {},
|
|
51831
|
+
"props": [
|
|
51832
|
+
{
|
|
51833
|
+
"name": "autoDestroyDisabled",
|
|
51834
|
+
"type": "boolean",
|
|
51835
|
+
"complexType": {
|
|
51836
|
+
"original": "boolean",
|
|
51837
|
+
"resolved": "boolean",
|
|
51838
|
+
"references": {}
|
|
51839
|
+
},
|
|
51840
|
+
"mutable": true,
|
|
51841
|
+
"attr": "auto-destroy-disabled",
|
|
51842
|
+
"reflectToAttr": false,
|
|
51843
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis 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\nprevent memory leaks.",
|
|
51844
|
+
"docsTags": [],
|
|
51845
|
+
"default": "false",
|
|
51846
|
+
"values": [
|
|
51847
|
+
{
|
|
51848
|
+
"type": "boolean"
|
|
51849
|
+
}
|
|
51850
|
+
],
|
|
51851
|
+
"optional": true,
|
|
51852
|
+
"required": false
|
|
51853
|
+
},
|
|
51854
|
+
{
|
|
51855
|
+
"name": "icon",
|
|
51856
|
+
"type": "IconName",
|
|
51857
|
+
"complexType": {
|
|
51858
|
+
"original": "IconName",
|
|
51859
|
+
"resolved": "IconName",
|
|
51860
|
+
"references": {
|
|
51861
|
+
"IconName": {
|
|
51862
|
+
"location": "import",
|
|
51863
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
51864
|
+
"id": "notImplemented"
|
|
51865
|
+
}
|
|
51866
|
+
}
|
|
51867
|
+
},
|
|
51868
|
+
"mutable": true,
|
|
51869
|
+
"reflectToAttr": false,
|
|
51870
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
51871
|
+
"docsTags": [
|
|
51872
|
+
{
|
|
51873
|
+
"name": "see",
|
|
51874
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
51875
|
+
}
|
|
51876
|
+
],
|
|
51877
|
+
"values": [],
|
|
51878
|
+
"optional": true,
|
|
51879
|
+
"required": false
|
|
51880
|
+
},
|
|
51881
|
+
{
|
|
51882
|
+
"name": "max",
|
|
51883
|
+
"type": "number",
|
|
51884
|
+
"complexType": {
|
|
51885
|
+
"original": "number",
|
|
51886
|
+
"resolved": "number",
|
|
51887
|
+
"references": {}
|
|
51888
|
+
},
|
|
51889
|
+
"mutable": true,
|
|
51890
|
+
"attr": "max",
|
|
51891
|
+
"reflectToAttr": false,
|
|
51892
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](#updateFromVisualVariableResult) method,\nthe 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\nto set up event listeners that update the opacity variable of the appropriate renderer.",
|
|
51893
|
+
"docsTags": [
|
|
51894
|
+
{
|
|
51895
|
+
"name": "example",
|
|
51896
|
+
"text": "```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const visualVariable = renderer.visualVariables[0];\n if (visualVariable.type !== \"opacity\") {\n return;\n }\n\n const opacityVariable = visualVariable.clone();\n opacityVariable.stops = opacitySlider.stops;\n renderer.visualVariables = [opacityVariable];\n featureLayer.renderer = renderer;\n};\n\nopacitySlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
51897
|
+
}
|
|
51898
|
+
],
|
|
51899
|
+
"values": [
|
|
51900
|
+
{
|
|
51901
|
+
"type": "number"
|
|
51902
|
+
}
|
|
51903
|
+
],
|
|
51904
|
+
"optional": true,
|
|
51905
|
+
"required": false
|
|
51906
|
+
},
|
|
51907
|
+
{
|
|
51908
|
+
"name": "min",
|
|
51909
|
+
"type": "number",
|
|
51910
|
+
"complexType": {
|
|
51911
|
+
"original": "number",
|
|
51912
|
+
"resolved": "number",
|
|
51913
|
+
"references": {}
|
|
51914
|
+
},
|
|
51915
|
+
"mutable": true,
|
|
51916
|
+
"attr": "min",
|
|
51917
|
+
"reflectToAttr": false,
|
|
51918
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](#updateFromVisualVariableResult) method,\nthe 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\nto set up event listeners that update the opacity variable of the appropriate renderer.",
|
|
51919
|
+
"docsTags": [
|
|
51920
|
+
{
|
|
51921
|
+
"name": "example",
|
|
51922
|
+
"text": "```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const visualVariable = renderer.visualVariables[0];\n if (visualVariable.type !== \"opacity\") {\n return;\n }\n\n const opacityVariable = visualVariable.clone();\n opacityVariable.stops = opacitySlider.stops;\n renderer.visualVariables = [opacityVariable];\n featureLayer.renderer = renderer;\n};\n\nopacitySlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
51923
|
+
}
|
|
51924
|
+
],
|
|
51925
|
+
"values": [
|
|
51926
|
+
{
|
|
51927
|
+
"type": "number"
|
|
51928
|
+
}
|
|
51929
|
+
],
|
|
51930
|
+
"optional": true,
|
|
51931
|
+
"required": false
|
|
51932
|
+
},
|
|
51933
|
+
{
|
|
51934
|
+
"name": "precision",
|
|
51935
|
+
"type": "number",
|
|
51936
|
+
"complexType": {
|
|
51937
|
+
"original": "number",
|
|
51938
|
+
"resolved": "number",
|
|
51939
|
+
"references": {}
|
|
51940
|
+
},
|
|
51941
|
+
"mutable": true,
|
|
51942
|
+
"attr": "precision",
|
|
51943
|
+
"reflectToAttr": false,
|
|
51944
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
51945
|
+
"docsTags": [
|
|
51946
|
+
{
|
|
51947
|
+
"name": "example",
|
|
51948
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
51949
|
+
}
|
|
51950
|
+
],
|
|
51951
|
+
"default": "4",
|
|
51952
|
+
"values": [
|
|
51953
|
+
{
|
|
51954
|
+
"type": "number"
|
|
51955
|
+
}
|
|
51956
|
+
],
|
|
51957
|
+
"optional": true,
|
|
51958
|
+
"required": false
|
|
51959
|
+
},
|
|
51960
|
+
{
|
|
51961
|
+
"name": "referenceElement",
|
|
51962
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51963
|
+
"complexType": {
|
|
51964
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51965
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
51966
|
+
"references": {
|
|
51967
|
+
"HTMLArcgisLinkChartElement": {
|
|
51968
|
+
"location": "local",
|
|
51969
|
+
"path": "index.js",
|
|
51970
|
+
"id": "notImplemented"
|
|
51971
|
+
},
|
|
51972
|
+
"HTMLArcgisMapElement": {
|
|
51973
|
+
"location": "local",
|
|
51974
|
+
"path": "index.js",
|
|
51975
|
+
"id": "notImplemented"
|
|
51976
|
+
},
|
|
51977
|
+
"HTMLArcgisSceneElement": {
|
|
51978
|
+
"location": "local",
|
|
51979
|
+
"path": "index.js",
|
|
51980
|
+
"id": "notImplemented"
|
|
51981
|
+
}
|
|
51982
|
+
}
|
|
51983
|
+
},
|
|
51984
|
+
"mutable": true,
|
|
51985
|
+
"attr": "reference-element",
|
|
51986
|
+
"reflectToAttr": false,
|
|
51987
|
+
"docs": "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.",
|
|
51988
|
+
"docsTags": [
|
|
51989
|
+
{
|
|
51990
|
+
"name": "see",
|
|
51991
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
51992
|
+
}
|
|
51993
|
+
],
|
|
51994
|
+
"values": [
|
|
51995
|
+
{
|
|
51996
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
51997
|
+
},
|
|
51998
|
+
{
|
|
51999
|
+
"type": "HTMLArcgisMapElement"
|
|
52000
|
+
},
|
|
52001
|
+
{
|
|
52002
|
+
"type": "HTMLArcgisSceneElement"
|
|
52003
|
+
},
|
|
52004
|
+
{
|
|
52005
|
+
"type": "string"
|
|
52006
|
+
}
|
|
52007
|
+
],
|
|
52008
|
+
"optional": true,
|
|
52009
|
+
"required": false
|
|
52010
|
+
},
|
|
52011
|
+
{
|
|
52012
|
+
"name": "state",
|
|
52013
|
+
"type": "\"disabled\" | \"ready\"",
|
|
52014
|
+
"complexType": {
|
|
52015
|
+
"original": "\"disabled\" | \"ready\"",
|
|
52016
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
52017
|
+
"references": {}
|
|
52018
|
+
},
|
|
52019
|
+
"mutable": true,
|
|
52020
|
+
"attr": "state",
|
|
52021
|
+
"reflectToAttr": false,
|
|
52022
|
+
"docs": "The current state of the component.",
|
|
52023
|
+
"docsTags": [],
|
|
52024
|
+
"values": [
|
|
52025
|
+
{
|
|
52026
|
+
"type": "string",
|
|
52027
|
+
"value": "disabled"
|
|
52028
|
+
},
|
|
52029
|
+
{
|
|
52030
|
+
"type": "string",
|
|
52031
|
+
"value": "ready"
|
|
52032
|
+
}
|
|
52033
|
+
],
|
|
52034
|
+
"optional": true,
|
|
52035
|
+
"required": false
|
|
52036
|
+
},
|
|
52037
|
+
{
|
|
52038
|
+
"name": "stops",
|
|
52039
|
+
"type": "Array<OpacityStop>",
|
|
52040
|
+
"complexType": {
|
|
52041
|
+
"original": "Array<OpacityStop>",
|
|
52042
|
+
"resolved": "Array<OpacityStop>",
|
|
52043
|
+
"references": {
|
|
52044
|
+
"Array": {
|
|
52045
|
+
"location": "import",
|
|
52046
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
52047
|
+
"id": "notImplemented"
|
|
52048
|
+
},
|
|
52049
|
+
"OpacityStop": {
|
|
52050
|
+
"location": "import",
|
|
52051
|
+
"path": "@arcgis/core/renderers/visualVariables/support/OpacityStop.d.ts",
|
|
52052
|
+
"id": "notImplemented"
|
|
52053
|
+
}
|
|
52054
|
+
}
|
|
52055
|
+
},
|
|
52056
|
+
"mutable": true,
|
|
52057
|
+
"reflectToAttr": false,
|
|
52058
|
+
"docs": "The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-OpacityVariable.html)\nto link to the slider. The opacity values in these stops will be used\nto render the gradient on the slider. They should match the opacity\nrendered in the associated layer's opacity visual variable.",
|
|
52059
|
+
"docsTags": [
|
|
52060
|
+
{
|
|
52061
|
+
"name": "readonly",
|
|
52062
|
+
"text": ""
|
|
52063
|
+
}
|
|
52064
|
+
],
|
|
52065
|
+
"values": [],
|
|
52066
|
+
"optional": true,
|
|
52067
|
+
"required": false
|
|
52068
|
+
}
|
|
52069
|
+
],
|
|
52070
|
+
"methods": [
|
|
52071
|
+
{
|
|
52072
|
+
"name": "componentOnReady",
|
|
52073
|
+
"returns": {
|
|
52074
|
+
"type": "Promise<this>",
|
|
52075
|
+
"docs": ""
|
|
52076
|
+
},
|
|
52077
|
+
"complexType": {
|
|
52078
|
+
"signature": "(): Promise<this>",
|
|
52079
|
+
"parameters": [],
|
|
52080
|
+
"return": "Promise<this>",
|
|
52081
|
+
"references": {
|
|
52082
|
+
"Promise": {
|
|
52083
|
+
"location": "import",
|
|
52084
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
52085
|
+
"id": "notImplemented"
|
|
52086
|
+
}
|
|
52087
|
+
}
|
|
52088
|
+
},
|
|
52089
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
52090
|
+
"parameters": [],
|
|
52091
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
52092
|
+
"docsTags": [
|
|
52093
|
+
{
|
|
52094
|
+
"name": "example",
|
|
52095
|
+
"text": "```js\nconst arcgisSliderOpacityLegacy = document.querySelector(\"arcgis-slider-opacity-legacy\");\ndocument.body.append(arcgisSliderOpacityLegacy);\nawait arcgisSliderOpacityLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-opacity-legacy is ready to go!\");\n```"
|
|
52096
|
+
},
|
|
52097
|
+
{
|
|
52098
|
+
"name": "inheritedFrom",
|
|
52099
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
52100
|
+
}
|
|
52101
|
+
]
|
|
52102
|
+
},
|
|
52103
|
+
{
|
|
52104
|
+
"name": "destroy",
|
|
52105
|
+
"returns": {
|
|
52106
|
+
"type": "Promise<void>",
|
|
52107
|
+
"docs": ""
|
|
52108
|
+
},
|
|
52109
|
+
"complexType": {
|
|
52110
|
+
"signature": "(): Promise<void>",
|
|
52111
|
+
"parameters": [],
|
|
52112
|
+
"return": "Promise<void>",
|
|
52113
|
+
"references": {
|
|
52114
|
+
"Promise": {
|
|
52115
|
+
"location": "import",
|
|
52116
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
52117
|
+
"id": "notImplemented"
|
|
52118
|
+
}
|
|
52119
|
+
}
|
|
52120
|
+
},
|
|
52121
|
+
"signature": "destroy(): Promise<void>",
|
|
52122
|
+
"parameters": [],
|
|
52123
|
+
"docs": "Permanently destroy the component.",
|
|
52124
|
+
"docsTags": []
|
|
52125
|
+
},
|
|
52126
|
+
{
|
|
52127
|
+
"name": "updateFromVisualVariableResult",
|
|
52128
|
+
"returns": {
|
|
52129
|
+
"type": "Promise<void>",
|
|
52130
|
+
"docs": ""
|
|
52131
|
+
},
|
|
52132
|
+
"complexType": {
|
|
52133
|
+
"signature": "(visualVariable: VisualVariableResult, histogramResult?: HistogramResult): Promise<void>",
|
|
52134
|
+
"parameters": [
|
|
52135
|
+
{
|
|
52136
|
+
"name": "visualVariable",
|
|
52137
|
+
"type": "VisualVariableResult",
|
|
52138
|
+
"docs": ""
|
|
52139
|
+
},
|
|
52140
|
+
{
|
|
52141
|
+
"name": "histogramResult",
|
|
52142
|
+
"type": "HistogramResult | undefined",
|
|
52143
|
+
"docs": ""
|
|
52144
|
+
}
|
|
52145
|
+
],
|
|
52146
|
+
"return": "Promise<void>",
|
|
52147
|
+
"references": {
|
|
52148
|
+
"Promise": {
|
|
52149
|
+
"location": "import",
|
|
52150
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
52151
|
+
"id": "notImplemented"
|
|
52152
|
+
},
|
|
52153
|
+
"VisualVariableResult": {
|
|
52154
|
+
"location": "import",
|
|
52155
|
+
"path": "@arcgis/core/smartMapping/renderers/opacity.d.ts",
|
|
52156
|
+
"id": "notImplemented"
|
|
52157
|
+
},
|
|
52158
|
+
"HistogramResult": {
|
|
52159
|
+
"location": "import",
|
|
52160
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
52161
|
+
"id": "notImplemented"
|
|
52162
|
+
}
|
|
52163
|
+
}
|
|
52164
|
+
},
|
|
52165
|
+
"signature": "updateFromVisualVariableResult(visualVariable: VisualVariableResult, histogramResult?: HistogramResult): Promise<void>",
|
|
52166
|
+
"parameters": [
|
|
52167
|
+
{
|
|
52168
|
+
"name": "visualVariable",
|
|
52169
|
+
"type": "VisualVariableResult",
|
|
52170
|
+
"docs": ""
|
|
52171
|
+
},
|
|
52172
|
+
{
|
|
52173
|
+
"name": "histogramResult",
|
|
52174
|
+
"type": "HistogramResult | undefined",
|
|
52175
|
+
"docs": ""
|
|
52176
|
+
}
|
|
52177
|
+
],
|
|
52178
|
+
"docs": "A convenience function used to update the properties of an OpacitySlider component instance from the\n[result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#VisualVariableResult) of\nthe [createVisualVariable()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#createVisualVariable)\nmethod. 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.\nNote that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
52179
|
+
"docsTags": [
|
|
52180
|
+
{
|
|
52181
|
+
"name": "param",
|
|
52182
|
+
"text": "visualVariableResult - The result object from the [createVisualVariable()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-opacity.html#createVisualVariable)\nmethod."
|
|
52183
|
+
},
|
|
52184
|
+
{
|
|
52185
|
+
"name": "param",
|
|
52186
|
+
"text": "histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)\nmethod."
|
|
52187
|
+
},
|
|
52188
|
+
{
|
|
52189
|
+
"name": "example",
|
|
52190
|
+
"text": "```js\nconst opacityVariableCreator = await import(\"@arcgis/core/smartMapping/renderers/opacity.js\");\nconst variableResult = await opacityVariableCreator.createVisualVariable(params);\n\nif (featureLayer.renderer && \"visualVariables\" in featureLayer.renderer) {\n featureLayer.renderer.visualVariables = [variableResult.visualVariable];\n}\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nawait opacitySlider.updateFromVisualVariableResult(variableResult, histogramResult);\n```"
|
|
52191
|
+
}
|
|
52192
|
+
]
|
|
52193
|
+
}
|
|
52194
|
+
],
|
|
52195
|
+
"events": [
|
|
52196
|
+
{
|
|
52197
|
+
"event": "arcgisPropertyChange",
|
|
52198
|
+
"detail": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
52199
|
+
"bubbles": true,
|
|
52200
|
+
"complexType": {
|
|
52201
|
+
"original": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
52202
|
+
"resolved": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
52203
|
+
"references": {}
|
|
52204
|
+
},
|
|
52205
|
+
"cancelable": true,
|
|
52206
|
+
"composed": true,
|
|
52207
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
52208
|
+
"docsTags": []
|
|
52209
|
+
},
|
|
52210
|
+
{
|
|
52211
|
+
"event": "arcgisReady",
|
|
52212
|
+
"detail": "void",
|
|
52213
|
+
"bubbles": true,
|
|
52214
|
+
"complexType": {
|
|
52215
|
+
"original": "void",
|
|
52216
|
+
"resolved": "void",
|
|
52217
|
+
"references": {}
|
|
52218
|
+
},
|
|
52219
|
+
"cancelable": true,
|
|
52220
|
+
"composed": true,
|
|
52221
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
52222
|
+
"docsTags": []
|
|
52223
|
+
},
|
|
52224
|
+
{
|
|
52225
|
+
"event": "arcgisThumbChange",
|
|
52226
|
+
"detail": "ThumbChangeEvent",
|
|
52227
|
+
"bubbles": true,
|
|
52228
|
+
"complexType": {
|
|
52229
|
+
"original": "ThumbChangeEvent",
|
|
52230
|
+
"resolved": "ThumbChangeEvent",
|
|
52231
|
+
"references": {
|
|
52232
|
+
"ThumbChangeEvent": {
|
|
52233
|
+
"location": "import",
|
|
52234
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
52235
|
+
"id": "notImplemented"
|
|
52236
|
+
}
|
|
52237
|
+
}
|
|
52238
|
+
},
|
|
52239
|
+
"cancelable": true,
|
|
52240
|
+
"composed": true,
|
|
52241
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
52242
|
+
"docsTags": []
|
|
52243
|
+
},
|
|
52244
|
+
{
|
|
52245
|
+
"event": "arcgisThumbDrag",
|
|
52246
|
+
"detail": "ThumbDragEvent",
|
|
52247
|
+
"bubbles": true,
|
|
52248
|
+
"complexType": {
|
|
52249
|
+
"original": "ThumbDragEvent",
|
|
52250
|
+
"resolved": "ThumbDragEvent",
|
|
52251
|
+
"references": {
|
|
52252
|
+
"ThumbDragEvent": {
|
|
52253
|
+
"location": "import",
|
|
52254
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
52255
|
+
"id": "notImplemented"
|
|
52256
|
+
}
|
|
52257
|
+
}
|
|
52258
|
+
},
|
|
52259
|
+
"cancelable": true,
|
|
52260
|
+
"composed": true,
|
|
52261
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
52262
|
+
"docsTags": []
|
|
52263
|
+
}
|
|
52264
|
+
],
|
|
52265
|
+
"styles": [],
|
|
52266
|
+
"slots": [],
|
|
52267
|
+
"parts": [],
|
|
52268
|
+
"listeners": []
|
|
52269
|
+
},
|
|
52270
|
+
{
|
|
52271
|
+
"filePath": "src/components/slider-size-legacy/slider-size-legacy.tsx",
|
|
52272
|
+
"tag": "arcgis-slider-size-legacy",
|
|
52273
|
+
"overview": "",
|
|
52274
|
+
"readme": "",
|
|
52275
|
+
"usage": {},
|
|
52276
|
+
"docs": "The Size Slider (Legacy) component is intended for authoring and exploring data-driven visualizations in any\nlayer that can be rendered with a [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html).\n\n<span id=\"image-annotations\"></span>\nSee the image below for a summary of the configurable options available on this slider.\n\n\n\nThe [updateFromRendererResult()](#updateFromRendererResult) method can be used to intelligently populate slider properties including\n[max](#max), [min](#min), [size visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)\nintervals, and the slider's histogram after the renderer has been created from the result of the\n[createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createContinuousRenderer) method.\n\n```js\nconst sizeRendererCreator = await import(\"@arcgis/core/smartMapping/renderers/size.js\");\nconst viewElement = document.querySelector(\"arcgis-map\")!;\nconst sizeSlider = document.querySelector(\"arcgis-slider-size\")!;\n\nconst featureLayer = new FeatureLayer({\n url: \"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Major_Cities_/FeatureServer/0\",\n});\n\nawait viewElement.viewOnReady();\nviewElement.map?.add(featureLayer);\n\nconst params = {\n layer: featureLayer,\n view: viewElement.view,\n field: \"POPULATION\",\n};\n\nconst rendererResult = await sizeRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nsizeSlider.updateFromRendererResult(rendererResult, histogramResult);\n```\n\nThis slider should be used to update a [size visual variable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)\nin a layer's renderer. It is the responsibility of the app developer\nto set up event listeners that update the size variable of the appropriate renderer.\n\n```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;\n const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);\n if (!updatedSizeVariable) {\n return;\n }\n\n renderer.visualVariables = [updatedSizeVariable];\n featureLayer.renderer = renderer;\n};\n\nsizeSlider.addEventListener(\"arcgisThumbChange\", updateRendererFromSlider);\nsizeSlider.addEventListener(\"arcgisThumbDrag\", updateRendererFromSlider);\n```",
|
|
52277
|
+
"docsTags": [
|
|
52278
|
+
{
|
|
52279
|
+
"name": "since",
|
|
52280
|
+
"text": "5.0.0"
|
|
52281
|
+
},
|
|
52282
|
+
{
|
|
52283
|
+
"name": "see",
|
|
52284
|
+
"text": "[SizeSliderViewModel](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SizeSlider-SizeSliderViewModel.html)"
|
|
52285
|
+
},
|
|
52286
|
+
{
|
|
52287
|
+
"name": "see",
|
|
52288
|
+
"text": "[sizeRendererCreator](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html)"
|
|
52289
|
+
},
|
|
52290
|
+
{
|
|
52291
|
+
"name": "superclass",
|
|
52292
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
52293
|
+
}
|
|
52294
|
+
],
|
|
52295
|
+
"encapsulation": "shadow",
|
|
52296
|
+
"dependents": [],
|
|
52297
|
+
"dependencies": [],
|
|
52298
|
+
"dependencyGraph": {},
|
|
52299
|
+
"props": [
|
|
52300
|
+
{
|
|
52301
|
+
"name": "autoDestroyDisabled",
|
|
52302
|
+
"type": "boolean",
|
|
52303
|
+
"complexType": {
|
|
52304
|
+
"original": "boolean",
|
|
52305
|
+
"resolved": "boolean",
|
|
52306
|
+
"references": {}
|
|
52307
|
+
},
|
|
52308
|
+
"mutable": true,
|
|
52309
|
+
"attr": "auto-destroy-disabled",
|
|
52310
|
+
"reflectToAttr": false,
|
|
52311
|
+
"docs": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis 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\nprevent memory leaks.",
|
|
52312
|
+
"docsTags": [],
|
|
52313
|
+
"default": "false",
|
|
52314
|
+
"values": [
|
|
52315
|
+
{
|
|
52316
|
+
"type": "boolean"
|
|
52317
|
+
}
|
|
52318
|
+
],
|
|
52319
|
+
"optional": true,
|
|
52320
|
+
"required": false
|
|
52321
|
+
},
|
|
52322
|
+
{
|
|
52323
|
+
"name": "icon",
|
|
52324
|
+
"type": "IconName",
|
|
52325
|
+
"complexType": {
|
|
52326
|
+
"original": "IconName",
|
|
52327
|
+
"resolved": "IconName",
|
|
52328
|
+
"references": {
|
|
52329
|
+
"IconName": {
|
|
52330
|
+
"location": "import",
|
|
52331
|
+
"path": "@esri/calcite-components/dist/components/calcite-icon/interfaces.d.ts",
|
|
52332
|
+
"id": "notImplemented"
|
|
52333
|
+
}
|
|
52334
|
+
}
|
|
52335
|
+
},
|
|
52336
|
+
"mutable": true,
|
|
52337
|
+
"reflectToAttr": false,
|
|
52338
|
+
"docs": "Icon which represents the widget. It is typically used when the widget is controlled by another\none (e.g. in the Expand widget).",
|
|
52339
|
+
"docsTags": [
|
|
52340
|
+
{
|
|
52341
|
+
"name": "see",
|
|
52342
|
+
"text": "[Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)"
|
|
52343
|
+
}
|
|
52344
|
+
],
|
|
52345
|
+
"values": [],
|
|
52346
|
+
"optional": true,
|
|
52347
|
+
"required": false
|
|
52348
|
+
},
|
|
52349
|
+
{
|
|
52350
|
+
"name": "max",
|
|
52351
|
+
"type": "number",
|
|
52352
|
+
"complexType": {
|
|
52353
|
+
"original": "number",
|
|
52354
|
+
"resolved": "number",
|
|
52355
|
+
"references": {}
|
|
52356
|
+
},
|
|
52357
|
+
"mutable": true,
|
|
52358
|
+
"attr": "max",
|
|
52359
|
+
"reflectToAttr": false,
|
|
52360
|
+
"docs": "The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the size variable of the appropriate renderer.",
|
|
52361
|
+
"docsTags": [
|
|
52362
|
+
{
|
|
52363
|
+
"name": "example",
|
|
52364
|
+
"text": "```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;\n const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);\n if (!updatedSizeVariable) {\n return;\n }\n\n renderer.visualVariables = [updatedSizeVariable];\n featureLayer.renderer = renderer;\n};\n\nsizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
52365
|
+
}
|
|
52366
|
+
],
|
|
52367
|
+
"values": [
|
|
52368
|
+
{
|
|
52369
|
+
"type": "number"
|
|
52370
|
+
}
|
|
52371
|
+
],
|
|
52372
|
+
"optional": true,
|
|
52373
|
+
"required": false
|
|
52374
|
+
},
|
|
52375
|
+
{
|
|
52376
|
+
"name": "min",
|
|
52377
|
+
"type": "number",
|
|
52378
|
+
"complexType": {
|
|
52379
|
+
"original": "number",
|
|
52380
|
+
"resolved": "number",
|
|
52381
|
+
"references": {}
|
|
52382
|
+
},
|
|
52383
|
+
"mutable": true,
|
|
52384
|
+
"attr": "min",
|
|
52385
|
+
"reflectToAttr": false,
|
|
52386
|
+
"docs": "The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult](#updateFromRendererResult) method,\nthe 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\nto set up event listeners that update the size variable of the appropriate renderer.",
|
|
52387
|
+
"docsTags": [
|
|
52388
|
+
{
|
|
52389
|
+
"name": "example",
|
|
52390
|
+
"text": "```js\nconst updateRendererFromSlider = () => {\n const renderer = featureLayer.renderer?.clone();\n if (!renderer || !(\"visualVariables\" in renderer) || !renderer.visualVariables?.[0]) {\n return;\n }\n\n const sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;\n const updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);\n if (!updatedSizeVariable) {\n return;\n }\n\n renderer.visualVariables = [updatedSizeVariable];\n featureLayer.renderer = renderer;\n};\n\nsizeSlider.addEventListener(\"arcgisPropertyChange\", updateRendererFromSlider);\n```"
|
|
52391
|
+
}
|
|
52392
|
+
],
|
|
52393
|
+
"values": [
|
|
52394
|
+
{
|
|
52395
|
+
"type": "number"
|
|
52396
|
+
}
|
|
52397
|
+
],
|
|
52398
|
+
"optional": true,
|
|
52399
|
+
"required": false
|
|
52400
|
+
},
|
|
52401
|
+
{
|
|
52402
|
+
"name": "precision",
|
|
52403
|
+
"type": "number",
|
|
52404
|
+
"complexType": {
|
|
52405
|
+
"original": "number",
|
|
52406
|
+
"resolved": "number",
|
|
52407
|
+
"references": {}
|
|
52408
|
+
},
|
|
52409
|
+
"mutable": true,
|
|
52410
|
+
"attr": "precision",
|
|
52411
|
+
"reflectToAttr": false,
|
|
52412
|
+
"docs": "Defines how slider thumb values should be rounded. This number indicates the number\nof decimal places slider thumb _values_ should round to when they have been moved.\n\nKeep 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\nfor formatting purposes.",
|
|
52413
|
+
"docsTags": [
|
|
52414
|
+
{
|
|
52415
|
+
"name": "example",
|
|
52416
|
+
"text": "```js\nslider.precision = 7;\n```"
|
|
52417
|
+
}
|
|
52418
|
+
],
|
|
52419
|
+
"default": "4",
|
|
52420
|
+
"values": [
|
|
52421
|
+
{
|
|
52422
|
+
"type": "number"
|
|
52423
|
+
}
|
|
52424
|
+
],
|
|
52425
|
+
"optional": true,
|
|
52426
|
+
"required": false
|
|
52427
|
+
},
|
|
52428
|
+
{
|
|
52429
|
+
"name": "referenceElement",
|
|
52430
|
+
"type": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
52431
|
+
"complexType": {
|
|
52432
|
+
"original": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
52433
|
+
"resolved": "HTMLArcgisLinkChartElement | HTMLArcgisMapElement | HTMLArcgisSceneElement | string",
|
|
52434
|
+
"references": {
|
|
52435
|
+
"HTMLArcgisLinkChartElement": {
|
|
52436
|
+
"location": "local",
|
|
52437
|
+
"path": "index.js",
|
|
52438
|
+
"id": "notImplemented"
|
|
52439
|
+
},
|
|
52440
|
+
"HTMLArcgisMapElement": {
|
|
52441
|
+
"location": "local",
|
|
52442
|
+
"path": "index.js",
|
|
52443
|
+
"id": "notImplemented"
|
|
52444
|
+
},
|
|
52445
|
+
"HTMLArcgisSceneElement": {
|
|
52446
|
+
"location": "local",
|
|
52447
|
+
"path": "index.js",
|
|
52448
|
+
"id": "notImplemented"
|
|
52449
|
+
}
|
|
52450
|
+
}
|
|
52451
|
+
},
|
|
52452
|
+
"mutable": true,
|
|
52453
|
+
"attr": "reference-element",
|
|
52454
|
+
"reflectToAttr": false,
|
|
52455
|
+
"docs": "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.",
|
|
52456
|
+
"docsTags": [
|
|
52457
|
+
{
|
|
52458
|
+
"name": "see",
|
|
52459
|
+
"text": "[Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)"
|
|
52460
|
+
}
|
|
52461
|
+
],
|
|
52462
|
+
"values": [
|
|
52463
|
+
{
|
|
52464
|
+
"type": "HTMLArcgisLinkChartElement"
|
|
52465
|
+
},
|
|
52466
|
+
{
|
|
52467
|
+
"type": "HTMLArcgisMapElement"
|
|
52468
|
+
},
|
|
52469
|
+
{
|
|
52470
|
+
"type": "HTMLArcgisSceneElement"
|
|
52471
|
+
},
|
|
52472
|
+
{
|
|
52473
|
+
"type": "string"
|
|
52474
|
+
}
|
|
52475
|
+
],
|
|
52476
|
+
"optional": true,
|
|
52477
|
+
"required": false
|
|
52478
|
+
},
|
|
52479
|
+
{
|
|
52480
|
+
"name": "state",
|
|
52481
|
+
"type": "\"disabled\" | \"ready\"",
|
|
52482
|
+
"complexType": {
|
|
52483
|
+
"original": "\"disabled\" | \"ready\"",
|
|
52484
|
+
"resolved": "\"disabled\" | \"ready\"",
|
|
52485
|
+
"references": {}
|
|
52486
|
+
},
|
|
52487
|
+
"mutable": true,
|
|
52488
|
+
"attr": "state",
|
|
52489
|
+
"reflectToAttr": false,
|
|
52490
|
+
"docs": "The current state of the component.",
|
|
52491
|
+
"docsTags": [],
|
|
52492
|
+
"values": [
|
|
52493
|
+
{
|
|
52494
|
+
"type": "string",
|
|
52495
|
+
"value": "disabled"
|
|
52496
|
+
},
|
|
52497
|
+
{
|
|
52498
|
+
"type": "string",
|
|
52499
|
+
"value": "ready"
|
|
52500
|
+
}
|
|
52501
|
+
],
|
|
52502
|
+
"optional": true,
|
|
52503
|
+
"required": false
|
|
52504
|
+
}
|
|
52505
|
+
],
|
|
52506
|
+
"methods": [
|
|
52507
|
+
{
|
|
52508
|
+
"name": "componentOnReady",
|
|
52509
|
+
"returns": {
|
|
52510
|
+
"type": "Promise<this>",
|
|
52511
|
+
"docs": ""
|
|
52512
|
+
},
|
|
52513
|
+
"complexType": {
|
|
52514
|
+
"signature": "(): Promise<this>",
|
|
52515
|
+
"parameters": [],
|
|
52516
|
+
"return": "Promise<this>",
|
|
52517
|
+
"references": {
|
|
52518
|
+
"Promise": {
|
|
52519
|
+
"location": "import",
|
|
52520
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
52521
|
+
"id": "notImplemented"
|
|
52522
|
+
}
|
|
52523
|
+
}
|
|
52524
|
+
},
|
|
52525
|
+
"signature": "componentOnReady(): Promise<this>",
|
|
52526
|
+
"parameters": [],
|
|
52527
|
+
"docs": "Create a promise that resolves once component is fully loaded.",
|
|
52528
|
+
"docsTags": [
|
|
52529
|
+
{
|
|
52530
|
+
"name": "example",
|
|
52531
|
+
"text": "```js\nconst arcgisSliderSizeLegacy = document.querySelector(\"arcgis-slider-size-legacy\");\ndocument.body.append(arcgisSliderSizeLegacy);\nawait arcgisSliderSizeLegacy.componentOnReady();\nconsole.log(\"arcgis-slider-size-legacy is ready to go!\");\n```"
|
|
52532
|
+
},
|
|
52533
|
+
{
|
|
52534
|
+
"name": "inheritedFrom",
|
|
52535
|
+
"text": "{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"
|
|
52536
|
+
}
|
|
52537
|
+
]
|
|
52538
|
+
},
|
|
52539
|
+
{
|
|
52540
|
+
"name": "destroy",
|
|
52541
|
+
"returns": {
|
|
52542
|
+
"type": "Promise<void>",
|
|
52543
|
+
"docs": ""
|
|
52544
|
+
},
|
|
52545
|
+
"complexType": {
|
|
52546
|
+
"signature": "(): Promise<void>",
|
|
52547
|
+
"parameters": [],
|
|
52548
|
+
"return": "Promise<void>",
|
|
52549
|
+
"references": {
|
|
52550
|
+
"Promise": {
|
|
52551
|
+
"location": "import",
|
|
52552
|
+
"path": "typescript/lib/lib.es5.d.ts",
|
|
52553
|
+
"id": "notImplemented"
|
|
52554
|
+
}
|
|
52555
|
+
}
|
|
52556
|
+
},
|
|
52557
|
+
"signature": "destroy(): Promise<void>",
|
|
52558
|
+
"parameters": [],
|
|
52559
|
+
"docs": "Permanently destroy the component.",
|
|
52560
|
+
"docsTags": []
|
|
52561
|
+
},
|
|
52562
|
+
{
|
|
52563
|
+
"name": "updateFromRendererResult",
|
|
52564
|
+
"returns": {
|
|
52565
|
+
"type": "void",
|
|
52566
|
+
"docs": ""
|
|
52567
|
+
},
|
|
52568
|
+
"complexType": {
|
|
52569
|
+
"signature": "(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void",
|
|
52570
|
+
"parameters": [
|
|
52571
|
+
{
|
|
52572
|
+
"name": "rendererResult",
|
|
52573
|
+
"type": "ContinuousRendererResult",
|
|
52574
|
+
"docs": ""
|
|
52575
|
+
},
|
|
52576
|
+
{
|
|
52577
|
+
"name": "histogramResult",
|
|
52578
|
+
"type": "HistogramResult | undefined",
|
|
52579
|
+
"docs": ""
|
|
52580
|
+
}
|
|
52581
|
+
],
|
|
52582
|
+
"return": "void",
|
|
52583
|
+
"references": {
|
|
52584
|
+
"ContinuousRendererResult": {
|
|
52585
|
+
"location": "import",
|
|
52586
|
+
"path": "@arcgis/core/smartMapping/renderers/size.d.ts",
|
|
52587
|
+
"id": "notImplemented"
|
|
52588
|
+
},
|
|
52589
|
+
"HistogramResult": {
|
|
52590
|
+
"location": "import",
|
|
52591
|
+
"path": "@arcgis/core/smartMapping/statistics/types.d.ts",
|
|
52592
|
+
"id": "notImplemented"
|
|
52593
|
+
}
|
|
52594
|
+
}
|
|
52595
|
+
},
|
|
52596
|
+
"signature": "updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void",
|
|
52597
|
+
"parameters": [
|
|
52598
|
+
{
|
|
52599
|
+
"name": "rendererResult",
|
|
52600
|
+
"type": "ContinuousRendererResult",
|
|
52601
|
+
"docs": ""
|
|
52602
|
+
},
|
|
52603
|
+
{
|
|
52604
|
+
"name": "histogramResult",
|
|
52605
|
+
"type": "HistogramResult | undefined",
|
|
52606
|
+
"docs": ""
|
|
52607
|
+
}
|
|
52608
|
+
],
|
|
52609
|
+
"docs": "A convenience function used to update the properties of a SizeSlider component instance from the\n[result](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#ContinuousRendererResult) of\nthe [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createContinuousRenderer)\nmethod. 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.\nNote that this method always expects `rendererResult` to be defined for the slider to function, but `histogramResult` is optional.",
|
|
52610
|
+
"docsTags": [
|
|
52611
|
+
{
|
|
52612
|
+
"name": "param",
|
|
52613
|
+
"text": "rendererResult - The result object from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-renderers-size.html#createContinuousRenderer)\nmethod."
|
|
52614
|
+
},
|
|
52615
|
+
{
|
|
52616
|
+
"name": "param",
|
|
52617
|
+
"text": "histogramResult - The result histogram object from the [histogram()](https://developers.arcgis.com/javascript/latest/api-reference/esri-smartMapping-statistics-histogram.html#histogram)\nmethod."
|
|
52618
|
+
},
|
|
52619
|
+
{
|
|
52620
|
+
"name": "example",
|
|
52621
|
+
"text": "```js\nconst rendererResult = await sizeRendererCreator.createContinuousRenderer(params);\n\nfeatureLayer.renderer = rendererResult.renderer;\n\nconst histogramResult = await histogram({\n ...params,\n numBins: 30,\n});\n\nsizeSlider.updateFromRendererResult(rendererResult, histogramResult);\n```"
|
|
52622
|
+
}
|
|
52623
|
+
]
|
|
52624
|
+
},
|
|
52625
|
+
{
|
|
52626
|
+
"name": "updateVisualVariable",
|
|
52627
|
+
"returns": {
|
|
52628
|
+
"type": "SizeVariable | null | undefined",
|
|
52629
|
+
"docs": "Returns the updated visual variable\nto set back on the renderer."
|
|
52630
|
+
},
|
|
52631
|
+
"complexType": {
|
|
52632
|
+
"signature": "(sizeVariable: __esri.SizeVariable): __esri.SizeVariable | nil",
|
|
52633
|
+
"parameters": [
|
|
52634
|
+
{
|
|
52635
|
+
"name": "sizeVariable",
|
|
52636
|
+
"type": "SizeVariable",
|
|
52637
|
+
"docs": ""
|
|
52638
|
+
}
|
|
52639
|
+
],
|
|
52640
|
+
"return": "SizeVariable | null | undefined",
|
|
52641
|
+
"references": {
|
|
52642
|
+
"SizeVariable": {
|
|
52643
|
+
"location": "import",
|
|
52644
|
+
"path": "@arcgis/core/renderers/visualVariables/SizeVariable.d.ts",
|
|
52645
|
+
"id": "notImplemented"
|
|
52646
|
+
}
|
|
52647
|
+
}
|
|
52648
|
+
},
|
|
52649
|
+
"signature": "updateVisualVariable(sizeVariable: __esri.SizeVariable): __esri.SizeVariable | nil",
|
|
52650
|
+
"parameters": [
|
|
52651
|
+
{
|
|
52652
|
+
"name": "sizeVariable",
|
|
52653
|
+
"type": "SizeVariable",
|
|
52654
|
+
"docs": ""
|
|
52655
|
+
}
|
|
52656
|
+
],
|
|
52657
|
+
"docs": "A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html)\nto match the values of the [stops](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-SizeSlider.html#stops) on the slider.\nThe slider stops are automatically updated internally when the user drags a thumb slider.\n\nThis is particularly useful for Size visual variables that have a set\n[minDataValue](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#minDataValue) and\n[maxDataValue](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-SizeVariable.html#minDataValue).\nThis method will properly reconstruct the variable to set on the renderer so it matches the stops on the slider.",
|
|
52658
|
+
"docsTags": [
|
|
52659
|
+
{
|
|
52660
|
+
"name": "param",
|
|
52661
|
+
"text": "sizeVariable - The size visual variable\nfrom 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."
|
|
52662
|
+
},
|
|
52663
|
+
{
|
|
52664
|
+
"name": "returns",
|
|
52665
|
+
"text": "Returns the updated visual variable\nto set back on the renderer."
|
|
52666
|
+
},
|
|
52667
|
+
{
|
|
52668
|
+
"name": "example",
|
|
52669
|
+
"text": "```js\nconst renderer = featureLayer.renderer?.clone();\nconst sizeVariable = renderer.visualVariables[0] as __esri.SizeVariable;\nconst updatedSizeVariable = sizeSlider.updateVisualVariable(sizeVariable);\n```"
|
|
52670
|
+
}
|
|
52671
|
+
]
|
|
52672
|
+
}
|
|
52673
|
+
],
|
|
52674
|
+
"events": [
|
|
52675
|
+
{
|
|
52676
|
+
"event": "arcgisPropertyChange",
|
|
52677
|
+
"detail": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
52678
|
+
"bubbles": true,
|
|
52679
|
+
"complexType": {
|
|
52680
|
+
"original": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
52681
|
+
"resolved": "{ name: \"state\" | \"max\" | \"min\" | \"precision\"; }",
|
|
52682
|
+
"references": {}
|
|
52683
|
+
},
|
|
52684
|
+
"cancelable": true,
|
|
52685
|
+
"composed": true,
|
|
52686
|
+
"docs": "Emitted when the value of a property is changed. Use this to listen to changes to properties.",
|
|
52687
|
+
"docsTags": []
|
|
52688
|
+
},
|
|
52689
|
+
{
|
|
52690
|
+
"event": "arcgisReady",
|
|
52691
|
+
"detail": "void",
|
|
52692
|
+
"bubbles": true,
|
|
52693
|
+
"complexType": {
|
|
52694
|
+
"original": "void",
|
|
52695
|
+
"resolved": "void",
|
|
52696
|
+
"references": {}
|
|
52697
|
+
},
|
|
52698
|
+
"cancelable": true,
|
|
52699
|
+
"composed": true,
|
|
52700
|
+
"docs": "Emitted when the component associated with a map or scene view is ready to be interacted with.",
|
|
52701
|
+
"docsTags": []
|
|
52702
|
+
},
|
|
52703
|
+
{
|
|
52704
|
+
"event": "arcgisThumbChange",
|
|
52705
|
+
"detail": "ThumbChangeEvent",
|
|
52706
|
+
"bubbles": true,
|
|
52707
|
+
"complexType": {
|
|
52708
|
+
"original": "ThumbChangeEvent",
|
|
52709
|
+
"resolved": "ThumbChangeEvent",
|
|
52710
|
+
"references": {
|
|
52711
|
+
"ThumbChangeEvent": {
|
|
52712
|
+
"location": "import",
|
|
52713
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
52714
|
+
"id": "notImplemented"
|
|
52715
|
+
}
|
|
52716
|
+
}
|
|
52717
|
+
},
|
|
52718
|
+
"cancelable": true,
|
|
52719
|
+
"composed": true,
|
|
52720
|
+
"docs": "Fires when a user changes the value of a thumb via the arrow keys or by keyboard editing of the label on the slider.",
|
|
52721
|
+
"docsTags": []
|
|
52722
|
+
},
|
|
52723
|
+
{
|
|
52724
|
+
"event": "arcgisThumbDrag",
|
|
52725
|
+
"detail": "ThumbDragEvent",
|
|
52726
|
+
"bubbles": true,
|
|
52727
|
+
"complexType": {
|
|
52728
|
+
"original": "ThumbDragEvent",
|
|
52729
|
+
"resolved": "ThumbDragEvent",
|
|
52730
|
+
"references": {
|
|
52731
|
+
"ThumbDragEvent": {
|
|
52732
|
+
"location": "import",
|
|
52733
|
+
"path": "@arcgis/core/widgets/Slider/types.d.ts",
|
|
52734
|
+
"id": "notImplemented"
|
|
52735
|
+
}
|
|
52736
|
+
}
|
|
52737
|
+
},
|
|
52738
|
+
"cancelable": true,
|
|
52739
|
+
"composed": true,
|
|
52740
|
+
"docs": "Fires when a user drags a thumb on the component.",
|
|
52741
|
+
"docsTags": []
|
|
52742
|
+
}
|
|
52743
|
+
],
|
|
52744
|
+
"styles": [],
|
|
52745
|
+
"slots": [],
|
|
52746
|
+
"parts": [],
|
|
52747
|
+
"listeners": []
|
|
52748
|
+
},
|
|
48970
52749
|
{
|
|
48971
52750
|
"filePath": "src/components/support/color-select/color-select.tsx",
|
|
48972
52751
|
"tag": "arcgis-color-select",
|
|
@@ -51533,7 +55312,7 @@
|
|
|
51533
55312
|
"parameters": [
|
|
51534
55313
|
{
|
|
51535
55314
|
"name": "settings",
|
|
51536
|
-
"type": "{\n
|
|
55315
|
+
"type": "{\n stops?: Array<string | number | Date> | null | undefined;\n fullTimeExtent?: TimeExtentProperties | null | undefined;\n loop?: boolean | undefined;\n}",
|
|
51537
55316
|
"docs": ""
|
|
51538
55317
|
}
|
|
51539
55318
|
],
|
|
@@ -51550,7 +55329,7 @@
|
|
|
51550
55329
|
"parameters": [
|
|
51551
55330
|
{
|
|
51552
55331
|
"name": "settings",
|
|
51553
|
-
"type": "{\n
|
|
55332
|
+
"type": "{\n stops?: Array<string | number | Date> | null | undefined;\n fullTimeExtent?: TimeExtentProperties | null | undefined;\n loop?: boolean | undefined;\n}",
|
|
51554
55333
|
"docs": ""
|
|
51555
55334
|
}
|
|
51556
55335
|
],
|