@esri/solutions-components 1.2.0-next.14 → 1.2.0-next.16
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/{KVC6QETL.js → 24WM5BYO.js} +2 -2
- package/dist/cdn/{X5XLKUPY.js → 2CJ5PXL4.js} +2 -2
- package/dist/cdn/{F6HR2OXE.js → 2CNPC7JI.js} +2 -2
- package/dist/cdn/{POIPE7OT.js → 2HITWCFR.js} +2 -2
- package/dist/cdn/{ZMWV3XIS.js → 2J76IXAQ.js} +2 -2
- package/dist/cdn/{QBACNHT4.js → 2KQOSCAG.js} +2 -2
- package/dist/cdn/{BNGZYVGD.js → 2WNSA4HV.js} +2 -2
- package/dist/cdn/{L3Q3HM35.js → 33SUDNLJ.js} +1 -1
- package/dist/cdn/{WNWEV3AC.js → 33UX3ORX.js} +2 -2
- package/dist/cdn/{QESHG4WZ.js → 34W4ROJB.js} +2 -2
- package/dist/cdn/{4XVIRWML.js → 3K6T5N6M.js} +2 -2
- package/dist/cdn/{DGAAG2WP.js → 3SQYZSFK.js} +2 -2
- package/dist/cdn/{5AGT5STX.js → 3WACVNJA.js} +2 -2
- package/dist/cdn/{O7XMERIK.js → 3ZAF7BHV.js} +2 -2
- package/dist/cdn/{7HCS7QDO.js → 445VP5V5.js} +2 -2
- package/dist/cdn/{CJQCUJAM.js → 463BGXGZ.js} +2 -2
- package/dist/cdn/{V5TIHCQF.js → 47TJEFIE.js} +2 -2
- package/dist/cdn/{LGVRRCS5.js → 47U3M3WM.js} +2 -2
- package/dist/cdn/{DDORSIZO.js → 4FW2NSUM.js} +2 -2
- package/dist/cdn/{275D3YQA.js → 4GMTW4GE.js} +2 -2
- package/dist/cdn/{XUJUH4UK.js → 4I6Q6O7Q.js} +2 -2
- package/dist/cdn/{SLDGR2DM.js → 4LIZAOSQ.js} +2 -2
- package/dist/cdn/{N3V7I4KP.js → 4LTQAJ7Q.js} +1 -1
- package/dist/cdn/{DG3J22ET.js → 4PFGFYB7.js} +2 -2
- package/dist/cdn/{RKI47VQ2.js → 4PQQRVYV.js} +2 -2
- package/dist/cdn/{YK7CSNSO.js → 4QMBH3EN.js} +2 -2
- package/dist/cdn/{4VTYPOLQ.js → 4QWHJISX.js} +1 -1
- package/dist/cdn/{DGALIRFU.js → 4QWU62YY.js} +2 -2
- package/dist/cdn/{6MQTHJAJ.js → 4S7GJLXK.js} +2 -2
- package/dist/cdn/{LR4UN32O.js → 4STQ6HY6.js} +2 -2
- package/dist/cdn/{NCQJQIGP.js → 4SUYESMM.js} +2 -2
- package/dist/cdn/{CAOSAERX.js → 4ZTJFATS.js} +2 -2
- package/dist/cdn/54US2Z6M.js +18 -0
- package/dist/cdn/{SFSJYGXN.js → 5BELOZCM.js} +1 -1
- package/dist/cdn/{C44APEWJ.js → 5I53UUNF.js} +2 -2
- package/dist/cdn/{5VS5R36W.js → 5KJRUSMT.js} +2 -2
- package/dist/cdn/{FB7AKBYZ.js → 5MOL5QM7.js} +2 -2
- package/dist/cdn/{PAWE5LYT.js → 5NGJJHY7.js} +2 -2
- package/dist/cdn/{ERPKGUIG.js → 5NPHA45T.js} +2 -2
- package/dist/cdn/{XUFAW7KH.js → 5PL5BX7B.js} +2 -2
- package/dist/cdn/{3QPYBQCK.js → 5QCHMT6O.js} +2 -2
- package/dist/cdn/{JOSXFLJM.js → 5QGDLNDG.js} +2 -2
- package/dist/cdn/{VKLLQNEW.js → 5QIH33SB.js} +2 -2
- package/dist/cdn/{5BLRWVVT.js → 5ROFL3RL.js} +2 -2
- package/dist/cdn/{HKHRMYR3.js → 64BACTQY.js} +2 -2
- package/dist/cdn/{WR2MBTUF.js → 64Q6BQ3T.js} +2 -2
- package/dist/cdn/{PNSRB675.js → 6HMY55NE.js} +2 -2
- package/dist/cdn/{32CJQFYT.js → 6KHLLWW2.js} +1 -1
- package/dist/cdn/{ZPJLLGVT.js → 6LQTNDBM.js} +2 -2
- package/dist/cdn/{OENFSWWX.js → 6X3COWPL.js} +2 -2
- package/dist/cdn/{IJCGATIB.js → 6XA66MT6.js} +2 -2
- package/dist/cdn/{VJWAIQPC.js → 734PV7FU.js} +2 -2
- package/dist/cdn/{CKNLHB2K.js → 75QVLAGK.js} +2 -2
- package/dist/cdn/{GPTEAVC5.js → 76ZCQD7O.js} +2 -2
- package/dist/cdn/{6UQXA4EH.js → 7AM6FTIY.js} +2 -2
- package/dist/cdn/7C3OLASZ.js +18 -0
- package/dist/cdn/{JODMPBQI.js → 7C7V3TXJ.js} +2 -2
- package/dist/cdn/{55SZWBDG.js → 7F7DT3AI.js} +2 -2
- package/dist/cdn/{JAY4QLVZ.js → 7GX4DJGT.js} +2 -2
- package/dist/cdn/{4X6WXZQL.js → 7ILSE3KA.js} +2 -2
- package/dist/cdn/{LQZ5FBXA.js → 7ITUUMFZ.js} +2 -2
- package/dist/cdn/{3XM3G7I5.js → 7IXKEJ6E.js} +1 -1
- package/dist/cdn/{BPZYGUMF.js → 7IYU7N4H.js} +2 -2
- package/dist/cdn/{WOF27X3U.js → 7K22NQSD.js} +1 -1
- package/dist/cdn/{HCGGITXI.js → 7MXST5RQ.js} +2 -2
- package/dist/cdn/{Y7LGH6KN.js → 7N5QKFNB.js} +1 -1
- package/dist/cdn/{PNZWOZIO.js → 7PUOSBZG.js} +1 -1
- package/dist/cdn/{UPJWS62Y.js → 7UDEXBGV.js} +2 -2
- package/dist/cdn/{ATHCVVJJ.js → 7VUSH2YE.js} +1 -1
- package/dist/cdn/{OA5BDZZH.js → A25HLWUP.js} +2 -2
- package/dist/cdn/{ZBPVWS4U.js → A76EPYVI.js} +2 -2
- package/dist/cdn/{UCPFFUQC.js → AABIQ6OI.js} +2 -2
- package/dist/cdn/{DA6O63VU.js → AC5ZYR6U.js} +2 -2
- package/dist/cdn/{FJLQNJZC.js → ADWQSEII.js} +2 -2
- package/dist/cdn/{EW33PWBK.js → AGPZ3ZW3.js} +1 -1
- package/dist/cdn/{LRR4ZR5H.js → AIIP4SWB.js} +2 -2
- package/dist/cdn/{QOSVCQEN.js → AJQDBHCZ.js} +2 -2
- package/dist/cdn/{GFHDLACH.js → AQNHCJUJ.js} +2 -2
- package/dist/cdn/{HAXUZW3B.js → ASYSKXRU.js} +2 -2
- package/dist/cdn/{L2KEAIFF.js → AXFQLPZQ.js} +2 -2
- package/dist/cdn/{4DG5M3F4.js → AZDCP65Y.js} +2 -2
- package/dist/cdn/{SQKB5YHF.js → B46CQCIJ.js} +1 -1
- package/dist/cdn/{KLJWOWTJ.js → BA2JZZPZ.js} +2 -2
- package/dist/cdn/{L3254555.js → BAJD2MAY.js} +2 -2
- package/dist/cdn/{ED5F2TPC.js → BFBKMPXC.js} +1 -1
- package/dist/cdn/{4MS4GKD3.js → BGIC54NM.js} +2 -2
- package/dist/cdn/{GRL5XFU3.js → BHT4KXCJ.js} +2 -2
- package/dist/cdn/{GKDBDC5Q.js → BIFWKQ4A.js} +2 -2
- package/dist/cdn/{RSERAAVS.js → BKKW36VD.js} +2 -2
- package/dist/cdn/{VD6EFCRJ.js → BL65R7NF.js} +2 -2
- package/dist/cdn/{HHCUJ2TU.js → BOM2RSTG.js} +2 -2
- package/dist/cdn/{OGINZV2L.js → BOMBADXF.js} +1 -1
- package/dist/cdn/{OVEIHKZZ.js → BSDT7WHN.js} +2 -2
- package/dist/cdn/{CVHMFFUJ.js → BTVG2AUT.js} +2 -2
- package/dist/cdn/{LK5HDTLK.js → BWZE7DXC.js} +2 -2
- package/dist/cdn/{RKGMIWAB.js → BXW5OPJA.js} +1 -1
- package/dist/cdn/BYGI6ZG4.js +4 -0
- package/dist/cdn/{6KMU4IZC.js → CG7LU7SQ.js} +2 -2
- package/dist/cdn/{2AN7ELSH.js → CIPEOZGL.js} +2 -2
- package/dist/cdn/{LOXYPSQZ.js → CKEIWQPE.js} +2 -2
- package/dist/cdn/CLEGGOAG.js +18 -0
- package/dist/cdn/{PDBMILPZ.js → CLNJC6L6.js} +1 -1
- package/dist/cdn/{RGEOJKWT.js → COE7UBMY.js} +1 -1
- package/dist/cdn/{WYUUHAX5.js → CQLWNONE.js} +1 -1
- package/dist/cdn/{7INSFWLF.js → CRM5UVP3.js} +2 -2
- package/dist/cdn/{WC7D5CTI.js → CSI5GAPY.js} +2 -2
- package/dist/cdn/{TZG6SUZL.js → CWMZQMNZ.js} +2 -2
- package/dist/cdn/{N5SMXPJM.js → CWSJDBQ4.js} +2 -2
- package/dist/cdn/{M3PIEBE5.js → CX7EB6FR.js} +2 -2
- package/dist/cdn/{4FALCKMG.js → D24MF5EE.js} +2 -2
- package/dist/cdn/D35IRVYQ.js +4 -0
- package/dist/cdn/{BZGPGXVO.js → D3FKVFUM.js} +2 -2
- package/dist/cdn/{Y3LT4KUT.js → D3H64MRR.js} +1 -1
- package/dist/cdn/{G6MDAFDN.js → DAMKXRGU.js} +2 -2
- package/dist/cdn/{XU5Y7VU2.js → DFNL2TA5.js} +2 -2
- package/dist/cdn/DGOXBH7E.js +4 -0
- package/dist/cdn/{ZERWOJO6.js → DUFCXSJZ.js} +2 -2
- package/dist/cdn/{AU5GOE2S.js → E2I2FH4I.js} +1 -1
- package/dist/cdn/{Z27EOVYK.js → E3MM5XBG.js} +2 -2
- package/dist/cdn/{ACRHJFIK.js → E3MRIPN4.js} +2 -2
- package/dist/cdn/{WTU66RJH.js → E3O3ATEP.js} +2 -2
- package/dist/cdn/{7BLXQDEK.js → EBFHYLAT.js} +2 -2
- package/dist/cdn/ECHGKTAQ.js +18 -0
- package/dist/cdn/{ZPI3URP2.js → EHEYAZL3.js} +2 -2
- package/dist/cdn/{2UWPI3SL.js → EKU2FTBE.js} +1 -1
- package/dist/cdn/{AADW5ILT.js → ET6LIIRW.js} +2 -2
- package/dist/cdn/{A437YTBB.js → EU6EDFI6.js} +2 -2
- package/dist/cdn/EW3R6IN2.js +4 -0
- package/dist/cdn/{6KL3NJRR.js → F4JC7HOE.js} +1 -1
- package/dist/cdn/{GESWKJMD.js → F7XUO6AF.js} +2 -2
- package/dist/cdn/{PZGSUW4E.js → FE7BOUXR.js} +2 -2
- package/dist/cdn/{XJV42NPL.js → FJRODNHS.js} +2 -2
- package/dist/cdn/{MDNDODSS.js → FL74QEC5.js} +2 -2
- package/dist/cdn/{AFVKHRR2.js → FLWQFTL6.js} +2 -2
- package/dist/cdn/{QTDYELK6.js → FOS4FALQ.js} +1 -1
- package/dist/cdn/{64IH7HAU.js → FPQW2SHJ.js} +2 -2
- package/dist/cdn/{5M3POXXX.js → FRMOXCIW.js} +2 -2
- package/dist/cdn/{WDUEH22A.js → FT3JQVXW.js} +2 -2
- package/dist/cdn/{GCFYG2IP.js → G32WYZWI.js} +2 -2
- package/dist/cdn/{NWFXWOAO.js → G6BHRJBM.js} +2 -2
- package/dist/cdn/{55PIVHXI.js → GCYZFLHS.js} +2 -2
- package/dist/cdn/{FRA2DQWF.js → GF6FVCOF.js} +2 -2
- package/dist/cdn/{2KKY4D26.js → GGBR6YO3.js} +2 -2
- package/dist/cdn/{XGMVUDCR.js → GHMZLDRQ.js} +2 -2
- package/dist/cdn/{XW6UDQOC.js → GJFOY4MZ.js} +2 -2
- package/dist/cdn/{CUJAQZ7Q.js → GK6BZ5CA.js} +2 -2
- package/dist/cdn/{VNHY7WVH.js → GKUGVMPR.js} +2 -2
- package/dist/cdn/{2PQ2DS43.js → GSWFBSAI.js} +2 -2
- package/dist/cdn/GTWKDTTV.js +18 -0
- package/dist/cdn/{T6TRDLLW.js → GXE4VLPB.js} +2 -2
- package/dist/cdn/{GG5322XB.js → GXVG6TBE.js} +2 -2
- package/dist/cdn/{35FQADFO.js → H6UWK3YK.js} +2 -2
- package/dist/cdn/{RFLPQTHR.js → HHQ6EAEC.js} +1 -1
- package/dist/cdn/{OWNE3NKH.js → HMZDUHVH.js} +4 -4
- package/dist/cdn/{ULJ5HIFK.js → HOYCR6CW.js} +2 -2
- package/dist/cdn/{6NTONBY4.js → HPB7LMZB.js} +2 -2
- package/dist/cdn/{FLMHLO43.js → HRRYHXJV.js} +2 -2
- package/dist/cdn/{DM2QASNK.js → HZWJW4N4.js} +2 -2
- package/dist/cdn/{VG77G3L3.js → IBECKWAF.js} +2 -2
- package/dist/cdn/{G3LGAMBQ.js → ID5T7DGW.js} +2 -2
- package/dist/cdn/{T66ZKGRR.js → IKW7KKVU.js} +1 -1
- package/dist/cdn/{AROFWN7J.js → IRIIUZ4P.js} +2 -2
- package/dist/cdn/{LBTMKK7G.js → IUORSNIC.js} +2 -2
- package/dist/cdn/{G57QOE4P.js → IWEORJKW.js} +2 -2
- package/dist/cdn/{BT3PZ755.js → JA42BMTT.js} +1 -1
- package/dist/cdn/{TLXOAJK5.js → JLPMEQ4C.js} +2 -2
- package/dist/cdn/{FFZOA5VY.js → JRAWXTC2.js} +2 -2
- package/dist/cdn/{47HZO7HH.js → JS3S6ATX.js} +2 -2
- package/dist/cdn/{LLKMGYSP.js → JXBYVSDN.js} +2 -2
- package/dist/cdn/{GZ4MUQVE.js → JXZF4HP3.js} +2 -2
- package/dist/cdn/{S5HZ3ZDX.js → JYVKD3AY.js} +2 -2
- package/dist/cdn/{3JLPYT3H.js → KBECYN7X.js} +2 -2
- package/dist/cdn/{RDKSB4BZ.js → KEH7PCJF.js} +2 -2
- package/dist/cdn/{J4PD5ZQ7.js → KJJQAQBD.js} +1 -1
- package/dist/cdn/{EDFQHWSA.js → KKWP4MFI.js} +2 -2
- package/dist/cdn/{REM4XQLE.js → KQCOJSEM.js} +2 -2
- package/dist/cdn/{UYXUVFKE.js → KRUFNCWC.js} +2 -2
- package/dist/cdn/{VYCVM7AQ.js → KUMDM2TP.js} +1 -1
- package/dist/cdn/{GICZBA3H.js → KW3H64Z3.js} +2 -2
- package/dist/cdn/{TFX7FLLB.js → L2M6XD4J.js} +2 -2
- package/dist/cdn/{SCHYFVMA.js → L2YFBS6Q.js} +1 -1
- package/dist/cdn/L5CLDC55.js +18 -0
- package/dist/cdn/{FCF6DXVK.js → LEKPGQ27.js} +2 -2
- package/dist/cdn/{OZXJ2M5O.js → LF3V5ZAK.js} +2 -2
- package/dist/cdn/{QU2RIV42.js → LI3HHQ6A.js} +2 -2
- package/dist/cdn/{OHAUP2TS.js → LRDXMMOD.js} +2 -2
- package/dist/cdn/{CS2LIBSE.js → LTEMSWE5.js} +2 -2
- package/dist/cdn/{57VUM2OX.js → M2HCD4O7.js} +2 -2
- package/dist/cdn/{AUHY5KDY.js → M37XXGZU.js} +2 -2
- package/dist/cdn/{NY4VVXOI.js → M3DGWEUL.js} +2 -2
- package/dist/cdn/{DUSKO4ZL.js → M4C4FAYK.js} +2 -2
- package/dist/cdn/{DJIPWE3W.js → M4Q775XV.js} +2 -2
- package/dist/cdn/{ZQ53XSXJ.js → MASIZZCI.js} +2 -2
- package/dist/cdn/{3TZNTRGM.js → MB4QMMLX.js} +2 -2
- package/dist/cdn/{CRJF3MOM.js → MBVBYMPA.js} +2 -2
- package/dist/cdn/{7C563I5Y.js → MDGONFN6.js} +2 -2
- package/dist/cdn/{VN2Z7U4S.js → MEZGELTC.js} +2 -2
- package/dist/cdn/{3JGSO6KR.js → MHQB5WNU.js} +2 -2
- package/dist/cdn/{E7X4JPJZ.js → MKH2DA7O.js} +2 -2
- package/dist/cdn/{LMAODDCB.js → MOEDT57I.js} +2 -2
- package/dist/cdn/{7FDUBCB6.js → MOTBFN4G.js} +2 -2
- package/dist/cdn/{MSOGJSYT.js → MOZ76AMD.js} +2 -2
- package/dist/cdn/{AVGRHD4G.js → MUZW3RGH.js} +2 -2
- package/dist/cdn/{2DGB5L7S.js → MVZGGYJE.js} +1 -1
- package/dist/cdn/{F4ML5DAH.js → MWSOZQDY.js} +2 -2
- package/dist/cdn/{3R72A4LX.js → MZFDKMPX.js} +2 -2
- package/dist/cdn/{HU23U4PP.js → N2W6QSZD.js} +2 -2
- package/dist/cdn/{3I7S3ZV4.js → N5STZ7GZ.js} +2 -2
- package/dist/cdn/{CDKJFB3T.js → N67QCQ7V.js} +2 -2
- package/dist/cdn/{XEIR3HD2.js → NCCMANMO.js} +2 -2
- package/dist/cdn/NEHYX5WH.js +20 -0
- package/dist/cdn/{F6NAYPRN.js → NHWSJLLO.js} +2 -2
- package/dist/cdn/{TYSGRYCE.js → NLXHAQLL.js} +2 -2
- package/dist/cdn/{JH3DG6QD.js → NUCUGNUX.js} +2 -2
- package/dist/cdn/{MJ3U6PJY.js → O3IDDO6J.js} +2 -2
- package/dist/cdn/{VQCSCWLK.js → O3VFVJOS.js} +2 -2
- package/dist/cdn/{27LWIDZP.js → O6NVE7E5.js} +2 -2
- package/dist/cdn/{KKXIEFPA.js → OENBSLHM.js} +2 -2
- package/dist/cdn/OI7P2J4Y.js +18 -0
- package/dist/cdn/OJJHKR7F.js +4 -0
- package/dist/cdn/{OVVYNB4P.js → ONHJPLZM.js} +2 -2
- package/dist/cdn/{SE7AJBLC.js → OQF3PZAV.js} +3 -3
- package/dist/cdn/{GAYYLVCV.js → OTXXGUOE.js} +2 -2
- package/dist/cdn/{2NEXO4CL.js → PD3YZ7ZC.js} +2 -2
- package/dist/cdn/{OWPOIGI3.js → PD5P6RHL.js} +2 -2
- package/dist/cdn/{KW7MDDY3.js → PEOJQHTO.js} +1 -1
- package/dist/cdn/{YYS3KCN2.js → PGJVADNQ.js} +2 -2
- package/dist/cdn/{JE6G7YCF.js → PIUQ5LMJ.js} +2 -2
- package/dist/cdn/{U3YMG7NH.js → PP2BY544.js} +2 -2
- package/dist/cdn/{3SZTNCCQ.js → PSDCQKCH.js} +2 -2
- package/dist/cdn/{VYETQ5OQ.js → PTLTCZI4.js} +2 -2
- package/dist/cdn/{6BYQHGKG.js → PWLKYE5P.js} +2 -2
- package/dist/cdn/{27I2DU2C.js → PZ7RGXSK.js} +2 -2
- package/dist/cdn/{OWNKZH3J.js → PZIFPW3P.js} +2 -2
- package/dist/cdn/{RKIYQIND.js → PZLHAJTW.js} +2 -2
- package/dist/cdn/{Q25NUDBB.js → Q2QCS4J2.js} +2 -2
- package/dist/cdn/{4DHQUG3W.js → Q2RUM7UN.js} +2 -2
- package/dist/cdn/{PHDYMI4U.js → Q5J5XNAP.js} +2 -2
- package/dist/cdn/{BZ2BCVFJ.js → QAXTCQ2U.js} +2 -2
- package/dist/cdn/{OZP2AS5I.js → QCJZFBZQ.js} +2 -2
- package/dist/cdn/{IXHQQUJE.js → QF64CVJ5.js} +2 -2
- package/dist/cdn/{KTWF7YEW.js → QG6QJLC4.js} +2 -2
- package/dist/cdn/{NSBCSLHQ.js → QGJJKXZ7.js} +2 -2
- package/dist/cdn/{4Z3GVHCU.js → QM3ILXY3.js} +2 -2
- package/dist/cdn/{BMZSYER5.js → QNRYJM3B.js} +1 -1
- package/dist/cdn/{67YBSQOW.js → QPXISNSE.js} +2 -2
- package/dist/cdn/{BH44LJSG.js → QXFNX2NB.js} +2 -2
- package/dist/cdn/{H3D27G4Z.js → RAP3WBHW.js} +2 -2
- package/dist/cdn/{TYRLD7J2.js → REIHKE4M.js} +2 -2
- package/dist/cdn/{LDLY6XKA.js → RRUGRUVI.js} +2 -2
- package/dist/cdn/{TDYZLGUB.js → RTOP6BXN.js} +2 -2
- package/dist/cdn/{EYYXEXIY.js → RYZD436N.js} +2 -2
- package/dist/cdn/{M7P2ZTLV.js → S2DMLXK2.js} +2 -2
- package/dist/cdn/S4PLZNT3.js +18 -0
- package/dist/cdn/{EMDJVLHN.js → SFMJHS2P.js} +2 -2
- package/dist/cdn/{B6MXVUM7.js → SFUF6JRQ.js} +2 -2
- package/dist/cdn/SGSJNZRS.js +4 -0
- package/dist/cdn/{Y2HBFVM4.js → SIY7FRU2.js} +2 -2
- package/dist/cdn/{Q253POJJ.js → SLK6RJZ6.js} +1 -1
- package/dist/cdn/SLMOR34E.js +18 -0
- package/dist/cdn/{YK3CVDW7.js → SMC7MDBC.js} +2 -2
- package/dist/cdn/{7SYXERJO.js → SMDGUFAX.js} +1 -1
- package/dist/cdn/{5D6QFA7E.js → SML6VAVH.js} +2 -2
- package/dist/cdn/{7XLXELEX.js → SO57WMZT.js} +2 -2
- package/dist/cdn/{INIUEMX5.js → SQGDT3MI.js} +2 -2
- package/dist/cdn/{WTGX35K4.js → SVGQ6RRF.js} +2 -2
- package/dist/cdn/{ZDRTTMHR.js → SVKVDVSA.js} +2 -2
- package/dist/cdn/{WAOQ3JCJ.js → SWYEHTYD.js} +2 -2
- package/dist/cdn/{OVB6WWYJ.js → SYLD7AOJ.js} +2 -2
- package/dist/cdn/{N6FSCHMI.js → T24OWJ2D.js} +2 -2
- package/dist/cdn/{K743ADKQ.js → T6URJ7UY.js} +2 -2
- package/dist/cdn/{H7LI4JLZ.js → T7ZYB7QK.js} +1 -1
- package/dist/cdn/{G5TP26AI.js → THGYUWHS.js} +2 -2
- package/dist/cdn/{CNYLCR6J.js → TJYDXN5N.js} +2 -2
- package/dist/cdn/{TX7XEQOI.js → TKJ3SF4I.js} +1 -1
- package/dist/cdn/{PUCYFTMU.js → TLK5UCOJ.js} +2 -2
- package/dist/cdn/{OYR5JAG3.js → TMXC3CNK.js} +3 -3
- package/dist/cdn/{DEHAUXXO.js → TNHDJIYU.js} +2 -2
- package/dist/cdn/{SDATDAKA.js → TP6TK5QG.js} +2 -2
- package/dist/cdn/{FC7SCLY3.js → U2MFSKGL.js} +2 -2
- package/dist/cdn/{IEGO27TP.js → UCZH23H5.js} +2 -2
- package/dist/cdn/{Z6DZIVF7.js → UH35QWCX.js} +2 -2
- package/dist/cdn/{77F3Y4SZ.js → UHI3J3HW.js} +2 -2
- package/dist/cdn/{OVDOY2TB.js → UIOO7RGA.js} +2 -2
- package/dist/cdn/{27JI2VQ2.js → UIQXA63E.js} +2 -2
- package/dist/cdn/{64KLEAWB.js → UL7RSTG3.js} +2 -2
- package/dist/cdn/{6PK752UJ.js → UPA6H3UK.js} +2 -2
- package/dist/cdn/{E5356ZMA.js → UQY7HMMM.js} +2 -2
- package/dist/cdn/US2R7MQA.js +63 -0
- package/dist/cdn/{VHJXFNTB.js → UWJAFW32.js} +2 -2
- package/dist/cdn/{YYLWNW2V.js → V24FB5XD.js} +2 -2
- package/dist/cdn/{CFSE4FBZ.js → V4XH652F.js} +2 -2
- package/dist/cdn/{X7S4K6O4.js → V5H4AUIH.js} +2 -2
- package/dist/cdn/{7RXY54AE.js → VBUG7NUZ.js} +2 -2
- package/dist/cdn/{ZASSV5QG.js → VEFMWNVR.js} +2 -2
- package/dist/cdn/{RHH5VDPN.js → VGW3E33G.js} +2 -2
- package/dist/cdn/{U62Y6WZO.js → VHMETX5C.js} +2 -2
- package/dist/cdn/{R4LWV66S.js → VNJMC7H7.js} +2 -2
- package/dist/cdn/{6HZDA6VL.js → VOI26VZU.js} +2 -2
- package/dist/cdn/{KUPVTR4P.js → VSGIKV5X.js} +2 -2
- package/dist/cdn/{F4YER46Y.js → VTAI23DN.js} +2 -2
- package/dist/cdn/{S3UOX3S5.js → VU7CLW5T.js} +2 -2
- package/dist/cdn/{KQIP55UX.js → VUA6EP7Q.js} +2 -2
- package/dist/cdn/{NAEHM6JI.js → VZO4BIVY.js} +2 -2
- package/dist/cdn/{IIDHHI6H.js → W2YFZYV5.js} +2 -2
- package/dist/cdn/{K74PB5FR.js → WC3Z4EDF.js} +1 -1
- package/dist/cdn/{FRWCYHC7.js → WGCXCMFS.js} +2 -2
- package/dist/cdn/{MDIV2FIJ.js → WMMQCH4Z.js} +2 -2
- package/dist/cdn/WR37QCTD.js +4 -0
- package/dist/cdn/{L5VACHLZ.js → WR3I7AM2.js} +2 -2
- package/dist/cdn/{XQYMKMCD.js → WVRENFYB.js} +2 -2
- package/dist/cdn/{2AXIORVV.js → X3W3VZ6Q.js} +1 -1
- package/dist/cdn/{MOSTA2DP.js → X7MBI4XC.js} +1 -1
- package/dist/cdn/{5EVX3HTC.js → XCXTGRF4.js} +2 -2
- package/dist/cdn/{W5LN2VYT.js → XFF62RTG.js} +2 -2
- package/dist/cdn/{KISPGYCP.js → XFLIYFY3.js} +2 -2
- package/dist/cdn/{QBVRFM7C.js → XK6TMGUD.js} +2 -2
- package/dist/cdn/{WTZ5V3MZ.js → XLBG2RJT.js} +2 -2
- package/dist/cdn/XNA6WRSK.js +4 -0
- package/dist/cdn/{MPNGG3EB.js → XRRTWRCI.js} +2 -2
- package/dist/cdn/{JKJ2E3QC.js → XSELGOTY.js} +2 -2
- package/dist/cdn/{Y3TZCUDN.js → XWM3XGZT.js} +2 -2
- package/dist/cdn/{AOB5K76I.js → XYYHWXEE.js} +2 -2
- package/dist/cdn/{JLFUNC3I.js → Y3GNKHWX.js} +2 -2
- package/dist/cdn/Y755NJQD.js +18 -0
- package/dist/cdn/{32KLJCZ5.js → YCZQXPZS.js} +2 -2
- package/dist/cdn/{DMLSWP4B.js → YEUCZM52.js} +2 -2
- package/dist/cdn/{PCJDMYM4.js → YG53B4I2.js} +2 -2
- package/dist/cdn/YLCN5LJA.js +6 -0
- package/dist/cdn/{XTSZRRWZ.js → YN5RGMUY.js} +2 -2
- package/dist/cdn/YNJMZX3I.js +18 -0
- package/dist/cdn/{PB5W7EYR.js → YVVDUMNS.js} +2 -2
- package/dist/cdn/{IVMQMFER.js → YWNRR2PJ.js} +2 -2
- package/dist/cdn/{KQWVAVJY.js → Z2FCSBUU.js} +2 -2
- package/dist/cdn/Z2SGK7LL.js +4 -0
- package/dist/cdn/{4WWV5LXT.js → Z3WPTT5X.js} +2 -2
- package/dist/cdn/{M35BYI7Y.js → Z4ZF2BDG.js} +2 -2
- package/dist/cdn/{R45VY7IL.js → ZCSEKMUG.js} +2 -2
- package/dist/cdn/{MR4CUJA5.js → ZDD7KPSE.js} +2 -2
- package/dist/cdn/{VC3WICDQ.js → ZGZ2DUJK.js} +2 -2
- package/dist/cdn/{LZ5XRNJU.js → ZQJ3I7NF.js} +2 -2
- package/dist/cdn/{XUTQASNK.js → ZTH6BNEM.js} +2 -2
- package/dist/cdn/ZUGHV55K.js +18 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +3 -3
- 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.d.ts +7 -5
- package/dist/components/arcgis-solutions-assistant/customElement.js +1225 -137
- package/dist/components/arcgis-solutions-assistant/index.d.ts +1 -1
- package/dist/components/arcgis-solutions-assistant/index.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 +1 -1
- 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-configuration/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.d.ts +4 -5
- package/dist/components/solution-deployed-card/customElement.js +35 -34
- package/dist/components/solution-deployed-card/index.d.ts +0 -1
- package/dist/components/solution-deployed-card/index.js +0 -1
- package/dist/components/{solution-configure-dialog → solution-deployed-card-panel}/customElement.d.ts +13 -3
- package/dist/components/solution-deployed-card-panel/customElement.js +101 -0
- package/dist/components/solution-deployed-card-panel/index.d.ts +15 -0
- package/dist/components/solution-deployed-card-panel/index.js +15 -0
- 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 +22 -19
- 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-card/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 +10 -10
- package/dist/components/solutions-all-panel/index.d.ts +1 -1
- package/dist/components/solutions-all-panel/index.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +2 -2
- package/dist/components/solutions-deploy-app/customElement.d.ts +2 -1
- package/dist/components/solutions-deploy-app/customElement.js +41 -34
- package/dist/components/solutions-deploy-app/index.d.ts +1 -0
- package/dist/components/solutions-deploy-app/index.js +1 -0
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +3 -3
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +34 -35
- package/dist/components/solutions-deployed-shell/customElement.js +8 -8
- package/dist/components/solutions-filter-panel/customElement.js +28 -28
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +18 -32
- package/dist/components/solutions-resources-shell/customElement.js +11 -11
- package/dist/components/solutions-searchsort-toolbar/customElement.js +7 -5
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +433 -377
- package/dist/docs/docs.json +306 -237
- package/dist/docs/vscode.html-custom-data.json +29 -24
- package/dist/docs/web-types.json +134 -86
- package/dist/index.d.ts +36 -19
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +11 -7
- package/dist/types/preact.d.ts +12 -8
- package/dist/types/preact10.d.ts +13 -9
- package/dist/types/react.d.ts +13 -9
- package/dist/types/stencil.d.ts +11 -7
- package/dist/utils/interfaces.d.ts +26 -22
- package/package.json +2 -2
- package/dist/cdn/2JNJ6NTC.js +0 -18
- package/dist/cdn/4GUQBFYH.js +0 -18
- package/dist/cdn/5BPJLXIU.js +0 -4
- package/dist/cdn/5LY5OONV.js +0 -18
- package/dist/cdn/5OZ5KLPF.js +0 -18
- package/dist/cdn/6CH6MP7M.js +0 -18
- package/dist/cdn/6OXM73V7.js +0 -4
- package/dist/cdn/7WEJILVE.js +0 -4
- package/dist/cdn/AKYVL4SJ.js +0 -18
- package/dist/cdn/CWUQXXM2.js +0 -4
- package/dist/cdn/FQUI4DDD.js +0 -4
- package/dist/cdn/IJBIJEFV.js +0 -18
- package/dist/cdn/IRZ5Q6P6.js +0 -20
- package/dist/cdn/JQONUFIG.js +0 -18
- package/dist/cdn/MR7TKHWW.js +0 -18
- package/dist/cdn/NZLIU3NZ.js +0 -18
- package/dist/cdn/QWXBFNTX.js +0 -4
- package/dist/cdn/RXTPHD3N.js +0 -4
- package/dist/cdn/SIV3TXNM.js +0 -18
- package/dist/cdn/VDCKQGGM.js +0 -4
- package/dist/cdn/VNZX5NLF.js +0 -4
- package/dist/cdn/X73PGIQR.js +0 -18
- package/dist/cdn/Y4NZE64P.js +0 -4
- package/dist/cdn/Y4RGBYW4.js +0 -6
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
- package/dist/components/solution-configure-dialog/customElement.js +0 -131
- package/dist/components/solution-configure-dialog/index.d.ts +0 -13
- package/dist/components/solution-configure-dialog/index.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as y}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as y}from"./GXE4VLPB.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import{a as s,b as p}from"./JLPMEQ4C.js";import"./V4XH652F.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import{a as n}from"./WGCXCMFS.js";import{a}from"./EBFHYLAT.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import{a as l}from"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import{a as t,b as r}from"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as l}from"./CIPEOZGL.js";import{b as h}from"./4ZTJFATS.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{E as r,G as n,h as i,i as a}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a}from"./TKJ3SF4I.js";import{a as l,b as r}from"./JLPMEQ4C.js";import"./V4XH652F.js";import"./7MXST5RQ.js";import{d as i}from"./E3MRIPN4.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import{a as t}from"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"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`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import c from"./MDGONFN6.js";import{a as x}from"./7ITUUMFZ.js";import{a as T,c as P}from"./7PUOSBZG.js";import a from"./BOM2RSTG.js";import{b as u}from"./EU6EDFI6.js";import{Wb as C,ta as S}from"./YLCN5LJA.js";import"./V24FB5XD.js";import"./AGPZ3ZW3.js";import"./MKH2DA7O.js";import"./4S7GJLXK.js";import"./5MOL5QM7.js";import"./X3W3VZ6Q.js";import"./L2YFBS6Q.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./X7MBI4XC.js";import"./6KHLLWW2.js";import{a as $}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b}from"./XSELGOTY.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./JA42BMTT.js";import"./SLK6RJZ6.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as g,c as S,d as y,e as u,f as m}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as g,c as S,d as y,e as u,f as m}from"./6X3COWPL.js";import{a as p}from"./ZTH6BNEM.js";import{C as $,m as h}from"./IKW7KKVU.js";import{b as D}from"./4ZTJFATS.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as e}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{b as e}from"./4QWHJISX.js";import{a as r}from"./M4Q775XV.js";import{a as t}from"./4LTQAJ7Q.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as i}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as i}from"./AC5ZYR6U.js";import{d as l}from"./E3MRIPN4.js";import"./BKKW36VD.js";import{a as r}from"./B46CQCIJ.js";import{a as s}from"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";var d=async(e,a,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"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`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import"./SLK6RJZ6.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
4
|
var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as i}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{d as i}from"./7IXKEJ6E.js";import{a}from"./HRRYHXJV.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import"./SLK6RJZ6.js";var e="Du har inte tillr\xE4ckligt m\xE5nga krediter f\xF6r att utf\xF6ra den h\xE4r \xE5tg\xE4rden. Kontakta din ArcGIS-systemadministrat\xF6r f\xF6r att f\xE5 hj\xE4lp.",a="Det h\xE4r verktyget har publicerats fr\xE5n en notebook. \xC5tkomst till ArcGIS Notebooks \xE4r blockerad f\xF6r din organisation. Kontakta din administrat\xF6r f\xF6r att justera inst\xE4llningen.",t="${ dataPath } f\xE5r inte inneh\xE5lla ${ additionalProperty }.",r="${ dataPath } m\xE5ste matcha schemat f\xF6r n\xE5gon av dessa: ${ schemaOptions }.",i="F\xF6rs\xF6k att spara kartan igen.",n="Kreditber\xE4kningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och ber\xE4kna krediterna igen.",s="Ett fel uppstod n\xE4r analysen k\xF6rdes.",l="${ dataPath } m\xE5ste vara lika med ett av dessa till\xE5tna v\xE4rden: ${ allowedValues }.",o="Det gick inte att spara analyshistoriken",d="Historiklagringen \xE4r full. Ta bort n\xE5gra objekt fr\xE5n analyshistoriken och f\xF6rs\xF6k att spara igen.",g="Tj\xE4nstnamnet inneh\xE5ller ett eller flera ogiltiga tecken.",m="Lagring av det tillf\xE4lliga lagret som ett driftat geoobjektlager slutf\xF6rdes inte.",k="Det gick inte att h\xE4mta nyckelegenskaper.",c="Det gick inte att l\xE4sa in lagret.",f="Lagret \xE4r inte tillg\xE4ngligt.",h="${ dataPath } f\xE5r inte ha fler \xE4n ${ limit } objekt.",u="Ett fel uppstod n\xE4r modellen sparades. F\xF6rs\xF6k att spara igen.",p="${ dataPath } f\xE5r inte ha f\xE4rre \xE4n ${ limit } objekt.",y="${ dataPath } f\xE5r inte vara kortare \xE4n ${ limit } tecken.",v="Kunde inte l\xE4sa in modellobjektet. Kontrollera att modellen finns och att \xE5tkomstbeh\xF6righet har beviljats.",b="Det gick inte att slutf\xF6ra f\xF6rfr\xE5gan.",E="Du saknar beh\xF6righet att k\xF6ra det h\xE4r verktyget. <calcite-link target='_blank' href='${ docLink }'>L\xE4s mer</calcite-link>",P="Det gick inte att logga in p\xE5 portalen.",S="Det gick inte att l\xE4sa indata.",$="${ dataPath } saknar egenskapen ${ missingProperty }.",F="Det finns redan ett resultatlager med det h\xE4r namnet. Resultatlager m\xE5ste ha unika namn i hela organisationen. Anv\xE4nd ett annat namn.",I="Utdatanamnet inneh\xE5ller ett eller flera ogiltiga tecken. <a href='${docLink}' target='_blank'>L\xE4s mer.</a>",L="Publicering av det tillf\xE4lliga lagret som ett driftat geoobjektlager misslyckades p\xE5 grund av ett eller flera ogiltiga f\xE4lt. K\xF6r verktyget igen f\xF6r att skapa ett lager med giltiga f\xE4lt.",T="Jobbinl\xE4mningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och k\xF6r analysen igen.",D="${ dataPath } m\xE5ste ha minst ett tecken som inte \xE4r ett blanksteg.",j={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:i,creditEstimationError:n,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:g,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:c,layerUnavailable:f,maxItems:h,mbFailedToSave:u,minItems:p,minLength:y,modelNotFound:v,networkError:b,noPermissionToAccessTool:E,portalLoadError:P,queryFeaturesError:S,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:D};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,i as cannotWriteToItemResource,n as creditEstimationError,j as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,g as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,c as layerLoadFailure,f as layerUnavailable,h as maxItems,u as mbFailedToSave,p as minItems,y as minLength,v as modelNotFound,b as networkError,E as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,D as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a,b}from"./KRUFNCWC.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as S}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as S}from"./64Q6BQ3T.js";import{a as U,b as x}from"./463BGXGZ.js";import{d as j,g as L,h as C,i as N}from"./MKH2DA7O.js";import{b as f,c as y}from"./ZDD7KPSE.js";import{m as v,n as _}from"./4S7GJLXK.js";import{a as d}from"./Q5J5XNAP.js";import{f as M}from"./CLNJC6L6.js";import"./5MOL5QM7.js";import"./X3W3VZ6Q.js";import"./L2YFBS6Q.js";import"./T7ZYB7QK.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import{a as O}from"./KJJQAQBD.js";import"./F4JC7HOE.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import{s as I}from"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./X7MBI4XC.js";import"./SLK6RJZ6.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as s}from"./GXE4VLPB.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import{a as i,b as a}from"./JLPMEQ4C.js";import"./V4XH652F.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import{a as o}from"./WGCXCMFS.js";import{a as r}from"./EBFHYLAT.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.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 r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
4
|
var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import"./SLK6RJZ6.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as u}from"./CIPEOZGL.js";import{a as m,f as b,z as _}from"./IKW7KKVU.js";import{b as d}from"./4ZTJFATS.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./EDFQHWSA.js";import a from"./27JI2VQ2.js";import{a as _}from"./XUTQASNK.js";import{b as y}from"./CAOSAERX.js";import"./VNHY7WVH.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./BT3PZ755.js";import"./Q253POJJ.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import b from"./KKWP4MFI.js";import a from"./UIQXA63E.js";import{a as _}from"./ZTH6BNEM.js";import{b as y}from"./4ZTJFATS.js";import"./GKUGVMPR.js";import{D as $,E as T,G as l,I as g,h as C,i as r,o as x,r as L}from"./JA42BMTT.js";import"./SLK6RJZ6.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as r}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as o}from"./XSELGOTY.js";import{E as n,h as l,i as a,o as i}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var c=l`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as C}from"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a as C}from"./VGW3E33G.js";import"./4ZTJFATS.js";import{d as x}from"./Q2RUM7UN.js";import{a as s}from"./6KHLLWW2.js";import"./KUMDM2TP.js";import{a as I}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as L}from"./XSELGOTY.js";import{C as h,D as r,E as $,G as d,H as v,h as f,i as l,l as w,o as m,r as y}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var k=f`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import{a,b}from"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.16 */
|
|
4
|
+
import"./SLK6RJZ6.js";var e="Du har ikke nok credits til \xE5 utf\xF8re denne operasjonen. Kontakt ArcGIS-systemadministratoren for \xE5 f\xE5 hjelp.",r="Dette verkt\xF8yet ble publisert fra en notisbok. Tilgang til ArcGIS Notebooks er blokkert for din organisasjon. Kontakt administratoren din for \xE5 justere innstillingen.",t="${ dataPath } kan ikke ha ${ additionalProperty }.",a="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",n="Pr\xF8v \xE5 lagre kartet p\xE5 nytt.",i="Creditestimering mislyktes. Rull nedover, korriger feilene, og estimer creditene p\xE5 nytt.",l="Det oppstod en feil under kj\xF8ring av analysen.",o="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",s="Kunne ikke lagre analysehistorikken",d="Historikklageret er fullt. Fjern noen elementer fra analysehistorikken og pr\xF8ve \xE5 lagre p\xE5 nytt.",k="Tjenestenavnet inneholder ett eller flere ugyldige tegn.",g="Lagringen av det midlertidige laget som et hostet geoobjektlag ble ikke fullf\xF8rt.",m="Kan ikke hente n\xF8kkelegenskaper.",u="Kan ikke laste inn laget.",f="Laget er ikke tilgjengelig.",c="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",p="Det oppstod en feil under lagring av modellen. Pr\xF8v \xE5 lagre p\xE5 nytt.",y="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",v="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",h="Kan ikke laste inn modellelementet. S\xF8rg for at modellen eksisterer og at tilgangstillatelser er gitt.",E="Kan ikke fullf\xF8re foresp\xF8rselen.",P="Du har ikke tilgang til \xE5 kj\xF8re dette verkt\xF8yet. <calcite-link target='_blank' href='${ docLink }'>Mer informasjon</calcite-link>",S="Kan ikke logge inn p\xE5 portalen.",b="Kan ikke lese inndata.",$="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",j="Det finnes allerede et resultatlag med dette navnet. Navn p\xE5 resultatlag m\xE5 v\xE6re unike innenfor organisasjonen. Bruk en annen tittel.",F="Utdatanavnet inneholder ett eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>L\xE6r mer.</a>",I="Publiseringen av det midlertidige laget som et hostet lag mislyktes p\xE5 grunn av ett eller flere ugyldige felter. Kj\xF8r verkt\xF8yet p\xE5 nytt for \xE5 opprette et lag med gyldige felter.",T="Jobbinnsendingen mislyktes. Rull nedover, korriger feilene, og kj\xF8r analysen p\xE5 nytt.",L="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:t,anyOfValues:a,cannotWriteToItemResource:n,creditEstimationError:i,defaultError:l,enumValues:o,failedToSaveHistory:s,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:p,minItems:y,minLength:v,modelNotFound:h,networkError:E,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:b,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:L};export{e as InsufficientCreditsError,r as accessBlocked,t as additionalProperty,a as anyOfValues,n as cannotWriteToItemResource,i as creditEstimationError,K as default,l as defaultError,o as enumValues,s as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,p as mbFailedToSave,y as minItems,v as minLength,h as modelNotFound,E as networkError,P as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,L as whiteSpacePattern};
|