@esri/solutions-components 1.1.0-next.20251008 → 1.1.0-next.20251008.1
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/{5BFBQDAX.js → 2JWUP3G5.js} +2 -2
- package/dist/cdn/2QA7JT7T.js +4 -0
- package/dist/cdn/{F5VNMPDE.js → 2QUMF6BC.js} +2 -2
- package/dist/cdn/{6UVMKSM6.js → 2VRBTKNK.js} +2 -2
- package/dist/cdn/{AUSMFDSO.js → 2W24N4O3.js} +2 -2
- package/dist/cdn/{6SPEIDJ5.js → 3FTPCQ44.js} +2 -2
- package/dist/cdn/{GOSQMPLD.js → 3OV4CTEC.js} +2 -2
- package/dist/cdn/{COOGOQHS.js → 3UQB4RD5.js} +2 -2
- package/dist/cdn/{DAYQPNTV.js → 3VHBN5ZL.js} +2 -2
- package/dist/cdn/{UWL3OUNV.js → 3ZMDA7RH.js} +1 -1
- package/dist/cdn/{IHHCLWCL.js → 4GRSWWG6.js} +2 -2
- package/dist/cdn/{WISGIRW6.js → 4HGQRLEE.js} +2 -2
- package/dist/cdn/{U2VH2LKP.js → 4K6HZ75C.js} +2 -2
- package/dist/cdn/{Z55VK2A4.js → 4PZRZB5Z.js} +2 -2
- package/dist/cdn/{TIQJCA7O.js → 4XJEGG4Z.js} +2 -2
- package/dist/cdn/{VE5CZHK7.js → 54IQCDXA.js} +2 -2
- package/dist/cdn/{SSDCAJ6N.js → 55TVP7JA.js} +2 -2
- package/dist/cdn/{EDUNXFWF.js → 55VJKIT4.js} +2 -2
- package/dist/cdn/{RI2IDZMD.js → 56MVUILU.js} +2 -2
- package/dist/cdn/{2QQAS4R2.js → 5H4AMHXY.js} +2 -2
- package/dist/cdn/{HCXJO4ZV.js → 5HDPFIVC.js} +2 -2
- package/dist/cdn/{4YDLQWYV.js → 5HRKE7ZZ.js} +2 -2
- package/dist/cdn/{2ZNOUB6W.js → 5RMEYG3D.js} +1 -1
- package/dist/cdn/{QXHCTHCT.js → 5VBO2I6I.js} +2 -2
- package/dist/cdn/{QMVFKBCB.js → 5VCSKMJM.js} +2 -2
- package/dist/cdn/{ELVJVOF7.js → 5XIMDQZK.js} +2 -2
- package/dist/cdn/{YRWXAGEM.js → 62XONJJJ.js} +2 -2
- package/dist/cdn/{PRI7A4BS.js → 63OPKMPJ.js} +2 -2
- package/dist/cdn/{AB2P367V.js → 6GDKLYDH.js} +2 -2
- package/dist/cdn/{NVCH434R.js → 6GFREZVC.js} +2 -2
- package/dist/cdn/{LPARSJGC.js → 6GJT2N3Q.js} +2 -2
- package/dist/cdn/{ON3637KX.js → 6MMPHOBK.js} +2 -2
- package/dist/cdn/{5XAMNT64.js → 6MRKYGL5.js} +2 -2
- package/dist/cdn/{PA5TUTEY.js → 6NADAFNM.js} +2 -2
- package/dist/cdn/{WLLNQ57Z.js → 6OANKKZD.js} +2 -2
- package/dist/cdn/{LMRAWAJ5.js → 6OPGZGV3.js} +2 -2
- package/dist/cdn/{Q2NJEOXE.js → 6SBUNPG6.js} +2 -2
- package/dist/cdn/{NWOQI5RY.js → 743OCRIE.js} +2 -2
- package/dist/cdn/{KTV27UYP.js → 756WFIVI.js} +2 -2
- package/dist/cdn/{VG5FZ7YA.js → 776MXZQE.js} +2 -2
- package/dist/cdn/{J7NZ7TAB.js → 77AW2L67.js} +2 -2
- package/dist/cdn/{3OL3LYTL.js → 7CAATV33.js} +2 -2
- package/dist/cdn/{54N6KCW5.js → 7EKLS25S.js} +1 -1
- package/dist/cdn/{Q236VD3E.js → 7ETFO7MW.js} +2 -2
- package/dist/cdn/{JP6YXAPE.js → 7FCMQAOP.js} +2 -2
- package/dist/cdn/{I7TITAT7.js → 7GB7DC3T.js} +2 -2
- package/dist/cdn/{DQDVULCQ.js → 7GMTCCQG.js} +2 -2
- package/dist/cdn/{OYTQ6PFI.js → 7PMTYFF7.js} +2 -2
- package/dist/cdn/7UXNV7RB.js +4 -0
- package/dist/cdn/{M4YVUIRX.js → 7VOB6CTQ.js} +2 -2
- package/dist/cdn/{IZESOTQ5.js → A27O3RQI.js} +2 -2
- package/dist/cdn/{2L3BXXVO.js → A2VNVKLM.js} +2 -2
- package/dist/cdn/{NXOJQH57.js → A4MRQM3U.js} +2 -2
- package/dist/cdn/{GRXEIRTE.js → A5KZBDUA.js} +2 -2
- package/dist/cdn/{RUSZENO2.js → A5MUT7MZ.js} +2 -2
- package/dist/cdn/{B6S6Q4VM.js → AG2MFEZ6.js} +2 -2
- package/dist/cdn/{JTVAOAZ7.js → AJAJCTHK.js} +2 -2
- package/dist/cdn/{QPEF7Z34.js → AKOIGMGW.js} +1 -1
- package/dist/cdn/{BLAQKSE6.js → ATACWWKU.js} +2 -2
- package/dist/cdn/{COEKS3L4.js → AW4OKAIA.js} +2 -2
- package/dist/cdn/{45SM5GZH.js → AXZU7T6V.js} +2 -2
- package/dist/cdn/{GSPU2UNM.js → B3Q54R55.js} +2 -2
- package/dist/cdn/{IY6WWNIE.js → BABMMEKK.js} +1 -1
- package/dist/cdn/{KVQZP6O4.js → BEH7FNEI.js} +2 -2
- package/dist/cdn/{U7EPLCCV.js → BGQ2ZB43.js} +2 -2
- package/dist/cdn/{QPLFQF7K.js → BHF3J3OL.js} +2 -2
- package/dist/cdn/{4SNILCIZ.js → BHMXTBXC.js} +2 -2
- package/dist/cdn/{QLYZZQM4.js → BJKYVFXO.js} +2 -2
- package/dist/cdn/{E2MZSR7U.js → BKTK4DTH.js} +2 -2
- package/dist/cdn/{AFR63NC6.js → BPE3B3PQ.js} +2 -2
- package/dist/cdn/{5IDSR36K.js → BPVK7HOQ.js} +2 -2
- package/dist/cdn/{M44X66YE.js → BSVUMICC.js} +2 -2
- package/dist/cdn/{XGSKNJHV.js → BXW45NKL.js} +2 -2
- package/dist/cdn/{FL6BD6TD.js → BYPLBSOB.js} +2 -2
- package/dist/cdn/{HZ23755H.js → BZQ336PO.js} +2 -2
- package/dist/cdn/{4A3TOTX4.js → CDZTTQBO.js} +2 -2
- package/dist/cdn/{ZE3LSA7J.js → CEQ7VZ4K.js} +2 -2
- package/dist/cdn/{47FKRLN3.js → CHI5MGFW.js} +2 -2
- package/dist/cdn/{S3CGUDVW.js → CHPMYDMZ.js} +2 -2
- package/dist/cdn/{WNCFGM2E.js → CO55C2XS.js} +2 -2
- package/dist/cdn/{WWIIN7JA.js → COLRFXEM.js} +2 -2
- package/dist/cdn/{6YUA724T.js → CR3NNKCK.js} +2 -2
- package/dist/cdn/{4OYX2EDV.js → CSAONTTQ.js} +2 -2
- package/dist/cdn/{25STH4FV.js → CSK3C4OD.js} +2 -2
- package/dist/cdn/{T62NCWWL.js → CTJZ6TOJ.js} +2 -2
- package/dist/cdn/{A7TMB3QO.js → CUG6ZCT7.js} +2 -2
- package/dist/cdn/{JEFNAYRC.js → CUJTS7QI.js} +2 -2
- package/dist/cdn/{G3OWUZUL.js → CWPY45T3.js} +1 -1
- package/dist/cdn/{ANGKYR7S.js → CWTU3CNC.js} +2 -2
- package/dist/cdn/{MMFULDI7.js → CXHSOU2D.js} +1 -1
- package/dist/cdn/{5DY37DLG.js → CXNKOKEM.js} +2 -2
- package/dist/cdn/{374NLSIQ.js → CXNLIR2Z.js} +2 -2
- package/dist/cdn/{XLEE4XDL.js → CZCWXKCD.js} +2 -2
- package/dist/cdn/D2N2I4QJ.js +4 -0
- package/dist/cdn/{PEBGTHOV.js → D2ZJY2KS.js} +2 -2
- package/dist/cdn/{LKYGCBTO.js → D37EHLIU.js} +2 -2
- package/dist/cdn/{DOLZSVSX.js → DDBLGIPI.js} +2 -2
- package/dist/cdn/{7DWTV2LQ.js → DDW3RLEE.js} +1 -1
- package/dist/cdn/{SXV4IA3Z.js → DI5Z2EGV.js} +2 -2
- package/dist/cdn/{IENRYNZD.js → DJY7KWMN.js} +2 -2
- package/dist/cdn/{MYCZWDNE.js → DKIV4FLU.js} +2 -2
- package/dist/cdn/{CQTWI4PI.js → DMV3DJAP.js} +2 -2
- package/dist/cdn/{57QWWLMF.js → DNLIXRFX.js} +2 -2
- package/dist/cdn/{RVDQCXWZ.js → DPZDK7BZ.js} +2 -2
- package/dist/cdn/{D24CA6LL.js → E3RMDO5S.js} +2 -2
- package/dist/cdn/{J7IIBYLE.js → E4GPFMZZ.js} +2 -2
- package/dist/cdn/E4R6SRQL.js +4 -0
- package/dist/cdn/{CYOMKXQH.js → E7A4ZQFN.js} +2 -2
- package/dist/cdn/{Z54C5XQI.js → EGTDJUUX.js} +2 -2
- package/dist/cdn/{N7UJGANS.js → EJDVI7YM.js} +2 -2
- package/dist/cdn/{YY64KEJX.js → EM5GGJNR.js} +2 -2
- package/dist/cdn/{LAGZ2SQ3.js → ENPAUPOO.js} +2 -2
- package/dist/cdn/{GYSALAOZ.js → EO4S63HB.js} +2 -2
- package/dist/cdn/{XQ23FEV5.js → EPB5OL3N.js} +1 -1
- package/dist/cdn/{T6QN3XU6.js → EQWAE3LS.js} +2 -2
- package/dist/cdn/{3WYRUOQV.js → EREF2H4R.js} +2 -2
- package/dist/cdn/{PQE2G3DC.js → ET5FJSK3.js} +2 -2
- package/dist/cdn/{YRWHOMVM.js → F6PESHM3.js} +2 -2
- package/dist/cdn/{VTWUPEWR.js → FEMAZO23.js} +2 -2
- package/dist/cdn/{4PNQRCRH.js → FH3TT5EI.js} +2 -2
- package/dist/cdn/{IRYYSNTA.js → FHUI2QNQ.js} +2 -2
- package/dist/cdn/{F3FOBCCL.js → FMEUQ2UK.js} +2 -2
- package/dist/cdn/{TUNQKYFT.js → FNUNDERC.js} +4 -4
- package/dist/cdn/{LMADLYWT.js → FXVCYLIP.js} +2 -2
- package/dist/cdn/{GF2M5LOG.js → FYW6TDRR.js} +1 -1
- package/dist/cdn/{Q2HKN3EB.js → FZGFJV7S.js} +2 -2
- package/dist/cdn/{WN2KPHQU.js → G3ZGSWSN.js} +2 -2
- package/dist/cdn/{VQ6LFGPE.js → G4MED4FO.js} +2 -2
- package/dist/cdn/{CGO5LGR7.js → GAEESAH6.js} +2 -2
- package/dist/cdn/{UQBWYG5K.js → GBVMAPOJ.js} +2 -2
- package/dist/cdn/{KYHIL5F4.js → GDH2I4CJ.js} +2 -2
- package/dist/cdn/{QB7QGBQT.js → GIAPUD45.js} +2 -2
- package/dist/cdn/{2SJENBGK.js → GICBZ47Y.js} +2 -2
- package/dist/cdn/{GAF7MRHW.js → GJU42TAV.js} +2 -2
- package/dist/cdn/{OTJ74M6I.js → GMV2G5MI.js} +2 -2
- package/dist/cdn/{2SH7WOTJ.js → GP4L6OF4.js} +2 -2
- package/dist/cdn/{XDCW4PUR.js → GR2TX3EZ.js} +2 -2
- package/dist/cdn/{4NWKDPWF.js → GSNXO6QJ.js} +2 -2
- package/dist/cdn/{QFBJ4JMR.js → GYKUFCDS.js} +2 -2
- package/dist/cdn/{OWKQHEDJ.js → GYN6BUOW.js} +2 -2
- package/dist/cdn/{T3TL4XE3.js → H3LZRTAE.js} +2 -2
- package/dist/cdn/{UJGGK4LU.js → H4P3FZCK.js} +2 -2
- package/dist/cdn/{HGIEQRFC.js → H6KX7P7Y.js} +2 -2
- package/dist/cdn/{GEJYMCY4.js → H6UGWCMX.js} +1 -1
- package/dist/cdn/{HWYOXZWU.js → H7FZQF6E.js} +2 -2
- package/dist/cdn/{BDQFIIOP.js → HDOENBZW.js} +2 -2
- package/dist/cdn/{XGLM2UZY.js → HKVEGDNW.js} +1 -1
- package/dist/cdn/{ECOUV44T.js → HMQXESJA.js} +1 -1
- package/dist/cdn/{YOXQ37WM.js → HNM4DY7D.js} +2 -2
- package/dist/cdn/{AQAS2VQU.js → HPRGI5L7.js} +2 -2
- package/dist/cdn/{2Y2GJJC3.js → HY46BCFR.js} +2 -2
- package/dist/cdn/{RWBWO74A.js → IFDKIMEI.js} +2 -2
- package/dist/cdn/{MTSR3QI3.js → IJKFQKPV.js} +2 -2
- package/dist/cdn/{NFBCBMDM.js → IMSAFY4W.js} +2 -2
- package/dist/cdn/{UBKGY3QD.js → IQJWMX3G.js} +2 -2
- package/dist/cdn/{RDSFFS6W.js → IQVETGXP.js} +2 -2
- package/dist/cdn/{EPVSXMMR.js → IROFTJMS.js} +2 -2
- package/dist/cdn/{JEW4GF3X.js → IYZ36D6C.js} +2 -2
- package/dist/cdn/{VNKF4L77.js → J45N5IQC.js} +1 -1
- package/dist/cdn/{VRUSDHE4.js → J4FGHXBK.js} +1 -1
- package/dist/cdn/{LS63AKYZ.js → JCD6XUXZ.js} +2 -2
- package/dist/cdn/{JCUUEAUP.js → JEWUWYLX.js} +2 -2
- package/dist/cdn/{5LX2D35I.js → JFKL5MZH.js} +2 -2
- package/dist/cdn/{3TQQK7PR.js → JOCTUVR5.js} +2 -2
- package/dist/cdn/{5L4OVBYY.js → JRFZS76Z.js} +2 -2
- package/dist/cdn/{JO2YIPSA.js → JSHVJKBM.js} +2 -2
- package/dist/cdn/{BEBRHZ2J.js → JVL3OO6Z.js} +2 -2
- package/dist/cdn/{GIMIQHFZ.js → JVNOFKDY.js} +1 -1
- package/dist/cdn/{UPYXLGGJ.js → JVY74GGT.js} +2 -2
- package/dist/cdn/{GFS4R63J.js → JW3TOTMR.js} +2 -2
- package/dist/cdn/{A37NFP5A.js → K4WOVDKF.js} +2 -2
- package/dist/cdn/KAQ2HO6H.js +4 -0
- package/dist/cdn/{FN2OHJMA.js → KCKWWFJT.js} +2 -2
- package/dist/cdn/{ANZA36SE.js → KCTTON3E.js} +1 -1
- package/dist/cdn/{JWSJC4JO.js → KDL2UNFT.js} +2 -2
- package/dist/cdn/{BGSIHZYK.js → KGYW3EWF.js} +2 -2
- package/dist/cdn/{L6BR25YZ.js → KHGBSFAO.js} +1 -1
- package/dist/cdn/{2N6QQ6SY.js → KPUDB73R.js} +2 -2
- package/dist/cdn/{623QMCWN.js → KQBMQCV5.js} +2 -2
- package/dist/cdn/{PBMCCNWE.js → KUAZALFT.js} +2 -2
- package/dist/cdn/{KISUUVHL.js → KVATQSHE.js} +2 -2
- package/dist/cdn/{FMWXSSZ4.js → KZHAHJH2.js} +2 -2
- package/dist/cdn/{NQU5NMT4.js → L5XMRFBN.js} +2 -2
- package/dist/cdn/{HZXKVSID.js → L7HL2JNS.js} +2 -2
- package/dist/cdn/{XTXQCLUY.js → LAUE442A.js} +2 -2
- package/dist/cdn/{S5Z53TV7.js → LF2V666Y.js} +2 -2
- package/dist/cdn/{DDRZWXLZ.js → LK4ZES4F.js} +2 -2
- package/dist/cdn/{ND2ICMWM.js → LP5QSNPJ.js} +2 -2
- package/dist/cdn/{MM5ZJPEL.js → LTLMMK2M.js} +3 -3
- package/dist/cdn/{JOOKJHEK.js → LYMQGSBH.js} +2 -2
- package/dist/cdn/{7JDWKOEP.js → M5PWB7WI.js} +2 -2
- package/dist/cdn/{GP4O5WSB.js → MDJNGXKN.js} +2 -2
- package/dist/cdn/{M4XLFOSN.js → MLPRYWRQ.js} +2 -2
- package/dist/cdn/{QY2P42L7.js → MWTSTC2U.js} +2 -2
- package/dist/cdn/{TNM3EP6X.js → MZ23NF3L.js} +2 -2
- package/dist/cdn/{XEXBFO26.js → N5GGMSDO.js} +2 -2
- package/dist/cdn/{ONGKQVFQ.js → NARHDIR6.js} +2 -2
- package/dist/cdn/{KJZHHJQ5.js → NCB7BUFY.js} +2 -2
- package/dist/cdn/{OSNJFNHS.js → NE2VS6NF.js} +2 -2
- package/dist/cdn/{BL3ABOXI.js → NEEHDW7C.js} +2 -2
- package/dist/cdn/{WBJF3AWY.js → NR2CWC4R.js} +2 -2
- package/dist/cdn/{IMUYTCYZ.js → NUSVAYCZ.js} +1 -1
- package/dist/cdn/{APLZT37S.js → NXPVCNN2.js} +2 -2
- package/dist/cdn/{OINEKCE3.js → NYBDENWM.js} +2 -2
- package/dist/cdn/{HH54CNIV.js → NYLEG34F.js} +2 -2
- package/dist/cdn/{CC7TCB4L.js → O62DQJR5.js} +2 -2
- package/dist/cdn/{AVPIETYT.js → O67AZXCG.js} +2 -2
- package/dist/cdn/{J7VZH6OU.js → O6DNOSLP.js} +2 -2
- package/dist/cdn/{WFTALSMZ.js → O6RMBLXU.js} +2 -2
- package/dist/cdn/{FWHGSXC7.js → O7FCB5DM.js} +2 -2
- package/dist/cdn/{NS6VPU4I.js → OCPIF5BH.js} +1 -1
- package/dist/cdn/{7E5346VE.js → OFO3X4RI.js} +2 -2
- package/dist/cdn/{S2ATXCOV.js → OJ654LI2.js} +2 -2
- package/dist/cdn/{PQ6SIGKH.js → OJLTKJF5.js} +2 -2
- package/dist/cdn/{LL7K7GIF.js → OORBMELH.js} +2 -2
- package/dist/cdn/{C2SRKJY7.js → OXRKB5XI.js} +2 -2
- package/dist/cdn/{O645VA3P.js → OYAA6DUV.js} +2 -2
- package/dist/cdn/{SV4ET5K3.js → P4CI3RSD.js} +2 -2
- package/dist/cdn/{H3SLHGJW.js → P5NTKGVD.js} +3 -3
- package/dist/cdn/{LQL2QL7Z.js → P5XLXAQA.js} +2 -2
- package/dist/cdn/{YKXQ4DQK.js → PF6CK2R7.js} +2 -2
- package/dist/cdn/{RYNPSM5K.js → PFQYJBOH.js} +2 -2
- package/dist/cdn/{7D7PLTZ4.js → PFXT675J.js} +2 -2
- package/dist/cdn/{J4URZEGS.js → PG36F4KN.js} +2 -2
- package/dist/cdn/{Z2MODIKC.js → PK5ASELS.js} +2 -2
- package/dist/cdn/{WWNHUF4A.js → PKZR4IAA.js} +1 -1
- package/dist/cdn/{OU7ZZNCL.js → PQVNM2JP.js} +1 -1
- package/dist/cdn/{7CXVN7JC.js → PS7SLYOT.js} +2 -2
- package/dist/cdn/{YECBIR5K.js → PULR3YSX.js} +1 -1
- package/dist/cdn/{MNFNMNHC.js → Q6YM2NMB.js} +2 -2
- package/dist/cdn/{CJFSFE4Q.js → QD6LXGY5.js} +1 -1
- package/dist/cdn/{LRA2CSKG.js → QE5FDYR6.js} +1 -1
- package/dist/cdn/{MNLAU654.js → QHIMAEBD.js} +2 -2
- package/dist/cdn/{FJCFCDT4.js → QJF5CTAW.js} +1 -1
- package/dist/cdn/{R6ONUXKR.js → QJOKJMCH.js} +2 -2
- package/dist/cdn/{GNGZYRK5.js → QLTIVCCL.js} +2 -2
- package/dist/cdn/{QJF73Q5E.js → QRCNCBZJ.js} +2 -2
- package/dist/cdn/{J2SHXZLC.js → QTT755QR.js} +2 -2
- package/dist/cdn/{EU4DOU3Q.js → QVRVVWMD.js} +2 -2
- package/dist/cdn/{IG5F5THG.js → QWN7KWEY.js} +2 -2
- package/dist/cdn/{TU5KAWJK.js → R2OUBP75.js} +2 -2
- package/dist/cdn/{ZKRVRV6G.js → RFUS6QQB.js} +2 -2
- package/dist/cdn/{WGGFBKOM.js → RIWIV546.js} +2 -2
- package/dist/cdn/{B3HR5WXG.js → RPF7YPFG.js} +2 -2
- package/dist/cdn/{2BAELQ2B.js → RPO6K4PZ.js} +2 -2
- package/dist/cdn/{2LK6LIO5.js → RSKF3E66.js} +2 -2
- package/dist/cdn/{HFMYMAZO.js → RSTPCXZ7.js} +2 -2
- package/dist/cdn/{T65DB2UP.js → RSXEVZ6T.js} +2 -2
- package/dist/cdn/{MVJ6KPI4.js → RT7OCX6V.js} +2 -2
- package/dist/cdn/{2EF5YORW.js → RUGVEC76.js} +2 -2
- package/dist/cdn/{SUYDCMXS.js → RWKUOQK4.js} +2 -2
- package/dist/cdn/{VSW5DJIW.js → RZHUXMRX.js} +2 -2
- package/dist/cdn/{PKE6K37P.js → S7RDKFUW.js} +2 -2
- package/dist/cdn/{XVNHEPOT.js → SAVFDVBT.js} +2 -2
- package/dist/cdn/{RC6YB5BA.js → SFYPFXOW.js} +2 -2
- package/dist/cdn/{VFCKMV6Y.js → SIGCWFSG.js} +2 -2
- package/dist/cdn/{ET7554LK.js → SJKN3XBP.js} +2 -2
- package/dist/cdn/{N66TSCL2.js → SNXTG7RZ.js} +2 -2
- package/dist/cdn/{I2HXAHV6.js → SP6SUXKY.js} +2 -2
- package/dist/cdn/{E5LNTRL7.js → SSZH5PHK.js} +2 -2
- package/dist/cdn/{ZDIUB5SS.js → SSZSKJJ6.js} +2 -2
- package/dist/cdn/{GI4NERHI.js → SUNHHKCC.js} +2 -2
- package/dist/cdn/{YW6TF5XX.js → SWXQKMYN.js} +1 -1
- package/dist/cdn/{HPCUUO33.js → SXILLYU2.js} +1 -1
- package/dist/cdn/T7NEKD33.js +4 -0
- package/dist/cdn/{TMLWLTXU.js → TA4MF2WH.js} +2 -2
- package/dist/cdn/{5TQPWXSR.js → TCK45PQB.js} +2 -2
- package/dist/cdn/{PRHI2P5H.js → TESCLWOD.js} +2 -2
- package/dist/cdn/{4QB7LJGO.js → TGV35MZM.js} +2 -2
- package/dist/cdn/{42CEBWL3.js → TJMFXXPG.js} +2 -2
- package/dist/cdn/{OGG7NDCX.js → TOZPFY6T.js} +2 -2
- package/dist/cdn/{IZT7SBVB.js → TPCS32WS.js} +2 -2
- package/dist/cdn/{WAJHKOXL.js → TQJZMY6X.js} +2 -2
- package/dist/cdn/{I6RK367K.js → TR6XLP2K.js} +2 -2
- package/dist/cdn/{CZSGGEZF.js → TWAOBOD6.js} +1 -1
- package/dist/cdn/{DXNMODEI.js → U5IFXOY7.js} +2 -2
- package/dist/cdn/{IM6X6CEL.js → UDKE7EDS.js} +1 -1
- package/dist/cdn/{R5MOYHJE.js → UG73IGUR.js} +2 -2
- package/dist/cdn/{5M7LHGH5.js → UIWMOIM6.js} +2 -2
- package/dist/cdn/UJP5AKJT.js +4 -0
- package/dist/cdn/{IPA4TRIC.js → UKQKNMGD.js} +2 -2
- package/dist/cdn/{V3D3KQMH.js → UWJ7VSUW.js} +2 -2
- package/dist/cdn/{O3XKIE2J.js → UWOUOAFJ.js} +2 -2
- package/dist/cdn/{DQAWVIZ7.js → UZ7JPZ7Q.js} +2 -2
- package/dist/cdn/{G2WTF5L7.js → UZFCVK2C.js} +2 -2
- package/dist/cdn/{CQUVF2LM.js → V264VMRH.js} +2 -2
- package/dist/cdn/{7B43KCMJ.js → V3G4P54D.js} +2 -2
- package/dist/cdn/{PQHKBYCX.js → V6FDFSOP.js} +2 -2
- package/dist/cdn/{GEWPH5ED.js → VAMPOWND.js} +2 -2
- package/dist/cdn/{36E4KEBV.js → VBNWJQZF.js} +2 -2
- package/dist/cdn/{7QOJ6BUQ.js → VDW6NDPI.js} +2 -2
- package/dist/cdn/{IGET5O6R.js → VGTFE7FF.js} +2 -2
- package/dist/cdn/{RBRMIPTS.js → VH3ATFO3.js} +2 -2
- package/dist/cdn/{NAHN46XY.js → VHM2OX4R.js} +2 -2
- package/dist/cdn/{RWBGHIUR.js → VLGVQAPL.js} +1 -1
- package/dist/cdn/{NHJBWAQB.js → VU4KDMOC.js} +2 -2
- package/dist/cdn/{AMNWNL4P.js → VVJBM5I2.js} +2 -2
- package/dist/cdn/{NRAACAEG.js → VYE7W4ST.js} +2 -2
- package/dist/cdn/{OPROEGUT.js → VYYHWT27.js} +1 -1
- package/dist/cdn/{HVMHED6V.js → W26PVN5N.js} +2 -2
- package/dist/cdn/{YM3AVODQ.js → W4XNCXXM.js} +2 -2
- package/dist/cdn/{NVUDY5NV.js → WBPISCZO.js} +2 -2
- package/dist/cdn/{SMAWIWJ6.js → WF2BNI4T.js} +2 -2
- package/dist/cdn/{5YDUOHOV.js → WHNBYCHC.js} +2 -2
- package/dist/cdn/{HBBXC2RM.js → WINI76U6.js} +2 -2
- package/dist/cdn/{CPJVO4SH.js → WKXAKHUN.js} +2 -2
- package/dist/cdn/{BTRVTK3N.js → WOU4W4YD.js} +2 -2
- package/dist/cdn/{E2VLBYBH.js → WQPH2FQF.js} +1 -1
- package/dist/cdn/{7WSAYORV.js → WSUPRKRV.js} +2 -2
- package/dist/cdn/{JQUH7OAI.js → WV4DG7QK.js} +2 -2
- package/dist/cdn/{H42IJHAX.js → WVMSFAZ2.js} +2 -2
- package/dist/cdn/{CDUOU5I4.js → WZTWBWLY.js} +2 -2
- package/dist/cdn/{S73UN6E4.js → XDM5TPF2.js} +1 -1
- package/dist/cdn/{YGUW733V.js → XDZHITLM.js} +2 -2
- package/dist/cdn/{DBJPHEAI.js → XG3Y6KTQ.js} +2 -2
- package/dist/cdn/{A5VQCLH7.js → XG5IJRYX.js} +2 -2
- package/dist/cdn/XIHBBKIM.js +4 -0
- package/dist/cdn/{DYBE22PJ.js → XON2SCN5.js} +1 -1
- package/dist/cdn/{2KTV6DNT.js → XQ4TPQRL.js} +2 -2
- package/dist/cdn/{MTVIEZFJ.js → XSQKKMXB.js} +1 -1
- package/dist/cdn/{SCMHHOIO.js → XVCV7IJR.js} +2 -2
- package/dist/cdn/{TX7HPSHQ.js → Y4HFEOXU.js} +2 -2
- package/dist/cdn/{ANAUQEPH.js → Y4IKVVIS.js} +2 -2
- package/dist/cdn/{IQ6TRK4L.js → Y4PNQMH4.js} +2 -2
- package/dist/cdn/{H4WXQMTT.js → YAMBUVFM.js} +2 -2
- package/dist/cdn/{JOR5XTA7.js → YBWHEWDW.js} +2 -2
- package/dist/cdn/{PCDF6QXH.js → YD7YA2VM.js} +2 -2
- package/dist/cdn/{O3NGJV5R.js → YKETMFXF.js} +2 -2
- package/dist/cdn/{LD2YG4B3.js → YLBXMSCK.js} +1 -1
- package/dist/cdn/{263SV4HF.js → YVC764Y3.js} +1 -1
- package/dist/cdn/{FP2X4HGU.js → YZDGBQMM.js} +2 -2
- package/dist/cdn/{T3IDFFI6.js → ZA25NSZJ.js} +2 -2
- package/dist/cdn/{LFOXHOWK.js → ZBGUCLYL.js} +2 -2
- package/dist/cdn/{ML4GADOT.js → ZBJGVZER.js} +2 -2
- package/dist/cdn/{JHLJUNXJ.js → ZBNWUIOH.js} +2 -2
- package/dist/cdn/{VF3UCUX7.js → ZDVR52XS.js} +1 -1
- package/dist/cdn/{O4NDGWYY.js → ZHEMMAMB.js} +2 -2
- package/dist/cdn/{P3LEA437.js → ZPTC5XZ7.js} +2 -2
- package/dist/cdn/{LQAZAPET.js → ZPTE6MXZ.js} +2 -2
- package/dist/cdn/{FMQHATJ4.js → ZRK3KCXC.js} +2 -2
- package/dist/cdn/{FQCEMQLK.js → ZUUC4HH4.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +2 -2
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/22HOZHYX.js +0 -4
- package/dist/cdn/A2SOYARZ.js +0 -4
- package/dist/cdn/EDGP2MKC.js +0 -4
- package/dist/cdn/LBLOOCAJ.js +0 -4
- package/dist/cdn/PNH267VP.js +0 -4
- package/dist/cdn/RUEEHVFT.js +0 -4
- package/dist/cdn/UQTYFBYY.js +0 -4
- package/dist/cdn/WDD32CHP.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as i}from"./5RMEYG3D.js";import{a}from"./QWN7KWEY.js";import"./CHI5MGFW.js";import"./KHGBSFAO.js";import"./DDW3RLEE.js";import"./SWXQKMYN.js";import"./FZGFJV7S.js";import{a as o}from"./RSXEVZ6T.js";import{a as s}from"./WF2BNI4T.js";import"./A5MUT7MZ.js";import"./H6UGWCMX.js";import"./ZPTE6MXZ.js";import"./FYW6TDRR.js";import{b as r}from"./62XONJJJ.js";import"./6NADAFNM.js";import"./PKZR4IAA.js";import"./GICBZ47Y.js";import"./VLGVQAPL.js";import"./OCPIF5BH.js";import"./4PZRZB5Z.js";import"./ZDVR52XS.js";import"./PG36F4KN.js";import"./CHPMYDMZ.js";import"./PFQYJBOH.js";import"./63OPKMPJ.js";import"./OJLTKJF5.js";import"./3OV4CTEC.js";import"./UG73IGUR.js";import"./QTT755QR.js";import"./UWOUOAFJ.js";import"./KGYW3EWF.js";import"./LAUE442A.js";import"./NYBDENWM.js";import"./7EKLS25S.js";import"./HKVEGDNW.js";import"./BABMMEKK.js";import"./CXHSOU2D.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import"./CXHSOU2D.js";var e="\u60A8\u6CA1\u6709\u8DB3\u591F\u7684\u914D\u989D\u6765\u6267\u884C\u6B64\u64CD\u4F5C\u3002 \u8BF7\u8054\u7CFB ArcGIS \u7CFB\u7EDF\u7BA1\u7406\u5458\u83B7\u53D6\u5E2E\u52A9\u3002",a="\u8FD9\u4E2A\u5DE5\u5177\u662F\u4ECE\u7B14\u8BB0\u672C\u4E2D\u53D1\u5E03\u7684\u3002 \u60A8\u7684\u7EC4\u7EC7\u65E0\u6CD5\u8BBF\u95EE ArcGIS Notebooks\u3002 \u8BF7\u8054\u7CFB\u60A8\u7684\u7BA1\u7406\u5458\u6765\u8C03\u6574\u8BBE\u7F6E\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u987B\u4E0E\u4E0B\u5217\u5404\u9879\u4E4B\u4E00\u7684\u65B9\u6848\u5339\u914D\uFF1A${ schemaOptions }\u3002",o="\u8BF7\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u8BE5\u5730\u56FE\u3002",s="\u914D\u989D\u4F30\u7B97\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\uFF0C\u7136\u540E\u518D\u6B21\u4F30\u7B97\u914D\u989D\u3002",i="\u8FD0\u884C\u5206\u6790\u65F6\u51FA\u9519\u3002",l="${ dataPath } \u5FC5\u987B\u7B49\u4E8E\u4EE5\u4E0B\u5141\u8BB8\u503C\u4E4B\u4E00\uFF1A${ allowedValues }\u3002",d="\u65E0\u6CD5\u4FDD\u5B58\u5206\u6790\u5386\u53F2\u8BB0\u5F55",n="\u5386\u53F2\u8BB0\u5F55\u5B58\u50A8\u5DF2\u6EE1\u3002 \u8BF7\u4ECE\u5206\u6790\u5386\u53F2\u8BB0\u5F55\u4E2D\u79FB\u9664\u4E00\u4E9B\u9879\u76EE\u5E76\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u3002",c="\u670D\u52A1\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002",m="\u5C06\u4E34\u65F6\u56FE\u5C42\u4FDD\u5B58\u4E3A\u672A\u5B8C\u6210\u7684\u6258\u7BA1\u8981\u7D20\u56FE\u5C42\u3002",u="\u65E0\u6CD5\u83B7\u53D6\u5173\u952E\u5C5E\u6027\u3002",E="\u65E0\u6CD5\u52A0\u8F7D\u56FE\u5C42\u3002",h="\u56FE\u5C42\u4E0D\u53EF\u7528\u3002",y="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u591A\u4E8E ${ limit } \u4E2A\u3002",P="\u4FDD\u5B58\u6A21\u578B\u65F6\u53D1\u751F\u9519\u8BEF\u3002 \u8BF7\u518D\u6B21\u5C1D\u8BD5\u4FDD\u5B58\u3002",p="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u5C11\u4E8E ${ limit } \u4E2A\u3002",S="${ dataPath } \u4E0D\u5E94\u77ED\u4E8E ${ limit } \u4E2A\u5B57\u7B26\u3002",$="\u65E0\u6CD5\u52A0\u8F7D\u6A21\u578B\u9879\u3002 \u786E\u4FDD\u6A21\u578B\u5B58\u5728\u5E76\u4E14\u5DF2\u6388\u4E88\u8BBF\u95EE\u6743\u9650\u3002",v="\u65E0\u6CD5\u5B8C\u6210\u8BF7\u6C42\u3002",f="\u60A8\u6CA1\u6709\u8FD0\u884C\u6B64\u5DE5\u5177\u7684\u6743\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F</calcite-link>",F="\u65E0\u6CD5\u767B\u5F55\u95E8\u6237\u3002",I="\u65E0\u6CD5\u8BFB\u53D6\u8F93\u5165\u6570\u636E\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u4E3A ${ missingProperty } \u7684\u5C5E\u6027\u3002",T="\u5DF2\u5B58\u5728\u5177\u6709\u6B64\u540D\u79F0\u7684\u7ED3\u679C\u56FE\u5C42\u3002 \u5728\u6574\u4E2A\u7EC4\u7EC7\u4E2D\u7ED3\u679C\u56FE\u5C42\u540D\u79F0\u5FC5\u987B\u552F\u4E00\u3002 \u8BF7\u4F7F\u7528\u5176\u4ED6\u540D\u79F0\u3002",L="\u8F93\u51FA\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002 <a href='${docLink}' target='_blank'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F\u3002</a>",b="\u7531\u4E8E\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u6BB5\uFF0C\u5C06\u4E34\u65F6\u56FE\u5C42\u53D1\u5E03\u4E3A\u6258\u7BA1\u56FE\u5C42\u5931\u8D25\u3002 \u91CD\u65B0\u8FD0\u884C\u8BE5\u5DE5\u5177\u4EE5\u521B\u5EFA\u5177\u6709\u6709\u6548\u5B57\u6BB5\u7684\u56FE\u5C42\u3002",N="\u4F5C\u4E1A\u63D0\u4EA4\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\u5E76\u518D\u6B21\u8FD0\u884C\u8BE5\u5206\u6790\u3002",g="${ dataPath } \u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u7A7A\u767D\u5B57\u7B26\u3002",C={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,C as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
4
|
var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),E=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(E||{}),t=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(t||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",u=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",P="portal:publisher:publishServerGPServices",m="portal:publisher:publishRealTimeAnalytics",b="portal:user:shareToGroup",g="solutions:hubPremium",G="solutions:notebook",M="solutions:locationtracking:admin:tracking",h="solutions:locationtracking:tracking",F="solutions:locationtracking:admin",k="solutions:velocity",y="solutions:workflowManager",H=250;export{e as a,o as b,E as c,t as d,i as e,n as f,r as g,I as h,N as i,u as j,l as k,A as l,T as m,R as n,S as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,P as x,m as y,b as z,g as A,G as B,M as C,h as D,F as E,k as F,y as G,H};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{F as s}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{F as s}from"./WQPH2FQF.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
4
|
var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",o="8f741b82179543fe884bed012dd5f049",s="1d3a7ed66deb47269beea05ff9afd4c1",d="solutions-deployment-first-use",r={name:"solution-deployment-app",version:"1.0",dev:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"7e2fd97553644e5f99b1129fbcee3c2e"}}},qa:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"a3beba911bd14847ada5c9ffed2a2111"}}},prod:{amazon:{userPoolID:"us-east-1:8c41b2dc-7563-403d-ba64-673b103debce",app:{id:"35a920e0e7f84680be076e57dd5cb728"}}}},t={appId:e,portalURL:a,primarySolutionsGroupId:o,agoBasedEnterpriseSolutionsGroupId:s,consoleMessageLevel:1,cookiesFirstUseVar:d,isRTL:!1,locale:"en",forceTrackingEnv:"dev",trackingEnabled:!0,telemetry:r},n=Object.freeze(Object.defineProperty({__proto__:null,agoBasedEnterpriseSolutionsGroupId:s,appId:e,consoleMessageLevel:1,cookiesFirstUseVar:d,default:t,forceTrackingEnv:"dev",isRTL:!1,locale:"en",portalURL:a,primarySolutionsGroupId:o,telemetry:r,trackingEnabled:!0},Symbol.toStringTag,{value:"Module"}));export{e as a,n as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as e}from"./NYBDENWM.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import"./CXHSOU2D.js";var a="Voc\xEA n\xE3o tem cr\xE9ditos o suficiente para executar esta opera\xE7\xE3o. Entre em contato com seu Administrador de Sistema do ArcGIS para ajuda.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para sua organiza\xE7\xE3o. Entre em contato com seu administrador para ajustar a configura\xE7\xE3o.",r="${ dataPath } n\xE3o deve ter ${ additionalProperty }.",o="${ dataPath } deve corresponder ao esquema de um destes: ${ schemaOptions }.",s="Tente salvar o mapa novamente.",t="Falha na estimativa de cr\xE9dito. Role para baixo, corrija os erros e estime os cr\xE9ditos novamente.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } deve ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao salvar hist\xF3rico de an\xE1lise",m="O armazenamento de hist\xF3rias est\xE1 completo. Remova alguns itens do hist\xF3rico de an\xE1lises e tente salvar novamente.",l="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",c="A op\xE7\xE3o de salvar a camada tempor\xE1ria como uma camada de fei\xE7\xE3o hospedada n\xE3o foi conclu\xEDda.",u="Falha ao obter principais propriedades.",p="Falha ao carregar a camada.",v="A camada n\xE3o est\xE1 dispon\xEDvel",h="${ dataPath } n\xE3o deve ter mais de ${ limit } itens.",E="Ocorreu um erro ao salvar o modelo. Tentar salvar novamente.",f="${ dataPath } n\xE3o deve ter menos que ${ limit } itens.",F="${ dataPath } n\xE3o deve ser menor que ${ limit } caracteres.",y="Falha ao carregar o item do item. Certifique-se de que o modelo exista e que a permiss\xE3o de acesso foi concedida.",P="Falha ao concluir solicita\xE7\xE3o.",S="Voc\xEA n\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao entrar no portal.",$="Falha ao ler os dados de entrada.",x="${ dataPath } est\xE1 sem uma propriedade denominada ${ missingProperty }.",g="J\xE1 existe uma camada de resultado com este nome. As camadas resultantes devem ser exclusivas em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome da sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como camada hospedada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",T="Falha ao enviar trabalho. Role para baixo, corrija os erros e execute a an\xE1lise novamente.",q="${ dataPath } deve ter pelo menos um caractere diferente de espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:h,mbFailedToSave:E,minItems:f,minLength:F,modelNotFound:y,networkError:P,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:$,requiredProperty:x,serviceNameExistsError:g,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:q};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,h as maxItems,E as mbFailedToSave,f as minItems,F as minLength,y as modelNotFound,P as networkError,S as noPermissionToAccessTool,b as portalLoadError,$ as queryFeaturesError,x as requiredProperty,g as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,q as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a,b}from"./4PZRZB5Z.js";import"./ZDVR52XS.js";import"./CXHSOU2D.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as u}from"./DDBLGIPI.js";import{a as g,c as m}from"./CWPY45T3.js";import{b as l}from"./5H4AMHXY.js";import"./AG2MFEZ6.js";import"./5VBO2I6I.js";import"./YLBXMSCK.js";import"./QHIMAEBD.js";import"./GDH2I4CJ.js";import"./7VOB6CTQ.js";import"./EPB5OL3N.js";import"./PULR3YSX.js";import"./CHI5MGFW.js";import"./KHGBSFAO.js";import"./DDW3RLEE.js";import"./SWXQKMYN.js";import"./DNLIXRFX.js";import"./FZGFJV7S.js";import"./A5MUT7MZ.js";import"./H6UGWCMX.js";import"./JVNOFKDY.js";import"./ZPTE6MXZ.js";import"./FYW6TDRR.js";import"./ZDVR52XS.js";import{a as p}from"./3FTPCQ44.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{b as h}from"./U5IFXOY7.js";import{C as o,D as s,E as d,I as i,h as r,i as t,j as c}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var f=r`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import"./CXHSOU2D.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as o,b as s,c as i,d as p}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as o,b as s,c as i,d as p}from"./LAUE442A.js";import{a as e}from"./NYBDENWM.js";import{b as t}from"./7EKLS25S.js";import{c as r}from"./BABMMEKK.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as G}from"./QXHCTHCT.js";import{a as L}from"./RBRMIPTS.js";import{c as K,d as _,e as U}from"./NAHN46XY.js";import{l as j,p as P}from"./KYHIL5F4.js";import"./LRA2CSKG.js";import"./M4YVUIRX.js";import"./DYBE22PJ.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import{a as S}from"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./J7VZH6OU.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import{w}from"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import{b as A}from"./WWNHUF4A.js";import{a as c,b as p}from"./RWBGHIUR.js";import"./VF3UCUX7.js";import"./MMFULDI7.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as G}from"./5VBO2I6I.js";import{a as L}from"./VH3ATFO3.js";import{c as K,d as _,e as U}from"./VHM2OX4R.js";import{l as j,p as P}from"./GDH2I4CJ.js";import"./QE5FDYR6.js";import"./7VOB6CTQ.js";import"./XON2SCN5.js";import"./CHI5MGFW.js";import"./KHGBSFAO.js";import{a as S}from"./DDW3RLEE.js";import"./SWXQKMYN.js";import"./O6DNOSLP.js";import"./DNLIXRFX.js";import"./FZGFJV7S.js";import{w}from"./A5MUT7MZ.js";import"./H6UGWCMX.js";import"./JVNOFKDY.js";import"./ZPTE6MXZ.js";import"./FYW6TDRR.js";import{b as A}from"./PKZR4IAA.js";import{a as c,b as p}from"./VLGVQAPL.js";import"./ZDVR52XS.js";import"./CXHSOU2D.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{b as y}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{b as y}from"./YBWHEWDW.js";import{b as g,c as b}from"./CWPY45T3.js";import{b as n}from"./5H4AMHXY.js";import"./TWAOBOD6.js";import{a as f}from"./3FTPCQ44.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{b as u}from"./U5IFXOY7.js";import{C as l,D as s,E as p,G as h,H as a,I as r,h as d,i,o}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var m=d`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import"./CXHSOU2D.js";var e="Teil pole selle toimingu tegemiseks piisavalt krediiti. Abi saamiseks p\xF6\xF6rduge ArcGIS-i s\xFCsteemiadministraatori poole.",a="See t\xF6\xF6riist avaldati m\xE4rkmikust. Juurdep\xE4\xE4s ArcGIS m\xE4rkmikele on teie organisatsiooni jaoks blokeeritud. Seadete kohandamiseks v\xF5tke \xFChendust oma administraatoriga.",i="Muutujal ${ dataPath } ei tohi olla: ${ additionalProperty }.",t="${ dataPath } peab vastama \xFChele nendest skeemidest: ${ schemaOptions }.",s="Proovige kaarti uuesti salvestada.",r="Krediidi hindamine nurjus. Liikuge kerides alla, parandage vead ja hinnake krediiti uuesti.",o="Anal\xFC\xFCsi k\xE4itamisel ilmnes t\xF5rge.",l="${ dataPath } peab v\xF5rduma \xFChega allpool nimetatud v\xE4\xE4rtustest: ${ allowedValues }.",u="Anal\xFC\xFCsiajaloo salvestamine nurjus",n="Ajaloo talletusruum on t\xE4is. Eemaldage anal\xFC\xFCsiajaloost m\xF5ned sisu\xFCksused ja proovige uuesti salvestada.",d="Teenuse nimi sisaldab v\xE4hemalt \xFChte sobimatut t\xE4hem\xE4rki.",m="Ajutise kihi salvestamine majutatud objektikihina ei j\xF5udnud l\xF5pule.",k="V\xF5tmeatribuutide toomine nurjus.",h="Kihi laadimine nurjus",v="Kiht pole saadaval.",c="Muutujal ${ dataPath } ei tohi olla rohkem kui ${ limit } \xFCksust.",p="Mudeli salvestamisel ilmnes t\xF5rge. Proovige uuesti salvestada.",g="Muutujal ${ dataPath } ei tohi olla v\xE4hem kui ${ limit } \xFCksust.",j="${ dataPath } ei tohi olla l\xFChem kui ${ limit } m\xE4rki.",E="Mudeli \xFCksuse laadimine nurjus. Veenduge, et mudel oleks olemas ja juurdep\xE4\xE4suluba oleks antud.",P="Taotluse t\xE4itmine nurjus.",b="Teil puudub selle t\xF6\xF6riista kasutamise \xF5igus. <calcite-link target='_blank' href='${ docLink }'>Lisateave</calcite-link>",y="Portaali sisselogimine nurjus.",S="Sisendandmete lugemine nurjus.",T="Omadusel ${ dataPath } puudub omadus nimega ${ missingProperty }.",$="Selle nimega tulemkiht on juba olemas. Tulemkihtide nimed peavad kogu organisatsioonis olema kordumatud. Kasutage m\xF5nda muud nime.",f="V\xE4ljundi nimes on \xFCks v\xF5i mitu lubamatut m\xE4rki. <a href='${docLink}' target='_blank'>Lisateave.</a>",F="Ajutise kihi avaldamine majutatud kihina nurjus v\xE4hemalt \xFChe sobimatu v\xE4lja t\xF5ttu. K\xE4ivitage t\xF6\xF6riist uuesti, et luua sobivate v\xE4ljadega kiht.",I="T\xF6\xF6 edastamine nurjus. Liikuge kerides alla, parandage vead ja k\xE4ivitage anal\xFC\xFCs uuesti.",L="${ dataPath } peab sisaldama v\xE4hemalt \xFChte m\xE4rki, mis pole t\xFChim\xE4rk.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:i,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:r,defaultError:o,enumValues:l,failedToSaveHistory:u,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:h,layerUnavailable:v,maxItems:c,mbFailedToSave:p,minItems:g,minLength:j,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:y,queryFeaturesError:S,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,i as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,r as creditEstimationError,A as default,o as defaultError,l as enumValues,u as failedToSaveHistory,n as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,h as layerLoadFailure,v as layerUnavailable,c as maxItems,p as mbFailedToSave,g as minItems,j as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,y as portalLoadError,S as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as f}from"./NFBCBMDM.js";import{a as D}from"./UWL3OUNV.js";import{a as L}from"./AFR63NC6.js";import{B as S,C as I}from"./ECOUV44T.js";import{b as k}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as m,o as E}from"./E2VLBYBH.js";import"./MMFULDI7.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(h){return h.replaceAll("'","''")}function y(h,e=!1){if(h){let t=new Date(h),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(h){if(h!=null){h.value=["",""];let e=h.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as f}from"./IMSAFY4W.js";import{a as D}from"./3ZMDA7RH.js";import{a as L}from"./BPE3B3PQ.js";import{B as S,C as I}from"./HMQXESJA.js";import{b as k}from"./Q6YM2NMB.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as m,o as E}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(h){return h.replaceAll("'","''")}function y(h,e=!1){if(h){let t=new Date(h),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(h){if(h!=null){h.value=["",""];let e=h.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import i from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import i from"./SFYPFXOW.js";import g from"./MDJNGXKN.js";import e from"./WV4DG7QK.js";import a from"./GJU42TAV.js";import{a as I,c as b}from"./CWPY45T3.js";import{b as u}from"./5H4AMHXY.js";import"./AG2MFEZ6.js";import"./5VBO2I6I.js";import"./YLBXMSCK.js";import"./QHIMAEBD.js";import"./GDH2I4CJ.js";import"./7VOB6CTQ.js";import"./EPB5OL3N.js";import"./PULR3YSX.js";import"./CHI5MGFW.js";import"./KHGBSFAO.js";import"./DDW3RLEE.js";import"./SWXQKMYN.js";import"./DNLIXRFX.js";import"./FZGFJV7S.js";import"./A5MUT7MZ.js";import"./H6UGWCMX.js";import"./JVNOFKDY.js";import"./ZPTE6MXZ.js";import"./FYW6TDRR.js";import"./ZDVR52XS.js";import{k as w,l as T,o as v,p as c,q as x}from"./TWAOBOD6.js";import{a as f}from"./3FTPCQ44.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{b as C}from"./U5IFXOY7.js";import{E as S,h as _,i as d,j as y,o as h}from"./WQPH2FQF.js";import"./CXHSOU2D.js";export default $arcgis.t(([,{c:A},p,F])=>{var U=_`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as r}from"./3UQB4RD5.js";import{b as o}from"./U5IFXOY7.js";import{E as n,I as e,h as i,i as s}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var a=i`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as h}from"./BPE3B3PQ.js";import{b as v}from"./Q6YM2NMB.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{C as m,D as d,E as u,G as i,h as n,i as l,o as r,r as p}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var T=n`@layer{:host .sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}:host .active-tool{--calcite-color-foreground-1: #c7eaff}}`,$={content:"instant-apps-measurement__content"},s=class extends u{constructor(){super(...arguments),this._messages=h({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(t){if(!this?.measureTool)return;let a=t?.target;if(!(a instanceof HTMLElement))return;let e=a?.dataset.value;if(e!=="distance"&&e!=="area"&&e!=="point"&&e!=="clear")return;e&&this.measureTool.value&&(this.measureTool.value.activeTool=e);let c=document.getElementsByClassName("active-tool");for(let o=0;o<c?.length;o++)c[o]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(e===void 0||e==="clear"))}render(){return l`<calcite-panel .heading=${this._messages.label} .closable=${this.closable}><div slot=content-top>${this.renderActionBar()}</div><div>${this.renderMeasureToolPanel()}</div></calcite-panel>`}renderMeasureToolPanel(){let{view:t,coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}=this;return l`<calcite-panel class=${i($.content)}><instant-apps-measurement-tool .view=${t} .measureConfiguration=${{coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}} .activeTool=${this.activeToolType} ${d(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:t,activeToolType:a}=this;return l`<calcite-action-bar expand-disabled layout=horizontal position=end><calcite-action class=${i(a==="distance"?"active-tool":"")} .text=${t.line} icon=measure scale=m data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.line}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="area"?"active-tool":"")} .text=${t.area} scale=m icon=measure-area data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.area}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="point"?"active-tool":"")} .text=${t.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.point}</calcite-tooltip></calcite-action><calcite-action .text=${t.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};v("instant-apps-measurement",s);export{s as InstantAppsMeasurement};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as n}from"./3FTPCQ44.js";import"./NARHDIR6.js";import"./NYLEG34F.js";import{b as l}from"./U5IFXOY7.js";import{E as t,h as i,i as s}from"./WQPH2FQF.js";import"./CXHSOU2D.js";var a=i`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import"./CXHSOU2D.js";var e="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0645\u0627 \u064A\u0643\u0641\u064A \u0645\u0646 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A \u0644\u062A\u0646\u0641\u064A\u0630 \u0647\u0630\u0647 \u0627\u0644\u0639\u0645\u0644\u064A\u0629. \u0627\u062A\u0635\u0644 \u0628\u0645\u0633\u0624\u0648\u0644 \u0646\u0638\u0627\u0645 ArcGIS \u0644\u062F\u064A\u0643 \u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629.",a="\u062A\u0645 \u0646\u0634\u0631 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629 \u0645\u0646 \u062F\u0641\u062A\u0631 \u0645\u0644\u0627\u062D\u0638\u0627\u062A. \u062A\u0645 \u062D\u0638\u0631 \u0648\u0635\u0648\u0644 \u0645\u0624\u0633\u0633\u062A\u0643 \u0625\u0644\u0649 ArcGIS Notebooks. \u0627\u062A\u0635\u0644 \u0628\u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0644\u0636\u0628\u0637 \u0627\u0644\u0625\u0639\u062F\u0627\u062F.",r="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 ${ additionalProperty }.",t="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0637\u0627\u0628\u0642 ${ dataPath } \u0645\u0639 \u0645\u062E\u0637\u0637 \u0623\u062D\u062F \u0645\u0627 \u064A\u0644\u064A: ${ schemaOptions }.",o="\u062D\u0627\u0648\u0644 \u062D\u0641\u0638 \u0627\u0644\u062E\u0631\u064A\u0637\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",s="\u0641\u0634\u0644 \u062A\u0642\u064A\u064A\u0645 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644 \u060C \u0648\u0635\u062D\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621 \u060C \u0648\u0623\u0639\u062F \u062D\u0633\u0627\u0628 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A.",i="\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644.",l="\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${ dataPath } \u0645\u0633\u0627\u0648\u064A\u064B\u0627 \u0644\u0625\u062D\u062F\u0649 \u0627\u0644\u0642\u064A\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627: ${ allowedValues }",d="\u062A\u0639\u0630\u0631 \u062D\u0641\u0638 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644",n="\u0645\u062E\u0632\u0646 \u0627\u0644\u0633\u062C\u0644 \u0645\u0645\u062A\u0644\u0626. \u0627\u062D\u0630\u0641 \u0628\u0639\u0636 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0645\u0646 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0648\u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",c="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u062E\u062F\u0645\u0629 \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D.",m="\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621 \u0645\u0646 \u062D\u0641\u0638 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0639\u0644\u0645 \u0645\u0633\u062A\u0636\u0627\u0641\u0629.",u="\u0641\u0634\u0644 \u0641\u064A \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u062E\u0635\u0627\u0626\u0635 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",E="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0637\u0628\u0642\u0629.",h="\u0627\u0644\u0637\u0628\u0642\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629.",y="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0643\u062B\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",P="\u062D\u062F\u062B \u062E\u0637\u0623 \u0641\u064A \u0623\u062B\u0646\u0627\u0621 \u062D\u0641\u0638 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",p="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0642\u0644 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",S="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0643\u0648\u0646 ${ dataPath } \u0623\u0642\u0635\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u062D\u0631\u0648\u0641.",$="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0639\u0646\u0635\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062A\u0623\u0643\u062F \u0645\u0646 \u0648\u062C\u0648\u062F \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0648\u0645\u0646 \u0645\u0646\u062D \u0625\u0630\u0646 \u0627\u0644\u0648\u0635\u0648\u0644.",v="\u0641\u0634\u0644 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0637\u0644\u0628.",f="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0625\u0630\u0646 \u0644\u062A\u0634\u063A\u064A\u0644 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629. <calcite-link target='_blank' href='${ docLink }'>\u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646</calcite-link>",F="\u0641\u0634\u0644 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0628\u0648\u0627\u0628\u0629.",I="\u0641\u0634\u0644 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062F\u062E\u0644\u0629.",k="\u064A\u062A\u0641\u0642\u062F ${ dataPath } \u062E\u0627\u0635\u064A\u0629 \u0628\u0627\u0633\u0645 ${ missingProperty }.",T="\u062A\u0648\u062C\u062F \u0637\u0628\u0642\u0629 \u0646\u0627\u062A\u062C\u0629 \u0628\u0647\u0630\u0627 \u0627\u0644\u0627\u0633\u0645 \u0628\u0627\u0644\u0641\u0639\u0644. \u064A\u062C\u0628 \u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u0637\u0628\u0642\u0627\u062A \u0627\u0644\u0646\u0627\u062A\u062C\u0629 \u0628\u0634\u0643\u0644 \u0641\u0631\u064A\u062F \u0639\u0628\u0631 \u0627\u0644\u0645\u0624\u0633\u0633\u0629. \u064A\u0631\u062C\u0649 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0633\u0645 \u0645\u062E\u062A\u0644\u0641.",L="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u0625\u062E\u0631\u0627\u062C \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. <a href='${docLink}' target='_blank'>\u062A\u0639\u0631\u0651\u0641 \u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F.</a>",b="\u0641\u0634\u0644 \u0646\u0634\u0631 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0633\u062A\u0636\u0627\u0641\u0629 \u0628\u0633\u0628\u0628 \u0648\u062C\u0648\u062F \u062D\u0642\u0644 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D. \u0642\u0645 \u0628\u0625\u0639\u0627\u062F\u0629 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u062F\u0627\u0629 \u0644\u0625\u0646\u0634\u0627\u0621 \u0637\u0628\u0642\u0629 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u062D\u0642\u0648\u0644 \u0635\u0627\u0644\u062D\u0629.",N="\u0641\u0634\u0644 \u062A\u0642\u062F\u064A\u0645 \u0627\u0644\u0648\u0638\u064A\u0641\u0629. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644\u060C \u0648\u062A\u0635\u062D\u064A\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621\u060C \u0648\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",g="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0646 ${ dataPath } \u062D\u0631\u0641\u064B\u0627 \u0648\u0627\u062D\u062F\u064B\u0627 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 \u0644\u064A\u0633 \u0645\u0633\u0627\u0641\u0629 \u0628\u064A\u0636\u0627\u0621.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251008 */
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.1.0-next.20251008.1 */
|
|
4
|
+
import{a as n}from"./O6DNOSLP.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
|