@esri/solutions-components 1.1.2 → 1.1.3
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/2CJMFJBA.js +18 -0
- package/dist/cdn/2ER6MOQG.js +4 -0
- package/dist/cdn/2FRLUANT.js +4 -0
- package/dist/cdn/2H3MHHNZ.js +4 -0
- package/dist/cdn/2INAA7RT.js +18 -0
- package/dist/cdn/2ODJXVXK.js +4 -0
- package/dist/cdn/2QUKXPZR.js +4 -0
- package/dist/cdn/2RVFCA7L.js +4 -0
- package/dist/cdn/2WMJ555U.js +4 -0
- package/dist/cdn/2Z76VPGI.js +4 -0
- package/dist/cdn/32ATILL5.js +4 -0
- package/dist/cdn/3GOUCDDA.js +18 -0
- package/dist/cdn/3KAMA7IW.js +4 -0
- package/dist/cdn/3O5OPBC4.js +4 -0
- package/dist/cdn/3ODSPQ4S.js +4 -0
- package/dist/cdn/3RWNFAPL.js +4 -0
- package/dist/cdn/3TIVP7ZT.js +4 -0
- package/dist/cdn/3Y6LJKSE.js +4 -0
- package/dist/cdn/3YP4K4OV.js +4 -0
- package/dist/cdn/3ZCXZTSQ.js +4 -0
- package/dist/cdn/45MDLMP7.js +4 -0
- package/dist/cdn/46N6YTN4.js +4 -0
- package/dist/cdn/4AAGIK4R.js +4 -0
- package/dist/cdn/4BVRGUY2.js +4 -0
- package/dist/cdn/4GVE6BFQ.js +4 -0
- package/dist/cdn/4GYIRCZH.js +4 -0
- package/dist/cdn/4JQQITKV.js +4 -0
- package/dist/cdn/4KFHBJLQ.js +4 -0
- package/dist/cdn/4MTTBD2G.js +4 -0
- package/dist/cdn/4QWQTEX2.js +4 -0
- package/dist/cdn/4U2ESZU7.js +4 -0
- package/dist/cdn/4UCWAUCV.js +20 -0
- package/dist/cdn/4X5X3NXC.js +4 -0
- package/dist/cdn/4XM7DRTD.js +4 -0
- package/dist/cdn/4YPEHTUX.js +4 -0
- package/dist/cdn/54MX64OW.js +4 -0
- package/dist/cdn/55MHANOS.js +4 -0
- package/dist/cdn/5AUXWWFV.js +4 -0
- package/dist/cdn/5BA4B7KE.js +4 -0
- package/dist/cdn/5FQPSA2W.js +294 -0
- package/dist/cdn/5Y5BCNBZ.js +4 -0
- package/dist/cdn/5Z7A2SAC.js +4 -0
- package/dist/cdn/64766I5C.js +4 -0
- package/dist/cdn/647SSUOR.js +4 -0
- package/dist/cdn/66K5WNGM.js +4 -0
- package/dist/cdn/67EVCSMZ.js +18 -0
- package/dist/cdn/6D2BWWQ3.js +4 -0
- package/dist/cdn/6DRUDUXD.js +4 -0
- package/dist/cdn/6GAJQWJK.js +4 -0
- package/dist/cdn/6HRHOQDC.js +4 -0
- package/dist/cdn/6HYYQES4.js +4 -0
- package/dist/cdn/6KOI3W3R.js +18 -0
- package/dist/cdn/6LTQY6WH.js +18 -0
- package/dist/cdn/6MYJZ4IH.js +4 -0
- package/dist/cdn/6OGJVPTT.js +18 -0
- package/dist/cdn/6PWGQ66L.js +4 -0
- package/dist/cdn/6TD6ORJT.js +4 -0
- package/dist/cdn/6TVC6S4Y.js +18 -0
- package/dist/cdn/6USF6QAM.js +18 -0
- package/dist/cdn/6WORDZKG.js +4 -0
- package/dist/cdn/6ZBLXSXD.js +18 -0
- package/dist/cdn/6ZZTUHA6.js +4 -0
- package/dist/cdn/73LPW6HI.js +4 -0
- package/dist/cdn/7JZ5LMUI.js +4 -0
- package/dist/cdn/7MZHWXYE.js +4 -0
- package/dist/cdn/7NJMQPTF.js +4 -0
- package/dist/cdn/7NKFLJ7I.js +4 -0
- package/dist/cdn/7QKWZ3QG.js +4 -0
- package/dist/cdn/7RBYRXWN.js +18 -0
- package/dist/cdn/7VXHACMD.js +4 -0
- package/dist/cdn/7XJYGNID.js +4 -0
- package/dist/cdn/7YHDNEYY.js +18 -0
- package/dist/cdn/A2V4GLJF.js +18 -0
- package/dist/cdn/A4CPLF7K.js +4 -0
- package/dist/cdn/A7MJEB4E.js +4 -0
- package/dist/cdn/AH4OTLQ3.js +18 -0
- package/dist/cdn/AI66XIFT.js +4 -0
- package/dist/cdn/AKCNGWL7.js +4 -0
- package/dist/cdn/AKJNSKCJ.js +4 -0
- package/dist/cdn/ALLFY4PP.js +18 -0
- package/dist/cdn/AMFRPTVX.js +18 -0
- package/dist/cdn/AQVHN6AM.js +18 -0
- package/dist/cdn/B47TEQB4.js +18 -0
- package/dist/cdn/BD5DMPRX.js +4 -0
- package/dist/cdn/BE3Z4DUC.js +18 -0
- package/dist/cdn/BEVDAMCL.js +4 -0
- package/dist/cdn/BGWP4TWF.js +4 -0
- package/dist/cdn/BHGPZPHI.js +4 -0
- package/dist/cdn/BJZZT5RK.js +18 -0
- package/dist/cdn/BK7UXXQ2.js +4 -0
- package/dist/cdn/BLJWLTAA.js +4 -0
- package/dist/cdn/BNJHXW3M.js +4 -0
- package/dist/cdn/BTLX7UFR.js +4 -0
- package/dist/cdn/C72CDHNN.js +8 -0
- package/dist/cdn/CAWPXFWU.js +18 -0
- package/dist/cdn/CBKQTORK.js +4 -0
- package/dist/cdn/CBOVDRFV.js +4 -0
- package/dist/cdn/CCFY7P7U.js +4 -0
- package/dist/cdn/CL3HIMLD.js +4 -0
- package/dist/cdn/COTPDOLY.js +4 -0
- package/dist/cdn/CSXY6EW2.js +18 -0
- package/dist/cdn/CTFHZAMW.js +4 -0
- package/dist/cdn/CVZQJMJQ.js +4 -0
- package/dist/cdn/CW5ZISPI.js +4 -0
- package/dist/cdn/CXXZCUA4.js +4 -0
- package/dist/cdn/D2SUNNM7.js +4 -0
- package/dist/cdn/D3UD7DVJ.js +4 -0
- package/dist/cdn/D536U4EF.js +4 -0
- package/dist/cdn/D5KX77I4.js +4 -0
- package/dist/cdn/D6EWYXTL.js +6 -0
- package/dist/cdn/DB5QJHQQ.js +4 -0
- package/dist/cdn/DBIIMNFE.js +4 -0
- package/dist/cdn/DCZMQCXU.js +4 -0
- package/dist/cdn/DF6KWCSV.js +4 -0
- package/dist/cdn/DGRK3TQM.js +4 -0
- package/dist/cdn/DHK3XFOV.js +385 -0
- package/dist/cdn/DJODCYWX.js +4 -0
- package/dist/cdn/DTIAJXKU.js +18 -0
- package/dist/cdn/DYDT3L5U.js +4 -0
- package/dist/cdn/E27XXCF6.js +4 -0
- package/dist/cdn/EC6U73YO.js +82 -0
- package/dist/cdn/EEKD7XQD.js +18 -0
- package/dist/cdn/EEX52KRD.js +4 -0
- package/dist/cdn/EF4FU5MQ.js +18 -0
- package/dist/cdn/EIMD5MST.js +18 -0
- package/dist/cdn/ELMBIWAD.js +4 -0
- package/dist/cdn/EQU7VQR5.js +4 -0
- package/dist/cdn/ERGIC6D6.js +4 -0
- package/dist/cdn/FB6CNJND.js +4 -0
- package/dist/cdn/FF7OJF4K.js +18 -0
- package/dist/cdn/FHGDKMEF.js +4 -0
- package/dist/cdn/FHJ4M7DA.js +4 -0
- package/dist/cdn/FHNXSYL5.js +18 -0
- package/dist/cdn/FL4YGWKB.js +18 -0
- package/dist/cdn/FRRUWG5E.js +4 -0
- package/dist/cdn/FSJAKDHQ.js +18 -0
- package/dist/cdn/FSQWEULB.js +4 -0
- package/dist/cdn/FVSZ6VOF.js +4 -0
- package/dist/cdn/G3OMPKZM.js +4 -0
- package/dist/cdn/GAH72T7S.js +4 -0
- package/dist/cdn/GK6NVFHZ.js +4 -0
- package/dist/cdn/GL7RXZ2L.js +4 -0
- package/dist/cdn/GWKZYWIC.js +9 -0
- package/dist/cdn/H3A7OORI.js +18 -0
- package/dist/cdn/H43YAQQN.js +4 -0
- package/dist/cdn/H6KLL3NL.js +4 -0
- package/dist/cdn/H7QIJQ37.js +4 -0
- package/dist/cdn/HBKMPUP2.js +4 -0
- package/dist/cdn/HHXO7JFY.js +4 -0
- package/dist/cdn/HIVWWPPK.js +18 -0
- package/dist/cdn/HK4T6EQA.js +4 -0
- package/dist/cdn/HL7R6LGA.js +4 -0
- package/dist/cdn/HSYIVPVV.js +18 -0
- package/dist/cdn/HVOJV3PP.js +4 -0
- package/dist/cdn/HW3QVY3J.js +18 -0
- package/dist/cdn/HXWRLU4Z.js +4 -0
- package/dist/cdn/ICTMP3P3.js +4 -0
- package/dist/cdn/IEAOBFZY.js +4 -0
- package/dist/cdn/IIGTVH52.js +4 -0
- package/dist/cdn/IJFAV2SW.js +4 -0
- package/dist/cdn/ISPJ6574.js +4 -0
- package/dist/cdn/J3RW66HD.js +4 -0
- package/dist/cdn/J3UJ5U4N.js +4 -0
- package/dist/cdn/J5LVD6QC.js +4 -0
- package/dist/cdn/J6MAICJS.js +4 -0
- package/dist/cdn/JHOQTN2S.js +4 -0
- package/dist/cdn/JHSRUJD4.js +4 -0
- package/dist/cdn/JKYSWQNH.js +4 -0
- package/dist/cdn/JL76YJRI.js +18 -0
- package/dist/cdn/JNXQOCX5.js +4 -0
- package/dist/cdn/JPDMQZUK.js +4 -0
- package/dist/cdn/JWCALNWP.js +4 -0
- package/dist/cdn/JX2FUTAK.js +4 -0
- package/dist/cdn/JXLMZTLR.js +18 -0
- package/dist/cdn/JZ4VLHBS.js +4 -0
- package/dist/cdn/JZHCML6E.js +4 -0
- package/dist/cdn/JZSRVZRU.js +4 -0
- package/dist/cdn/K3XMCHTM.js +4 -0
- package/dist/cdn/K6745DII.js +4 -0
- package/dist/cdn/K7LJKKJU.js +4 -0
- package/dist/cdn/KBLPMITD.js +4 -0
- package/dist/cdn/KDDYXVIK.js +4 -0
- package/dist/cdn/KL4GBIBS.js +5 -0
- package/dist/cdn/KPN3DJIV.js +18 -0
- package/dist/cdn/KS4OMGOD.js +4 -0
- package/dist/cdn/KTB7RFWA.js +4 -0
- package/dist/cdn/KTWNZFXC.js +4 -0
- package/dist/cdn/KW5I4HR7.js +4 -0
- package/dist/cdn/LCEJEX63.js +4 -0
- package/dist/cdn/LENHDPW5.js +18 -0
- package/dist/cdn/LHDI547F.js +4 -0
- package/dist/cdn/LHTSCULF.js +29 -0
- package/dist/cdn/LOUGJ6XQ.js +4 -0
- package/dist/cdn/LXICUEGW.js +4 -0
- package/dist/cdn/MCENYFMW.js +4 -0
- package/dist/cdn/MERHP72Z.js +4 -0
- package/dist/cdn/MFQJ5VIS.js +4 -0
- package/dist/cdn/MIMKIEMB.js +4 -0
- package/dist/cdn/MJ3P67SN.js +4 -0
- package/dist/cdn/MONKCYHH.js +4 -0
- package/dist/cdn/MQKM4EHF.js +4 -0
- package/dist/cdn/MXA4ABJF.js +21 -0
- package/dist/cdn/MXEEAG4T.js +4 -0
- package/dist/cdn/MY3N7U5P.js +4 -0
- package/dist/cdn/MYUZRNSY.js +4 -0
- package/dist/cdn/MZ5VTNHY.js +4 -0
- package/dist/cdn/N7ANNTFH.js +4 -0
- package/dist/cdn/NC734HGF.js +18 -0
- package/dist/cdn/NE4DI6BW.js +4 -0
- package/dist/cdn/NFBFHGJM.js +4 -0
- package/dist/cdn/NG6VFQFD.js +4 -0
- package/dist/cdn/NLXYJK4H.js +4 -0
- package/dist/cdn/NMKJX5UX.js +25 -0
- package/dist/cdn/NPDEUPTW.js +18 -0
- package/dist/cdn/NPRBSDU4.js +4 -0
- package/dist/cdn/NQIIEYW2.js +4 -0
- package/dist/cdn/NQTQLODN.js +5 -0
- package/dist/cdn/NTJX2CYR.js +4 -0
- package/dist/cdn/NWPHO7QU.js +4 -0
- package/dist/cdn/NZXLPD46.js +4 -0
- package/dist/cdn/O3LRUXCM.js +18 -0
- package/dist/cdn/O47Z7HFS.js +4 -0
- package/dist/cdn/O54ZAB7T.js +4 -0
- package/dist/cdn/O63FAHCT.js +4 -0
- package/dist/cdn/OA35H2QI.js +4 -0
- package/dist/cdn/OHWEETJ4.js +18 -0
- package/dist/cdn/OL25UL3O.js +8 -0
- package/dist/cdn/OMQWU6Y5.js +4 -0
- package/dist/cdn/OQBVEYHJ.js +4 -0
- package/dist/cdn/OSLENSGJ.js +18 -0
- package/dist/cdn/OY6GRXLH.js +4 -0
- package/dist/cdn/P2ACW7TM.js +4 -0
- package/dist/cdn/P3PMEIEN.js +18 -0
- package/dist/cdn/P57OTIDF.js +4 -0
- package/dist/cdn/PA2GPNXE.js +4 -0
- package/dist/cdn/PBKTRBPS.js +4 -0
- package/dist/cdn/PKODL3IY.js +4 -0
- package/dist/cdn/PMDGKY44.js +4 -0
- package/dist/cdn/PNBXXGLM.js +9 -0
- package/dist/cdn/PPPHSH43.js +4 -0
- package/dist/cdn/PR35P6F3.js +18 -0
- package/dist/cdn/PS6QJQU2.js +4 -0
- package/dist/cdn/Q7GL2ZYT.js +19 -0
- package/dist/cdn/QAFIXELE.js +4 -0
- package/dist/cdn/QAWH7MKI.js +18 -0
- package/dist/cdn/QB4S3FEB.js +4 -0
- package/dist/cdn/QFBNO2BR.js +4 -0
- package/dist/cdn/QJKMWAAC.js +4 -0
- package/dist/cdn/QN6RG3TG.js +4 -0
- package/dist/cdn/QNKV7QXW.js +18 -0
- package/dist/cdn/QRNGGKQC.js +19 -0
- package/dist/cdn/QVWFQQ7G.js +18 -0
- package/dist/cdn/R3FQCNWE.js +18 -0
- package/dist/cdn/REXGHNNN.js +19 -0
- package/dist/cdn/RGVIDYQ6.js +4 -0
- package/dist/cdn/RH3BLC4Q.js +4 -0
- package/dist/cdn/RJSKVAPJ.js +89 -0
- package/dist/cdn/RRH6EQN7.js +4 -0
- package/dist/cdn/RVZ5523E.js +4 -0
- package/dist/cdn/RWZ3Z5DO.js +4 -0
- package/dist/cdn/RYDP2HDZ.js +4 -0
- package/dist/cdn/S2FPTWXG.js +4 -0
- package/dist/cdn/S5SB6QCX.js +4 -0
- package/dist/cdn/SDKKYG3T.js +4 -0
- package/dist/cdn/SG6ZK6MW.js +4 -0
- package/dist/cdn/SK3BSYR6.js +4 -0
- package/dist/cdn/SVDLZBDS.js +4 -0
- package/dist/cdn/SX7UPBDJ.js +4 -0
- package/dist/cdn/T6JEYXIT.js +4 -0
- package/dist/cdn/TA4P4U24.js +18 -0
- package/dist/cdn/TAQYO7DA.js +4 -0
- package/dist/cdn/TBUFAKRA.js +4 -0
- package/dist/cdn/TCID2DB5.js +4 -0
- package/dist/cdn/TDEPYWWK.js +18 -0
- package/dist/cdn/TGCN4ZAH.js +6 -0
- package/dist/cdn/TMLIPXIG.js +4 -0
- package/dist/cdn/TTPUU3XB.js +4 -0
- package/dist/cdn/U3I7HVKD.js +4 -0
- package/dist/cdn/U7XWDKUG.js +4 -0
- package/dist/cdn/UB33CAPW.js +8 -0
- package/dist/cdn/UBFTTJI2.js +4 -0
- package/dist/cdn/UD3IFRJD.js +18 -0
- package/dist/cdn/UHW7AOH5.js +18 -0
- package/dist/cdn/UJAV7SOQ.js +4 -0
- package/dist/cdn/UM3APEK5.js +4 -0
- package/dist/cdn/UO4LB2TD.js +4 -0
- package/dist/cdn/UPG7TEIP.js +18 -0
- package/dist/cdn/URVV4JO7.js +4 -0
- package/dist/cdn/UTEGX7N5.js +4 -0
- package/dist/cdn/UXEYORBF.js +4 -0
- package/dist/cdn/UZNODMNX.js +18 -0
- package/dist/cdn/UZSZTWRW.js +4 -0
- package/dist/cdn/V23JMWA3.js +4 -0
- package/dist/cdn/V2N77ZSU.js +4 -0
- package/dist/cdn/V7ZZBRP2.js +4 -0
- package/dist/cdn/VDXBCG7S.js +4 -0
- package/dist/cdn/VHFFJRBJ.js +4 -0
- package/dist/cdn/VIAY63N5.js +4 -0
- package/dist/cdn/VKZHDM2Y.js +4 -0
- package/dist/cdn/VPMGMIME.js +18 -0
- package/dist/cdn/VPOEQXZU.js +4 -0
- package/dist/cdn/VRNDBTDK.js +4 -0
- package/dist/cdn/VX5VG62X.js +4 -0
- package/dist/cdn/VYN7AW7M.js +18 -0
- package/dist/cdn/WDMP52JQ.js +4 -0
- package/dist/cdn/WOKAPPDI.js +4 -0
- package/dist/cdn/WPG2KAE5.js +4 -0
- package/dist/cdn/WSO7FXI5.js +18 -0
- package/dist/cdn/WTCI433A.js +4 -0
- package/dist/cdn/WTERFQYN.js +4 -0
- package/dist/cdn/WVCJRRZI.js +4 -0
- package/dist/cdn/WYQUK6VR.js +4 -0
- package/dist/cdn/WZNP6TVG.js +18 -0
- package/dist/cdn/X7KPSSXW.js +4 -0
- package/dist/cdn/XBYYQKMP.js +4 -0
- package/dist/cdn/XNOOSNTL.js +4 -0
- package/dist/cdn/XNQ5QT6U.js +18 -0
- package/dist/cdn/Y3A3KHKJ.js +4 -0
- package/dist/cdn/Y7XUD5FA.js +18 -0
- package/dist/cdn/YJWA6MWV.js +4 -0
- package/dist/cdn/YQVWOTXV.js +4 -0
- package/dist/cdn/YTWTPLD5.js +4 -0
- package/dist/cdn/Z24VIS5S.js +4 -0
- package/dist/cdn/Z2HAYBD7.js +4 -0
- package/dist/cdn/Z3HE34UY.js +4 -0
- package/dist/cdn/Z3V4ODRX.js +18 -0
- package/dist/cdn/Z4EEG2E3.js +4 -0
- package/dist/cdn/Z5BGFLSU.js +4 -0
- package/dist/cdn/ZATVZJSM.js +4 -0
- package/dist/cdn/ZBFH2EFC.js +4 -0
- package/dist/cdn/ZBVYCUUE.js +4 -0
- package/dist/cdn/ZD644HR2.js +4 -0
- package/dist/cdn/ZEUQ2XUT.js +4 -0
- package/dist/cdn/ZGCNRT7I.js +18 -0
- package/dist/cdn/ZH5JETIN.js +4 -0
- package/dist/cdn/ZHMRFTFN.js +4 -0
- package/dist/cdn/ZI64OXHY.js +4 -0
- package/dist/cdn/ZJ6CHGOT.js +4 -0
- package/dist/cdn/ZJCS556L.js +18 -0
- package/dist/cdn/ZN24RTJW.js +4 -0
- package/dist/cdn/ZTMFKT2Q.js +4 -0
- package/dist/cdn/ZV326LBT.js +4 -0
- package/dist/cdn/ZYIWU5R3.js +18 -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 +30 -25
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +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 +13 -14
- package/dist/components/map-card/customElement.js +8 -9
- 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-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +2 -2
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +24 -24
- package/dist/components/solution-details-panel/index.d.ts +1 -1
- package/dist/components/solution-details-panel/index.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +37 -0
- package/dist/components/solution-resource-card/customElement.js +49 -0
- 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.d.ts +2 -2
- package/dist/components/solutions-all-panel/customElement.js +5 -2
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +22 -21
- package/dist/components/solutions-deploy-app/index.d.ts +1 -1
- package/dist/components/solutions-deploy-app/index.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +2 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +30 -15
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -2
- package/dist/components/solutions-deployed-panel/customElement.js +9 -6
- package/dist/components/solutions-deployed-shell/customElement.js +5 -5
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
- package/dist/components/solutions-resource-panel/customElement.js +43 -0
- package/dist/components/solutions-resources/customElement.d.ts +7 -0
- package/dist/components/solutions-resources/customElement.js +80 -0
- package/dist/components/solutions-resources/index.d.ts +11 -0
- package/dist/components/solutions-resources/index.js +11 -0
- package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
- package/dist/components/solutions-resources-shell/customElement.js +43 -0
- package/dist/components/solutions-resources-shell/index.d.ts +5 -0
- package/dist/components/solutions-resources-shell/index.js +5 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +4 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +823 -780
- package/dist/docs/docs.json +573 -532
- package/dist/docs/vscode.html-custom-data.json +75 -75
- package/dist/docs/web-types.json +188 -188
- package/dist/index.d.ts +49 -49
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +23 -23
- package/dist/types/preact.d.ts +27 -27
- package/dist/types/preact10.d.ts +31 -31
- package/dist/types/react.d.ts +31 -31
- package/dist/types/stencil.d.ts +23 -23
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +6 -2
- package/package.json +1 -1
- package/dist/cdn/23IRBL5F.js +0 -18
- package/dist/cdn/2BG54SQT.js +0 -18
- package/dist/cdn/2NNSKNYF.js +0 -4
- package/dist/cdn/2PCYWVDT.js +0 -4
- package/dist/cdn/2SPXLWJO.js +0 -4
- package/dist/cdn/2TPODPFQ.js +0 -4
- package/dist/cdn/2TSN3PFX.js +0 -385
- package/dist/cdn/2X27XYSX.js +0 -4
- package/dist/cdn/2YJKIAGN.js +0 -18
- package/dist/cdn/2Z3MNBH3.js +0 -4
- package/dist/cdn/3AIKEAXO.js +0 -25
- package/dist/cdn/3CXAQKWJ.js +0 -18
- package/dist/cdn/3D6XZSQQ.js +0 -4
- package/dist/cdn/3NOB3U76.js +0 -4
- package/dist/cdn/3Q67Q7SB.js +0 -4
- package/dist/cdn/3V7OTVXH.js +0 -18
- package/dist/cdn/46CVQ75Q.js +0 -4
- package/dist/cdn/4ATJSWKM.js +0 -18
- package/dist/cdn/4CQTDBOU.js +0 -4
- package/dist/cdn/4HHR7PZR.js +0 -4
- package/dist/cdn/4KTBRCKI.js +0 -18
- package/dist/cdn/4LC4KY4J.js +0 -18
- package/dist/cdn/4RFYINXZ.js +0 -18
- package/dist/cdn/4S5VXIST.js +0 -18
- package/dist/cdn/4VNLVOPL.js +0 -4
- package/dist/cdn/4WXC25SR.js +0 -19
- package/dist/cdn/52W3R4RL.js +0 -4
- package/dist/cdn/52YHWBMR.js +0 -4
- package/dist/cdn/54DZZUSQ.js +0 -4
- package/dist/cdn/56BEAQZV.js +0 -4
- package/dist/cdn/56F5USQF.js +0 -4
- package/dist/cdn/57D4BUE5.js +0 -4
- package/dist/cdn/5AT5TJIP.js +0 -4
- package/dist/cdn/5ES6SYN7.js +0 -4
- package/dist/cdn/5HDRNMQJ.js +0 -4
- package/dist/cdn/5L5QLMGU.js +0 -18
- package/dist/cdn/5MR2SW5F.js +0 -4
- package/dist/cdn/5OTGWJLM.js +0 -4
- package/dist/cdn/5SL47RKJ.js +0 -4
- package/dist/cdn/5SPE3LHH.js +0 -4
- package/dist/cdn/623KYN7N.js +0 -18
- package/dist/cdn/65O4PRAV.js +0 -4
- package/dist/cdn/6LCAW5ML.js +0 -4
- package/dist/cdn/6QBHMCGQ.js +0 -4
- package/dist/cdn/6S7UIEGR.js +0 -18
- package/dist/cdn/6SKVVL25.js +0 -4
- package/dist/cdn/6TLN7QJA.js +0 -4
- package/dist/cdn/6UG5WDWV.js +0 -4
- package/dist/cdn/6XOYHC7J.js +0 -4
- package/dist/cdn/76VH62DU.js +0 -4
- package/dist/cdn/77DDT2NZ.js +0 -18
- package/dist/cdn/7JQBDEYQ.js +0 -4
- package/dist/cdn/7LGPOI25.js +0 -4
- package/dist/cdn/7MR2GERG.js +0 -4
- package/dist/cdn/7MU53L6J.js +0 -4
- package/dist/cdn/7QLTAN6E.js +0 -4
- package/dist/cdn/7SQLFBYH.js +0 -4
- package/dist/cdn/7SVO5H2S.js +0 -18
- package/dist/cdn/7SW2TDGW.js +0 -20
- package/dist/cdn/A2YLMAEB.js +0 -4
- package/dist/cdn/A5SRIAVS.js +0 -18
- package/dist/cdn/AD4DWMVS.js +0 -4
- package/dist/cdn/AJ4JBY3E.js +0 -4
- package/dist/cdn/AKNFGCOO.js +0 -4
- package/dist/cdn/ALPBERVX.js +0 -4
- package/dist/cdn/AQCUMS2V.js +0 -4
- package/dist/cdn/AQYGK2BV.js +0 -4
- package/dist/cdn/AUZAHXSQ.js +0 -4
- package/dist/cdn/AWBHRN6T.js +0 -4
- package/dist/cdn/AWV7PNON.js +0 -4
- package/dist/cdn/AWYME7F7.js +0 -4
- package/dist/cdn/AXAW5ILZ.js +0 -18
- package/dist/cdn/B6OALUXR.js +0 -4
- package/dist/cdn/BBQYN3N7.js +0 -4
- package/dist/cdn/BDEGFKHR.js +0 -4
- package/dist/cdn/BFPWVVHF.js +0 -4
- package/dist/cdn/BFZS6QRQ.js +0 -18
- package/dist/cdn/BJQAP3O2.js +0 -4
- package/dist/cdn/BMSCYDPC.js +0 -4
- package/dist/cdn/BOOF3NBM.js +0 -4
- package/dist/cdn/BQIRDUCX.js +0 -4
- package/dist/cdn/BSKFNFRN.js +0 -4
- package/dist/cdn/BTK7H2UX.js +0 -18
- package/dist/cdn/BVKE6BFN.js +0 -4
- package/dist/cdn/C3RJP556.js +0 -6
- package/dist/cdn/C72XLEL7.js +0 -4
- package/dist/cdn/CBGO2YBX.js +0 -4
- package/dist/cdn/CBVSJH3I.js +0 -18
- package/dist/cdn/CD46MAFQ.js +0 -4
- package/dist/cdn/CD4VLBIG.js +0 -4
- package/dist/cdn/CEKBH7TV.js +0 -4
- package/dist/cdn/CEORPQJR.js +0 -4
- package/dist/cdn/CIVTXV63.js +0 -4
- package/dist/cdn/CWP75JYL.js +0 -18
- package/dist/cdn/CZRJGD6M.js +0 -4
- package/dist/cdn/D2BNLIR4.js +0 -4
- package/dist/cdn/D33EIGNT.js +0 -4
- package/dist/cdn/DADQEBSP.js +0 -4
- package/dist/cdn/DCM6XZAR.js +0 -4
- package/dist/cdn/DDBL2HDT.js +0 -4
- package/dist/cdn/DE3YUG4H.js +0 -4
- package/dist/cdn/DHMSET7H.js +0 -4
- package/dist/cdn/DOX3JTNJ.js +0 -4
- package/dist/cdn/DOZB6DFJ.js +0 -4
- package/dist/cdn/DRUIQVWC.js +0 -4
- package/dist/cdn/DV3WDXZ7.js +0 -4
- package/dist/cdn/DZI3NZZS.js +0 -18
- package/dist/cdn/EEBZHKDM.js +0 -8
- package/dist/cdn/EGOHOQ75.js +0 -4
- package/dist/cdn/EHUHNBX5.js +0 -4
- package/dist/cdn/ELHKOYWS.js +0 -4
- package/dist/cdn/ENIYIB7V.js +0 -18
- package/dist/cdn/EPZ7O3EU.js +0 -4
- package/dist/cdn/EQFPI3FP.js +0 -4
- package/dist/cdn/ES5BMMHS.js +0 -4
- package/dist/cdn/ESCVJT5H.js +0 -4
- package/dist/cdn/EY67YJ3O.js +0 -4
- package/dist/cdn/FBIVVIPK.js +0 -9
- package/dist/cdn/FCX66S7M.js +0 -4
- package/dist/cdn/FHWM6U56.js +0 -4
- package/dist/cdn/FNFLIMK4.js +0 -4
- package/dist/cdn/FPMQYHKA.js +0 -18
- package/dist/cdn/FQ4OKLWN.js +0 -4
- package/dist/cdn/FRQXGBUS.js +0 -4
- package/dist/cdn/FRUFK6VO.js +0 -4
- package/dist/cdn/FTXGL447.js +0 -18
- package/dist/cdn/G2I5HABN.js +0 -4
- package/dist/cdn/G2Z7STGZ.js +0 -4
- package/dist/cdn/G4YRJUBG.js +0 -18
- package/dist/cdn/GCTPCYBJ.js +0 -8
- package/dist/cdn/GD4QMW4I.js +0 -4
- package/dist/cdn/GF5KUEBW.js +0 -4
- package/dist/cdn/GKH6SK5J.js +0 -4
- package/dist/cdn/GLO46OKK.js +0 -4
- package/dist/cdn/GMIPLZOK.js +0 -18
- package/dist/cdn/GPTGQ7YV.js +0 -18
- package/dist/cdn/GQSDM4R7.js +0 -4
- package/dist/cdn/GUT2FDGN.js +0 -4
- package/dist/cdn/GV62Y43A.js +0 -4
- package/dist/cdn/GX3BMYNP.js +0 -4
- package/dist/cdn/GYQVTQNA.js +0 -4
- package/dist/cdn/H2CI7OUX.js +0 -18
- package/dist/cdn/H6HF6HSD.js +0 -4
- package/dist/cdn/H7VJRQAW.js +0 -4
- package/dist/cdn/HAZITU6Q.js +0 -4
- package/dist/cdn/HBUDH3U6.js +0 -4
- package/dist/cdn/HDRPW73J.js +0 -18
- package/dist/cdn/HEBJZ2UQ.js +0 -18
- package/dist/cdn/HKJUYDHF.js +0 -4
- package/dist/cdn/HKY6SY7D.js +0 -4
- package/dist/cdn/HOP2FWBH.js +0 -18
- package/dist/cdn/HPI4FZPC.js +0 -18
- package/dist/cdn/HQVMLALO.js +0 -18
- package/dist/cdn/HRLLJHAS.js +0 -4
- package/dist/cdn/HSNA2TI3.js +0 -4
- package/dist/cdn/HUCMZEDU.js +0 -4
- package/dist/cdn/HUOOT4GV.js +0 -19
- package/dist/cdn/HX72RMB7.js +0 -5
- package/dist/cdn/HXCAD5K5.js +0 -4
- package/dist/cdn/HYIFXLL5.js +0 -4
- package/dist/cdn/HZLUYQD7.js +0 -4
- package/dist/cdn/I5MORTV6.js +0 -4
- package/dist/cdn/I66U7ET6.js +0 -4
- package/dist/cdn/IE3XKNUU.js +0 -4
- package/dist/cdn/IH5CADVW.js +0 -4
- package/dist/cdn/IIMUYPMO.js +0 -18
- package/dist/cdn/IJNJBT7T.js +0 -18
- package/dist/cdn/IMQR7CXF.js +0 -4
- package/dist/cdn/IMXNLCKH.js +0 -18
- package/dist/cdn/IQVE6W6Y.js +0 -4
- package/dist/cdn/IRHKLM6Z.js +0 -4
- package/dist/cdn/J33QV26U.js +0 -4
- package/dist/cdn/J6F3J2Q6.js +0 -18
- package/dist/cdn/JB5YQ3CN.js +0 -4
- package/dist/cdn/JCAPW2PV.js +0 -18
- package/dist/cdn/JKGMH4J5.js +0 -4
- package/dist/cdn/JN5XM3AT.js +0 -4
- package/dist/cdn/JRUXKUE3.js +0 -4
- package/dist/cdn/JZXBOMMZ.js +0 -4
- package/dist/cdn/KC24JR4A.js +0 -4
- package/dist/cdn/KDWK7NRY.js +0 -18
- package/dist/cdn/KERDLSZH.js +0 -4
- package/dist/cdn/KR7ZU66F.js +0 -18
- package/dist/cdn/KTHJ4VRR.js +0 -4
- package/dist/cdn/LDFEZP62.js +0 -4
- package/dist/cdn/LGYZHAI4.js +0 -4
- package/dist/cdn/LN54IQWS.js +0 -4
- package/dist/cdn/LNTE2YQ6.js +0 -18
- package/dist/cdn/LOKI5I7L.js +0 -4
- package/dist/cdn/LOLBOPYH.js +0 -4
- package/dist/cdn/LTSBVHHD.js +0 -4
- package/dist/cdn/LW3YV4M2.js +0 -4
- package/dist/cdn/LWU5XFP4.js +0 -4
- package/dist/cdn/LXFYLAHF.js +0 -4
- package/dist/cdn/LXMUEGOO.js +0 -9
- package/dist/cdn/LYLKQ45A.js +0 -4
- package/dist/cdn/M2L26H4Z.js +0 -4
- package/dist/cdn/MAFZV4UM.js +0 -4
- package/dist/cdn/MBF3EUPM.js +0 -4
- package/dist/cdn/MDL7NF2I.js +0 -4
- package/dist/cdn/MIJ52CTW.js +0 -4
- package/dist/cdn/MO5DXYLP.js +0 -4
- package/dist/cdn/MSUAXEZP.js +0 -4
- package/dist/cdn/MUZWUHB6.js +0 -4
- package/dist/cdn/MVZNCHUV.js +0 -4
- package/dist/cdn/MW5CGGVU.js +0 -4
- package/dist/cdn/MXOYXNB4.js +0 -4
- package/dist/cdn/NAV7MYUI.js +0 -4
- package/dist/cdn/NBT5QLPO.js +0 -4
- package/dist/cdn/NBTALLIF.js +0 -4
- package/dist/cdn/NBW47T6S.js +0 -4
- package/dist/cdn/NGDFUBVG.js +0 -6
- package/dist/cdn/NKGKBATM.js +0 -4
- package/dist/cdn/NSRTVCII.js +0 -4
- package/dist/cdn/NV3PO22N.js +0 -4
- package/dist/cdn/O3VQFZ3Z.js +0 -4
- package/dist/cdn/O4MSW7YU.js +0 -18
- package/dist/cdn/ODOM2KDI.js +0 -4
- package/dist/cdn/OL34ZYRL.js +0 -4
- package/dist/cdn/OOPF4GJM.js +0 -18
- package/dist/cdn/OR63XKHD.js +0 -18
- package/dist/cdn/OSKD73JO.js +0 -4
- package/dist/cdn/OSPMSWIL.js +0 -4
- package/dist/cdn/OY53JN5E.js +0 -18
- package/dist/cdn/OYZGMLSA.js +0 -18
- package/dist/cdn/P7LLQPML.js +0 -4
- package/dist/cdn/PCMVKKEJ.js +0 -4
- package/dist/cdn/PI7FQ7L6.js +0 -4
- package/dist/cdn/PKCH4S3D.js +0 -4
- package/dist/cdn/PODGSK2R.js +0 -4
- package/dist/cdn/PPRAWJ2S.js +0 -82
- package/dist/cdn/PR5LDTTA.js +0 -4
- package/dist/cdn/PRLO77AT.js +0 -4
- package/dist/cdn/PTROR6FA.js +0 -4
- package/dist/cdn/Q2PF3RGD.js +0 -4
- package/dist/cdn/Q5RZXHBC.js +0 -4
- package/dist/cdn/Q7XKQTSB.js +0 -29
- package/dist/cdn/QA44KCLS.js +0 -21
- package/dist/cdn/QC4PNSX4.js +0 -4
- package/dist/cdn/QG2MAKZO.js +0 -89
- package/dist/cdn/QJFIQKTM.js +0 -18
- package/dist/cdn/QJFO73DP.js +0 -4
- package/dist/cdn/QJRRAYAE.js +0 -18
- package/dist/cdn/QJSXBPEC.js +0 -4
- package/dist/cdn/QKMXHBVJ.js +0 -4
- package/dist/cdn/QSQJSM3O.js +0 -18
- package/dist/cdn/R2D3W4KP.js +0 -4
- package/dist/cdn/R5S6AVJ2.js +0 -4
- package/dist/cdn/RC3M6OYO.js +0 -18
- package/dist/cdn/RDQHY6XC.js +0 -4
- package/dist/cdn/RIVQ5IKO.js +0 -4
- package/dist/cdn/RP3IBJUX.js +0 -4
- package/dist/cdn/RQSJTZA3.js +0 -4
- package/dist/cdn/RTKZDB23.js +0 -4
- package/dist/cdn/SA7UFUQH.js +0 -4
- package/dist/cdn/SIOIWWJS.js +0 -4
- package/dist/cdn/SRLF2FFI.js +0 -4
- package/dist/cdn/SRRYBFQR.js +0 -4
- package/dist/cdn/SWSTQ6IK.js +0 -4
- package/dist/cdn/SXCMOFR2.js +0 -4
- package/dist/cdn/SXDHIKYQ.js +0 -8
- package/dist/cdn/SZ4MNX2Y.js +0 -4
- package/dist/cdn/T2YBAYAQ.js +0 -4
- package/dist/cdn/TEXTVYR5.js +0 -4
- package/dist/cdn/TGCFM7NB.js +0 -4
- package/dist/cdn/THCDH2C7.js +0 -18
- package/dist/cdn/TPVBZJZ3.js +0 -4
- package/dist/cdn/TQ4AHDWR.js +0 -4
- package/dist/cdn/TRYF7AHT.js +0 -4
- package/dist/cdn/U4IWP4JS.js +0 -4
- package/dist/cdn/U4RWFIG7.js +0 -4
- package/dist/cdn/U4TVHDBS.js +0 -18
- package/dist/cdn/UB7R344I.js +0 -4
- package/dist/cdn/UC6BRLFU.js +0 -4
- package/dist/cdn/UDMGJJ2R.js +0 -4
- package/dist/cdn/UKMB2MXN.js +0 -18
- package/dist/cdn/UMHBVDVZ.js +0 -4
- package/dist/cdn/UN7RXMMP.js +0 -4
- package/dist/cdn/UNBB5ILE.js +0 -4
- package/dist/cdn/UOBW4X3G.js +0 -4
- package/dist/cdn/UOKZMNT4.js +0 -4
- package/dist/cdn/UPEGEW7Y.js +0 -4
- package/dist/cdn/UQMZINRC.js +0 -4
- package/dist/cdn/UQXXXPST.js +0 -4
- package/dist/cdn/UTPRTU5R.js +0 -4
- package/dist/cdn/UUSA5NAZ.js +0 -4
- package/dist/cdn/UUVWV7UY.js +0 -18
- package/dist/cdn/UUZDYC3J.js +0 -4
- package/dist/cdn/UWHVRT6G.js +0 -18
- package/dist/cdn/UXGY5MYQ.js +0 -4
- package/dist/cdn/UXZ5Q6KA.js +0 -4
- package/dist/cdn/UYHOMAD5.js +0 -4
- package/dist/cdn/UZMTPRP5.js +0 -4
- package/dist/cdn/V4BMTWGU.js +0 -4
- package/dist/cdn/V5VD2VNR.js +0 -294
- package/dist/cdn/VAL2SJOM.js +0 -4
- package/dist/cdn/VCYRSDYS.js +0 -4
- package/dist/cdn/VDBTV44L.js +0 -4
- package/dist/cdn/VDO2G3KJ.js +0 -4
- package/dist/cdn/VDPD373C.js +0 -4
- package/dist/cdn/VIAYFIIF.js +0 -4
- package/dist/cdn/VJOMTPB6.js +0 -4
- package/dist/cdn/VMXZ6QEC.js +0 -18
- package/dist/cdn/VOFERCBL.js +0 -18
- package/dist/cdn/VON5LFYC.js +0 -4
- package/dist/cdn/VRUSOROS.js +0 -4
- package/dist/cdn/VT6BSI7M.js +0 -4
- package/dist/cdn/VUDTWZ6S.js +0 -4
- package/dist/cdn/VXZZHQOR.js +0 -4
- package/dist/cdn/VYL5GQJJ.js +0 -18
- package/dist/cdn/W2OWW2KK.js +0 -4
- package/dist/cdn/WBKVVBEW.js +0 -4
- package/dist/cdn/WCA4MTBT.js +0 -18
- package/dist/cdn/WCEXT5V3.js +0 -4
- package/dist/cdn/WEE2GK4X.js +0 -18
- package/dist/cdn/WGKEN6KZ.js +0 -4
- package/dist/cdn/WLVI4UZX.js +0 -4
- package/dist/cdn/WMISCC5A.js +0 -4
- package/dist/cdn/WPJSV2F5.js +0 -4
- package/dist/cdn/WRY74OLQ.js +0 -4
- package/dist/cdn/X3JYPDB3.js +0 -4
- package/dist/cdn/XALSX54V.js +0 -19
- package/dist/cdn/XFFSGMQM.js +0 -4
- package/dist/cdn/XGCOB2WB.js +0 -4
- package/dist/cdn/XJWO2VWT.js +0 -18
- package/dist/cdn/XKSMKJKC.js +0 -4
- package/dist/cdn/XOFA6EHO.js +0 -4
- package/dist/cdn/XZJXTTWM.js +0 -18
- package/dist/cdn/Y3LUWNH6.js +0 -4
- package/dist/cdn/Y3PZZL73.js +0 -4
- package/dist/cdn/Y55AAFJG.js +0 -4
- package/dist/cdn/Y6UXZU6F.js +0 -4
- package/dist/cdn/YGPLVBPY.js +0 -4
- package/dist/cdn/YKXQPUZE.js +0 -4
- package/dist/cdn/YPTLSCLI.js +0 -4
- package/dist/cdn/YQKRAZFZ.js +0 -4
- package/dist/cdn/YSP7FBQ7.js +0 -5
- package/dist/cdn/YVUWCUQ5.js +0 -4
- package/dist/cdn/ZF7EIUJK.js +0 -4
- package/dist/cdn/ZJDQWSA7.js +0 -4
- package/dist/cdn/ZSJ6IAKN.js +0 -18
- package/dist/cdn/ZWHWHHWW.js +0 -4
- package/dist/cdn/ZZ4AZSZG.js +0 -18
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-article-panel/customElement.js +0 -43
- package/dist/components/solutions-articles/customElement.d.ts +0 -7
- package/dist/components/solutions-articles/customElement.js +0 -79
- package/dist/components/solutions-articles/index.d.ts +0 -11
- package/dist/components/solutions-articles/index.js +0 -11
- package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
- package/dist/components/solutions-articles-shell/customElement.js +0 -43
- package/dist/components/solutions-articles-shell/index.d.ts +0 -5
- package/dist/components/solutions-articles-shell/index.js +0 -5
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as G}from"./CBKQTORK.js";import{a as L}from"./KBLPMITD.js";import{c as K,d as _,e as U}from"./COTPDOLY.js";import{l as j,p as P}from"./XNOOSNTL.js";import"./5Y5BCNBZ.js";import"./EEX52KRD.js";import"./O63FAHCT.js";import"./6D2BWWQ3.js";import"./6MYJZ4IH.js";import{a as S}from"./YTWTPLD5.js";import"./ZEUQ2XUT.js";import"./VKZHDM2Y.js";import"./3ZCXZTSQ.js";import"./3ODSPQ4S.js";import{w}from"./2H3MHHNZ.js";import"./ICTMP3P3.js";import"./PPPHSH43.js";import"./6PWGQ66L.js";import"./G3OMPKZM.js";import{b as A}from"./6ZZTUHA6.js";import{a as c,b as p}from"./UJAV7SOQ.js";import"./H43YAQQN.js";import"./NFBFHGJM.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as g}from"./FB6CNJND.js";import"./U7XWDKUG.js";import"./CBOVDRFV.js";import{b as p}from"./SK3BSYR6.js";import{E as u,I as s,h as l,i as c,r as h}from"./D6EWYXTL.js";import"./NFBFHGJM.js";var b=l`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{@apply block;}.editor-container{@apply relative h-full;}.editor-controls{@apply h-11 pr-2;}.editor-buttons{@apply float-right;}html[dir=rtl] .editor-buttons{@apply float-left;}.edit-error-flag{@apply pt-2;color:red;visibility:hidden}.edit-button{@apply p-inline-start-2;}.editor-text{@apply w-full overflow-y-auto;}.edit-width{@apply w-full;}.edit-parent{@apply w-full box-border;height:calc(100% - 46px)}.json-edit-container{@apply w-full h-full border-lightgray;}.padding-right{@apply p-inline-end-0.5;}.btn{@apply flex mb-4 content-center;height:25px;width:120px}.select-ctrl{@apply mb-4;}.all-edits{@apply mt-16;}.floating-title{font-size:2rem;z-index:100;position:absolute;left:.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{@apply absolute left-0 top-0 w-full h-full m-0 p-0 overflow-hidden;max-height:100%!important}.json-editor-position2a{@apply absolute left-0 top-0 w-1/2 h-full m-0 p-0 overflow-hidden;max-height:100%!important}.json-editor-position2b{@apply absolute right-0 top-0 w-1/2 h-full m-0 p-0 overflow-hidden;max-height:100%!important}}`,n=class extends u{constructor(){super(...arguments),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value="",this._loaded=!1,this._translations=g({name:"json-editor",blocking:!0}),this._useDiffEditor=!1}static{this.properties={hasChanges:7,hasErrors:7,instanceid:3,value:3,_translations:16}}static{this.styles=b}static{this.shadowRootOptions=h}loaded(){let t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));let e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(a,_,r){if(a.id===i._currentModel.id){i._flagEditorHasErrors(r.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged());let d=document.getElementById(`${i.instanceid}-errorFlag`);d&&(d.style.visibility=i.hasErrors?"visible":"hidden")}e.call(monaco.editor,a,_,r)};let o=document.getElementById(`${this.instanceid}-diff-container`);o&&(this._diffEditor=monaco.editor.createDiffEditor(o,{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo())}}async load(){this._initValueObserver()}render(){return c`<div .id=${`${this.instanceid}-editor-container`} class="editor-container padding-right"><div class="editor-controls"><div class="editor-buttons"><calcite-icon .id=${`${this.instanceid}-errorFlag`} icon=exclamation-mark-triangle title=${this._translations.errorFlag??s} scale=s class="edit-error-flag"></calcite-icon><calcite-button .id=${`${this.instanceid}-undo`} kind=brand appearance=solid title=${this._translations.undo??s} @click=${()=>this._undo()} scale=s class="edit-button"><calcite-icon icon=undo scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-redo`} kind=brand appearance=solid title=${this._translations.redo??s} @click=${()=>this._redo()} scale=s class="edit-button"><calcite-icon icon=redo scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-diff`} kind=brand appearance=solid title=${this._translations.diff??s} @click=${()=>this._toggleEditor()} scale=s class="edit-button"><calcite-icon icon=compare scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-search`} appearance=outline kind=brand title=${this._translations.search??s} @click=${()=>this._search()} scale=s class="edit-button"><calcite-icon icon=search scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-reset`} kind=brand appearance=solid disabled title=${this._translations.cancelEdits??s} @click=${()=>this._reset()} scale=s class="edit-button"><calcite-icon icon=reset scale=s></calcite-icon></calcite-button></div></div><div class="edit-parent"><div .id=${`${this.instanceid}-container`} class="json-edit-container"></div><div .id=${`${this.instanceid}-diff-container`} class="json-edit-container display-none"></div></div></div>`}async getEditorContents(){return new Promise((t,e)=>{try{let i=this._currentModel.getValue();t(i)}catch(i){e(i)}})}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){let e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise((t,e)=>{try{this._reset(),t({success:!0})}catch(i){e(i)}})}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.forEach(e=>{e.type==="attributes"&&e.attributeName==="value"&&e.target[e.attributeName]!==e.oldValue&&this._loaded&&this._currentModel.setValue(this.value)})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);t&&e&&(this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none")))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}};p("json-editor",n);export{n as JsonEditor};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./3KAMA7IW.js";import{a as r}from"./CCFY7P7U.js";import"./UO4LB2TD.js";import"./KS4OMGOD.js";import"./6ZZTUHA6.js";import"./EQU7VQR5.js";import"./UJAV7SOQ.js";import"./46N6YTN4.js";import"./WTERFQYN.js";import"./H43YAQQN.js";import"./ZBFH2EFC.js";import"./XBYYQKMP.js";import"./FSQWEULB.js";import"./ZHMRFTFN.js";import"./UBFTTJI2.js";import"./CL3HIMLD.js";import"./D2SUNNM7.js";import"./WDMP52JQ.js";import"./VDXBCG7S.js";import"./WVCJRRZI.js";import"./ISPJ6574.js";import"./6TD6ORJT.js";import"./GL7RXZ2L.js";import"./3O5OPBC4.js";import"./NFBFHGJM.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as r}from"./VIAY63N5.js";import{g as n}from"./TGCN4ZAH.js";import"./CBKQTORK.js";import"./NG6VFQFD.js";import"./QJKMWAAC.js";import"./XNOOSNTL.js";import"./EEX52KRD.js";import"./4YPEHTUX.js";import"./7QKWZ3QG.js";import"./6D2BWWQ3.js";import"./6MYJZ4IH.js";import"./YTWTPLD5.js";import"./ZEUQ2XUT.js";import"./3ZCXZTSQ.js";import"./3ODSPQ4S.js";import"./2H3MHHNZ.js";import"./ICTMP3P3.js";import"./PPPHSH43.js";import"./6PWGQ66L.js";import"./G3OMPKZM.js";import"./H43YAQQN.js";import{b as i}from"./NLXYJK4H.js";import{a as b}from"./FB6CNJND.js";import"./U7XWDKUG.js";import"./CBOVDRFV.js";import{b as _}from"./SK3BSYR6.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./D6EWYXTL.js";import"./NFBFHGJM.js";var f=h`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{@apply block;}.resource-item{@apply p-4;}.resource-button{@apply m-inline-end-4;}.resource-progress{@apply pt-4;}.resources-container{@apply border-lightgray;}.margin-bottom-1{@apply mb-4;}`,c=class extends u{constructor(){super(...arguments),this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=b({name:"solution-resource-item",blocking:!0}),this._removedResources={}}static{this.properties={authentication:0,itemId:3,resourceFilePaths:16,resources:16,_translations:16}}static{this.styles=f}willUpdate(e){e.has("itemId")&&(this.hasUpdated||this.itemId!=="")&&this.itemIdWatchHandler()}itemIdWatchHandler(){let e=r.getItemInfo(this.itemId);this.resourceFilePaths=e?.resourceFilePaths||[],this.resources=e?.resources.map(t=>t.substring(t.lastIndexOf("/")+1))||[]}render(){let e=this._hasValidResources();return a`<div class="resource-item"><div class="margin-bottom-1"><calcite-button appearance=solid class="resource-button" @click=${()=>this._addNewResource()}>${this._translations.addResource}</calcite-button><calcite-button appearance=solid .disabled=${!e} @click=${()=>this._downloadAll()}>${this._translations.downloadAll}</calcite-button></div><div class="resources-container" style=${m({display:e?"inherit":"none"})}>${this._renderResourceList()}</div></div>`}_renderResourceList(){return a`<calcite-list label selection-mode=multiple>${this.resourceFilePaths.reduce((e,t)=>(t.type!==n.Thumbnail&&e.push(this._renderResource(t)),e),[])}</calcite-list>`}_renderResource(e){let t=e.updateType===i.Remove,s=e.folder?e.folder+"/"+e.filename:e.filename;return a`<calcite-list-item class=${p(t?"disabled":"")} .label=${s} .value=${e.url}><calcite-action-group layout=horizontal slot=actions-end><calcite-action .disabled=${t} icon=download .label=${this._translations.download} @click=${()=>this._download(e.url,e.filename)} scale=m .text=${this._translations.download} title=${this._translations.download??o}></calcite-action><calcite-action .disabled=${t} icon=upload-to .label=${this._translations.update} @click=${()=>this._upload(e)} scale=m .text=${this._translations.update} title=${this._translations.update??o}></calcite-action><calcite-action .disabled=${t} icon=trash .label=${this._translations.delete} @click=${()=>this._delete(e)} scale=m .text=${this._translations.delete} title=${this._translations.delete??o}></calcite-action>${t?a`<calcite-action icon=reset .label=${this._translations.reset} @click=${()=>this._reset(e.filename)} scale=m .text=${this._translations.reset} title=${this._translations.reset??o}></calcite-action>`:a`<div class="display-none"></div>`}</calcite-action-group></calcite-list-item>`}_delete(e){e.updateType=i.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(e){this.resources.some(t=>t===e)?this.resourceFilePaths=this.resourceFilePaths.map(t=>(t.filename===e&&(t.updateType=i.None),t)):this.resourceFilePaths=this.resourceFilePaths.map(t=>(t.filename===e&&(t.updateType=i.Add),t)),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach(e=>{this._download(e.url,e.filename)})}_download(e,t){if(e.startsWith("blob"))this.downloadFile(e,t);else{let s=`${e}?token=${this.authentication?.token}`;this.fetchAndDownload(s,t)}}downloadFile(e,t){let s=document.createElement("a");s.href=e,s.download=t,s.target="_blank",s.click()}_hasValidResources(){return this.resourceFilePaths.some(e=>e.url.indexOf("_info_thumbnail")<0)}async fetchAndDownload(e,t){let s=await(await fetch(e)).blob(),l=URL.createObjectURL(s);this.downloadFile(l,t)}_upload(e){let t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._updateResource.bind(this,e),t.type="file",t.click()}_addNewResource(){let e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._add.bind(this),e.type="file",e.click()}_updateResource(e,t){let s=t.target.files;s&&s[0]&&(e.blob=s[0],e.updateType=i.Update,this._updateStore())}_add(e){let t=e.target.files;if(t&&t[0]){let s=URL.createObjectURL(t[0]),l=t[0].name;this.resourceFilePaths.some(d=>d.filename===l&&d.url===s)||(this.resourceFilePaths=[...this.resourceFilePaths,{url:s,type:n.Data,folder:"",filename:l,blob:t[0],updateType:i.Add}],this._updateStore())}}_updateStore(){let e=r.getItemInfo(this.itemId);e&&(e.resourceFilePaths=this.resourceFilePaths,r.setItemInfo(e))}};_("solution-resource-item",c);export{c as SolutionResourceItem};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as r}from"./FB6CNJND.js";import"./U7XWDKUG.js";import"./CBOVDRFV.js";import{b as o}from"./SK3BSYR6.js";import{E as n,h as l,i as a,o as i}from"./D6EWYXTL.js";import"./NFBFHGJM.js";var c=l`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block}.delete-modal{position:fixed}`,s=class extends n{constructor(){super(...arguments),this.ids=[],this.open=!1,this._isDeleting=!1,this._translations=r({name:"delete-dialog",blocking:!0}),this.editsComplete=i(),this.deleteDialogClose=i()}static{this.properties={ids:0,layer:0,open:5,_isDeleting:16,_translations:16}}static{this.styles=c}render(){let e=this.layer?.title||"",t=this.ids.length===1?(this._translations.confirmSingle||"").replace("{{layer-name}}",e):(this._translations.confirmMultiple||"").replace("{{layer-name}}",e);return a`<calcite-dialog .heading=${this._translations.deleteFeature} kind=danger modal @calciteDialogClose=${()=>this._close()} .open=${this.open} width=s><div>${t}</div><calcite-button appearance=outline kind=danger @click=${()=>this._close()} slot=footer-end width=full>${this._translations.cancel}</calcite-button><calcite-button kind=danger .loading=${this._isDeleting} @click=${()=>void this._deleteFeatures()} slot=footer-end width=full>${this._translations.delete}</calcite-button></calcite-dialog>`}async _deleteFeatures(){if(this.layer){this._isDeleting=!0;let e=this.ids.map(t=>({objectId:Number(t)}));await this.layer.applyEdits({deleteFeatures:e}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}}_close(){this.open=!1,this.deleteDialogClose.emit()}};o("delete-dialog",s);export{s as DeleteDialog};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.js";var e="\u05D0\u05D9\u05DF \u05DC\u05DA \u05DE\u05E1\u05E4\u05D9\u05E7 \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05DC\u05D1\u05D9\u05E6\u05D5\u05E2 \u05E4\u05E2\u05D5\u05DC\u05D4 \u05D6\u05D5. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05DE\u05E2\u05E8\u05DB\u05EA ArcGIS \u05DC\u05E7\u05D1\u05DC\u05EA \u05E1\u05D9\u05D5\u05E2.",a="\u05DB\u05DC\u05D9 \u05D6\u05D4 \u05E4\u05D5\u05E8\u05E1\u05DD \u05DE-Notebook. \u05D4\u05D2\u05D9\u05E9\u05D4 \u05D0\u05DC ArcGIS Notebooks \u05D7\u05E1\u05D5\u05DE\u05D4 \u05E2\u05D1\u05D5\u05E8 \u05D0\u05E8\u05D2\u05D5\u05E0\u05DA. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05D4\u05DE\u05E2\u05E8\u05DB\u05EA \u05E9\u05DC\u05DA \u05DC\u05D4\u05EA\u05D0\u05DE\u05EA \u05D4\u05D4\u05D2\u05D3\u05E8\u05D4.",r="\u05DC-${ dataPath } \u05D0\u05E1\u05D5\u05E8 \u05DC\u05DB\u05DC\u05D5\u05DC ${ additionalProperty }.",t="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05E1\u05DB\u05DE\u05D4 \u05E9\u05DC \u05D0\u05D7\u05D3 \u05DE\u05D0\u05DC\u05D4: ${ schemaOptions }.",o="\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05D0\u05EA \u05D4\u05DE\u05E4\u05D4 \u05E9\u05D5\u05D1.",s="\u05D4\u05E2\u05E8\u05DB\u05EA \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E2\u05E8\u05DA \u05D0\u05EA \u05D4\u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E9\u05D5\u05D1.",i='"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05D4\u05E8\u05E6\u05EA \u05E0\u05D9\u05EA\u05D5\u05D7.',l="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05D5\u05D5\u05D4 \u05DC\u05D0\u05D7\u05D3 \u05DE\u05D4\u05E2\u05E8\u05DB\u05D9\u05DD \u05D4\u05DE\u05D5\u05EA\u05E8\u05D9\u05DD \u05D4\u05D1\u05D0\u05D9\u05DD: ${ allowedValues }.",d="\u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4",n="\u05D0\u05D7\u05E1\u05D5\u05DF \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4 \u05DE\u05DC\u05D0. \u05D4\u05E1\u05E8 \u05DB\u05DE\u05D4 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05DE\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05D5\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",c="\u05E9\u05DD \u05D4\u05E9\u05D9\u05E8\u05D5\u05EA \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8.",m="\u05E9\u05DE\u05D9\u05E8\u05EA \u05E9\u05DB\u05D1\u05D4 \u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05EA \u05D9\u05E9\u05D5\u05EA \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05DC\u05D0 \u05D4\u05D5\u05E9\u05DC\u05DE\u05D4.",u="\u05D4\u05E9\u05D2\u05EA \u05DE\u05D0\u05E4\u05D9\u05D9\u05E0\u05D9 \u05DE\u05E4\u05EA\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4.",E="\u05D8\u05E2\u05D9\u05E0\u05EA \u05D4\u05E9\u05DB\u05D1\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4",h="\u05D4\u05E9\u05DB\u05D1\u05D4 \u05DC\u05D0 \u05D6\u05DE\u05D9\u05E0\u05D4",y="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8 \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",P="\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05DE\u05D5\u05D3\u05DC. \u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",p="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E4\u05D7\u05D5\u05EA \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",S="${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC \u05DC\u05D4\u05D9\u05D5\u05EA \u05E7\u05E6\u05E8 \u05D9\u05D5\u05EA \u05DE-${ limit } \u05EA\u05D5\u05D5\u05D9\u05DD.",$="\u05D8\u05E2\u05D9\u05E0\u05EA \u05E4\u05E8\u05D9\u05D8 \u05DE\u05D5\u05D3\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D5\u05D3\u05D0 \u05E9\u05D4\u05DE\u05D5\u05D3\u05DC \u05E7\u05D9\u05D9\u05DD \u05D5\u05E9\u05E0\u05D9\u05EA\u05E0\u05D4 \u05D4\u05E8\u05E9\u05D0\u05EA \u05D2\u05D9\u05E9\u05D4.",v="\u05D4\u05E9\u05DC\u05DE\u05EA \u05D4\u05D1\u05E7\u05E9\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4.",f="\u05D0\u05D9\u05DF \u05DC\u05DA \u05D4\u05E8\u05E9\u05D0\u05D4 \u05DC\u05D4\u05E8\u05D9\u05E5 \u05DB\u05DC\u05D9 \u05D6\u05D4. <calcite-link target='_blank' href='${ docLink }'>\u05DC\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3</calcite-link>",k="\u05DB\u05E0\u05D9\u05E1\u05D4 \u05D0\u05DC \u05D4\u05E4\u05D5\u05E8\u05D8\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4.",F="\u05E7\u05E8\u05D9\u05D0\u05EA \u05E0\u05EA\u05D5\u05E0\u05D9 \u05D4\u05E7\u05DC\u05D8 \u05E0\u05DB\u05E9\u05DC\u05D4.",I="\u05D1-${ dataPath } \u05D7\u05E1\u05E8 \u05DE\u05D0\u05E4\u05D9\u05D9\u05DF \u05D1\u05E9\u05DD ${ missingProperty }.",T="\u05E7\u05D9\u05D9\u05DE\u05EA \u05DB\u05D1\u05E8 \u05E9\u05DB\u05D1\u05EA \u05EA\u05D5\u05E6\u05D0\u05D4 \u05D1\u05E9\u05DD \u05D6\u05D4. \u05DC\u05E9\u05DB\u05D1\u05D5\u05EA \u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05D7\u05D9\u05D9\u05D1\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05DE\u05D5\u05EA \u05D9\u05D9\u05D7\u05D5\u05D3\u05D9\u05D9\u05DD \u05D1\u05DB\u05DC \u05D4\u05D0\u05E8\u05D2\u05D5\u05DF. \u05D4\u05E9\u05EA\u05DE\u05E9 \u05D1\u05E9\u05DD \u05D0\u05D7\u05E8.",b="\u05E9\u05DD \u05D4\u05E4\u05DC\u05D8 \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. <a href='${docLink}' target='_blank'>\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3.</a>",L="\u05E4\u05E8\u05E1\u05D5\u05DD \u05D4\u05E9\u05DB\u05D1\u05D4 \u05D4\u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05D4 \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05E0\u05DB\u05E9\u05DC \u05E2\u05E7\u05D1 \u05E9\u05D3\u05D4 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. \u05D4\u05E8\u05E5 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05DB\u05DC\u05D9 \u05DB\u05D3\u05D9 \u05DC\u05D9\u05E6\u05D5\u05E8 \u05E9\u05DB\u05D1\u05D4 \u05E2\u05DD \u05E9\u05D3\u05D5\u05EA \u05D7\u05D5\u05E7\u05D9\u05D9\u05DD.",N="\u05E9\u05DC\u05D9\u05D7\u05EA \u05D4\u05E2\u05D1\u05D5\u05D3\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E8\u05E5 \u05D0\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E9\u05D5\u05D1.",g="\u05DC-${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05D7\u05D5\u05EA \u05EA\u05D5 \u05D0\u05D7\u05D3 \u05E9\u05D0\u05D9\u05E0\u05D5 \u05E8\u05D5\u05D5\u05D7 \u05D1\u05DC\u05EA\u05D9 \u05E0\u05E8\u05D0\u05D4.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
function V(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function F(t){return Object.keys(t).some(e=>{let r=t[e];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function M(t){let e={};return Object.keys(t).forEach(r=>{var n,o;let s=t[r];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,c;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;c=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":c=JSON.stringify(s);break;case"Date":c=s.valueOf();break;case"Function":c=null;break;case"Boolean":c=s+"";break;default:c=s;break}(c||c===0||typeof c=="string"||Array.isArray(c))&&(e[r]=c)}),e}function Q(t,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(r=>Q(t,r)).join("&"):encodeURIComponent(t)+"="+encodeURIComponent(e)}function T(t){let e=M(t);return Object.keys(e).map(r=>Q(r,e[r])).join("&")}var X=globalThis.FormData,Te=globalThis.File,Se=globalThis.Blob;function Y(t,e){let r=F(t)||e,n=M(t);if(r){let o=new X;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return T(t)}var k=class extends Error{constructor(e,r,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?e:`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var ge={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},L="ARCGIS_REST_JS_NO_CORS";globalThis[L]||(globalThis[L]=Object.assign({},ge));var w=globalThis[L];function B(t){let e=new URL(t);t=e.origin+e.pathname,e.search.includes("f=json")&&(t+="?f=json");let r=e.origin;return w.pendingNoCorsRequests[r]?w.pendingNoCorsRequests[r]:(w.pendingNoCorsRequests[r]=fetch(t,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r),w.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete w.pendingNoCorsRequests[r]}).catch(n=>(delete w.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),w.pendingNoCorsRequests[r])}function Z(t){t.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?z(e):(z("http://"+e),z("https://"+e))})}function z(t){let r=new URL(t).origin;w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r)}function J(t){let e=!1;if(w.noCorsDomains.length){let r=new URL(t).origin.toLowerCase();e=w.noCorsDomains.some(n=>r.includes(n))}return e}function ee(t){let e=!1;if(J(t)){let r=new URL(t).origin.toLowerCase(),n=w.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(t){console&&console.warn&&console.warn.apply(console,[t])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(t,e){var r;if(!e&&!window||!t)return!1;{e=e||window;let n=(r=e.location)===null||r===void 0?void 0:r.origin;return t.startsWith(n)}}var H="@esri/arcgis-rest-js";function we(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{constructor(e="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,r,n,o,s),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?e:`${r}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,r=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(c=>{let u=Object.assign(Object.assign({},this.options),{authentication:c});return oe(this.url,u)}).then(c=>{s(c)}).catch(c=>{c.name==="ArcGISAuthError"&&n<r?o(s,i):c.name===this.name&&c.message===this.message&&n>=r?i(this):i(c)})};return new Promise((s,i)=>{o(s,i)})}};function Ee(t,e,r,n,o){if(t.code>=400){let{message:s,code:i}=t;throw new k(s,i,t,e,n)}if(t.error){let{message:s,code:i,messageCode:c}=t.error,u=c||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new A(s,u,t,e,n):new k(s,u,t,e,n)}if(t.status==="failed"||t.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(t.statusMessage).message,i=JSON.parse(t.statusMessage).code}catch{s=t.statusMessage||t.message}throw new k(s,i,t,e,n)}return t}function oe(t,e){let r=we(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),e),{params:Object.assign(Object.assign({},r.params),e.params),headers:Object.assign(Object.assign({},r.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),c=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};J(t)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let x;if(typeof n.authentication=="string"){let a=n.authentication;x={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(te("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else x=n.authentication;let p=t,d=!1;typeof window<"u"&&(d=ne(t));let R=!d&&ee(t);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(t)),S.then(()=>x?x.getToken(t).catch(a=>(a.url=t,a.options=n,c=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(i.token=a),x&&x.getDomainCredentials&&(u.credentials=x.getDomainCredentials(t));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?t:t+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",a.length&&n.hideToken&&(i.token=a,delete l["X-Esri-Authorization"])):t=b}let m=new RegExp("/items/.+/updateResources").test(t);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=H),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(t,u):re().then(({fetch:h})=>h(t,u))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:m,statusText:h}=a,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,t,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=a;throw new k(h,`HTTP ${m}`,a,t,n)});if(s)return a;switch(i.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((i.f==="json"||i.f==="geojson")&&!s){let l=Ee(a,p,i,n,c);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(t)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&Z(a.authorizedCrossOriginNoCorsDomains),c){let m=t.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},c=null}return l}else return a})}function f(t,e={params:{f:"json"}}){let{request:r}=e,n=V(e,["request"]);return r?r(t,n):oe(t,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function xe(t){let[e,r]=t.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(r)}}function se(t){return!t||t.length<=0?{}:t.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,r)=>{let{key:n,value:o}=xe(r);return e[n]=o,e},{})}var ie=300*1e3;function C(t,e){let r=e;return r.rawResponse=!1,f(t,r).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-ie),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-ie)),o})}function E(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(t){return q.test(t)}function _e(t){if(!q.test(t))return t;switch(K(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function K(t){if(!q.test(t))return null;let r=t.match(q)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function ce(t,e){let r=E(_e(e)).replace(/https?:\/\//,""),n=E(t).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function ue(t,e){let r=ae(t),n=ae(e),o=K(t),s=K(e);return!!(r&&n&&o===s)}function le(t,e,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:t}})}function ot(t,e,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},r),t);return o.params=e.reduce((s,i)=>((t[i]||typeof t[i]=="boolean"||typeof t[i]=="number"&&t[i]===0)&&(s[i]=t[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var _;(function(t){t.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",t.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",t.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",t.NOT_FEDERATED="NOT_FEDERATED",t.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(_||(_={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",r=_.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var N=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};var he;(function(t){t.ArcGISRequestError="ArcGISRequestError",t.ArcGISAuthError="ArcGISAuthError",t.ArcGISAccessDeniedError="ArcGISAccessDeniedError",t.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var j=class{constructor(e){this.portal=e.portal?E(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(r,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var W;(function(t){t.Success="Succeeded",t.Failed="Failed",t.Waiting="Waiting",t.Cancelled="Cancelled",t.Cancelling="Cancelling",t.New="New",t.Executing="Executing",t.Submitted="Submitted",t.Failure="Failure",t.TimedOut="TimedOut",t.Error="Error",t.Status="Etatus",t.Unknown="Unknown"})(W||(W={}));function fe(t){let e=`${E(t.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=t.token,n=t.clientId;delete t.portal,delete t.clientId,delete t.token;let o=Object.assign(Object.assign({},t),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(t,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(t,e=window){if(!e&&window&&(e=window),t&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(t);return e.crypto.subtle.digest("SHA-256",n).then(o=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function G(t){!t&&window&&(t=window);let e=t.crypto.getRandomValues(new Uint8Array(32));return $(e)}function de(t,e){return typeof t=="string"?t:typeof t=="object"?t.id:G(e)}function me(t,e,r){return JSON.stringify(typeof e=="string"||!e?{id:t,originalUrl:r}:Object.assign({id:t},e))}function ye(t){return typeof t.userId=="string"||typeof t.expires=="number"}var O=class t extends j{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?E(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.state=e.state,this.federatedServers={},this.trustedDomains=[],e.server){let r=this.getServerRootUrl(e.server);this.federatedServers[r]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,r){!r&&window&&(r=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:c,popup:u,popupWindowFeatures:x,locale:p,params:d,style:R,pkce:S,state:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),l=de(a,r),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;r.localStorage.setItem(m,l);let h=`${E(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:c,state:me(l,a,r.location.href),locale:p,style:R};o!=="arcgis"&&(h=`${E(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=G(r),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;r.localStorage.setItem(U,v),D=pe(v,r).then(function(g){b.code_challenge_method=g?"S256":"plain",b.code_challenge=g||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${s}`,g=>{if(g.detail.error==="access_denied"){let P=new N;return U(P),P}if(g.detail.errorMessage){let P=new A(g.detail.errorMessage,g.detail.error);return U(P),P}v(new t({clientId:s,portal:n,ssl:g.detail.ssl,token:g.detail.token,tokenExpires:g.detail.expires,username:g.detail.username,refreshToken:g.detail.refreshToken,refreshTokenExpires:g.detail.refreshTokenExpires,redirectUri:c,state:g.detail.state}))},{once:!0}),r.open(h,"oauth-window",x),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=h})}static completeOAuth2(e,r){!r&&window&&(r=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:c}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,x=r.localStorage.getItem(u),p=se(i?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(a,l,m){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:a}})),r.close();return}return m&&r.history.replaceState(r.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(a,l))}function S(a,l){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign(Object.assign({},a),{state:l})})),r.close();return}return l.originalUrl&&r.history.replaceState(r.history.state,"",l.originalUrl),new t({clientId:o,portal:n,ssl:a.ssl,token:a.token,tokenExpires:a.expires,username:a.username,refreshToken:a.refreshToken,refreshTokenExpires:a.refreshTokenExpires,redirectUri:c||location.href.replace(location.search,""),state:l})}if(!x||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==x)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let a=p.error,l=p.error_description||"Unknown error";return R(l,a,d.originalUrl)}if(i&&p.code){let a=E(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=r.localStorage.getItem(l);return r.localStorage.removeItem(l),C(a,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:c||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d)):R("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,r){!r&&window&&(r=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===r.parent&&i.data)try{return o(t.parentMessageHandler(i))}catch(c){return s(c)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(r.removeEventListener("message",n,!1),o))}static authorize(e,r){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:c}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};c&&(u.state=c);let x=`${n}/oauth2/authorize?${T(u)}`;r.writeHead(301,{Location:x}),r.end()}static exchangeAuthorizationCode(e,r){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:r}}).then(i=>new t({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,_.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let r=JSON.parse(e);return new t({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(e,r){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return r.hasServer?new t({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new t({portal:E(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let r=e.data.credential;return ye(r)?t.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new t(r)}if(e.data.type==="arcgis:auth:error"){let r=new Error(e.data.error.message);throw r.name=e.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(e){return fe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let r=new t(e);return r.getUser().then(()=>r)}static signIn(e){let r=new t(e);return r.getUser().then(()=>r)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(r,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,r){return ue(this.portal,e)?this.getFreshToken(r):new RegExp(this.portal,"i").test(e)?this.getFreshToken(r):this.getTokenForServer(e,r)}validateAppAccess(e){return this.getToken(this.portal).then(r=>le(r,e))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(e),r.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",_.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[r]=E(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=r.match(/(https?:\/\/)(.+)/),[i,...c]=s.split("/");return`${o}${i.toLowerCase()}/${c.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(r=>e.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return t.destroy(this)}createPostMessageHandler(e){return r=>{let n=e.indexOf(r.origin)>-1,o=r.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let c=this.toCredential();c.server=c.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:c}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(i,r.origin)}}}getTokenForServer(e,r){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ce(s.owningSystemUrl,this.portal))return f(`${s.owningSystemUrl}/sharing/rest/info`,r);throw new y(`${e} is not federated with ${this.portal}.`,_.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,_.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,r){return f(e,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,_.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let r={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:H};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:r},e))):f(`${this.portal}/generateToken`,Object.assign({params:r},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,_.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return C(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,_.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,r){return this._token=e,this._tokenExpires=r,this}exchangeRefreshToken(e){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return C(`${this.portal}/oauth2/token`,r).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,_.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function I(t){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(t)}I.beginOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...t)};I.completeOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),t.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),O.completeOAuth2(...t)};I.fromParent=function(...t){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...t)};I.authorize=function(...t){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...t)};I.exchangeAuthorizationCode=function(...t){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...t)};I.fromCredential=function(...t){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),O.fromCredential(...t)};I.deserialize=function(...t){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...t)};export{Y as a,te as b,A as c,f as d,ot as e,E as f,O as g};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as s}from"./ZATVZJSM.js";import"./6D2BWWQ3.js";import"./6MYJZ4IH.js";import"./YTWTPLD5.js";import"./ZEUQ2XUT.js";import{a as r,b as a}from"./55MHANOS.js";import"./VKZHDM2Y.js";import"./3ZCXZTSQ.js";import"./3ODSPQ4S.js";import{a as o}from"./NE4DI6BW.js";import{a as i}from"./PA2GPNXE.js";import"./2H3MHHNZ.js";import"./ICTMP3P3.js";import"./PPPHSH43.js";import"./6PWGQ66L.js";import"./G3OMPKZM.js";import"./CCFY7P7U.js";import"./UO4LB2TD.js";import"./KS4OMGOD.js";import"./6ZZTUHA6.js";import"./EQU7VQR5.js";import"./UJAV7SOQ.js";import"./46N6YTN4.js";import"./WTERFQYN.js";import"./H43YAQQN.js";import"./ZBFH2EFC.js";import"./XBYYQKMP.js";import"./FSQWEULB.js";import"./ZHMRFTFN.js";import"./UBFTTJI2.js";import"./CL3HIMLD.js";import"./D2SUNNM7.js";import"./WDMP52JQ.js";import"./VDXBCG7S.js";import"./WVCJRRZI.js";import"./ISPJ6574.js";import"./6TD6ORJT.js";import"./GL7RXZ2L.js";import"./3O5OPBC4.js";import"./NFBFHGJM.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,"survey",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 i(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 r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.js";var o=async(e,r,t)=>({type:"Layout",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`}]}}]});export{o as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as t}from"./CCFY7P7U.js";import"./UO4LB2TD.js";import"./KS4OMGOD.js";import"./6ZZTUHA6.js";import"./EQU7VQR5.js";import"./UJAV7SOQ.js";import"./46N6YTN4.js";import"./WTERFQYN.js";import"./H43YAQQN.js";import"./ZBFH2EFC.js";import"./XBYYQKMP.js";import"./FSQWEULB.js";import"./ZHMRFTFN.js";import"./UBFTTJI2.js";import"./CL3HIMLD.js";import"./D2SUNNM7.js";import"./WDMP52JQ.js";import"./VDXBCG7S.js";import"./WVCJRRZI.js";import"./ISPJ6574.js";import"./6TD6ORJT.js";import"./GL7RXZ2L.js";import"./3O5OPBC4.js";import"./NFBFHGJM.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{c as t}from"./6TD6ORJT.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./GL7RXZ2L.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import b from"./OL25UL3O.js";import a from"./4MTTBD2G.js";import{a as _}from"./CW5ZISPI.js";import{b as y}from"./JX2FUTAK.js";import"./CBOVDRFV.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"./D6EWYXTL.js";import"./NFBFHGJM.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)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as l}from"./MYUZRNSY.js";import"./PPPHSH43.js";import"./6PWGQ66L.js";import"./G3OMPKZM.js";import{a as o}from"./CCFY7P7U.js";import"./UO4LB2TD.js";import"./KS4OMGOD.js";import"./6ZZTUHA6.js";import"./EQU7VQR5.js";import"./UJAV7SOQ.js";import"./46N6YTN4.js";import"./WTERFQYN.js";import"./H43YAQQN.js";import"./ZBFH2EFC.js";import"./XBYYQKMP.js";import"./FSQWEULB.js";import"./ZHMRFTFN.js";import"./UBFTTJI2.js";import"./CL3HIMLD.js";import"./D2SUNNM7.js";import"./WDMP52JQ.js";import"./VDXBCG7S.js";import"./WVCJRRZI.js";import"./ISPJ6574.js";import"./6TD6ORJT.js";import"./GL7RXZ2L.js";import"./3O5OPBC4.js";import"./NFBFHGJM.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import e from"./PS6QJQU2.js";import b from"./ZD644HR2.js";import"./PMDGKY44.js";import a from"./4MTTBD2G.js";import{a as c}from"./CW5ZISPI.js";import{a as f}from"./4JQQITKV.js";import{c as w,t as y,u,y as _,z as L}from"./JHOQTN2S.js";import{b as v}from"./JX2FUTAK.js";import"./U7XWDKUG.js";import"./CBOVDRFV.js";import{C as g,D as p,E as m,G as o,h as d,i as r,r as h}from"./D6EWYXTL.js";import"./NFBFHGJM.js";export default $arcgis.t(([,{b:C},{t:b}])=>{var I=d`@layer{instant-apps-interactive-legend{display:block;height:100%}instant-apps-interactive-legend .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1)!important;color:var(--calcite-color-text-1)!important}instant-apps-interactive-legend .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}instant-apps-interactive-legend .esri-legend__layer,instant-apps-interactive-legend .esri-legend__layer-body{margin-left:0!important}instant-apps-interactive-legend .esri-legend__layer-row{box-sizing:border-box!important}}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},l=class extends m{constructor(){super(...arguments),this._messages=f({name:"instant-apps-interactive-legend"}),this.ref=g(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}static{this.shadowRootOptions=h}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await w(),this.reactiveUtils=e,this.widget=await _({});let t=await y({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,i=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(i),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},s=await u(a);this.legendvm=s,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)))}render(){let{base:e,component:t,widget:i,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,i,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(b(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${p(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:i}=this.reactiveUtils,a=i(()=>e.children,"change",()=>e.children.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(s=>{this._renderOnActiveLayerInfoChange(s,t),s?.children?.length>0&&s?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};v("instant-apps-interactive-legend",l);return l},a,b,e)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import c from"./66K5WNGM.js";import a from"./DBIIMNFE.js";import{J as I,lb as b,mb as P,q as A}from"./TGCN4ZAH.js";import{g as p}from"./ICTMP3P3.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function h(){if(e)return await window.$arcgis.import("esri/identity/IdentityManager");let t=await $arcgis.t(m=>m[0],"identity/IdentityManager");return n(t)?t.default:t}async function i(){if(e)return await window.$arcgis.import("esri/core/Collection");let t=await $arcgis.t(m=>m[0],"core/Collection");return n(t)?t.default:t}async function V(t){let r=await i();return new r(t)}async function o(){if(e)return await window.$arcgis.import("esri/core/Handles");let t=await $arcgis.t(m=>m[0],"core/Handles");return n(t)?t.default:t}async function P(){let t=await o();return new t}async function a(){if(e)return await window.$arcgis.import("esri/geometry/Point");let t=await $arcgis.t(m=>m[0],"geometry/Point");return n(t)?t.default:t}async function b(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/geometry/SpatialReference");let t=await $arcgis.t(m=>m[0],"geometry/SpatialReference");return n(t)?t.default:t}async function I(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/identity/OAuthInfo");let t=await $arcgis.t(m=>m[0],"identity/OAuthInfo");return n(t)?t.default:t}async function W(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/layers/support/FeatureEffect");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureEffect");return n(t)?t.default:t}async function F(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/layers/support/FeatureFilter");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureFilter");return n(t)?t.default:t}async function G(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/portal/PortalItemResource");let t=await $arcgis.t(m=>m[0],"portal/PortalItemResource");return n(t)?t.default:t}async function A(t){let r=await p();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/time/TimeExtent");let t=await $arcgis.t(m=>m[0],"time/TimeExtent");return n(t)?t.default:t}async function T(t){let r=await d();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/time/TimeInterval");let t=await $arcgis.t(m=>m[0],"time/TimeInterval");return n(t)?t.default:t}async function k(t){let r=await m();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.t(m=>m[0],"WebMap");return n(t)?t.default:t}async function D(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/Compass");let t=await $arcgis.t(m=>m[0],"widgets/Compass");return n(t)?t.default:t}async function E(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion");return n(t)?t.default:t}async function v(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion/support/Conversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion/support/Conversion");return n(t)?t.default:t}async function O(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.t(m=>m[0],"widgets/Expand");return n(t)?t.default:t}async function B(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.t(m=>m[0],"widgets/Legend");return n(t)?t.default:t}async function U(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/Legend/LegendViewModel");let t=await $arcgis.t(m=>m[0],"widgets/Legend/LegendViewModel");return n(t)?t.default:t}async function N(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.t(m=>m[0],"widgets/Measurement");return n(t)?t.default:t}async function x(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.t(m=>m[0],"widgets/TimeSlider");return n(t)?t.default:t}async function K(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/Widget");let t=await $arcgis.t(m=>m[0],"widgets/Widget");return n(t)?t.default:t}async function H(t){let r=await R();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.t(m=>m[0],"core/reactiveUtils");return n(t)?t.default:t}async function Q(){if(e)return await window.$arcgis.import("esri/geometry/operators/projectOperator");let t=await $arcgis.t(m=>m[0],"geometry/operators/projectOperator");return n(t)?t.default:t}async function q(){if(e)return await window.$arcgis.import("esri/geometry/support/jsonUtils");let t=await $arcgis.t(m=>m[0],"geometry/support/jsonUtils");return n(t)?t.default:t}async function j(){if(e)return await window.$arcgis.import("esri/intl");let t=await $arcgis.t(m=>m[0],"intl");return n(t)?t.default:t}async function J(){if(e)return await window.$arcgis.import("esri/request");let t=await $arcgis.t(m=>m[0],"request");return n(t)?t.default:t}async function Z(){if(e)return await window.$arcgis.import("esri/symbols/support/symbolUtils");let t=await $arcgis.t(m=>m[0],"symbols/support/symbolUtils");return n(t)?t.default:t}export{h as a,V as b,P as c,b as d,I as e,W as f,c as g,F as h,G as i,A as j,T as k,k as l,D as m,E as n,y as o,v as p,g as q,O as r,B as s,U as t,N as u,$ as v,x as w,K as x,H as y,z,Q as A,q as B,j as C,J as D,Z as E};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.js";var e="Sie verf\xFCgen nicht \xFCber gen\xFCgend Credits, um diesen Vorgang auszuf\xFChren. Wenden Sie sich an den ArcGIS-Systemadministrator.",r="Dieses Werkzeug wurde \xFCber ein Notebook ver\xF6ffentlicht. Zugriff auf ArcGIS\xA0Notebooks ist in Ihrer Organisation blockiert. Wenden Sie sich an den Administrator, um die Einstellung anzupassen.",n="${ dataPath } darf nicht ${ additionalProperty } aufweisen.",i="${ dataPath } muss mit einem der folgenden Schemas \xFCbereinstimmen: ${ schemaOptions }.",a="Speichern Sie die Karte erneut.",t="Credit-Sch\xE4tzung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und lassen Sie die Credits erneut sch\xE4tzen.",s="Bei Ausf\xFChrung der Analyse ist ein Fehler aufgetreten.",l="${ dataPath } muss einem der folgenden zul\xE4ssigen Werte entsprechen: ${ allowedValues }.",o="Fehler beim Speichern des Analyseverlaufs",d="Der Verlaufsspeicher ist voll. Entfernen Sie einige Elemente aus dem Analyseverlauf, und speichern Sie erneut.",h="Der Service-Name enth\xE4lt mindestens ein ung\xFCltiges Zeichen.",u="Das Speichern des tempor\xE4ren Layers als gehosteten Feature-Layer wurde nicht abgeschlossen.",c="Fehler beim Abrufen der Schl\xFCsseleigenschaften.",m="Fehler beim Laden des Layers.",g="Layer ist nicht verf\xFCgbar.",f="${ dataPath } darf nicht mehr als ${ limit } Elemente enthalten.",S="Fehler beim Speichern des Modells. Versuchen Sie noch einmal zu speichern.",b="${ dataPath } darf nicht weniger als ${ limit } Elemente enthalten.",y="${ dataPath } darf nicht k\xFCrzer als ${ limit } Zeichen sein.",E="Das Modellelement konnte nicht geladen werden. Stellen Sie sicher, dass das Modell vorhanden ist und Ihnen entsprechende Zugriffsberechtigungen gew\xE4hrt wurden.",p="Fehler beim Abschlie\xDFen der Anforderung.",F="Sie sind nicht berechtigt, dieses Werkzeug auszuf\xFChren. <calcite-link target='_blank' href='${ docLink }'>Weitere Informationen</calcite-link>",v="Fehler beim Anmelden beim Portal.",P="Fehler beim Lesen der Eingabedaten.",k="${ dataPath } fehlt eine Eigenschaft mit dem Namen ${ missingProperty }.",L="Ein Ergebnis-Layer mit diesem Namen ist bereits vorhanden. Ergebnis-Layer m\xFCssen innerhalb der Organisation \xFCber einen eindeutigen Namen verf\xFCgen. Verwenden Sie einen anderen Namen.",I="Der Ausgabename enth\xE4lt mindestens ein ung\xFCltiges Zeichen. <a href='${docLink}' target='_blank'>Mehr erfahren</a>",$="Beim Ver\xF6ffentlichen des tempor\xE4ren Layers als gehosteten Layer ist ein Fehler aufgetreten, da mindestens ein Feld ung\xFCltig ist. F\xFChren Sie das Werkzeug erneut aus, um einen Layer mit g\xFCltigen Feldern zu erstellen.",A="Auftrags\xFCbermittlung fehlgeschlagen. F\xFChren Sie einen Bildlauf nach unten durch, korrigieren Sie die Fehler, und f\xFChren Sie die Analyse erneut aus.",N="${ dataPath } muss mindestens ein Zeichen enthalten, bei dem es sich nicht um ein Leerstellenzeichen handelt.",w={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:n,anyOfValues:i,cannotWriteToItemResource:a,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:h,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:c,layerLoadFailure:m,layerUnavailable:g,maxItems:f,mbFailedToSave:S,minItems:b,minLength:y,modelNotFound:E,networkError:p,noPermissionToAccessTool:F,portalLoadError:v,queryFeaturesError:P,requiredProperty:k,serviceNameExistsError:L,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:$,toolValidationError:A,whiteSpacePattern:N};export{e as InsufficientCreditsError,r as accessBlocked,n as additionalProperty,i as anyOfValues,a as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,h as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,c as keyPropertiesError,m as layerLoadFailure,g as layerUnavailable,f as maxItems,S as mbFailedToSave,b as minItems,y as minLength,E as modelNotFound,p as networkError,F as noPermissionToAccessTool,v as portalLoadError,P as queryFeaturesError,k as requiredProperty,L as serviceNameExistsError,I as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,A as toolValidationError,N as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as e}from"./CW5ZISPI.js";import{a as _}from"./4JQQITKV.js";import{b as f}from"./JX2FUTAK.js";import"./U7XWDKUG.js";import"./CBOVDRFV.js";import{C as d,D as v,E as h,G as o,I as a,h as l,i as t,r as m}from"./D6EWYXTL.js";import"./NFBFHGJM.js";var $=l`@layer{:host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2: transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0 0 10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:400;font-size:.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3: transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px}}`,n={content:"instant-apps-popover__content",buttonContainer:"instant-apps-popover__button-container",action:"instant-apps-popover__action",actionDisabled:"instant-apps-popover--action-disabled",img:"instant-apps-popover__img",footer:"instant-apps-popover__footer"},p=class extends h{constructor(){super(...arguments),this._messages=_({name:"instant-apps-popover"}),this.popoverEl=d(),this.popoverTitle="",this.subtitle="",this.content="",this.placement="trailing-start",this.pagination=!1,this.disableAction=!1}static{this.properties={popoverTitle:3,subtitle:3,content:3,imgSrc:3,imgAlt:3,mediaSrc:3,index:11,referenceElement:3,parent:0,placement:1,refId:1,pagination:7,disableAction:7,popoverAction:0,messageOverrides:0}}static{this.styles=$}static{this.shadowRootOptions=m}updated(){!this.hasUpdated&&this.popoverEl.value&&(this.popoverEl.value.referenceElement=this.referenceElement)}render(){return t`<calcite-popover .heading=${this.popoverTitle} auto-close .placement=${this.placement} .messageOverrides=${{close:this._messages.close}} trigger-disabled ref-id=${this.refId??a} closable .referenceElement=${this.referenceElement} .label=${this.popoverTitle} ${v(this.popoverEl)}><div class=${`${n.content}${this.disableAction?` ${n.actionDisabled}`:""}`}>${this.disableAction?null:e("popover-action",t`<calcite-action class=${o(n.action)} @click=${this.popoverAction} .icon=${document.dir==="rtl"?"chevron-right":"chevron-left"} text-enabled .text=${this._messages.back??""}></calcite-action>`)}<section><span id=subtitle>${this.subtitle}</span><p>${this.content}</p>${this.imgSrc?e(`iac-popover-img-${this.refId}`,t`<img class=${o(n.img)} src=${this.imgSrc??a} alt=${(this.imgAlt?this.imgAlt:"")??a}>`):null}</section>${this.pagination?e(`iac-popover-footer-${this.index}`,t`<div class=${o(n.footer)}><span>${this.index+1} ${this._messages?.of} ${this.parent?.instantAppsPopovers?.size}</span>${this.renderPagination()}</div>`):null}</div></calcite-popover>`}renderPagination(){let{index:r,_messages:s,parent:i}=this;if(!i)return null;let g=i.instantAppsPopovers.size,u=r===0,c=r===g-1;return e("pagination-button-container",t`<div class=${o(n.buttonContainer)}>${u?null:e("prev",t`<calcite-button @click=${async()=>await i?.previous()} appearance=outline kind=neutral>${s.back}</calcite-button>`)}${e("next",t`<calcite-button @click=${async()=>{c?await i?.done():await i?.next()}}>${c?s.done:s.next}</calcite-button>`)}</div>`)}};f("instant-apps-popover",p);export{p as InstantAppsPopover};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{d as w,e as L}from"./ERGIC6D6.js";import"./NLXYJK4H.js";import"./KDDYXVIK.js";import{b}from"./4X5X3NXC.js";import{a as V}from"./FB6CNJND.js";import"./U7XWDKUG.js";import"./CBOVDRFV.js";import{b as v}from"./SK3BSYR6.js";import{C as c,D as p,E as M,G as m,h as y,i as l,o as h,r as f}from"./D6EWYXTL.js";import"./NFBFHGJM.js";var S=y`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width:600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this.allowMultipleCreation=!1,this.popupEnabled=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=V({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=c(),this._isSubmitBtnClicked=!1,this._mapViewContainer=c(),this._searchDiv=c(),this._guidingMessageRefNode=c(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,allowMultipleCreation:5,popupEnabled:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}this.reportingAreaMessage&&this._guidingMessageRefNode.value?.children[0]&&(this._guidingMessageRefNode.value.children[0].style.margin="0px")}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${p(this._calciteNotice)}><div slot=message .innerHTML=${d??""} ${p(this._guidingMessageRefNode)}></div></calcite-notice>`||""}<calcite-loader class=${m(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${m(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${p(this._searchDiv)}></div>`||""}<div class=${m(s)} ${p(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await b(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center,popupEnabled:this.popupEnabled}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),!this.allowMultipleCreation&&this._editor.activeWorkflow&&(this._editor.activeWorkflow.data.creationInfo.maxFeatures=1),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t){let a=t.clone(),r=this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t).clone();this._editor.viewModel.sketchViewModel.addGraphic(r),this._editor.viewModel.sketchViewModel.emit("create",{graphic:r,state:"complete",toolEventInfo:null,type:"create"}),this._editor.viewModel.sketchViewModel.update(a),this.hideEditorsElements()}else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,E=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.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};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import"./NFBFHGJM.js";var l=async(e,t,r)=>{let o=t.orgUrlKey;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.siteUrl.label`,options:{requiredHelperText:{labelKey:`${e}.sections.defaultRequiredHelperText`}},elements:[{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:o,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]},{type:"Section",labelKey:`${e}.sections.privacy.label`,elements:[{scope:"/properties/telemetry/properties/consentNotice",type:"Control",options:{control:"arcgis-privacy-config"}}]}]}};export{l as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
+
v1.1.3 */
|
|
4
|
+
import{a as e}from"./CCFY7P7U.js";import"./UO4LB2TD.js";import"./KS4OMGOD.js";import"./6ZZTUHA6.js";import"./EQU7VQR5.js";import"./UJAV7SOQ.js";import"./46N6YTN4.js";import"./WTERFQYN.js";import"./H43YAQQN.js";import"./ZBFH2EFC.js";import"./XBYYQKMP.js";import"./FSQWEULB.js";import"./ZHMRFTFN.js";import"./UBFTTJI2.js";import"./CL3HIMLD.js";import"./D2SUNNM7.js";import"./WDMP52JQ.js";import"./VDXBCG7S.js";import"./WVCJRRZI.js";import"./ISPJ6574.js";import"./6TD6ORJT.js";import"./GL7RXZ2L.js";import{a as t}from"./3O5OPBC4.js";import"./NFBFHGJM.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
|