@arcgis/map-components 5.0.0-next.120 → 5.0.0-next.121
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/{4M2TEBED.js → 22GC64R5.js} +2 -2
- package/dist/cdn/{454JLXGC.js → 26FQQP35.js} +2 -2
- package/dist/cdn/{SVJ2XDUC.js → 27N7Y33O.js} +2 -2
- package/dist/cdn/{XBOJGUMS.js → 2DMWDAEG.js} +2 -2
- package/dist/cdn/{QXYHAO6A.js → 2F6Q2IF7.js} +2 -2
- package/dist/cdn/{4F5OF26K.js → 2FI5P7S4.js} +2 -2
- package/dist/cdn/{7VZ4OT7R.js → 2HB7B4VQ.js} +2 -2
- package/dist/cdn/{JW4MDHYB.js → 2IYAFBON.js} +2 -2
- package/dist/cdn/{MKHSMENJ.js → 2JK5UWIY.js} +2 -2
- package/dist/cdn/{K7VNRGXI.js → 2RJZQRH3.js} +1 -1
- package/dist/cdn/{CPBQIFEF.js → 2SRN7U2V.js} +2 -2
- package/dist/cdn/{BAYAA33L.js → 2VAICS4Z.js} +2 -2
- package/dist/cdn/{Y4W5A3QH.js → 2XPNED24.js} +2 -2
- package/dist/cdn/{T6IFSLPH.js → 34A5DLAB.js} +2 -2
- package/dist/cdn/{AD5QHYKR.js → 3AXHG5CP.js} +2 -2
- package/dist/cdn/{3TNAPW6N.js → 3E7D4RMK.js} +2 -2
- package/dist/cdn/{STG7WZ3S.js → 3FFM7GZD.js} +2 -2
- package/dist/cdn/3LAXLKUN.js +4 -0
- package/dist/cdn/{ELVO64GA.js → 3NUYPJZ6.js} +2 -2
- package/dist/cdn/{VYCJD2UN.js → 3SUKQQCE.js} +2 -2
- package/dist/cdn/{VFAOYT2T.js → 3UOIX7MQ.js} +2 -2
- package/dist/cdn/{CI43PIT4.js → 3ZXAFDNI.js} +2 -2
- package/dist/cdn/444FDXHY.js +4 -0
- package/dist/cdn/{VPNFBH7X.js → 45K7XTXO.js} +2 -2
- package/dist/cdn/{M73YOPJJ.js → 4A2CHRXT.js} +2 -2
- package/dist/cdn/{UZEHMS7N.js → 4H2SAJ3N.js} +3 -3
- package/dist/cdn/{RVC7BASP.js → 4M7JJBO2.js} +2 -2
- package/dist/cdn/{EPKPARUV.js → 4RZ5KXGU.js} +2 -2
- package/dist/cdn/{SHZ3RPGA.js → 4VZ7OYRK.js} +2 -2
- package/dist/cdn/{JUHQZR4X.js → 52P5EWFR.js} +2 -2
- package/dist/cdn/{4MRHYLDF.js → 57CVO6KS.js} +2 -2
- package/dist/cdn/{KF4NPMLP.js → 5O2FB6IE.js} +2 -2
- package/dist/cdn/{7Q6347YI.js → 5UVAQ6JH.js} +2 -2
- package/dist/cdn/{KWMSCSMF.js → 5V6FKL47.js} +2 -2
- package/dist/cdn/{OM4UOTZA.js → 62QLBIYJ.js} +2 -2
- package/dist/cdn/{MADSZ7SV.js → 66A5KKAO.js} +2 -2
- package/dist/cdn/{YJFW22S6.js → 6BPLK2NE.js} +1 -1
- package/dist/cdn/{EUAFFQHE.js → 6V75OGGW.js} +2 -2
- package/dist/cdn/{7DI7SRGH.js → 6ZDOINEH.js} +2 -2
- package/dist/cdn/{TAFASUHN.js → 7CQNDV2X.js} +2 -2
- package/dist/cdn/{C6G2C5QK.js → 7DXAOUGU.js} +2 -2
- package/dist/cdn/{DM4C4C3K.js → 7NEXSYUH.js} +2 -2
- package/dist/cdn/7RU5FRQR.js +4 -0
- package/dist/cdn/{CXHVIFNU.js → 7TSOEH5R.js} +1 -1
- package/dist/cdn/{N3H4BL5A.js → A7PIXZTI.js} +2 -2
- package/dist/cdn/{UY2JZ357.js → AEA5UF7X.js} +2 -2
- package/dist/cdn/{CON4URVJ.js → AOJTAYOW.js} +1 -1
- package/dist/cdn/{Y27LXIBN.js → AQ6DHLHI.js} +2 -2
- package/dist/cdn/{7QBBJFM5.js → AYBWIAHL.js} +2 -2
- package/dist/cdn/{5V6DXADI.js → AYKVJDCM.js} +2 -2
- package/dist/cdn/AZFTNMWM.js +4 -0
- package/dist/cdn/{GJUGVGCJ.js → BB34TN42.js} +2 -2
- package/dist/cdn/{LI466AZ5.js → BCAIOR33.js} +1 -1
- package/dist/cdn/{L577SG76.js → BHFVKDXR.js} +2 -2
- package/dist/cdn/{S64WFEXL.js → BKCWE5OD.js} +2 -2
- package/dist/cdn/{5UXMFZOY.js → BKNZBIC6.js} +2 -2
- package/dist/cdn/{APFE5C32.js → BN2MI5T5.js} +2 -2
- package/dist/cdn/{35C2OMPB.js → BOPX6BZQ.js} +2 -2
- package/dist/cdn/{ECDE35FH.js → BRDGZ6SJ.js} +2 -2
- package/dist/cdn/{6BL4NWIC.js → CCWVZ4I4.js} +2 -2
- package/dist/cdn/{EEERTB7E.js → CGOZAIQZ.js} +2 -2
- package/dist/cdn/{SIPUYG3U.js → CKV2KCMW.js} +2 -2
- package/dist/cdn/{RVX2S46U.js → CL6D7MY6.js} +2 -2
- package/dist/cdn/{A4VXBACE.js → COENSONX.js} +2 -2
- package/dist/cdn/{GR7VN6R4.js → CU5CPBFG.js} +2 -2
- package/dist/cdn/{KKUOZCRF.js → CXKNQNBC.js} +2 -2
- package/dist/cdn/{MGKX52QY.js → CZ4A5EJQ.js} +2 -2
- package/dist/cdn/{PYPGWFXB.js → D4HKYARN.js} +2 -2
- package/dist/cdn/{3CKHLKRW.js → DBDSP4GN.js} +2 -2
- package/dist/cdn/{YYLDJHCF.js → DETKUAD5.js} +2 -2
- package/dist/cdn/{SXSXTSWT.js → DF5W6HP6.js} +2 -2
- package/dist/cdn/{JS6BLIL4.js → DMP5MXGX.js} +2 -2
- package/dist/cdn/{S5TLMZVD.js → DNALIKE4.js} +2 -2
- package/dist/cdn/{UU4XPIYA.js → DOP7TNQD.js} +2 -2
- package/dist/cdn/DOYAQWME.js +4 -0
- package/dist/cdn/{FSVF4HTD.js → DUFNLFI3.js} +2 -2
- package/dist/cdn/{KKDDBMMY.js → DVSXTBYP.js} +2 -2
- package/dist/cdn/{RBXIU42Q.js → EC7KY7DV.js} +2 -2
- package/dist/cdn/{CCBPIR6R.js → F3LRRGDY.js} +2 -2
- package/dist/cdn/{KV5UH3MT.js → F52Y2FT5.js} +2 -2
- package/dist/cdn/{E3ZMGWED.js → FAA4JQ3V.js} +2 -2
- package/dist/cdn/{XT3YKDBK.js → FAOSFPEA.js} +2 -2
- package/dist/cdn/{J4ZT4BBY.js → FAZIGVPC.js} +2 -2
- package/dist/cdn/{RYKHAMDT.js → FC3G75OS.js} +2 -2
- package/dist/cdn/{PA3DS3C2.js → FK5LLMTF.js} +2 -2
- package/dist/cdn/{DKF57FBR.js → FLY5RW7K.js} +2 -2
- package/dist/cdn/{DLAYWAPH.js → FMHTXSJT.js} +2 -2
- package/dist/cdn/{XIISPGZ2.js → FPIQZ57H.js} +2 -2
- package/dist/cdn/{RINKLFNL.js → GEAPGB6T.js} +2 -2
- package/dist/cdn/{R3EYMYSR.js → GFTLDG6V.js} +2 -2
- package/dist/cdn/{ZOW2IFLR.js → GMRFPL4X.js} +2 -2
- package/dist/cdn/{IAOK3KAK.js → GVT4SLR5.js} +2 -2
- package/dist/cdn/{RENDE4SL.js → GWKSUUDX.js} +2 -2
- package/dist/cdn/{E4NBSQ35.js → GWRALC5M.js} +2 -2
- package/dist/cdn/{KQFI7PGI.js → GX5FXNVK.js} +2 -2
- package/dist/cdn/{FPZ3B6IS.js → GXR2JWEN.js} +2 -2
- package/dist/cdn/{YRNPGIG5.js → GYBTWDEC.js} +2 -2
- package/dist/cdn/{BXGWT5ME.js → H637JMQS.js} +2 -2
- package/dist/cdn/{I3P6WA36.js → HDJK7UMV.js} +2 -2
- package/dist/cdn/{XLD5PCKQ.js → HGZ2CAL7.js} +2 -2
- package/dist/cdn/{XRFJPDMW.js → HKHGSIZT.js} +2 -2
- package/dist/cdn/{C6CRYWET.js → HOK5MNEQ.js} +2 -2
- package/dist/cdn/{M2AVGZLO.js → HR4AHB62.js} +2 -2
- package/dist/cdn/{HVPZ3F5W.js → HTQHVTEX.js} +2 -2
- package/dist/cdn/HZK66T4R.js +4 -0
- package/dist/cdn/{CSLSG5SH.js → IC75WTRJ.js} +2 -2
- package/dist/cdn/{XTLPVNSU.js → IELV7SPT.js} +2 -2
- package/dist/cdn/{54JOFS2S.js → IGKETOQV.js} +2 -2
- package/dist/cdn/{IVRTDUMK.js → IL4MZW6U.js} +2 -2
- package/dist/cdn/{IW4M2GSP.js → IOTHP3XT.js} +2 -2
- package/dist/cdn/{6SZQKOOS.js → IQTU5JBQ.js} +2 -2
- package/dist/cdn/{SYCVUROG.js → IRVMHX6H.js} +2 -2
- package/dist/cdn/{K3S6R3NM.js → IVRGNMQY.js} +2 -2
- package/dist/cdn/{6Q536T66.js → IZOIMDOI.js} +2 -2
- package/dist/cdn/{V4SWJHBX.js → J57RHBRU.js} +2 -2
- package/dist/cdn/{SPMGMFP6.js → JOQI2YSN.js} +2 -2
- package/dist/cdn/{LGGHYSPK.js → JUYBEB45.js} +2 -2
- package/dist/cdn/{LOYJ4UBZ.js → JZN5W5PR.js} +2 -2
- package/dist/cdn/{ZTBXI62V.js → K4GHGPLR.js} +2 -2
- package/dist/cdn/{RRSZENMO.js → K7WIRTZK.js} +1 -1
- package/dist/cdn/{2A7CGRUX.js → KGP7SZHN.js} +2 -2
- package/dist/cdn/{4W3OYBDD.js → KLA6KSQX.js} +2 -2
- package/dist/cdn/{2LWFER33.js → KM2BBWRJ.js} +2 -2
- package/dist/cdn/{BEGFSVO3.js → KMKNPNI2.js} +2 -2
- package/dist/cdn/{HA7PVYKA.js → KSFYHIG2.js} +2 -2
- package/dist/cdn/{ZISJWKFZ.js → KSHS6YW7.js} +2 -2
- package/dist/cdn/{CXWLQFX2.js → KVVVK6SB.js} +2 -2
- package/dist/cdn/{2GGCZOWH.js → L2BE5WIP.js} +2 -2
- package/dist/cdn/{EZCLR33C.js → LCTZWHWR.js} +2 -2
- package/dist/cdn/{HF4HERFY.js → LGDHQ7KY.js} +2 -2
- package/dist/cdn/{5WPW2246.js → LHMQ5AJV.js} +1 -1
- package/dist/cdn/{D67FZPJ5.js → LIJNPHME.js} +1 -1
- package/dist/cdn/{ULM542GE.js → LV6GFWMK.js} +2 -2
- package/dist/cdn/{HSOC7IDQ.js → LVKPU6J7.js} +2 -2
- package/dist/cdn/{PF5CM77S.js → LVSXRZG5.js} +2 -2
- package/dist/cdn/{OZOYWNCQ.js → LW5PREWG.js} +2 -2
- package/dist/cdn/{ICAYJVSK.js → MDSJUHYP.js} +2 -2
- package/dist/cdn/{P6TCOIZV.js → MFJADW7S.js} +2 -2
- package/dist/cdn/{JPOJ75AX.js → MHYSIJTW.js} +1 -1
- package/dist/cdn/{A4SCKDHV.js → MLVG6QLD.js} +2 -2
- package/dist/cdn/{N5OH5WH6.js → MNB2QZBN.js} +2 -2
- package/dist/cdn/{3X3PHT7Z.js → MTWVSA4A.js} +2 -2
- package/dist/cdn/{2VSVDMQG.js → MVURKDU7.js} +2 -2
- package/dist/cdn/{7AC7XMF4.js → MZFUOZ7J.js} +2 -2
- package/dist/cdn/{GPUYAXCS.js → NEWPKWEY.js} +2 -2
- package/dist/cdn/{MCQKB3HY.js → NMGS35TF.js} +1 -1
- package/dist/cdn/{GAEYY4FS.js → NO3CQD5G.js} +2 -2
- package/dist/cdn/{P6YP3D5R.js → NTOLVTS5.js} +2 -2
- package/dist/cdn/{O5NYFOQL.js → NWJIBHRQ.js} +2 -2
- package/dist/cdn/{O6AMKW3T.js → NZHUUUW6.js} +2 -2
- package/dist/cdn/{HH3PLSAQ.js → O2AFLCTQ.js} +1 -1
- package/dist/cdn/{4L6GKWER.js → O5U4UAXW.js} +2 -2
- package/dist/cdn/{575LPXUH.js → O5WSU5SJ.js} +2 -2
- package/dist/cdn/{6Y2I4XYE.js → OCO3WEGR.js} +2 -2
- package/dist/cdn/{WPOELORO.js → ONIGVUOO.js} +2 -2
- package/dist/cdn/{4E5HWA2X.js → OQECTQFD.js} +1 -1
- package/dist/cdn/{IVKY7G3S.js → P3DBOE73.js} +2 -2
- package/dist/cdn/{VGFOQ6E7.js → P5KL6KLL.js} +2 -2
- package/dist/cdn/{EU224OLZ.js → PDGVEADC.js} +2 -2
- package/dist/cdn/{LM2QMUSO.js → PK6AOACY.js} +2 -2
- package/dist/cdn/{MZEXKPXE.js → PKQNT65X.js} +2 -2
- package/dist/cdn/{HTEDLR7B.js → PQ3TRYX7.js} +2 -2
- package/dist/cdn/{M53R6A4I.js → PUD3UKEW.js} +2 -2
- package/dist/cdn/{RKQU4AFW.js → PV7C4HDB.js} +2 -2
- package/dist/cdn/{OMDHNSRY.js → PVLBSIG2.js} +2 -2
- package/dist/cdn/{22PYN4X4.js → Q565JRQD.js} +2 -2
- package/dist/cdn/{RFT6X76Q.js → QADH6FGL.js} +2 -2
- package/dist/cdn/QCWBQH4F.js +4 -0
- package/dist/cdn/QDLVYNHP.js +4 -0
- package/dist/cdn/{4STWEMF3.js → QEHH5PQ7.js} +2 -2
- package/dist/cdn/{3F6UW4DV.js → QFOOO4PZ.js} +2 -2
- package/dist/cdn/{GZBUIGQ6.js → QH3TDXX6.js} +2 -2
- package/dist/cdn/{BXOKITSI.js → QU7AO76C.js} +2 -2
- package/dist/cdn/{CWCSV67H.js → QV4HN3CG.js} +2 -2
- package/dist/cdn/{RD2GDA2E.js → QWCYBW43.js} +2 -2
- package/dist/cdn/{KYDCRFYS.js → QYLFSGE6.js} +2 -2
- package/dist/cdn/{VYZWSVHN.js → RB6MT2XS.js} +2 -2
- package/dist/cdn/{7JF6NNSQ.js → RMQKXNV2.js} +2 -2
- package/dist/cdn/{4WKE4WW3.js → RQM4PHUQ.js} +2 -2
- package/dist/cdn/{IW2JMHS5.js → RSMSOPG2.js} +2 -2
- package/dist/cdn/{QJVBDTXQ.js → S4UPHLCB.js} +2 -2
- package/dist/cdn/{C4WACUVD.js → S5EXTAJG.js} +2 -2
- package/dist/cdn/{H7FBSTV6.js → SJNFKO56.js} +2 -2
- package/dist/cdn/{SPE25I64.js → SNB7PSNN.js} +2 -2
- package/dist/cdn/{FNJI5EMP.js → SZ5ARBE7.js} +2 -2
- package/dist/cdn/{CT6CBGPR.js → T2SAJCPI.js} +2 -2
- package/dist/cdn/{SHB3WNZ6.js → T47EXYXA.js} +2 -2
- package/dist/cdn/{ME242U3I.js → TBUCQSFX.js} +2 -2
- package/dist/cdn/{6ROWUIQU.js → TCC6FNNW.js} +2 -2
- package/dist/cdn/{3EP6GBWP.js → TGXBYRHY.js} +2 -2
- package/dist/cdn/{YD7O2ACB.js → TNSYQ2TT.js} +2 -2
- package/dist/cdn/{VLJJ2E7O.js → TOV4LGCY.js} +2 -2
- package/dist/cdn/{P5LJ5AKE.js → TQG36JL4.js} +2 -2
- package/dist/cdn/{CJ6FKJ3K.js → U6LTXNNN.js} +2 -2
- package/dist/cdn/{2MYDOXV4.js → U7VVCZPC.js} +2 -2
- package/dist/cdn/{XPEJLAD2.js → UBA3T44K.js} +2 -2
- package/dist/cdn/{4M64FVHN.js → UDJEMZDD.js} +2 -2
- package/dist/cdn/{LZKEFJYN.js → UK4XQ2UY.js} +2 -2
- package/dist/cdn/{IMNJCPXY.js → ULEZOXW3.js} +2 -2
- package/dist/cdn/{UEMBWWNU.js → UO72K2WJ.js} +2 -2
- package/dist/cdn/{EOJ3WXCH.js → UQLZX25G.js} +2 -2
- package/dist/cdn/{YQJ7POD4.js → UTJHPOKG.js} +2 -2
- package/dist/cdn/{4L2YVKUT.js → V4ZFMVKI.js} +2 -2
- package/dist/cdn/{CC7BTIBM.js → VDIUU7QU.js} +1 -1
- package/dist/cdn/{HVTCH2JA.js → VEUM6KID.js} +2 -2
- package/dist/cdn/{BGTVBJZ4.js → VNG24T5L.js} +2 -2
- package/dist/cdn/{VLTB3RDR.js → VOC5QRVZ.js} +2 -2
- package/dist/cdn/{LZNUOHLH.js → VYIGHWK7.js} +2 -2
- package/dist/cdn/{Y75R7G7Q.js → WEOLNWFU.js} +2 -2
- package/dist/cdn/{SXTPGUHG.js → WNXQAJHL.js} +2 -2
- package/dist/cdn/{YLRHAQBR.js → WO53WS7V.js} +2 -2
- package/dist/cdn/{DNPZYN3Z.js → WPPFQBMR.js} +2 -2
- package/dist/cdn/{CW6642P2.js → WRX64QYD.js} +2 -2
- package/dist/cdn/{V45ZEASG.js → X5SN2DY7.js} +2 -2
- package/dist/cdn/{EPFXKPGB.js → X5WWXSJ7.js} +2 -2
- package/dist/cdn/{GOUPON2E.js → XAXRURZ6.js} +2 -2
- package/dist/cdn/{SAUDUYAE.js → XCOKOCVY.js} +2 -2
- package/dist/cdn/{4GOX3X4L.js → XFWWXW2C.js} +2 -2
- package/dist/cdn/{MGC5ACGI.js → XHXCQ5LG.js} +2 -2
- package/dist/cdn/{RRE3AEHF.js → XPZHLBYY.js} +1 -1
- package/dist/cdn/{3ZN4DLRT.js → XSWEHXOB.js} +2 -2
- package/dist/cdn/{JPVXNQED.js → XUUVJRRG.js} +2 -2
- package/dist/cdn/{NNZTU75H.js → YBSQTTHS.js} +2 -2
- package/dist/cdn/{2D5YWK4P.js → YDOTVFX5.js} +2 -2
- package/dist/cdn/{O4RAQN6H.js → YES4H2P6.js} +2 -2
- package/dist/cdn/{DYP27ZPK.js → YII3TNMT.js} +1 -1
- package/dist/cdn/{CLZOTIWZ.js → YNONNZFN.js} +1 -1
- package/dist/cdn/{XOS4NV5S.js → YSMAL3M5.js} +2 -2
- package/dist/cdn/{LTOOKYG4.js → YT2NXUK2.js} +2 -2
- package/dist/cdn/{CYPCPQH6.js → YT32Q7XF.js} +2 -2
- package/dist/cdn/{LU2XF4IR.js → Z3TCWFWB.js} +2 -2
- package/dist/cdn/{FZ2LQMBO.js → Z4Q5SJVE.js} +2 -2
- package/dist/cdn/{42TTZZIU.js → Z6AC5OSF.js} +2 -2
- package/dist/cdn/{SCIJMMCH.js → ZBFH7SDU.js} +2 -2
- package/dist/cdn/{XDPPXYZW.js → ZE3VCNES.js} +2 -2
- package/dist/cdn/{H2D75N62.js → ZK4EZ7V3.js} +2 -2
- package/dist/cdn/{W3EMTTTY.js → ZQGJL3DT.js} +2 -2
- package/dist/cdn/ZT5VYTEQ.js +4 -0
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +3 -3
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +4 -4
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/building-layer-utils.js +3 -3
- 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 +18 -18
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +25 -15
- 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/{createCloseEvent.js → useCloseEvent.js} +6 -6
- package/dist/chunks/useHandles.js +1 -48
- 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 +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +4 -4
- package/dist/components/arcgis-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/types.d.ts +61 -0
- package/dist/components/arcgis-building-discipline-tree/customElement.js +3 -3
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +21 -1
- package/dist/components/arcgis-building-explorer/customElement.js +4 -4
- package/dist/components/arcgis-building-explorer/support/filter-utils.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/support/validation.d.ts +6 -12
- 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.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -15
- package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +4 -4
- package/dist/components/arcgis-editor/customElement.d.ts +2 -2
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/ElevationProfileViewModel.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +4 -3
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +1 -3
- package/dist/components/arcgis-feature/customElement.js +7 -7
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +12 -12
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +2 -2
- package/dist/components/arcgis-feature-fields/customElement.js +15 -15
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +2 -2
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- 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.d.ts +1 -9
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -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.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +3 -3
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +0 -2
- package/dist/components/arcgis-legend/customElement.js +2 -2
- 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 +3 -3
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -12
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +58 -63
- package/dist/components/arcgis-locate/customElement.js +3 -3
- package/dist/components/arcgis-map/customElement.d.ts +1 -6
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- 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.d.ts +1 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +1 -6
- package/dist/components/arcgis-popup/customElement.js +2 -2
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +2 -2
- 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.d.ts +1 -2
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +0 -3
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.d.ts +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.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -6
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +32 -9
- package/dist/components/arcgis-swipe/customElement.js +35 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +3 -3
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.js +2 -2
- package/dist/components/arcgis-track/customElement.d.ts +0 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- 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.d.ts +1 -2
- 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 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +2 -2
- 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 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -2
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- 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.d.ts +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +0 -4
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +42 -15
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +102 -20
- package/dist/components/arcgis-volume-measurement/customElement.js +256 -181
- package/dist/components/arcgis-volume-measurement/index.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +0 -2
- package/dist/components/arcgis-weather/customElement.js +27 -27
- package/dist/components/arcgis-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/controllers/Handles.d.ts +1 -31
- package/dist/controllers/{createCloseEvent.d.ts → useCloseEvent.d.ts} +1 -1
- package/dist/controllers/useHandles.d.ts +1 -17
- package/dist/docs/api.json +860 -1898
- package/dist/docs/docs.json +558 -382
- package/dist/docs/vscode.css-custom-data.json +4 -4
- package/dist/docs/vscode.html-custom-data.json +159 -931
- package/dist/docs/web-types.json +169 -692
- package/dist/index.d.ts +3 -7
- package/dist/index.js +4 -7
- package/dist/loader.js +51 -51
- package/dist/support/measurementUtils.d.ts +6 -0
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/async-utils.d.ts +1 -2
- package/dist/utils/signal-utils.d.ts +0 -9
- package/package.json +3 -3
- package/dist/cdn/5GRE3JDZ.js +0 -4
- package/dist/cdn/BE2KZNLK.js +0 -4
- package/dist/cdn/GLA4AFXV.js +0 -4
- package/dist/cdn/KWMHPDEY.js +0 -4
- package/dist/cdn/LLPLPDDQ.js +0 -4
- package/dist/cdn/OZY4JSFD.js +0 -4
- package/dist/cdn/QPYN3HGT.js +0 -4
- package/dist/cdn/TTDC3OUK.js +0 -4
- package/dist/cdn/WFAQHJVV.js +0 -4
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +0 -12
- /package/dist/components/arcgis-coordinate-conversion/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-elevation-profile/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-grid-controls/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-popup/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-shadow-cast/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/{interfaces.d.ts → types.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
4
|
var r={dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical"};export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as O}from"./KQFI7PGI.js";import{a as N}from"./R3EYMYSR.js";import"./KKDDBMMY.js";import e from"./PF5CM77S.js";import{a as z}from"./N5OH5WH6.js";import"./DYP27ZPK.js";import d from"./3CKHLKRW.js";import c from"./FNJI5EMP.js";import{g as M}from"./XRFJPDMW.js";import"./PYPGWFXB.js";import"./5WPW2246.js";import{b as A}from"./CON4URVJ.js";import{B as F,M as b,N as D,O as s,Q as x,T as U,a as C,b as a,x as $}from"./CC7BTIBM.js";import"./RRSZENMO.js";export default $arcgis.t(([{watch:B},{isHTTPSProtocol:f,isDataProtocol:E},{formatDate:P,convertDateFormatToIntlOptions:V},q,R,{property:k,subclass:H},,,L])=>{var Z=C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .arcgis-bookmarks{display:none}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`,m="arcgis-bookmarks",T=`${m}__authoring`,S=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${S}-image-container`,bookmarkContent:`${S}-content`,bookmarkContentLabel:`${S}-content-label`,authoring:T,authoringImageContainer:`${T}-image-container`,authoringRefreshThumbnailButton:`${T}-refresh-thumbnail-button`},j=Object.defineProperty,G=Object.getOwnPropertyDescriptor,u=(n,e,t,i)=>{for(var r=i>1?void 0:i?G(e,t):e,o=n.length-1,l;o>=0;o--)(l=n[o])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&j(e,t,r),r},h=class extends R{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(f(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(E(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?f(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};u([k()],h.prototype,"bookmark",2);u([k({readOnly:!0})],h.prototype,"editedBookmark",1);u([k()],h.prototype,"_customUrl",2);u([k()],h.prototype,"customUrl",1);u([k()],h.prototype,"_screenshotUrl",2);u([k()],h.prototype,"screenshotUrl",1);u([k()],h.prototype,"state",1);u([k()],h.prototype,"_thumbnailState",2);u([k()],h.prototype,"thumbnailState",1);u([k()],h.prototype,"validationState",2);u([k()],h.prototype,"creatingBookmark",2);h=u([H("UserState")],h);var J=L(q),I=class extends D{constructor(){super(...arguments),this._guid=F(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=z({}),this.viewModel=J(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this.view=this.viewModel.view,this.icon="bookmark",this.closed=!1,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultEditOptions=this.viewModel.defaultEditOptions,this.bookmarks=this.viewModel.bookmarks,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.goToOverride=this.viewModel.goToOverride,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=this.viewModel.capabilities.time,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisBookmarkEdit=$(),this.arcgisBookmarkSelect=$(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=$(),this.arcgisClose=$()}static{this.properties={_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,view:0,referenceElement:1,icon:0,closed:7,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:0,disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,hideFlow:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:35}}static{this.styles=Z}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),B(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),B(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),B(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),B(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}_handleClose(){this.closed=!0,this.arcgisClose.emit()}startAddBookmark(){this._userState=new h({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:r,end:o}=i,l=o!=null&&(r==null||r.getTime()!==o.getTime()),d=r?this._formatDate(r):"",p=r&&!t?this._formatTime(r):"";if(!l)return{startDate:d,startTime:p};let v=this._formatDate(o),g=t?"":this._formatTime(o);return{startDate:d,startTime:p,endDate:v,endTime:g}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,E(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let r={url:i};f(r.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=r)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:r,fromEl:o,dragEl:l,newIndex:d}=e;if(!i.length)return;let p=t?.newIndex===d&&t?.dragEl===l&&t?.toEl===r&&t?.fromEl===o;if(!o||!r||p)return;this._lastDragDetail=e;let v=Array.from(o.children).filter(g=>g?.matches("calcite-list-item")).map(g=>g.value);i.sort((g,y)=>{let w=v.indexOf(g.uid),_=v.indexOf(y.uid);return w>_?1:w<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new h({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&(f(t)?e.customUrl=t:E(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:r,editedBookmark:o}=t,l=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&r?r:null;this._storeCurrentUrl(),o&&l&&(o.thumbnail={url:l}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:r}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let l=await i.createBookmark();l.name=o,r.add(l),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:r}}=this;await i.editBookmark(e,{...r,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:r,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let l=i?.value.trim();if(!l){t.validationState="name-required";return}if(t.bookmark.name=l,t.bookmark.thumbnail=t.editedBookmark.thumbnail,r||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!f(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:r})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:r}=e;t.insertBefore(i,t.children[r])}render(){return a`<div class=${s(c.base)}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?a`<div class=${s(c.empty)}><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${N({class:c.noBookmarksHeader,level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${s(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:r,disabled:o,filterPlaceholder:l,filterText:d,closed:p,headingLevel:v}=this,g=t.filter(_=>_!=null),y=g.length?a`<calcite-list class=${s(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${l} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(g)}${this.showFilter?a`<div class=${s(c.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,w=[a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${p} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?r.componentLabel:void 0} .headingLevel=${v} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${b(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${y}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return p?null:this.hideFlow?w:a`<calcite-flow>${w}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:r}}=this,o=this._userCreatingBookmark;return i&&r!=="loading"&&this.showAddBookmarkButton?a`<calcite-fab appearance=outline-fill class=${s(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??x}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?a`<calcite-action icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??x}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?a`<img alt class=${s(c.bookmarkImage)} src=${e.thumbnail?.url??x}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:r}=e;return i?.timeExtent??r?a`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:r,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let l=`${t} ${i}`,d=`${r} ${o}`;return r?`${l} - ${d}`:l}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:r,startTime:o,endDate:l,endTime:d}=this._getTimeExtentStrings(e),p=t?null:a`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${l?a`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return r?a`<calcite-table .caption=${i.timeExtent??""} scale=s>${p}<calcite-table-row><calcite-table-cell>${r} ${o?[a`<br>`,o]:null}</calcite-table-cell>${l?a`<calcite-table-cell>${l}${d?[a`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?a`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?a`<calcite-loader class=${s(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?a`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return a`<div class=${s(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return O(e.uid,a`<calcite-list-item class=${s(A({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return a`<div class=${s(c.bookmarkContent)} slot=content><span class=${s(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return a`<calcite-label>${t.title}<calcite-input class=${s(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${b(this._storeEditInput)}></calcite-input>${i?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[a`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,a`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:r}=e;return t.time&&(i?.timeExtent??r)?a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",r=f(i)?t==="url":E(i)?t==="screenshot":null;if(r)return this._renderBookmarkImage(e,r)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?a`<div class=${s(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?a`<calcite-button appearance=outline class=${s(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:r}=this,o=e.thumbnail?.url??"",l=f(o)?o:void 0,d=o&&i==="absolute-url-required";return r==="url"?a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??x} type=text .value=${l} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${b(this._storeUrlEditInput)}></calcite-input>${d?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:a`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${r=>this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:r}=this;return e?a`<form class=${s(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${r} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${b(this._storeEditFlowItemNode)}><div class=${s(c.formContent)}><div class=${s(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return a`<calcite-label>${e.title}<calcite-input class=${s(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${b(this._storeAddInput)}></calcite-input>${t?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[a`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:r}=this;return r==="add"?a`<form class=${s(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${b(this._storeAddFlowItemNode)}><div class=${s(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};U("arcgis-bookmarks",I);return I},"core/reactiveUtils","core/urlUtils","intl","widgets/Bookmarks/BookmarksViewModel","core/Accessor","core/accessorSupport/decorators",c,d,e)
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import{a as O}from"./GX5FXNVK.js";import{a as N}from"./GFTLDG6V.js";import"./DVSXTBYP.js";import e from"./LVSXRZG5.js";import{a as z}from"./MNB2QZBN.js";import"./YII3TNMT.js";import d from"./DBDSP4GN.js";import c from"./SZ5ARBE7.js";import{g as M}from"./HKHGSIZT.js";import"./D4HKYARN.js";import"./LHMQ5AJV.js";import{b as A}from"./AOJTAYOW.js";import{B as F,M as b,N as D,O as s,Q as x,T as U,a as C,b as a,x as $}from"./VDIUU7QU.js";import"./K7WIRTZK.js";export default $arcgis.t(([{watch:B},{isHTTPSProtocol:f,isDataProtocol:E},{formatDate:P,convertDateFormatToIntlOptions:V},q,R,{property:k,subclass:H},,,L])=>{var Z=C`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .arcgis-bookmarks{display:none}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`,m="arcgis-bookmarks",T=`${m}__authoring`,S=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${S}-image-container`,bookmarkContent:`${S}-content`,bookmarkContentLabel:`${S}-content-label`,authoring:T,authoringImageContainer:`${T}-image-container`,authoringRefreshThumbnailButton:`${T}-refresh-thumbnail-button`},j=Object.defineProperty,G=Object.getOwnPropertyDescriptor,u=(n,e,t,i)=>{for(var r=i>1?void 0:i?G(e,t):e,o=n.length-1,l;o>=0;o--)(l=n[o])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&j(e,t,r),r},h=class extends R{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(f(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(E(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?f(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};u([k()],h.prototype,"bookmark",2);u([k({readOnly:!0})],h.prototype,"editedBookmark",1);u([k()],h.prototype,"_customUrl",2);u([k()],h.prototype,"customUrl",1);u([k()],h.prototype,"_screenshotUrl",2);u([k()],h.prototype,"screenshotUrl",1);u([k()],h.prototype,"state",1);u([k()],h.prototype,"_thumbnailState",2);u([k()],h.prototype,"thumbnailState",1);u([k()],h.prototype,"validationState",2);u([k()],h.prototype,"creatingBookmark",2);h=u([H("UserState")],h);var J=L(q),I=class extends D{constructor(){super(...arguments),this._guid=F(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=z({}),this.viewModel=J(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this.view=this.viewModel.view,this.icon="bookmark",this.closed=!1,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultEditOptions=this.viewModel.defaultEditOptions,this.bookmarks=this.viewModel.bookmarks,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.goToOverride=this.viewModel.goToOverride,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=this.viewModel.capabilities.time,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisBookmarkEdit=$(),this.arcgisBookmarkSelect=$(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=$(),this.arcgisClose=$()}static{this.properties={_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,view:0,referenceElement:1,icon:0,closed:7,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:0,disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,hideFlow:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:32}}static{this.styles=Z}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),B(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),B(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),B(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),B(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}_handleClose(){this.closed=!0,this.arcgisClose.emit()}startAddBookmark(){this._userState=new h({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:r,end:o}=i,l=o!=null&&(r==null||r.getTime()!==o.getTime()),d=r?this._formatDate(r):"",p=r&&!t?this._formatTime(r):"";if(!l)return{startDate:d,startTime:p};let v=this._formatDate(o),g=t?"":this._formatTime(o);return{startDate:d,startTime:p,endDate:v,endTime:g}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,E(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let r={url:i};f(r.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=r)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...V("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:r,fromEl:o,dragEl:l,newIndex:d}=e;if(!i.length)return;let p=t?.newIndex===d&&t?.dragEl===l&&t?.toEl===r&&t?.fromEl===o;if(!o||!r||p)return;this._lastDragDetail=e;let v=Array.from(o.children).filter(g=>g?.matches("calcite-list-item")).map(g=>g.value);i.sort((g,y)=>{let w=v.indexOf(g.uid),_=v.indexOf(y.uid);return w>_?1:w<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new h({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&(f(t)?e.customUrl=t:E(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:r,editedBookmark:o}=t,l=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&r?r:null;this._storeCurrentUrl(),o&&l&&(o.thumbnail={url:l}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:r}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let l=await i.createBookmark();l.name=o,r.add(l),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:r}}=this;await i.editBookmark(e,{...r,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:r,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let l=i?.value.trim();if(!l){t.validationState="name-required";return}if(t.bookmark.name=l,t.bookmark.thumbnail=t.editedBookmark.thumbnail,r||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!f(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:r})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:r}=e;t.insertBefore(i,t.children[r])}render(){return a`<div class=${s(c.base)}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?a`<div class=${s(c.empty)}><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${N({class:c.noBookmarksHeader,level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${s(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:r,disabled:o,filterPlaceholder:l,filterText:d,closed:p,headingLevel:v}=this,g=t.filter(_=>_!=null),y=g.length?a`<calcite-list class=${s(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${l} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(g)}${this.showFilter?a`<div class=${s(c.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,w=[a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${p} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?r.componentLabel:void 0} .headingLevel=${v} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${b(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(g)}${y}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return p?null:this.hideFlow?w:a`<calcite-flow>${w}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:r}}=this,o=this._userCreatingBookmark;return i&&r!=="loading"&&this.showAddBookmarkButton?a`<calcite-fab appearance=outline-fill class=${s(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??x}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?a`<calcite-action icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??x}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?a`<img alt class=${s(c.bookmarkImage)} src=${e.thumbnail?.url??x}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:r}=e;return i?.timeExtent??r?a`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:r,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let l=`${t} ${i}`,d=`${r} ${o}`;return r?`${l} - ${d}`:l}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:r,startTime:o,endDate:l,endTime:d}=this._getTimeExtentStrings(e),p=t?null:a`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${l?a`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return r?a`<calcite-table .caption=${i.timeExtent??""} scale=s>${p}<calcite-table-row><calcite-table-cell>${r} ${o?[a`<br>`,o]:null}</calcite-table-cell>${l?a`<calcite-table-cell>${l}${d?[a`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?a`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?a`<calcite-loader class=${s(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?a`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return a`<div class=${s(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return O(e.uid,a`<calcite-list-item class=${s(A({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return a`<div class=${s(c.bookmarkContent)} slot=content><span class=${s(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return a`<calcite-label>${t.title}<calcite-input class=${s(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${b(this._storeEditInput)}></calcite-input>${i?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[a`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,a`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:r}=e;return t.time&&(i?.timeExtent??r)?a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",r=f(i)?t==="url":E(i)?t==="screenshot":null;if(r)return this._renderBookmarkImage(e,r)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?a`<div class=${s(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?a`<calcite-button appearance=outline class=${s(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:r}=this,o=e.thumbnail?.url??"",l=f(o)?o:void 0,d=o&&i==="absolute-url-required";return r==="url"?a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??x} type=text .value=${l} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${b(this._storeUrlEditInput)}></calcite-input>${d?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:a`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${r=>this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:r}=this;return e?a`<form class=${s(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${r} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${b(this._storeEditFlowItemNode)}><div class=${s(c.formContent)}><div class=${s(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return a`<calcite-label>${e.title}<calcite-input class=${s(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${b(this._storeAddInput)}></calcite-input>${t?a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[a`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,a`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:r}=this;return r==="add"?a`<form class=${s(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${b(this._storeAddFlowItemNode)}><div class=${s(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};U("arcgis-bookmarks",I);return I},"core/reactiveUtils","core/urlUtils","intl","widgets/Bookmarks/BookmarksViewModel","core/Accessor","core/accessorSupport/decorators",c,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as m}from"./CXHVIFNU.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./5UXMFZOY.js";import{a as q}from"./RRSZENMO.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import{a as m}from"./7TSOEH5R.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./BKNZBIC6.js";import{a as q}from"./K7WIRTZK.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import{a as s}from"./MHYSIJTW.js";import{a as n}from"./LIJNPHME.js";import{a as f}from"./BRDGZ6SJ.js";import{a as g}from"./D4HKYARN.js";import"./AOJTAYOW.js";import{N as p,T as u,a as d,b as i}from"./VDIUU7QU.js";import"./K7WIRTZK.js";export default $arcgis.t(([$])=>{var v=d`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,m=class extends p{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideInterval=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideInterval:5,messages:0}}static{this.styles=v}render(){let{options:t,scale:l}=this,{color:r,interval:c}=t,a=this.messages?.discrete;return i`${n({hidden:this.hideInterval,children:i`<calcite-label .scale=${l}>${a?.intervalLabel}<calcite-select .label=${a?.intervalLabel??""} .scale=${l} @calciteSelectChange=${e=>{let b=e.target.value,h=Number.parseInt(b,10);Number.isFinite(h)&&(this.options.interval=h)}}>${f(I,e=>e,e=>i`<calcite-option .selected=${e===c} .value=${String(e)} .label=${C(e,g(this.el).t9nLocale)}></calcite-option>`)}</calcite-select></calcite-label>`})}${n({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${r} .label=${a?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}};function C(o,t){return new Intl.DurationFormat(t,{style:"long"}).format(L(o))}function L(o){let t=Math.floor(o/1e3),l=Math.floor(t/3600),r=Math.floor(t%3600/60),c=t%60;return{hours:l,minutes:r,seconds:c}}var I=new $([s(15,"minutes","milliseconds"),s(30,"minutes","milliseconds"),s(1,"hours","milliseconds"),s(2,"hours","milliseconds"),s(3,"hours","milliseconds")]);u("arcgis-shadow-cast-discrete-config",m);return m},"core/Collection")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import a from"./YNONNZFN.js";import{N as m,T as r,b as i}from"./VDIUU7QU.js";import"./K7WIRTZK.js";export default $arcgis.t(([{watch:f},{e:c}])=>{var l=class extends m{constructor(){super(...arguments),this._formats=[]}static{this.properties={_formats:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[f(()=>[this.viewModel.templateOptions.format,this.viewModel.templatesInfo?.format],()=>{let e=this.viewModel.templatesInfo;if(!e)return;if(this._formats.length!==e.format.choiceList.length){let a=[...c.values()];this._formats=e.format.choiceList.map(t=>{let s=a.find(n=>new RegExp(`\\b${n}\\b`,"iu").test(t))??t;return{value:s,label:t===s?t.toUpperCase():t}}).sort((t,s)=>t.label.localeCompare(s.label))}let o=this._formats.some(({value:a})=>new RegExp(`\\b${a}\\b`,"iu").test(this.viewModel.templateOptions.format));if(e.format.defaultValue&&!o){let a=this._formats.find(({value:t})=>new RegExp(`\\b${t}\\b`,"iu").test(e.format.defaultValue))?.value;a&&(this.viewModel.templateOptions.format=a);return}},{initial:!0})])}render(){return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:e})=>{let o=e.selectedItems[0]?.value;this.viewModel.templateOptions.format=o??"pdf"}}>${this._formats.map(({value:e,label:o})=>i`<calcite-combobox-item .heading=${o} .selected=${e===this.viewModel.templateOptions.format} .value=${e}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div>`}};r("arcgis-print-format-select",l);return l},"core/reactiveUtils",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import"./K7WIRTZK.js";var o={_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
4
|
var e={disabled:"esri-disabled",empty:"esri-widget__content--empty",heading:"esri-widget__heading",loaderAnimation:"esri-widget__loader-animation",panel:"esri-widget--panel",widget:"esri-widget",widgetButton:"esri-widget--button",widgetDisabled:"esri-widget--disabled"};export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
4
|
export default $arcgis.t(([{formatNumber:s}])=>{var i=new Map([["a3-landscape","a3-landscape"],["a3-portrait","a3-portrait"],["a4-landscape","a4-landscape"],["a4-portrait","a4-portrait"],["letter-ansi-a-landscape","ansi-a-landscape"],["letter-ansi-a-portrait","ansi-a-portrait"],["tabloid-ansi-b-landscape","ansi-b-landscape"],["tabloid-ansi-b-portrait","ansi-b-portrait"]]),c=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;function u(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[r,n]=t.pageSize;return`${s(r)} \xD7 ${s(n)} ${a.pageUnits}`}function d(a,t){let{label:r,layout:n,layoutItem:e}=a;return(n&&!e&&t[n]?t[n]:null)||((r??n??e?.id)?.replaceAll("_"," ")??t.untitled)}function f(a){return i.get(a)}var g=new Map([["AIX","aix"],["EPS","eps"],["GIF","gif"],["JPG","jpg"],["PDF","pdf"],["PNG32","png32"],["PNG8","png8"],["SVG","svg"],["SVGZ","svgz"],["TIFF","tiff"]]),p="map-only";function b(a){return a?.toLowerCase()===p}return{a:c,b:u,c:d,d:f,e:g,f:b}},"intl")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import"./K7WIRTZK.js";var r={firstDayOfWeek:1,_decimalSeparator:",",_thousandSeparator:" ",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import a from"./Z6AC5OSF.js";import{A as m,N as h,O as p,T as u,a as g,b as o}from"./VDIUU7QU.js";import"./K7WIRTZK.js";export default $arcgis.t(([{renderingSanitizer:c},{replace:I},{a:b,l:v,m:$,n:_}])=>{var y=[{pattern:/^\s*(https?:\/\/([^\s]+))\s*$/iu,target:"_blank",label:"{messages.view}"},{pattern:/^\s*(tel:([^\s]+))\s*$/iu,label:"{hierPart}"},{pattern:/^\s*(mailto:([^\s]+))\s*$/iu,label:"{hierPart}"},{pattern:/^\s*(arcgis-appstudio-player:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"App Studio Player"},{pattern:/^\s*(arcgis-collector:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Collector"},{pattern:/^\s*(arcgis-explorer:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Explorer"},{pattern:/^\s*(arcgis-navigator:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Navigator"},{pattern:/^\s*(arcgis-survey123:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Survey123"},{pattern:/^\s*(arcgis-trek2there:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Trek2There"},{pattern:/^\s*(arcgis-workforce:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Workforce"},{pattern:/^\s*(iform:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"iForm"},{pattern:/^\s*(flow:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"FlowFinity"},{pattern:/^\s*(lfmobile:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Laserfische"},{pattern:/^\s*(mspbi:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Microsoft Power Bi"}];function A(f,a){let e=y.find(r=>r.pattern.test(a));if(!e)return a;let t=a.match(e.pattern)?.[2],l=I(I(e.label,{messages:f,hierPart:t}),{appName:e.appName}),s=e.target?` target="${e.target}"`:"",n=e.target==="_blank"?' rel="noreferrer"':"";return c.sanitizeUrl(new URL(a,window.location.origin).toString()).replace(e.pattern,`<a${s} href="$1"${n}>${l}</a>`)}var N=g`.arcgis-feature-fields__table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.arcgis-feature-fields__table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.arcgis-feature-fields__table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.arcgis-feature-fields__table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.arcgis-feature-fields__table tr a{color:var(--calcite-color-text-link)}.arcgis-feature-fields__table tr a:hover,.arcgis-feature-fields__table tr a:focus{color:var(--calcite-color-brand-hover)}.arcgis-feature-fields__table tr td,.arcgis-feature-fields__table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-feature-fields__table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.arcgis-feature-fields__table tr td{width:50%}`,w="arcgis-feature-fields",F={base:w,table:`${w}__table`},d=class extends h{constructor(){super(...arguments),this.headingLevel=2}static{this.properties={values:0,description:1,expressionInfos:0,fieldInfos:0,heading:1,isContentFieldInfos:5,graphic:0,layer:0,headingLevel:9,messages:0}}static{this.styles=N}get formattedFieldInfos(){let{expressionInfos:a,fieldInfos:e,layer:t,graphic:l,isContentFieldInfos:s}=this,n=[];return e?.forEach(r=>{if(!(!("visible"in r)||r.visible))return;let i=r.clone();i.label=$({fieldInfo:i,expressionInfos:a,layer:t,graphic:l,isContentFieldInfos:s}),b(t)&&v({fieldInfo:r,graphic:l})&&(i.fieldFormat=_({fieldInfo:i,isContentFieldInfos:s,layer:t})),n.push(i)}),n}render(){return o`<div class=${p(F.base)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderFields()}</div>`}_renderFieldInfo(a){let{values:e}=this,t=a.fieldName||"",l=a.label||t,s=e?e[t]==null?"":e[t]:"",n=a?.fieldFormat?.type==="date-time",r={openInApp:this.messages?.openInApp??"",view:this.messages?.view??""},i=typeof s=="number"&&!n?m(`${s}`):typeof s=="string"?A(r,s):`${s}`;return o`<tr><th .innerHTML=${c.sanitize(l)??""}></th><td .innerHTML=${c.sanitize(i)??""}></td></tr>`}_renderFields(){let{formattedFieldInfos:a}=this;return a?.length?o`<table class=${p(F.table)}><caption>${this.messages?.fieldsSummary}</caption><tbody>${a.map(e=>this._renderFieldInfo(e))}</tbody></table>`:null}};u("arcgis-feature-fields",d);return d},"applications/Components/sanitizerUtils","applications/Components/stringUtils",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import"./K7WIRTZK.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import"./K7WIRTZK.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{N as u,O as l,T as o,a as c,b as r}from"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import{N as u,O as l,T as o,a as c,b as r}from"./VDIUU7QU.js";import"./K7WIRTZK.js";export default $arcgis.t(([{watch:f},m])=>{var v=c`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,p="arcgis-print",d={srLabel:`${p}__sr-label`,invalidWkidText:`${p}__invalid-wkid-text`};function _(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends u{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[f(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:a}=this;return r`<div><calcite-label><div class=${l(d.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:s})=>{let i=g(s.value);if(Number.isNaN(i)||i==null||i<=0||!Number.isFinite(i)){s.value=`${a?.wkid??""}`;return}this.viewModel.outSpatialReference=Number.isNaN(i)||i==null?null:new m({wkid:i}),this._isValidSpatialReference=!a||_(a)}}></calcite-input-number>${this._isValidSpatialReference?null:r`<div class=${l(d.invalidWkidText)}>${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils","geometry/SpatialReference")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{p as u}from"./
|
|
3
|
+
v5.0.0-next.121 */
|
|
4
|
+
import{p as u}from"./VDIUU7QU.js";export default $arcgis.t(([{replace:a}])=>{function l(e){return e!=null&&typeof e=="object"&&"type"in e&&e.type==="feature"}function y(e){return l(e)&&e?.type==="feature"&&e.source?.type==="feature-layer"}function s(e){return l(e)&&y(e)}var c=/^\s*expression\//iu,h=/href=(""|'')/giu,N=/(\{([^{\r\n]+)\})/gu,I=/href\s*=\s*(?:"([^"]+)"|'([^']+)')/giu,C=/'/gu,w="relationships/",L=/^(?:mailto:|tel:)/u;function O(e,n){let r=new Map;if(!e)return r;for(let t of e){if(!t.fieldName)continue;let o=d(t.fieldName,n);t.fieldName=o,r.set(o.toLowerCase(),t)}return r}function P(e){let n=[];if(!e)return n;let{fieldInfos:r,content:t}=e;return r&&n.push(...r),!t||!Array.isArray(t)||t.forEach(o=>{if(o.type==="fields"){let i=o?.fieldInfos;i&&n.push(...i)}}),n}function R(e,n){return e?.getEffectivePopupTemplate(n)??void 0}function U(e){if(e!=null)return"sourceLayer"in e&&e.sourceLayer?e.sourceLayer:e.layer??void 0}function A(e=""){return e?e.includes(w):!1}function W(e=""){if(e)return!L.test(e.trim().toLowerCase())}function d(e,n){let r=g(n,e);return r?r.name:e}function B(e,n){return e?.map(r=>d(r,n))}function p(e){return e?c.test(e):!1}function F(e,n){if(!n||!p(n)||!e)return;let r=n.replace(c,"").toLowerCase();return e.find(({name:t})=>t.toLowerCase()===r)}function D(e,n){if(!(!e?.length||!n))return e.find(r=>r.fieldName?.toLowerCase()===n.toLowerCase())}function v({fieldInfo:e,graphic:n}){return!!e?.fieldName&&!p(e.fieldName)&&!A(e.fieldName)&&!n?.isAggregate&&!n?.popupTemplate}function H({expressionInfos:e,fieldInfo:n,graphic:r,isContentFieldInfos:t,layer:o}){if(!n?.fieldName)return null;let i=F(e,n?.fieldName);if(i)return i.title||null;if(s(o)&&v({fieldInfo:n,graphic:r})){let f=o.getFieldAlias(n.fieldName);return t?n.label||f||n.fieldName:f||n.fieldName}return n.label||n.fieldName}function S({fieldInfo:e,isContentFieldInfos:n,layer:r}){if(!e?.fieldName)return null;if(s(r)){let t=r?.getFieldConfiguration?.(e.fieldName)?.fieldFormat;return n&&e.fieldFormat||t}return null}function m(e){return e.trim()}function b(e){return e.replaceAll(h,"")}function x(e,n){return`{${n.get(e.toLowerCase())?.fieldName||e}}`}function M({formattedValues:e,template:n,fieldInfoMap:r}){return m(b(a(a(n,t=>x(t,r)),e)))}function g(e,n){return!(e&&"getField"in e&&typeof e.getField=="function")||!n?null:e.getField(n)??null}function E(e,n){return e.replaceAll(N,(r,t,o)=>{let i=g(n,o);return i?`{${i.name}}`:t})}function V(e,n,r=!1){let t=n[e];if(typeof t=="string"){let o=(r?encodeURIComponent(t):t).replaceAll(C,"%27");n[e]=o}}function $(e,n=!1){let r={...e};return Object.keys(r).forEach(t=>V(t,r,n)),r}function j(e,n,r){n=m(n);let t=n&&!n.startsWith("{");return a(e,$(r,t||!1))}function T(e,n,r){let t=E(e,r);return t&&t.replaceAll(I,(o,i,f)=>j(o,i||f,n))}function _({values:e,globalValues:n,layer:r,text:t,fieldInfoMap:o}){return t?M({formattedValues:n,template:T(t,{...n,...e},r),fieldInfoMap:o}):""}async function z({type:e,value:n,event:r}){try{return typeof n=="function"?n(r):await n}catch(t){u("error","arcgis-feature",`An error occurred when calling the "${e}" function`,{detail:{error:t,graphic:r.graphic,value:n}});return}}return{a:s,b:O,c:P,d:R,e:U,f:A,g:W,h:d,i:B,j:p,k:D,l:v,m:H,n:S,o:M,p:E,q:_,r:z}},"applications/Components/stringUtils")
|