@arcgis/map-components 5.0.0-next.57 → 5.0.0-next.58
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/{5LC2AR4G.js → 262DGHXA.js} +2 -2
- package/dist/cdn/{QGFH2VR6.js → 266DNI4D.js} +2 -2
- package/dist/cdn/{4462V6NU.js → 2F7ZNO2A.js} +2 -2
- package/dist/cdn/{TOBKCWR6.js → 2FM4SITD.js} +2 -2
- package/dist/cdn/{EBIWIYK5.js → 2LZSSPT4.js} +2 -2
- package/dist/cdn/{QK244GIS.js → 2X4UNYMJ.js} +2 -2
- package/dist/cdn/{CMG2WPDA.js → 2Z4LWWV3.js} +2 -2
- package/dist/cdn/{HWTO363O.js → 33I4BQI7.js} +1 -1
- package/dist/cdn/{LY7C4Z7W.js → 37LYI7TS.js} +2 -2
- package/dist/cdn/{GLRNR24I.js → 3CCCMZMJ.js} +2 -2
- package/dist/cdn/{HJTRC3AV.js → 3HMGWZNI.js} +2 -2
- package/dist/cdn/{4U2PEQLP.js → 3SDBDNR5.js} +2 -2
- package/dist/cdn/{JRZTYFTR.js → 3XNUB5WY.js} +2 -2
- package/dist/cdn/{4R7QNFWJ.js → 47SHZ6FU.js} +2 -2
- package/dist/cdn/{A4PFPJSU.js → 4BNOTEUI.js} +2 -2
- package/dist/cdn/{QN53IO2Y.js → 4FQRBY5N.js} +2 -2
- package/dist/cdn/{M47KZANK.js → 4HHFPSPH.js} +2 -2
- package/dist/cdn/{YVVMWUXC.js → 4ILMRNOJ.js} +2 -2
- package/dist/cdn/{DGVI2CO3.js → 4KHXSCYY.js} +2 -2
- package/dist/cdn/{DYAQPPRI.js → 4LK42WJC.js} +2 -2
- package/dist/cdn/{NEEU5NJM.js → 4UOMSIMA.js} +2 -2
- package/dist/cdn/{YIUEGAZP.js → 4XABHWP2.js} +2 -2
- package/dist/cdn/{R2LGLRXH.js → 57ZLEBXE.js} +2 -2
- package/dist/cdn/{I6MN7BAV.js → 5CBMEDX4.js} +2 -2
- package/dist/cdn/{R5IH2DSA.js → 5DZIJXTJ.js} +2 -2
- package/dist/cdn/{F7BMJDSU.js → 5FR2I3K5.js} +2 -2
- package/dist/cdn/{MWVITBWR.js → 5HN2XEQ4.js} +2 -2
- package/dist/cdn/{ZURLMQFP.js → 5LZNTIVD.js} +2 -2
- package/dist/cdn/{Z6SUIRJU.js → 5NKOGBTT.js} +2 -2
- package/dist/cdn/{TIAJOJ3B.js → 5QPNTOS7.js} +2 -2
- package/dist/cdn/{UVJS5AR3.js → 5SOL2R4G.js} +2 -2
- package/dist/cdn/{EUMYDL5M.js → 5VQ34Q5N.js} +2 -2
- package/dist/cdn/{VW6XVQBS.js → 66LJZH44.js} +2 -2
- package/dist/cdn/{XGSTFIXB.js → 6CFXQZTB.js} +2 -2
- package/dist/cdn/{TZ4WQYAE.js → 6OT4LT3C.js} +2 -2
- package/dist/cdn/{VSSZAL4R.js → 6PADMQ2Q.js} +2 -2
- package/dist/cdn/{DOY3Y6TD.js → 6PYW6JPK.js} +2 -2
- package/dist/cdn/{YMFSTWZ5.js → 6XN2ED4O.js} +2 -2
- package/dist/cdn/{NNGJ6EKL.js → 723A537E.js} +2 -2
- package/dist/cdn/{4TUIZLYZ.js → 7CEKSGWP.js} +2 -2
- package/dist/cdn/{43VDURJ4.js → 7I7AOPFD.js} +2 -2
- package/dist/cdn/{RSBTARKX.js → 7VLFFTMT.js} +2 -2
- package/dist/cdn/{3ROGKQ4D.js → 7YHDB2MK.js} +3 -3
- package/dist/cdn/{RUGV2A5F.js → A3KALRFE.js} +2 -2
- package/dist/cdn/A5AQUPPF.js +4 -0
- package/dist/cdn/{FXO7ATSA.js → A6VDG2K2.js} +2 -2
- package/dist/cdn/{5DMFR46L.js → A7NTC3ML.js} +2 -2
- package/dist/cdn/{6VR5S7H4.js → AFKCT6ML.js} +2 -2
- package/dist/cdn/{ZLNHGFGZ.js → AGLZPXQS.js} +2 -2
- package/dist/cdn/{ZQ2ADNQD.js → AGWQ4SQY.js} +2 -2
- package/dist/cdn/{REMTLEZB.js → AJNX2UKQ.js} +2 -2
- package/dist/cdn/{Y5X35EKC.js → AJXDWEEE.js} +2 -2
- package/dist/cdn/{TE3FAPTI.js → AK4EX2NO.js} +2 -2
- package/dist/cdn/{6LBP3QI7.js → AWJ4SDEM.js} +1 -1
- package/dist/cdn/{RTXGWHKM.js → AXYTZK2Z.js} +2 -2
- package/dist/cdn/{YA63QPLI.js → AYY6G2N6.js} +2 -2
- package/dist/cdn/{IJOLNMUY.js → B4YDPJ3J.js} +1 -1
- package/dist/cdn/{QH3TLW7Z.js → B5FMOW3H.js} +2 -2
- package/dist/cdn/{D3FGRSJB.js → BEYIQEZ3.js} +2 -2
- package/dist/cdn/{7LU5OELG.js → BFN3FD6E.js} +2 -2
- package/dist/cdn/{KGUGYBTY.js → BJ56LZG7.js} +2 -2
- package/dist/cdn/{2OSQQIDH.js → BMPSFRDI.js} +2 -2
- package/dist/cdn/{MUCBLWYI.js → BUTR7J3V.js} +2 -2
- package/dist/cdn/{R6CRYL7K.js → C6T2MTXB.js} +2 -2
- package/dist/cdn/{35EE6X3B.js → CAQMVAJQ.js} +2 -2
- package/dist/cdn/{BC3I2ZX5.js → CDHNJDVY.js} +2 -2
- package/dist/cdn/{YPW6CCZ4.js → CH6J47FG.js} +2 -2
- package/dist/cdn/{ADP3QVJX.js → CI2NIMPT.js} +2 -2
- package/dist/cdn/{MKYAP3PP.js → CJRPXJPU.js} +2 -2
- package/dist/cdn/{FUYEK4GT.js → CKPCRJ5D.js} +2 -2
- package/dist/cdn/{5TSMYO5N.js → CLMWKOD5.js} +2 -2
- package/dist/cdn/{T6D7N34B.js → CVFEWGAO.js} +2 -2
- package/dist/cdn/{CHUNLITE.js → CXW3K5NU.js} +2 -2
- package/dist/cdn/{ELDSM4AD.js → DHUYDE2U.js} +2 -2
- package/dist/cdn/{DTTVSVX7.js → DMVMCHRA.js} +2 -2
- package/dist/cdn/{HSYYKBJ7.js → DO5RDHFV.js} +2 -2
- package/dist/cdn/DP7V7G2L.js +4 -0
- package/dist/cdn/E5XZHOTY.js +4 -0
- package/dist/cdn/{QOQAMPJE.js → E6FOUFTQ.js} +2 -2
- package/dist/cdn/{YHOAIBFJ.js → E6ZAQXMP.js} +1 -1
- package/dist/cdn/{LSQPN2AH.js → EDD7TZX2.js} +2 -2
- package/dist/cdn/{C4CTP6N4.js → EH36IPJD.js} +2 -2
- package/dist/cdn/{2RWXA6PQ.js → EMYAPST7.js} +2 -2
- package/dist/cdn/{PKJRFXVV.js → EOOREXRU.js} +2 -2
- package/dist/cdn/{JNPRXFWP.js → ESR36PCU.js} +2 -2
- package/dist/cdn/{S3O6D7HT.js → EX5GUA5M.js} +2 -2
- package/dist/cdn/{YYPRFYBD.js → F2LEQ6GS.js} +2 -2
- package/dist/cdn/{BEXZ3UID.js → F3GMDQPJ.js} +1 -1
- package/dist/cdn/{363V7GU4.js → F6MFTTO3.js} +2 -2
- package/dist/cdn/{XRWC4PLV.js → FJT4WM2W.js} +2 -2
- package/dist/cdn/{3S6FBIVW.js → FM4Q3QSW.js} +2 -2
- package/dist/cdn/{YMQ4HQ2O.js → FTDU52CD.js} +2 -2
- package/dist/cdn/{BI4FE6AQ.js → FWXBXPGL.js} +2 -2
- package/dist/cdn/G2V7SQYC.js +4 -0
- package/dist/cdn/{IIKBYB7T.js → GANNIV35.js} +2 -2
- package/dist/cdn/{4VAFFT6Q.js → GJ3MX5YG.js} +2 -2
- package/dist/cdn/{OIJOXHH5.js → GKLGYHOV.js} +2 -2
- package/dist/cdn/{SRFJIBO6.js → GMRIAWTO.js} +1 -1
- package/dist/cdn/{5CQ3L7EL.js → GUJV25KP.js} +2 -2
- package/dist/cdn/{55GJATEH.js → GUWXU23O.js} +2 -2
- package/dist/cdn/{YSTFSPYI.js → H3MZU7Z2.js} +2 -2
- package/dist/cdn/{BAFXGCGA.js → HBO5L4PD.js} +2 -2
- package/dist/cdn/{XXMAZ2J3.js → HCDHSXAY.js} +2 -2
- package/dist/cdn/{OD54PFWV.js → HDDBFEYS.js} +2 -2
- package/dist/cdn/{BTIWZ7DB.js → HYEJFT5H.js} +2 -2
- package/dist/cdn/{ARXDWN64.js → HZCJKB5T.js} +2 -2
- package/dist/cdn/{HQI32QI6.js → I2BX37JS.js} +2 -2
- package/dist/cdn/{UWEHAESI.js → I2IWR7ZP.js} +2 -2
- package/dist/cdn/{7DKTBSXW.js → I7Z3MZH6.js} +2 -2
- package/dist/cdn/{VVGVA5EZ.js → IAIWP4PX.js} +2 -2
- package/dist/cdn/{XGBYOMSU.js → IBOIVUM7.js} +2 -2
- package/dist/cdn/{J73IYYR7.js → IH7C4VUC.js} +2 -2
- package/dist/cdn/{2H7I7DIC.js → IIADMD56.js} +2 -2
- package/dist/cdn/{D5BOODF5.js → ILBZM2AS.js} +2 -2
- package/dist/cdn/{SME7YVFN.js → IM5DTFCN.js} +2 -2
- package/dist/cdn/{DWBU7GZA.js → IU4WLFNN.js} +2 -2
- package/dist/cdn/{SNQVE3IJ.js → J3AXI5IC.js} +2 -2
- package/dist/cdn/{CZDPSTIP.js → J4TQODNU.js} +2 -2
- package/dist/cdn/{7DUZZNJW.js → J63MWH6M.js} +2 -2
- package/dist/cdn/{4AU3V6BJ.js → JE2IJUR7.js} +2 -2
- package/dist/cdn/{7EYX224I.js → JNNBUWBZ.js} +2 -2
- package/dist/cdn/{JTWKN7SG.js → JSQQF4Q2.js} +2 -2
- package/dist/cdn/{BGT56YQT.js → JVGL7BUN.js} +2 -2
- package/dist/cdn/{4UI5XEJX.js → JWVMLTSU.js} +2 -2
- package/dist/cdn/{CANHUO3F.js → JYGPJZAS.js} +2 -2
- package/dist/cdn/{HTEQWMUR.js → KAIJX7SU.js} +2 -2
- package/dist/cdn/{Q3TTTXXO.js → KHWTE5WU.js} +2 -2
- package/dist/cdn/{KOCKYMMB.js → KRP64VOW.js} +2 -2
- package/dist/cdn/{XHCXYKHH.js → LCPKIJKS.js} +2 -2
- package/dist/cdn/{VTVSVHO6.js → LRU4JC6B.js} +2 -2
- package/dist/cdn/{XOZ3YZTQ.js → LWRRA25Z.js} +2 -2
- package/dist/cdn/{UVAD47GK.js → LZUQB7UN.js} +2 -2
- package/dist/cdn/{64LHXMY6.js → M536O562.js} +2 -2
- package/dist/cdn/{Y4IZUSAO.js → M6JINVMR.js} +2 -2
- package/dist/cdn/{MCYRM7L2.js → MAOABEGP.js} +1 -1
- package/dist/cdn/{O2YH5BVE.js → MQTOQBXC.js} +2 -2
- package/dist/cdn/{3THEDNWN.js → MSJHBCD7.js} +2 -2
- package/dist/cdn/{EAGY7ORZ.js → MWHO3YJE.js} +1 -1
- package/dist/cdn/{ZUIY2TC6.js → NAPMZARY.js} +2 -2
- package/dist/cdn/{YCJ57Z3Z.js → NBMWJWHY.js} +2 -2
- package/dist/cdn/{QLRTFVQQ.js → NCITLLWM.js} +2 -2
- package/dist/cdn/{HCZHOFSN.js → NK5LHXTS.js} +2 -2
- package/dist/cdn/{NPB2AF2Z.js → NLWS2AME.js} +2 -2
- package/dist/cdn/{O4WGBUWB.js → NMNI2TX4.js} +2 -2
- package/dist/cdn/{P2GPL5CW.js → NN54RP2P.js} +2 -2
- package/dist/cdn/{MVTYXDTE.js → NOJFXIPD.js} +2 -2
- package/dist/cdn/{HBSWLGDJ.js → NQ667PTV.js} +2 -2
- package/dist/cdn/{J2YBDMR5.js → NVTAYELE.js} +2 -2
- package/dist/cdn/{X7T24ECC.js → OB7IE356.js} +2 -2
- package/dist/cdn/{5ESCAFFT.js → OEMYETZZ.js} +2 -2
- package/dist/cdn/{VC6PXP5C.js → OFHJFFL6.js} +2 -2
- package/dist/cdn/{NHSGONT2.js → OK2OKUQB.js} +2 -2
- package/dist/cdn/{LCOH5UA2.js → ON3UECFT.js} +2 -2
- package/dist/cdn/{LGQETJRD.js → OQBDEFYT.js} +2 -2
- package/dist/cdn/{3ALQEKUF.js → OUYQBYDK.js} +2 -2
- package/dist/cdn/{ZUD3XVWG.js → OV4XZUX4.js} +2 -2
- package/dist/cdn/{H4PJC3MR.js → OVX465C6.js} +2 -2
- package/dist/cdn/{6UMZASRQ.js → OZSNUNX4.js} +2 -2
- package/dist/cdn/{7A5COGCF.js → PD6J2ERE.js} +2 -2
- package/dist/cdn/{GTCWKQ4Y.js → PIMUJKZP.js} +2 -2
- package/dist/cdn/PTAI75LO.js +4 -0
- package/dist/cdn/{YUCPXR3K.js → PW36W5WH.js} +2 -2
- package/dist/cdn/{QHGQ7YIJ.js → Q5LUY3MK.js} +2 -2
- package/dist/cdn/{HZJNLETL.js → QBD3HQNZ.js} +2 -2
- package/dist/cdn/{4RM5X5FL.js → QCH27H5L.js} +2 -2
- package/dist/cdn/{7XUHVKZF.js → QFUFTI34.js} +2 -2
- package/dist/cdn/{ZDRPURQM.js → QGHV2436.js} +2 -2
- package/dist/cdn/{Y6YYGCJT.js → QPSACCX5.js} +2 -2
- package/dist/cdn/{L624UC3T.js → QSIODZLI.js} +1 -1
- package/dist/cdn/{E2LM3PKY.js → QVJQK2ZN.js} +1 -1
- package/dist/cdn/{FCANXBIG.js → RHDYFXLK.js} +1 -1
- package/dist/cdn/{UHQ53JX2.js → RLLAK64W.js} +2 -2
- package/dist/cdn/{AHMLVRCM.js → RLV6XKLG.js} +2 -2
- package/dist/cdn/{M7JT2PAP.js → S2DALPO4.js} +2 -2
- package/dist/cdn/S2SJYBVK.js +4 -0
- package/dist/cdn/{HDEYUIB6.js → SB4EDBW4.js} +2 -2
- package/dist/cdn/{QF5OBVPW.js → SJHB6JEI.js} +2 -2
- package/dist/cdn/{AJKBYLMQ.js → SKDDKMOZ.js} +2 -2
- package/dist/cdn/{O5BD2VTJ.js → SPBHU4UM.js} +2 -2
- package/dist/cdn/{SUEZLPHZ.js → SSUF6DJR.js} +2 -2
- package/dist/cdn/{65ETKSTT.js → SZEEDOYY.js} +2 -2
- package/dist/cdn/{WD545L6P.js → T7ARKIKR.js} +2 -2
- package/dist/cdn/{BXZRQCRU.js → THMRDNUU.js} +2 -2
- package/dist/cdn/{TDX5RM2Z.js → TMIQF7RO.js} +1 -1
- package/dist/cdn/{4KI5KW67.js → TNVY7GFZ.js} +2 -2
- package/dist/cdn/{26TLRBLJ.js → TQT72VDX.js} +2 -2
- package/dist/cdn/{O4KPB6UA.js → TSXIKA45.js} +2 -2
- package/dist/cdn/{4OJAS3G6.js → U34PMCNH.js} +2 -2
- package/dist/cdn/{NETTWIA6.js → U63JRCLD.js} +2 -2
- package/dist/cdn/{QQOAM4QB.js → U6XZ3Q2R.js} +2 -2
- package/dist/cdn/{JV32RKHV.js → UCQN77IW.js} +2 -2
- package/dist/cdn/{6ZYBJ3AD.js → UNE2NJUX.js} +1 -1
- package/dist/cdn/{UGERM5I3.js → UOPQOXP4.js} +2 -2
- package/dist/cdn/{KYJ4SLMC.js → UU5GS6OU.js} +2 -2
- package/dist/cdn/{TMRYYW3T.js → UWWM3WBI.js} +1 -1
- package/dist/cdn/{5OKM3PUI.js → UZ4LZ6JO.js} +2 -2
- package/dist/cdn/{HESV24P3.js → V2GSMDGF.js} +2 -2
- package/dist/cdn/{XJ5562OS.js → WASL5OHG.js} +2 -2
- package/dist/cdn/{6AA4ZTVD.js → WAVADXXH.js} +2 -2
- package/dist/cdn/{VH6HKNO7.js → WDUGSO2P.js} +2 -2
- package/dist/cdn/{XWOOWXRZ.js → WHV4F535.js} +2 -2
- package/dist/cdn/{QYZFLZVA.js → WIWLWAAB.js} +1 -1
- package/dist/cdn/{ZV2VJVO2.js → WRMGCHES.js} +2 -2
- package/dist/cdn/{ACTX6645.js → WW7RKDQW.js} +2 -2
- package/dist/cdn/{MT26RW5Q.js → WWHHKN7L.js} +2 -2
- package/dist/cdn/{ICN4T5AF.js → WX2OGLZU.js} +2 -2
- package/dist/cdn/{ZJN3PNGG.js → XGY4I6MD.js} +2 -2
- package/dist/cdn/{F7G6DUNJ.js → XKKXAZTJ.js} +2 -2
- package/dist/cdn/{QV2ATI6I.js → XUH35ALS.js} +2 -2
- package/dist/cdn/{LTDE6OUM.js → XV4XWPVH.js} +2 -2
- package/dist/cdn/{VHBOHDLI.js → XW5XQZYA.js} +2 -2
- package/dist/cdn/{7MBVGFHU.js → XWRQBKZG.js} +2 -2
- package/dist/cdn/{7L5NPLUW.js → Y2JBJAXZ.js} +2 -2
- package/dist/cdn/{RPDLR5S3.js → YDWPFZHG.js} +2 -2
- package/dist/cdn/{YLSQOEMJ.js → YQTHGVBT.js} +2 -2
- package/dist/cdn/{EECLXYWQ.js → ZAF7O4D7.js} +1 -1
- package/dist/cdn/{6BFG2DMM.js → ZAUVZDCY.js} +2 -2
- package/dist/cdn/{OOXRHZCV.js → ZEE6REUT.js} +2 -2
- package/dist/cdn/{PXUDZLJP.js → ZES5QJ6X.js} +2 -2
- package/dist/cdn/{ED7HB4I2.js → ZGN4XBJX.js} +2 -2
- package/dist/cdn/{7OYOXG6E.js → ZHFU33KC.js} +2 -2
- package/dist/cdn/{4Q7FVOJM.js → ZK7SUVBN.js} +2 -2
- package/dist/cdn/{TTR2HCVV.js → ZKA6HZYN.js} +2 -2
- package/dist/cdn/{CX7EI4XY.js → ZPOJ3TEY.js} +2 -2
- package/dist/cdn/{757N6QCD.js → ZTSWCUBN.js} +2 -2
- package/dist/cdn/{XYISV45D.js → ZYH77P53.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +1 -1
- 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 +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/ElevationProfileViewModel.d.ts +7 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +7 -0
- package/dist/components/arcgis-elevation-profile/customElement.js +84 -75
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +7 -5
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +54 -31
- 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.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +20 -2
- package/dist/docs/docs.json +24 -2
- package/dist/docs/web-types.json +6 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/FIIH24CH.js +0 -4
- package/dist/cdn/JKUHJR7N.js +0 -4
- package/dist/cdn/M5RE5AV5.js +0 -4
- package/dist/cdn/MVE75OED.js +0 -4
- package/dist/cdn/YJD23I26.js +0 -4
- package/dist/cdn/YVSYUZLP.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
+
v5.0.0-next.58 */
|
|
4
|
+
import{a as s}from"./CXW3K5NU.js";import h from"./ZKA6HZYN.js";import{a as u}from"./CKPCRJ5D.js";import e from"./Y2JBJAXZ.js";import a from"./AGLZPXQS.js";import"./SKDDKMOZ.js";import"./MWHO3YJE.js";import"./F3GMDQPJ.js";import{G as n,H as c,I as f,O as g,a as d,b as t,s as b}from"./TMIQF7RO.js";import"./MAOABEGP.js";export default $arcgis.t(([x,,,p])=>{var y=d`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=p(x),m="map-components:utility-network-trace-analysis",l=class extends f{constructor(){super(...arguments),this._messages=u({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=n(),this._traceResultsRef=n(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisReady=b()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,label:3,messageOverrides:0,mode:1,referenceElement:1,state:3,view:0}}static{this.styles=y}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsExist(){let{traceResult:e}=this;return e!==void 0&&this._numTraceResults>0}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let a=i.allLayerViews.find(_=>{let h=_.layer;if(o.isUtilityLayer(h)){let v=Number(r.layerUrl.split("/").pop());return h.layerId===v}return!1});if(!a)return;let w=a.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){console.error(`${m} - Trace configuration not found`);return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){console.error(`${m} - Error while running trace: `,String(r)),this.traceResult=void 0}}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return s(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} ${c(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;if(e==="add-spatial")return null;let{_numTraceResults:i,_traceResultsExist:o}=this;return t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!o} slot=footer>${o?this._messages.buttons.clearResultsCustom.replace("{number}",i.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return s(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${c(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view!==void 0?t`${this.renderInputTab()}${this.renderResultsTab()}`:null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};g("arcgis-utility-network-trace-analysis",l);return l},"widgets/UtilityNetworkTraceAnalysis/UtilityNetworkTraceAnalysisViewModel",a,e,h)
|
|
@@ -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 f from"./ZDRPURQM.js";import"./IJOLNMUY.js";import e from"./JNPRXFWP.js";import"./QYZFLZVA.js";import{a as E}from"./4AU3V6BJ.js";import"./4Q7FVOJM.js";import d from"./TTR2HCVV.js";import{a as k}from"./FUYEK4GT.js";import{a as _}from"./YHOAIBFJ.js";import c from"./7L5NPLUW.js";import a from"./ZLNHGFGZ.js";import{g as L}from"./AJKBYLMQ.js";import"./EAGY7ORZ.js";import"./BEXZ3UID.js";import{I as w,J as r,L as b,O as $,a as v,b as o,s as y}from"./TDX5RM2Z.js";import"./MCYRM7L2.js";export default $arcgis.t(([T,{property:u,subclass:V},{ignoreAbortErrors:A},{watch:j},,,z,,S])=>{var B=v`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,p;g>=0;g--)(p=e[g])&&(l=(d?p(i,t,l):p(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends S{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new T}};c([u()],n.prototype,"_excludingLayers",2);c([u({readOnly:!0})],n.prototype,"state",1);c([u()],n.prototype,"shape",1);c([u()],n.prototype,"tiltEnabled",1);c([u()],n.prototype,"excludedLayers",1);c([u()],n.prototype,"excludeGroundSurface",1);n=c([V("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=y()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(!d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:p}=this.viewModel,m=this.excludeGroundSurface,C=p.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:p.toArray(),excludeGroundSurface:m,onLayerClick:G=>{this.excludedLayers.remove(G)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
|
|
3
|
+
v5.0.0-next.58 */
|
|
4
|
+
import f from"./QGHV2436.js";import"./B4YDPJ3J.js";import e from"./ESR36PCU.js";import"./WIWLWAAB.js";import{a as E}from"./JE2IJUR7.js";import"./ZK7SUVBN.js";import d from"./ZKA6HZYN.js";import{a as k}from"./CKPCRJ5D.js";import{a as _}from"./E6ZAQXMP.js";import c from"./Y2JBJAXZ.js";import a from"./AGLZPXQS.js";import{g as L}from"./SKDDKMOZ.js";import"./MWHO3YJE.js";import"./F3GMDQPJ.js";import{I as w,J as r,L as b,O as $,a as v,b as o,s as y}from"./TMIQF7RO.js";import"./MAOABEGP.js";export default $arcgis.t(([T,{property:u,subclass:V},{ignoreAbortErrors:A},{watch:j},,,z,,S])=>{var B=v`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,p;g>=0;g--)(p=e[g])&&(l=(d?p(i,t,l):p(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends S{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new T}};c([u()],n.prototype,"_excludingLayers",2);c([u({readOnly:!0})],n.prototype,"state",1);c([u()],n.prototype,"shape",1);c([u()],n.prototype,"tiltEnabled",1);c([u()],n.prototype,"excludedLayers",1);c([u()],n.prototype,"excludeGroundSurface",1);n=c([V("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=y()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(!d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:p}=this.viewModel,m=this.excludeGroundSurface,C=p.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:p.toArray(),excludeGroundSurface:m,onLayerClick:G=>{this.excludedLayers.remove(G)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
|
|
@@ -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.58 */
|
|
4
|
+
import"./MAOABEGP.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:"\u03BC.\u03A7.",_era_bc:"\u03C0.\u03A7.",A:"\u03C0\u03BC",P:"\u03BC\u03BC",AM:"\u03C0.\u03BC.",PM:"\u03BC.\u03BC.","A.M.":"\u03C0.\u03BC.","P.M.":"\u03BC.\u03BC.",January:"\u0399\u03B1\u03BD\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",February:"\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03B1\u03C1\u03AF\u03BF\u03C5",March:"\u039C\u03B1\u03C1\u03C4\u03AF\u03BF\u03C5",April:"\u0391\u03C0\u03C1\u03B9\u03BB\u03AF\u03BF\u03C5",May:"\u039C\u03B1\u0390\u03BF\u03C5",June:"\u0399\u03BF\u03C5\u03BD\u03AF\u03BF\u03C5",July:"\u0399\u03BF\u03C5\u03BB\u03AF\u03BF\u03C5",August:"\u0391\u03C5\u03B3\u03BF\u03CD\u03C3\u03C4\u03BF\u03C5",September:"\u03A3\u03B5\u03C0\u03C4\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",October:"\u039F\u03BA\u03C4\u03C9\u03B2\u03C1\u03AF\u03BF\u03C5",November:"\u039D\u03BF\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",December:"\u0394\u03B5\u03BA\u03B5\u03BC\u03B2\u03C1\u03AF\u03BF\u03C5",Jan:"\u0399\u03B1\u03BD",Feb:"\u03A6\u03B5\u03B2",Mar:"\u039C\u03B1\u03C1",Apr:"\u0391\u03C0\u03C1","May(short)":"\u039C\u03B1\u0390",Jun:"\u0399\u03BF\u03C5\u03BD",Jul:"\u0399\u03BF\u03C5\u03BB",Aug:"\u0391\u03C5\u03B3",Sep:"\u03A3\u03B5\u03C0",Oct:"\u039F\u03BA\u03C4",Nov:"\u039D\u03BF\u03B5",Dec:"\u0394\u03B5\u03BA",Sunday:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE",Monday:"\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1",Tuesday:"\u03A4\u03C1\u03AF\u03C4\u03B7",Wednesday:"\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7",Thursday:"\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7",Friday:"\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE",Saturday:"\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF",Sun:"\u039A\u03C5\u03C1",Mon:"\u0394\u03B5\u03C5",Tue:"\u03A4\u03C1\u03AF",Wed:"\u03A4\u03B5\u03C4",Thu:"\u03A0\u03AD\u03BC",Fri:"\u03A0\u03B1\u03C1",Sat:"\u03A3\u03AC\u03B2",_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":"\u0395\u03C3\u03C4\u03AF\u03B1\u03C3\u03B7",Play:"\u0391\u03BD\u03B1\u03C0\u03B1\u03C1\u03B1\u03B3\u03C9\u03B3\u03AE",Stop:"\u03A3\u03C4\u03AC\u03C3\u03B7",Legend:"\u03A5\u03C0\u03CC\u03BC\u03BD\u03B7\u03BC\u03B1","Press ENTER to toggle":"",Loading:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7",Home:"\u0391\u03C1\u03C7\u03B9\u03BA\u03AE",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:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7",Image:"Image",Data:"\u0394\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03B1",Print:"\u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03C3\u03B7","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":"\u0391\u03C0\u03CC %1 \u03AD\u03C9\u03C2 %2","From %1":"\u0391\u03C0\u03CC %1","To %1":"\u0388\u03C9\u03C2 %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{c as f,g}from"./
|
|
3
|
+
v5.0.0-next.58 */
|
|
4
|
+
import{c as f,g}from"./F3GMDQPJ.js";import{h as O,j as w,k as N,l as u,m,n as $,o as b,q as y,r as _,t as k}from"./TMIQF7RO.js";var A=t=>(...s)=>{let o=m(),e=new t(...s),r=e.exports;u(o.at(-1));let n=e.component.manager;n.W(e,r),e.watchExports(n.W.bind(n,e)),$(e);let a=[e.component,...o].reverse();return y(a,i=>i===void 0?void 0:U(e,i,r),r)},U=(t,{host:s,key:o,isReactive:e},r)=>{let n=s,a=n[o]!==t.exports,i=n[o]!==r,c=r!==t.exports;if(a&&!i&&c&&(n[o]=t.exports),s===t.component){if(e){let l=t.component.manager;i&&l.W(t,n[o]),t.onUpdate(h=>{if(h.has(o)){let P=n[o];P!==t.exports&&l.W(t,P)}})}t.O=e?void 0:o}let d=t.component.constructor.elementProperties.get(o)?.readOnly;t.watchExports(()=>{n[o]!==t.exports&&(d?b(()=>{n[o]=t.exports}):n[o]=t.exports)})};var D="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),F=new Set(D),v="en",K={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},W=async(t,s,o="")=>{let e=`${s}/${o}`,r=`${e}${t}.json`;return E[r]??(E[r]=S(t,e)),await E[r]},E={},S=async(t,s)=>{let o=`${s}${t}.json`;try{let e=await fetch(o);if(e.ok)return await e.json()}catch(e){return console.error(e),{}}return t===v?{}:await S(v,s)},x=t=>{let s=g(t,"lang",globalThis.navigator?.language||v);return{lang:s,t9nLocale:V(s)}},V=t=>{let[s,o]=t.split("-"),e=s.toLowerCase(),r=e;return o&&(r=`${e}-${o.toUpperCase()}`),r=K[r]??r,F.has(r)?r:o?V(e):v},j=(t,s,o,e)=>{let r,n=()=>I(t,s(),e).then(a=>{(r?.lang!==a.lang||r.t9nLocale!==a.t9nLocale||r.t9nStrings!==a.t9nStrings)&&o(a),r=a}).catch(console.error);return queueMicrotask(n),f(t,["lang"],n)},I=async(t,s,o=t.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:r}=x(t),n=`${s}/${o}/t9n`,i=o===null?{}:await W(r,n,"messages.");return{lang:e,t9nLocale:r,t9nStrings:i}};var L=t=>z(void 0,t),mt=t=>s=>z(s,t),C=class extends k{constructor(s,o){super(s);let e=this.exports;try{w(this.component);let r=o(this.component,this),n=this.exports!==e;if(O(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},z=A(C);var ft=t=>(...s)=>{let o=m(),e=new t(...s);return u(o.at(-1)),e},gt=t=>L((s,o)=>{let e=globalThis.matchMedia(t),r=()=>{o.exports=e.matches};r(),o.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),M="ltr",vt=()=>L((t,s)=>{s.exports=M,s.onLifecycle(()=>{let o=()=>{let e=g(t.el,"dir",M);s.exports=e==="rtl"?"rtl":"ltr"};return o(),f(t.el,["dir"],o)})}),bt=t=>(s={})=>L((o,e)=>{let r=x(o.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=o;e.onLifecycle(()=>j(o.el,()=>t("./assets"),({t9nLocale:c,t9nStrings:p,lang:d})=>{let l={...p,_lang:d,_t9nLocale:c,_loading:!1};e.exports=l;let h=p.componentLabel;typeof h=="string"&&"label"in o&&o.label==null&&(o.label??=h),i(a.messageOverrides)},s.name));let i=c=>{let p=e.exports,d=p._original??p,l=T(d,c);c&&(l._original=d),e.exports=l};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),T=(t,s)=>{if(!s)return t;let o={...t};return Object.entries(s).forEach(([e,r])=>{t[e]!==void 0&&(typeof r=="object"?o[e]=T(t[e],r):o[e]=r??t[e])}),o},yt=t=>q,R="arcgisPropertyChange",q=(...t)=>{let s=N(),o=_(R,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of t)r.has(n)&&o.emit({name:n})}),o};export{A as a,mt as b,ft as c,gt as d,vt as e,bt as f,yt as g};
|
|
@@ -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.58 */
|
|
4
|
+
import a from"./UWWM3WBI.js";import{I as g,J as i,K as o,O as p,a as n,b as t}from"./TMIQF7RO.js";import"./MAOABEGP.js";export default $arcgis.t(([{c:m,h:d}])=>{var b=n`.arcgis-legend__layer-row{display:flex}.arcgis-legend__layer-cell{padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--symbols{min-width:10px;text-align:center}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-sm);margin-left:auto}.arcgis-legend__color-ramp{width:24px}.arcgis-legend__opacity-ramp{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODcxRkM3N0RBQzA4QkVDRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOTY4RkNFNjM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOTY4RkNFNTM1MzYxMUU0ODlDMUFFQ0M2REU5QzFCNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTg3MUZDNzdEQUMwOEJFQ0UiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SLS5VAAAAKElEQVR42mI8c+YMAwwYGxvD2UwMOADpEoz///+Hc86ePUsLOwACDABC1ghwV8TLOQAAAABJRU5ErkJggg==)}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.arcgis-legend-layer-caption{display:table-caption;padding:var(--calcite-spacing-sm) 0}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`,l={layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbolContainer:"arcgis-legend__layer-cell arcgis-legend__layer-cell--symbols",rampContainer:"arcgis-legend__ramps",colorRamp:"arcgis-legend__color-ramp",opacityRamp:"arcgis-legend__opacity-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label"},c=class extends g{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=b}get _preview(){let e=this.legendElement.preview;if(!e)return null;let a=this.legendElement.type==="opacity-ramp",r=a?l.opacityRamp:"";e.className=`${l.colorRamp} ${r}`,this.opacity!=null&&(e.style.opacity=this.opacity.toString());let s=a?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return d(e,s),e}render(){let{legendElement:e,_preview:a}=this;if(!a)return null;let r={height:a.style.height};return t`<div class=${i(l.layerRow)}><div class=${i(l.symbolContainer)}><div class=${i(l.rampContainer)}>${a}</div></div><div class=${i(l.layerInfo)}><div class=${i(l.rampLabelsContainer)} style=${o(r)}>${e.infos.map(s=>this._renderRampLabel(s,e.type))}</div></div></div>`}_renderRampLabel(e,a){return t`<div class=${i(e.label?l.rampLabel:void 0)}>${m(e,a,this.messages)}</div>`}};p("arcgis-legend-classic-color-ramp",c);return c},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.58 */
|
|
4
|
+
import"./MAOABEGP.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:"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:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"\uC624\uC804","P.M.":"\uC624\uD6C4",January:"1\uC6D4",February:"2\uC6D4",March:"3\uC6D4",April:"4\uC6D4",May:"5\uC6D4",June:"6\uC6D4",July:"7\uC6D4",August:"8\uC6D4",September:"9\uC6D4",October:"10\uC6D4",November:"11\uC6D4",December:"12\uC6D4",Jan:"1\uC6D4",Feb:"2\uC6D4",Mar:"3\uC6D4",Apr:"4\uC6D4","May(short)":"5\uC6D4",Jun:"6\uC6D4",Jul:"7\uC6D4",Aug:"8\uC6D4",Sep:"9\uC6D4",Oct:"10\uC6D4",Nov:"11\uC6D4",Dec:"12\uC6D4",Sunday:"\uC77C\uC694\uC77C",Monday:"\uC6D4\uC694\uC77C",Tuesday:"\uD654\uC694\uC77C",Wednesday:"\uC218\uC694\uC77C",Thursday:"\uBAA9\uC694\uC77C",Friday:"\uAE08\uC694\uC77C",Saturday:"\uD1A0\uC694\uC77C",Sun:"\uC77C",Mon:"\uC6D4",Tue:"\uD654",Wed:"\uC218",Thu:"\uBAA9",Fri:"\uAE08",Sat:"\uD1A0",_dateOrd:function(_){let e="\uC77C";if(_<11||_>13)switch(_%10){case 1:e="\uC77C";break;case 2:e="\uC77C";break;case 3:e="\uC77C";break}return e},"Zoom Out":"\uCD95\uC18C",Play:"\uC2DC\uC791",Stop:"\uC815\uC9C0",Legend:"\uBC94\uB840","Press ENTER to toggle":"\uCF1C\uACE0 \uB044\uB824\uBA74 \uD074\uB9AD, \uD0ED \uD639\uC740 \uC5D4\uD130\uB97C \uB20C\uB7EC\uC8FC\uC138\uC694.",Loading:"\uBD88\uB7EC\uC624\uB294 \uC911",Home:"\uD648",Chart:"\uCC28\uD2B8","Serial chart":"\uC2DC\uB9AC\uC5BC \uCC28\uD2B8","X/Y chart":"X/Y \uCC28\uD2B8","Pie chart":"\uD30C\uC774 \uCC28\uD2B8","Gauge chart":"\uAC8C\uC774\uC9C0 \uCC28\uD2B8","Radar chart":"\uB808\uC774\uB354 \uCC28\uD2B8","Sankey diagram":"\uC0DD\uD0A4 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Flow diagram":"\uD50C\uB85C\uC6B0 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Chord diagram":"\uCF54\uB4DC \uB2E4\uC774\uC5B4\uADF8\uB7A8","TreeMap chart":"\uD2B8\uB9AC\uB9F5 \uCC28\uD2B8","Force directed tree":"\uD3EC\uC2A4 \uB514\uB809\uD2F0\uB4DC \uD2B8\uB9AC","Sliced chart":"\uC2AC\uB77C\uC774\uC2A4 \uCC28\uD2B8",Series:"\uC2DC\uB9AC\uC988","Candlestick Series":"\uCE94\uB4E4\uC2A4\uD2F1 \uC2DC\uB9AC\uC988","OHLC Series":"OHLC \uC2DC\uB9AC\uC988","Column Series":"\uCEEC\uB7FC \uC2DC\uB9AC\uC988","Line Series":"\uB77C\uC778 \uC2DC\uB9AC\uC988","Pie Slice Series":"\uD30C\uC774 \uC2AC\uB77C\uC774\uC2A4 \uC2DC\uB9AC\uC988","Funnel Series":"\uD37C\uB110 \uC2DC\uB9AC\uC988","Pyramid Series":"\uD53C\uB77C\uBBF8\uB4DC \uC2DC\uB9AC\uC988","X/Y Series":"X/Y \uC2DC\uB9AC\uC988",Map:"\uB9F5","Press ENTER to zoom in":"\uD655\uB300\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to zoom out":"\uCD95\uC18C\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Use arrow keys to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uBC29\uD5A5\uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use plus and minus keys on your keyboard to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uD0A4\uBCF4\uB4DC\uC758 +/- \uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.",Export:"\uB0B4\uBCF4\uB0B4\uAE30",Image:"\uC774\uBBF8\uC9C0",Data:"\uB370\uC774\uD130",Print:"\uC778\uC1C4","Press ENTER to open":"\uC5F4\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to print.":"\uCD9C\uB825\uD558\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to export as %1.":"%1(\uC73C)\uB85C \uB0B4\uBCF4\uB0B4\uB824\uBA74 \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","(Press ESC to close this message)":"(\uC774 \uBA54\uC2DC\uC9C0\uB97C \uB044\uB824\uBA74 ESC\uB97C \uB204\uB974\uC138\uC694.)","Image Export Complete":"\uC774\uBBF8\uC9C0 \uB0B4\uBCF4\uB0B4\uAE30 \uC644\uB8CC","Export operation took longer than expected. Something might have gone wrong.":"\uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uC9C0\uC5F0\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uBB38\uC81C\uAC00 \uC5C6\uB294\uC9C0 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.","Saved from":"\uB2E4\uC74C\uC73C\uB85C\uBD80\uD130 \uC800\uC7A5\uB428: ",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move left selection":"\uC67C\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move right selection":"\uC624\uB978\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use TAB select grip buttons or up and down arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move lower selection":"\uD558\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move upper selection":"\uC0C1\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","From %1 to %2":"%1 \uBD80\uD130 %2 \uAE4C\uC9C0","From %1":"%1 \uBD80\uD130","To %1":"%1 \uAE4C\uC9C0","No parser available for file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uBD88\uAC00\uB2A5: %1","Error parsing file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uC624\uB958: %1","Unable to load file: %1":"\uD30C\uC77C \uB85C\uB4DC \uBD88\uAC00\uB2A5: %1","Invalid date":"\uB0A0\uC9DC \uC62C\uBC14\uB974\uC9C0 \uC54A\uC74C",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 as r}from"./
|
|
3
|
+
v5.0.0-next.58 */
|
|
4
|
+
import{a as r}from"./SKDDKMOZ.js";import{u as c}from"./TMIQF7RO.js";export default $arcgis.t(([{watch:s},e])=>{var a=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:n}=this.component;return t&&o&&n?[t,n,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>void this._updateScreenLocation(),{initial:!0}))}async _updateScreenLocation(){{e.isLoaded()||await e.load();let{location:o,view:t}=this.component,n=t?.spatialReference,i=n&&o?e.execute(o,n):null;this.exports=this.component.trackLocation&&i&&t?.ready?t.toScreen(i):null}}},d=r(a);return d},"core/reactiveUtils","geometry/operators/projectOperator")
|
|
@@ -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 l}from"./JKUHJR7N.js";import d from"./5CQ3L7EL.js";import c from"./7L5NPLUW.js";import b from"./ZLNHGFGZ.js";import{g as s}from"./AJKBYLMQ.js";import"./EAGY7ORZ.js";import"./BEXZ3UID.js";import{I as a,O as n,a as t,s as o}from"./TDX5RM2Z.js";import"./MCYRM7L2.js";export default $arcgis.t(([c,g,,,d])=>{var m=t`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`,v=d(g),i=class extends a{constructor(){super(...arguments),this.widget=v(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.dataCaptureEnabled=this.widget.dataCaptureEnabled,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.imageOverlaysOpened=this.widget.imageOverlaysOpened,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=s()("imageGalleryEnabled","layer"),this.arcgisReady=o()}static{this.properties={view:0,autoDestroyDisabled:5,currentCoverageVisible:5,dataCaptureEnabled:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,imageOverlaysOpened:5,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.styles=[l,m]}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let r=this.orientedImageryLayerItemId;r&&this.widget&&(this.layer=new c({portalItem:{id:r}}),this.widget.view?this.widget.view.map?.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map?.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);return i},"layers/OrientedImageryLayer","widgets/OrientedImageryViewer",b,c,d)
|
|
3
|
+
v5.0.0-next.58 */
|
|
4
|
+
import{a as l}from"./A5AQUPPF.js";import d from"./GUJV25KP.js";import c from"./Y2JBJAXZ.js";import b from"./AGLZPXQS.js";import{g as s}from"./SKDDKMOZ.js";import"./MWHO3YJE.js";import"./F3GMDQPJ.js";import{I as a,O as n,a as t,s as o}from"./TMIQF7RO.js";import"./MAOABEGP.js";export default $arcgis.t(([c,g,,,d])=>{var m=t`.esri-imagery-viewer{width:100%;height:100%}.esri-oriented-imagery-viewer{--esri-oriented-imagery-viewer-action-icon-size: 8px;--esri-oriented-imagery-viewer-min-width: 288px;--esri-oriented-imagery-viewer-min-height: 348px;--calcite-dialog-size-x: 210px;--calcite-dialog-min-size-y: 90px;--calcite-icon-size: var(--esri-oriented-imagery-viewer-action-icon-size);box-sizing:border-box;z-index:1;width:100%;min-width:var(--esri-oriented-imagery-viewer-min-width);height:100%;min-height:var(--esri-oriented-imagery-viewer-min-height);flex-direction:column;align-items:flex-start;display:flex;overflow:hidden}.esri-oriented-imagery-viewer:has(.esri-widget .esri-oriented-imagery-viewer__image-overlays-no-result){--esri-oriented-imagery-viewer-min-height: 420px}.esri-oriented-imagery-viewer__body{flex-direction:column;flex:1 0 auto;order:1;align-self:stretch;height:100%;display:flex}.esri-oriented-imagery-viewer__body-current-coverage{--calcite-icon-color: var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__body-additional-camera-locations{--calcite-icon-color: var(--calcite-color-brand)}.esri-oriented-imagery-viewer__body-additional-coverage{--calcite-icon-color: var(--calcite-color-status-info)}.esri-oriented-imagery-viewer__body-footprint{--calcite-icon-color: var(--calcite-color-status-success)}.esri-oriented-imagery-viewer__carousel{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__carousel-container{height:auto;display:inline-block;overflow:auto hidden}.esri-oriented-imagery-viewer__carousel header{--calcite-font-weight-medium: $font-weight--light;--calcite-font-size-0: $font-size--tiny}.esri-oriented-imagery-viewer__carousel-item{width:100px;height:70px}.esri-oriented-imagery-viewer__carousel-item-wrapper{box-sizing:border-box;justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-item-wrapper--selected{box-sizing:border-box;border:2px solid var(--calcite-color-brand);justify-content:center;align-items:center;width:106px;height:78px;margin:auto 10px;display:flex;box-shadow:0 1px 2px #0000004d}.esri-oriented-imagery-viewer__carousel-content{display:flex}.esri-oriented-imagery-viewer__close{background:var(--calcite-color-foreground-1);flex-direction:row;flex-grow:0;order:7;justify-content:center;align-items:center;width:48px;height:59px;display:flex}.esri-oriented-imagery-viewer__image-enhancement-wrapper{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:140px;margin:auto 1% 0;position:absolute;bottom:0;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-enhancement-tools{display:flex}.esri-oriented-imagery-viewer__image-enhancement-tool-container{width:50%;margin-block:2px;padding-inline:.75rem}.esri-oriented-imagery-viewer__image-overlays{z-index:1;margin:auto;border:1px solid var(--calcite-color-border-2);align-items:center;width:100%;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-layer-list,.esri-oriented-imagery-viewer__image-overlays-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-container{height:auto;display:flex}.esri-oriented-imagery-viewer__image-overlays-no-result{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:auto;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-no-result-layer-list,.esri-oriented-imagery-viewer__image-overlays-no-result-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__image-overlays-increased-height{z-index:1;border:1px solid var(--calcite-color-border-2);align-items:center;width:98%;height:200px;margin:auto 1% 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 0 1px #0000004d}.esri-oriented-imagery-viewer__image-overlays-increased-height-layer-list,.esri-oriented-imagery-viewer__image-overlays-increased-height-switch{padding:0 var(--calcite-spacing-md)}.esri-oriented-imagery-viewer__measurement-results{width:auto;height:fit-content}.esri-oriented-imagery-viewer__measurements-table{margin-block-start:var(--calcite-spacing-sm)}.esri-oriented-imagery-viewer__measurements-bar{flex-wrap:nowrap;display:flex}.esri-oriented-imagery-viewer__measurements-button{display:flex}.esri-oriented-imagery-viewer__measurement-display{text-align:center;margin-block-end:var(--calcite-spacing-xxs)}.esri-oriented-imagery-viewer__viewer{cursor:url(data:text/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A);flex-grow:1;width:100%;margin:0;display:flex}.esri-oriented-imagery-viewer__viewer--hidden{display:none}.esri-oriented-imagery-viewer__viewer-container{border-top:1px solid var(--calcite-color-border-3);background:var(--calcite-color-foreground-1);border-radius:0 0 3px 3px;flex:1 0 auto;order:1;align-self:stretch;width:100%;height:100%;display:flex}.esri-oriented-imagery-viewer__alert{inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);position:absolute}@keyframes rotateOrientedImageryNavigationTool{0%{transform:rotate(var(--oi-navigation-tool-rotation-from, 0deg))}to{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}}.esri-oriented-imagery-viewer__message-box{text-align:center;word-break:break-word;justify-content:center;align-items:center;width:100%;height:100%;padding:0 25%;font-size:var(--calcite-font-size-sm);display:flex;position:relative}.esri-oriented-imagery-viewer__navigation{transform:rotate(var(--oi-navigation-tool-rotation-to, 0deg))}.esri-oriented-imagery-viewer__navigation-animate{animation:.7s linear forwards rotateOrientedImageryNavigationTool}.esri-oriented-imagery-viewer__navigation-feature{fill:var(--calcite-color-brand);stroke:var(--calcite-color-foreground-1);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-feature.selected{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-feature-path{pointer-events:none}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-0{stop-color:var(--calcite-color-status-danger);stop-opacity:.4}.esri-oriented-imagery-viewer__navigation-feature-path-stop-offset-1{stop-color:var(--calcite-color-status-danger);stop-opacity:.2}.esri-oriented-imagery-viewer__navigation-pointer{fill:var(--calcite-color-foreground-1);fill-rule:evenodd;stroke:#0000;stroke-dasharray:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-width:0}.esri-oriented-imagery-viewer__navigation-pointer-north{fill:var(--calcite-color-status-danger)}.esri-oriented-imagery-viewer__navigation-wrapper{z-index:1;position:absolute;bottom:0;right:0;overflow:hidden}.esri-oriented-imagery-viewer__navigation-wrapper--zoomed{transform-origin:100% 100%;transform:scale(1.5)}.esri-oriented-imagery-viewer__navigation-wrapper-boundary{fill:var(--calcite-color-foreground-1);fill-opacity:.25;stroke:var(--calcite-color-border-2)}.esri-oriented-imagery-viewer__navigation-sector{fill:none}.esri-oriented-imagery-viewer__navigation-sector-separator{stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-cross{stroke:var(--calcite-color-status-danger);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-enabled{fill:var(--calcite-color-foreground-1);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-disabled{fill:var(--calcite-color-foreground-3);stroke:var(--calcite-color-border-2);stroke-width:1px}.esri-oriented-imagery-viewer__navigation-sector-outer{fill:var(--calcite-color-foreground-1);fill-opacity:.4;stroke:none}.esri-oriented-imagery-viewer__pro .esri-oriented-imagery-viewer{width:100%;max-width:unset;height:100%;max-height:unset;position:static}.esri-oriented-imagery-viewer__sketch-tools{justify-content:center;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.esri-oriented-imagery-viewer__navigation-ui{box-sizing:border-box;inset-block-end:var(--calcite-spacing-md);inset-inline:var(--calcite-spacing-md);transform-style:preserve-3d;z-index:var(--calcite-z-index-overlay);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;overflow:hidden}.esri-oriented-imagery-viewer__navigation-ui__direction{--esri-oriented-imagery-viewer__navigation-ui-direction-color: wheat;--calcite-icon-color: var(--esri-oriented-imagery-viewer__navigation-ui-direction-color);cursor:not-allowed;width:160px;height:160px;position:absolute}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]){cursor:pointer;pointer-events:auto}.esri-oriented-imagery-viewer__navigation-ui__direction:not([disabled]):hover{--calcite-icon-color: var(--calcite-color-brand);background-color:rgba(var(--calcite-color-brand),var(--calcite-opacity-half));border-radius:50%}.esri-oriented-imagery-viewer__navigation-ui__direction-pad{box-sizing:border-box;transform:perspective(400px) rotateX(60deg) var(--rotate-transform);filter:drop-shadow(0 2px 1px #00000080);width:330px;height:330px}.esri-oriented-imagery-viewer__navigation-ui__direction--top{transform-style:preserve-3d;top:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--bottom{transform-style:preserve-3d;bottom:0;left:50%;transform:translate(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--left{transform-style:preserve-3d;top:50%;left:0;transform:translateY(-50%)}.esri-oriented-imagery-viewer__navigation-ui__direction--right{transform-style:preserve-3d;top:50%;right:0;transform:translateY(-50%)}.esri-panoramic-viewer{z-index:1;position:relative;width:100%;height:100%}`,v=d(g),i=class extends a{constructor(){super(...arguments),this.widget=v(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.dataCaptureEnabled=this.widget.dataCaptureEnabled,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.imageOverlaysOpened=this.widget.imageOverlaysOpened,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=s()("imageGalleryEnabled","layer"),this.arcgisReady=o()}static{this.properties={view:0,autoDestroyDisabled:5,currentCoverageVisible:5,dataCaptureEnabled:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,imageOverlaysOpened:5,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.styles=[l,m]}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let r=this.orientedImageryLayerItemId;r&&this.widget&&(this.layer=new c({portalItem:{id:r}}),this.widget.view?this.widget.view.map?.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map?.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);return i},"layers/OrientedImageryLayer","widgets/OrientedImageryViewer",b,c,d)
|
|
@@ -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 u}from"./QYZFLZVA.js";import e from"./TTR2HCVV.js";import{a as y}from"./FUYEK4GT.js";import{a as $}from"./YHOAIBFJ.js";import d from"./7L5NPLUW.js";import c from"./ZLNHGFGZ.js";import{g as S}from"./AJKBYLMQ.js";import"./EAGY7ORZ.js";import{b as x}from"./BEXZ3UID.js";import{H as _,I as v,J as a,L as w,M as f,O as b,a as p,b as s,s as m}from"./TDX5RM2Z.js";import"./MCYRM7L2.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
|
|
3
|
+
v5.0.0-next.58 */
|
|
4
|
+
import{a as u}from"./WIWLWAAB.js";import e from"./ZKA6HZYN.js";import{a as y}from"./CKPCRJ5D.js";import{a as $}from"./E6ZAQXMP.js";import d from"./Y2JBJAXZ.js";import c from"./AGLZPXQS.js";import{g as S}from"./SKDDKMOZ.js";import"./MWHO3YJE.js";import{b as x}from"./F3GMDQPJ.js";import{H as _,I as v,J as a,L as w,M as f,O as b,a as p,b as s,s as m}from"./TMIQF7RO.js";import"./MAOABEGP.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
|