@esri/solutions-components 5.1.0-next.2 → 5.1.0-next.21
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/{SRDPZ2TN.js → 27G6RESZ.js} +1 -1
- package/dist/cdn/27JLIL6T.js +2 -0
- package/dist/cdn/2B6VLP3A.js +2 -0
- package/dist/cdn/{5DGVZVGU.js → 2H7KJUZG.js} +1 -1
- package/dist/cdn/2RBKFT3Q.js +2 -0
- package/dist/cdn/45ZS4SG7.js +2 -0
- package/dist/cdn/{VFSI5MUK.js → 4DFGN2VE.js} +1 -1
- package/dist/cdn/4GZBBPZQ.js +2 -0
- package/dist/cdn/{USRH3VII.js → 4NALIU6Y.js} +1 -1
- package/dist/cdn/5326HZ74.js +2 -0
- package/dist/cdn/{AJJFHJJU.js → 57DOBXD6.js} +1 -1
- package/dist/cdn/5PUFVAJH.js +2 -0
- package/dist/cdn/5QCBD6ZZ.js +2 -0
- package/dist/cdn/5S3WZLB5.js +2 -0
- package/dist/cdn/{7EZXA5FN.js → 6G7RA3PN.js} +1 -1
- package/dist/cdn/6NE73ZT3.js +2 -0
- package/dist/cdn/{OKJZS44H.js → 6UXP2Q63.js} +1 -1
- package/dist/cdn/{DGMH4RW7.js → 7DHQVMKX.js} +1 -1
- package/dist/cdn/{EOZUCQOO.js → 7J2VRW7S.js} +1 -1
- package/dist/cdn/7SLUGAMA.js +2 -0
- package/dist/cdn/{IUG77ONZ.js → 7ZMHT4SH.js} +1 -1
- package/dist/cdn/ABTC2V7J.js +2 -0
- package/dist/cdn/{D7AEFBST.js → ACF2RXCB.js} +1 -1
- package/dist/cdn/ALB3HUJ2.js +2 -0
- package/dist/cdn/{YGZRQS2J.js → ASTBVDA3.js} +1 -1
- package/dist/cdn/ATVUAP2X.js +2 -0
- package/dist/cdn/AVNCYWKK.js +2 -0
- package/dist/cdn/BJMKDP4O.js +2 -0
- package/dist/cdn/BMJN3MIR.js +2 -0
- package/dist/cdn/BPSXSDMN.js +2 -0
- package/dist/cdn/CWEEG5MA.js +2 -0
- package/dist/cdn/{JBAXZW3Z.js → D4QQZVLI.js} +1 -1
- package/dist/cdn/DJFFGBHM.js +2 -0
- package/dist/cdn/{HHTLWYIL.js → DZLVEIWW.js} +1 -1
- package/dist/cdn/{Q63OZOAM.js → E57JPXDR.js} +1 -1
- package/dist/cdn/E7HQ4JJ2.js +2 -0
- package/dist/cdn/EBU4JF4W.js +2 -0
- package/dist/cdn/EC6NYTSJ.js +2 -0
- package/dist/cdn/EDVUYJ5Q.js +2 -0
- package/dist/cdn/EGFXSDFS.js +2 -0
- package/dist/cdn/EIVJQY2S.js +2 -0
- package/dist/cdn/F7DLM4RF.js +50 -0
- package/dist/cdn/{RA43PFSB.js → FFDZB5TW.js} +1 -1
- package/dist/cdn/FRWN4Q5V.js +2 -0
- package/dist/cdn/{SG6YSE6W.js → FXHBHZKG.js} +1 -1
- package/dist/cdn/{X3LGQLCM.js → FZ7WJ3YG.js} +1 -1
- package/dist/cdn/G5MDCRT6.js +2 -0
- package/dist/cdn/GJFVHF5H.js +2 -0
- package/dist/cdn/{ABEE7A5Y.js → GN6MDWLZ.js} +1 -1
- package/dist/cdn/GTD4LCLX.js +2 -0
- package/dist/cdn/HBJZGW4L.js +2 -0
- package/dist/cdn/{UOEDG3M3.js → HBQN25RR.js} +1 -1
- package/dist/cdn/HGEF25RL.js +2 -0
- package/dist/cdn/HMB3LHBC.js +2 -0
- package/dist/cdn/HPQPI754.js +2 -0
- package/dist/cdn/I4PUORX4.js +2 -0
- package/dist/cdn/I5PBBAVM.js +2 -0
- package/dist/cdn/{SB3QR3SO.js → IKN5RLJ4.js} +1 -1
- package/dist/cdn/IMPGTDMV.js +2 -0
- package/dist/cdn/ITULTY6G.js +2 -0
- package/dist/cdn/JCDM3IJE.js +2 -0
- package/dist/cdn/JUXXPW6I.js +2 -0
- package/dist/cdn/{QUVVORHW.js → K5JYHCQ7.js} +1 -1
- package/dist/cdn/{VIOCT3NG.js → K7XOFXRK.js} +1 -1
- package/dist/cdn/KD46EE7M.js +2 -0
- package/dist/cdn/KPBEUIQV.js +2 -0
- package/dist/cdn/KRFYU445.js +2 -0
- package/dist/cdn/KSXW3QKP.js +2 -0
- package/dist/cdn/{KGALGAAM.js → LCWLPXAF.js} +1 -1
- package/dist/cdn/{73MLGNDP.js → LD2NUKM3.js} +1 -1
- package/dist/cdn/{IBNSJ46F.js → LDHJGX5G.js} +1 -1
- package/dist/cdn/LWUSGNUB.js +2 -0
- package/dist/cdn/M7YK4K5M.js +2 -0
- package/dist/cdn/{R6SBVSPJ.js → MFJF6OXL.js} +1 -1
- package/dist/cdn/{ZJ3KQ7WO.js → MWVSVTGT.js} +1 -1
- package/dist/cdn/MZ3QZD4K.js +2 -0
- package/dist/cdn/MZLEP53S.js +2 -0
- package/dist/cdn/N2KU5PYY.js +2 -0
- package/dist/cdn/{AWE3IT6O.js → N2ROUAUM.js} +1 -1
- package/dist/cdn/N7HJKCUK.js +2 -0
- package/dist/cdn/NDGFJPG7.js +2 -0
- package/dist/cdn/{GTDHYS64.js → NGCFEPQE.js} +1 -1
- package/dist/cdn/{SOHNIGAO.js → NM3YBQUM.js} +1 -1
- package/dist/cdn/NNCQFR7K.js +2 -0
- package/dist/cdn/NSITJP7B.js +2 -0
- package/dist/cdn/{VZPEYWYR.js → NWTG35WX.js} +1 -1
- package/dist/cdn/NYUVCFEV.js +2 -0
- package/dist/cdn/{6734MJXK.js → NZS3YVIT.js} +1 -1
- package/dist/cdn/{P5XWXDR2.js → OC2DD3AB.js} +1 -1
- package/dist/cdn/OMIISLTG.js +2 -0
- package/dist/cdn/OMURSGFL.js +2 -0
- package/dist/cdn/OQFRVQQZ.js +2 -0
- package/dist/cdn/P65BBQ5T.js +2 -0
- package/dist/cdn/P6IYN2TS.js +2 -0
- package/dist/cdn/POE2XE6Y.js +2 -0
- package/dist/cdn/PUCQJ7PY.js +2 -0
- package/dist/cdn/PZOAAAVI.js +2 -0
- package/dist/cdn/QHG54NVK.js +2 -0
- package/dist/cdn/{PALYMJLD.js → QMD2WK5F.js} +1 -1
- package/dist/cdn/QNNQGJS4.js +2 -0
- package/dist/cdn/{HVD4BQPK.js → QQSP7HQH.js} +1 -1
- package/dist/cdn/QWRM254M.js +2 -0
- package/dist/cdn/QZ3GHISD.js +2 -0
- package/dist/cdn/R3KUBISH.js +2 -0
- package/dist/cdn/RDXJFHLV.js +2 -0
- package/dist/cdn/REOO5ZGK.js +2 -0
- package/dist/cdn/RF7NG5JX.js +2 -0
- package/dist/cdn/{VDMAJ6AS.js → RNTJMF4O.js} +1 -1
- package/dist/cdn/RTG3SBDS.js +2 -0
- package/dist/cdn/SENL26AU.js +3 -0
- package/dist/cdn/{TJ2MW6I4.js → SIUUQBL4.js} +1 -1
- package/dist/cdn/SSO3AN4U.js +2 -0
- package/dist/cdn/STEJOS7Q.js +2 -0
- package/dist/cdn/{J3YWJVZZ.js → SXD7ZWLW.js} +1 -1
- package/dist/cdn/TH52564W.js +2 -0
- package/dist/cdn/THKPPH7G.js +2 -0
- package/dist/cdn/{OKDHN6B7.js → TP5EQUBD.js} +1 -1
- package/dist/cdn/TRJ6EQRD.js +2 -0
- package/dist/cdn/TU5GZK4M.js +2 -0
- package/dist/cdn/{CUTRQOEO.js → U3LEZXNT.js} +1 -1
- package/dist/cdn/U4MNIZYO.js +2 -0
- package/dist/cdn/UFJWRZWQ.js +2 -0
- package/dist/cdn/UQ3MLIHV.js +21 -0
- package/dist/cdn/{HIMUNCZ6.js → USM62FP5.js} +2 -2
- package/dist/cdn/UY2AFOXQ.js +2 -0
- package/dist/cdn/{LI4CAGAZ.js → UYYMXFYQ.js} +1 -1
- package/dist/cdn/{3JF5JLS4.js → V3S3BZEP.js} +1 -1
- package/dist/cdn/V5PIAPEA.js +2 -0
- package/dist/cdn/VDEFBT2N.js +2 -0
- package/dist/cdn/{XZXTFYPU.js → VLZNUN6G.js} +24 -24
- package/dist/cdn/VPTZV5YV.js +2 -0
- package/dist/cdn/{QW3T2SOQ.js → VRE7NUZ2.js} +1 -1
- package/dist/cdn/WCPWYPN2.js +2 -0
- package/dist/cdn/{6UJUVPK6.js → WMPUJYLT.js} +1 -1
- package/dist/cdn/{QXRWIAR3.js → XBR2PGVO.js} +1 -1
- package/dist/cdn/{PH36F6ZU.js → XC7LLCVS.js} +1 -1
- package/dist/cdn/{UCUGZIOM.js → XCILPMDZ.js} +1 -1
- package/dist/cdn/XK6Q5TUT.js +2 -0
- package/dist/cdn/{TVNF2O66.js → XTDFTH5X.js} +1 -1
- package/dist/cdn/{727EUXF6.js → XTUL7OCR.js} +1 -1
- package/dist/cdn/{VKG5PJNA.js → YMOLIY64.js} +1 -1
- package/dist/cdn/YTK4IGLJ.js +2 -0
- package/dist/cdn/{QXFTJVUF.js → ZCGIQK3H.js} +1 -1
- package/dist/cdn/{ZSZUJ3FI.js → ZDQANIMG.js} +1 -1
- package/dist/cdn/ZSHMK5VX.js +2 -0
- package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/Auth.js +83 -62
- package/dist/chunks/cardFetchingUtils.js +19 -19
- package/dist/chunks/cardsHelpers.js +5 -5
- package/dist/chunks/deployAppContexts.js +9 -0
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/{interfaces.js → helpers.js} +227 -228
- package/dist/chunks/solution-deploy-dialog.js +39 -52
- package/dist/chunks/solutions-deploy-app-nav.js +104 -78
- package/dist/components/arcgis-solutions-assistant/customElement.js +28 -27
- package/dist/components/consent-manager/customElement.js +3 -3
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +3 -3
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +4 -4
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +2 -2
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +28 -21
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +5 -4
- package/dist/components/solution-delete-dialog/customElement.js +47 -37
- package/dist/components/solution-deploy-dialog/customElement.js +4 -3
- package/dist/components/solution-deployed-card/customElement.js +3 -2
- package/dist/components/solution-deployed-card-panel/customElement.js +12 -11
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +2 -1
- package/dist/components/solution-details-panel/customElement.js +105 -103
- package/dist/components/solution-item-accordion/customElement.js +29 -21
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +1 -0
- package/dist/components/solution-resource-card/customElement.js +7 -6
- package/dist/components/solution-snapshot-gallery/customElement.js +5 -4
- package/dist/components/solution-social-share/customElement.js +37 -36
- package/dist/components/solution-user-avatar/customElement.js +12 -11
- package/dist/components/solutions-all-panel/customElement.js +16 -12
- package/dist/components/solutions-all-shell/customElement.js +11 -10
- package/dist/components/solutions-deploy-app/customElement.js +16 -14
- package/dist/components/solutions-deploy-app-nav/customElement.js +4 -3
- package/dist/components/solutions-deployed-panel/customElement.js +3 -2
- package/dist/components/solutions-deployed-shell/customElement.js +8 -7
- package/dist/components/solutions-filter-panel/customElement.d.ts +4 -1
- package/dist/components/solutions-filter-panel/customElement.js +45 -36
- package/dist/components/solutions-resources-shell/customElement.js +38 -38
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
- package/dist/components/solutions-searchsort-toolbar/customElement.js +15 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/dist/utils/Auth.d.ts +9 -1
- package/dist/utils/interfaces.d.ts +11 -12
- package/package.json +22 -22
- package/dist/cdn/24ADXKSX.js +0 -2
- package/dist/cdn/25MTK2JD.js +0 -2
- package/dist/cdn/2MVCIEAD.js +0 -2
- package/dist/cdn/2QE2HTYW.js +0 -2
- package/dist/cdn/3R5VOUDP.js +0 -2
- package/dist/cdn/43HJUBM4.js +0 -2
- package/dist/cdn/4LVJK3V2.js +0 -2
- package/dist/cdn/4VFF7AI4.js +0 -2
- package/dist/cdn/4X53QTF7.js +0 -2
- package/dist/cdn/5EKT4E6L.js +0 -2
- package/dist/cdn/5YSNBFO6.js +0 -2
- package/dist/cdn/6CHHUU33.js +0 -2
- package/dist/cdn/6TOLIJU5.js +0 -2
- package/dist/cdn/7EF56IQP.js +0 -2
- package/dist/cdn/7GNQSKAB.js +0 -2
- package/dist/cdn/7KSFAVG3.js +0 -2
- package/dist/cdn/ABL7HXUY.js +0 -2
- package/dist/cdn/AQ3TQ7PO.js +0 -2
- package/dist/cdn/B7XPPNVY.js +0 -2
- package/dist/cdn/BB3L2KIS.js +0 -2
- package/dist/cdn/BG55H324.js +0 -2
- package/dist/cdn/BUR53ZIF.js +0 -2
- package/dist/cdn/CHWUORRX.js +0 -2
- package/dist/cdn/CN7QQ3JZ.js +0 -2
- package/dist/cdn/CPMMNWOL.js +0 -3
- package/dist/cdn/CSQ77SHH.js +0 -2
- package/dist/cdn/DADQNPO4.js +0 -2
- package/dist/cdn/DHE3GFUJ.js +0 -2
- package/dist/cdn/DQNQ7DLH.js +0 -2
- package/dist/cdn/DSHJPE6S.js +0 -2
- package/dist/cdn/EDWOTP4V.js +0 -2
- package/dist/cdn/EITUC67W.js +0 -2
- package/dist/cdn/EYJ255MM.js +0 -2
- package/dist/cdn/F7OHPN7H.js +0 -2
- package/dist/cdn/F7R4EYDS.js +0 -2
- package/dist/cdn/FA44RLAZ.js +0 -2
- package/dist/cdn/FIWSWJTZ.js +0 -2
- package/dist/cdn/FUEG35TG.js +0 -21
- package/dist/cdn/GXICL6EL.js +0 -2
- package/dist/cdn/HAWNWJLR.js +0 -2
- package/dist/cdn/HKAZRCQE.js +0 -2
- package/dist/cdn/HYJ7UXOV.js +0 -2
- package/dist/cdn/IHP7FAGO.js +0 -2
- package/dist/cdn/IXSZQTPL.js +0 -2
- package/dist/cdn/J3PKNUNP.js +0 -2
- package/dist/cdn/J5VTBFGR.js +0 -2
- package/dist/cdn/J74DGHF3.js +0 -2
- package/dist/cdn/JY62CMT7.js +0 -2
- package/dist/cdn/KAEV4RME.js +0 -50
- package/dist/cdn/KWNAM7AD.js +0 -2
- package/dist/cdn/LNZEGAPP.js +0 -2
- package/dist/cdn/LW4KR4D5.js +0 -2
- package/dist/cdn/M7ERGA4I.js +0 -2
- package/dist/cdn/MI7UDIFR.js +0 -2
- package/dist/cdn/MSSLXF7R.js +0 -2
- package/dist/cdn/MTDE4K26.js +0 -2
- package/dist/cdn/MUM5SE3F.js +0 -2
- package/dist/cdn/NDSUZD6T.js +0 -2
- package/dist/cdn/NF3TLIP3.js +0 -2
- package/dist/cdn/NIUMAAOQ.js +0 -2
- package/dist/cdn/NXTK6OD5.js +0 -2
- package/dist/cdn/O44OLIT5.js +0 -2
- package/dist/cdn/OSPT7DNE.js +0 -2
- package/dist/cdn/OYQYXNHJ.js +0 -2
- package/dist/cdn/QYIFZ7XJ.js +0 -2
- package/dist/cdn/R4OPQN6O.js +0 -2
- package/dist/cdn/R5PY2TMY.js +0 -2
- package/dist/cdn/RJPRLDFE.js +0 -2
- package/dist/cdn/RKMY6VWP.js +0 -2
- package/dist/cdn/RSTX3J6D.js +0 -2
- package/dist/cdn/RXLJOKCX.js +0 -2
- package/dist/cdn/S27I4OM5.js +0 -2
- package/dist/cdn/SBEXUIYT.js +0 -2
- package/dist/cdn/SE7R7GJQ.js +0 -2
- package/dist/cdn/SGRKAUHN.js +0 -2
- package/dist/cdn/SJQW6ZDF.js +0 -2
- package/dist/cdn/TEXGFAKJ.js +0 -2
- package/dist/cdn/TG3TGRIK.js +0 -2
- package/dist/cdn/UFI4ZJNJ.js +0 -2
- package/dist/cdn/VGCXEINY.js +0 -2
- package/dist/cdn/VJEG4LOG.js +0 -2
- package/dist/cdn/VOM7CM3O.js +0 -2
- package/dist/cdn/VUQ25YDH.js +0 -2
- package/dist/cdn/VVNSX3BS.js +0 -2
- package/dist/cdn/WVC3NULO.js +0 -2
- package/dist/cdn/WYV4MD77.js +0 -2
- package/dist/cdn/X4Y4DHJ5.js +0 -2
- package/dist/cdn/XXBU3JMK.js +0 -2
- package/dist/cdn/YWSV24KI.js +0 -2
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./NDUAEC62.js";import{v as e}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./XZXTFYPU.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./JLYGSQEC.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./57JYZYF5.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./QXRWIAR3.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./GTDHYS64.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./KWCJDOZU.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./QYIFZ7XJ.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./2QE2HTYW.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./JYLXH6OM.js")],"delete-button":[()=>import("./XVRRQMOP.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./UF67SSGX.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./RKMY6VWP.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./J5VTBFGR.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./TEXGFAKJ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./RJPRLDFE.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./MSSLXF7R.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./VZPEYWYR.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./BEGKM3ZM.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./J3PKNUNP.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./DQ4POWIJ.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./XXBU3JMK.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./QI5LXFA7.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./AKDP6MCB.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./LPNQJBCN.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./PJH3H7LZ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./XYFIAJPT.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./NIUMAAOQ.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./RTPXDRZ7.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./T2WSMUVL.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./JK75TUSP.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./7YIQXDUF.js")],"pdf-download":[()=>import("./VDMAJ6AS.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./RXLJOKCX.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./3JF5JLS4.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ULCILXSA.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./SE7R7GJQ.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./MUM5SE3F.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./24ADXKSX.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./7KSFAVG3.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./RSTX3J6D.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./LI4CAGAZ.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./6TOLIJU5.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./MI7UDIFR.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./WVC3NULO.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./KAEV4RME.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./J33ST6ZG.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./VGCXEINY.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./F7OHPN7H.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./VVNSX3BS.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./UFI4ZJNJ.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./HKAZRCQE.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./ABEE7A5Y.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./7GNQSKAB.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./CN7QQ3JZ.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./DADQNPO4.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./NXTK6OD5.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./VFSI5MUK.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./SBEXUIYT.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./5EKT4E6L.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./YWSV24KI.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
|
|
2
|
+
import{a}from"./NDUAEC62.js";import{v as e}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./VLZNUN6G.js"),"_translations:,open,serverRoot,userFirstName;handleSendMessage,loopRequest,requestAIServer;resetChat"],"buffer-tools":[()=>import("./JLYGSQEC.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./57JYZYF5.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./XBR2PGVO.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./NGCFEPQE.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./KWCJDOZU.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./RF7NG5JX.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./NYUVCFEV.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./JYLXH6OM.js")],"delete-button":[()=>import("./XVRRQMOP.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./UF67SSGX.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./UY2AFOXQ.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./JCDM3IJE.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./GTD4LCLX.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./6NE73ZT3.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./HGEF25RL.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./NWTG35WX.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./BEGKM3ZM.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./7SLUGAMA.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./DQ4POWIJ.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./FRWN4Q5V.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./QI5LXFA7.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./AKDP6MCB.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./LPNQJBCN.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./PJH3H7LZ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./XYFIAJPT.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./N2KU5PYY.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./RTPXDRZ7.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./T2WSMUVL.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./JK75TUSP.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./7YIQXDUF.js")],"pdf-download":[()=>import("./RNTJMF4O.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./NDGFJPG7.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./V3S3BZEP.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./ULCILXSA.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-configure-titles":[()=>import("./CWEEG5MA.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./U4MNIZYO.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./STEJOS7Q.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./GJFVHF5H.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./4GZBBPZQ.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./UYYMXFYQ.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./P65BBQ5T.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./BPSXSDMN.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./45ZS4SG7.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./F7DLM4RF.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./J33ST6ZG.js"),"isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./RTG3SBDS.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./EBU4JF4W.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./2B6VLP3A.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./V5PIAPEA.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./EC6NYTSJ.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./I5PBBAVM.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./EIVJQY2S.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./OMIISLTG.js"),"_translations:,appConfig,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./QNNQGJS4.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./4DFGN2VE.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./ITULTY6G.js"),"_translations:,hideIndustryFilter,isAIDialogOpen,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./GN6MDWLZ.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./EDVUYJ5Q.js"),"_translations:"],"solutions-searchsort-toolbar":[()=>import("./PUCQJ7PY.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a)
|
package/dist/chunks/Auth.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import * as
|
|
2
|
+
import * as o from "@esri/solution-common";
|
|
3
3
|
import a from "@arcgis/core/identity/IdentityManager.js";
|
|
4
4
|
import h from "@arcgis/core/identity/OAuthInfo.js";
|
|
5
5
|
import c from "@arcgis/core/portal/Portal.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { x as p } from "./helpers.js";
|
|
7
|
+
class S {
|
|
8
|
+
constructor(t, e, r, s) {
|
|
9
|
+
this._credential = void 0, this._isEnterprise = !1, this._locale = "en", this._portalSubset = void 0, this._portalUserSubset = void 0, this._arcGISOnlineReachable = !0, this._searchArcGISOnlineEnabled = !0, this._signInParam = void 0, this._clientId = t ?? "", this._locale = r ?? "en", this._portalUrl = e ?? "https://www.arcgis.com", this._portalRestUrl = this._portalUrl + "/sharing/rest", this._portalUrl = location.origin.endsWith(".arcgis.com") ? window.location.origin : this._portalUrl, this._signInParam = s;
|
|
9
10
|
const i = new h({
|
|
10
11
|
appId: this._clientId,
|
|
11
12
|
locale: this._locale,
|
|
@@ -16,8 +17,8 @@ class g {
|
|
|
16
17
|
});
|
|
17
18
|
try {
|
|
18
19
|
a.registerOAuthInfos([i]);
|
|
19
|
-
} catch (
|
|
20
|
-
console.log(
|
|
20
|
+
} catch (n) {
|
|
21
|
+
console.log(n);
|
|
21
22
|
}
|
|
22
23
|
this._portal = new c({ url: this._portalUrl });
|
|
23
24
|
}
|
|
@@ -49,8 +50,8 @@ class g {
|
|
|
49
50
|
return this._portalUserSubset;
|
|
50
51
|
}
|
|
51
52
|
get PortalUserPrivileges() {
|
|
52
|
-
let
|
|
53
|
-
return this._portalUserSubset?.privileges && (
|
|
53
|
+
let t = [];
|
|
54
|
+
return this._portalUserSubset?.privileges && (t = this._portalUserSubset.privileges), t;
|
|
54
55
|
}
|
|
55
56
|
get SignInParam() {
|
|
56
57
|
return this._signInParam;
|
|
@@ -62,18 +63,35 @@ class g {
|
|
|
62
63
|
return this.PortalUserPrivileges.includes("portal:admin:updateItems");
|
|
63
64
|
}
|
|
64
65
|
get CanUseAI() {
|
|
65
|
-
const
|
|
66
|
-
return
|
|
66
|
+
const t = this._portalSubset?.orgSettings, e = this.PortalUserPrivileges.includes("portal:user:useAIAssistants");
|
|
67
|
+
return t?.aiAssistantsEnabled ? t.aiAssistantsEnabled && !t.blockBetaApps && e : !1;
|
|
67
68
|
}
|
|
68
69
|
get CanViewOrg() {
|
|
69
70
|
return this.PortalUserPrivileges.includes("portal:admin:viewItems");
|
|
70
71
|
}
|
|
71
72
|
get CanSearchArcGISOnline() {
|
|
72
|
-
return this._searchArcGISOnlineEnabled;
|
|
73
|
+
return this._searchArcGISOnlineEnabled && this._arcGISOnlineReachable;
|
|
74
|
+
}
|
|
75
|
+
/** Checks if the ArcGIS Online group is reachable for Enterprise portals. */
|
|
76
|
+
async checkArcGISOnlineReachability(t) {
|
|
77
|
+
if (this._isEnterprise && this._searchArcGISOnlineEnabled && t) {
|
|
78
|
+
const r = `${p(this._portalUrl)}/sharing/rest`, s = new o.UserSession({});
|
|
79
|
+
try {
|
|
80
|
+
await o.searchItems({
|
|
81
|
+
q: `group:${t} type:Solution`,
|
|
82
|
+
num: 1,
|
|
83
|
+
start: 1,
|
|
84
|
+
authentication: s,
|
|
85
|
+
portal: r
|
|
86
|
+
}), this._arcGISOnlineReachable = !0;
|
|
87
|
+
} catch (i) {
|
|
88
|
+
this._arcGISOnlineReachable = !1, console.warn("ArcGIS Online solutions group not reachable:", i);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
73
91
|
}
|
|
74
92
|
get RestUserSession() {
|
|
75
|
-
const
|
|
76
|
-
return
|
|
93
|
+
const t = a.findServerInfo(this._portalRestUrl), e = this._credential ? o.UserSession.fromCredential(this._credential, t) : this._isEnterprise ? new o.UserSession({}) : new o.UserSession({ portal: this._portalRestUrl });
|
|
94
|
+
return e.portal = this.PortalSubset?.restUrl ? this.PortalSubset?.restUrl : e.portal, e.clientId = this._credential?._oAuthCred?.appId, e._refreshToken = this._credential?._oAuthCred?.refreshToken, e;
|
|
77
95
|
}
|
|
78
96
|
/**
|
|
79
97
|
* Initializes the Auth object. This method must be called before any other Auth methods.
|
|
@@ -81,9 +99,9 @@ class g {
|
|
|
81
99
|
*
|
|
82
100
|
* @returns Promise that resolves with the initialized Auth object
|
|
83
101
|
*/
|
|
84
|
-
async initialize() {
|
|
102
|
+
async initialize(t = !1, e) {
|
|
85
103
|
try {
|
|
86
|
-
await this._init();
|
|
104
|
+
await this._init(t, e);
|
|
87
105
|
} catch {
|
|
88
106
|
this.destroy();
|
|
89
107
|
}
|
|
@@ -98,19 +116,19 @@ class g {
|
|
|
98
116
|
* @param signInParamValue If supplied, the parameter `signInParam` with the supplied value
|
|
99
117
|
* will be added to the redirect uri's search params
|
|
100
118
|
*/
|
|
101
|
-
async signIn(
|
|
102
|
-
a.setOAuthRedirectionHandler((
|
|
103
|
-
const r =
|
|
104
|
-
if (
|
|
119
|
+
async signIn(t = "") {
|
|
120
|
+
a.setOAuthRedirectionHandler((e) => {
|
|
121
|
+
const r = e.authorizeParams.redirect_uri;
|
|
122
|
+
if (t.length > 0) {
|
|
105
123
|
const s = r.split("?"), i = s[0];
|
|
106
|
-
let
|
|
124
|
+
let n = "";
|
|
107
125
|
const l = new URLSearchParams(s[1] || "");
|
|
108
|
-
l.append("signInParam",
|
|
126
|
+
l.append("signInParam", t), n = "?" + l.toString(), e.authorizeParams.redirect_uri = i + n;
|
|
109
127
|
}
|
|
110
|
-
window.location.href =
|
|
128
|
+
window.location.href = e.authorizeUrl + "?" + this._objectToQuery(e.authorizeParams);
|
|
111
129
|
}), await a.getCredential((this._portalSubset?.portalUrl ?? this._portalUrl) + "/sharing").then(
|
|
112
|
-
(
|
|
113
|
-
|
|
130
|
+
(e) => {
|
|
131
|
+
e && window.location.reload();
|
|
114
132
|
}
|
|
115
133
|
);
|
|
116
134
|
}
|
|
@@ -124,8 +142,8 @@ class g {
|
|
|
124
142
|
* on the resources page they should stay on that page
|
|
125
143
|
*/
|
|
126
144
|
signOut() {
|
|
127
|
-
const
|
|
128
|
-
let r =
|
|
145
|
+
const t = window.location.href, e = /[\/]\b([0-9A-Fa-f]){32}\b/g;
|
|
146
|
+
let r = t.match(e) ? t.replace(e, "") : t;
|
|
129
147
|
const i = `${this._portal?.restUrl ?? this._portalUrl + "/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(r)}`;
|
|
130
148
|
this.destroy(), window.location.replace(i);
|
|
131
149
|
}
|
|
@@ -133,9 +151,9 @@ class g {
|
|
|
133
151
|
* Refreshes the user session token
|
|
134
152
|
*/
|
|
135
153
|
refreshSession() {
|
|
136
|
-
const
|
|
137
|
-
if (!(!
|
|
138
|
-
return
|
|
154
|
+
const t = this.RestUserSession;
|
|
155
|
+
if (!(!t || !this.IsSignedIn))
|
|
156
|
+
return t.exchangeRefreshToken();
|
|
139
157
|
}
|
|
140
158
|
// ---------------------------------------------------------------------------------------------------------------- //
|
|
141
159
|
/**
|
|
@@ -145,39 +163,29 @@ class g {
|
|
|
145
163
|
* @param portalCustomBaseUrl The custom base URL for the portal.
|
|
146
164
|
* @returns
|
|
147
165
|
*/
|
|
148
|
-
_getOrgUrl(
|
|
149
|
-
return
|
|
166
|
+
_getOrgUrl(t, e, r) {
|
|
167
|
+
return e && r ? window.location.protocol + "//" + e.toLowerCase() + "." + r : t;
|
|
150
168
|
}
|
|
151
169
|
/**
|
|
152
170
|
* Initializes the Auth object. This method must be called before any other Auth methods.
|
|
153
171
|
* If the user is not authorized to use the app, the page will be redirected to an error page.
|
|
154
172
|
* @returns Promise that resolves with the initialized Auth object
|
|
155
173
|
*/
|
|
156
|
-
async _init() {
|
|
174
|
+
async _init(t = !1, e) {
|
|
157
175
|
try {
|
|
158
176
|
this._credential = await a.checkSignInStatus(this._portalUrl + "/sharing");
|
|
159
|
-
} catch {
|
|
177
|
+
} catch (s) {
|
|
178
|
+
console.log(s);
|
|
160
179
|
}
|
|
161
180
|
try {
|
|
162
|
-
const
|
|
163
|
-
(typeof
|
|
164
|
-
} catch (
|
|
165
|
-
|
|
181
|
+
const s = await a.checkAppAccess(this._portalUrl + "/sharing", this._clientId);
|
|
182
|
+
(typeof s.valid < "u" && !s.valid || s.viewOnlyUserTypeApp) && window.location.replace(`error.html?error=blocked&locale=${this._locale}`), this._credential = s.credential;
|
|
183
|
+
} catch (s) {
|
|
184
|
+
s.name;
|
|
166
185
|
}
|
|
167
|
-
this._portal.authMode = "auto", await this._portal.load();
|
|
168
|
-
const
|
|
169
|
-
|
|
170
|
-
try {
|
|
171
|
-
const t = `${this._portal.restUrl}/portals/self/settings`, r = await n.request(t, {
|
|
172
|
-
authentication: this._credential ? this.RestUserSession : void 0
|
|
173
|
-
});
|
|
174
|
-
r?.portalConfigProperties?.searchArcGISOnlineEnabled !== void 0 ? this._searchArcGISOnlineEnabled = r.portalConfigProperties.searchArcGISOnlineEnabled : this._searchArcGISOnlineEnabled = !1;
|
|
175
|
-
} catch (t) {
|
|
176
|
-
console.warn("Failed to fetch portal settings:", t), this._searchArcGISOnlineEnabled = !1;
|
|
177
|
-
}
|
|
178
|
-
else
|
|
179
|
-
this._searchArcGISOnlineEnabled = !0;
|
|
180
|
-
return this._portalSubset = {
|
|
186
|
+
this._searchArcGISOnlineEnabled = await this._checkSearchArcGISOnlineEnabled(t, this._portal.restUrl), this._portal.authMode = t ? "immediate" : "auto", await this._portal.load();
|
|
187
|
+
const r = this._credential ? await o.getOrganizationSettings(this.RestUserSession) : {};
|
|
188
|
+
return this._isEnterprise = this._portal.isPortal, await this.checkArcGISOnlineReachability(e), this._portalSubset = {
|
|
181
189
|
name: this._portal.name ?? "",
|
|
182
190
|
id: this._portal.id ?? "",
|
|
183
191
|
restUrl: this._portal.restUrl ?? "",
|
|
@@ -189,7 +197,7 @@ class g {
|
|
|
189
197
|
hubPremiumEnabled: this._portal.portalProperties?.hub?.enabled || !1,
|
|
190
198
|
workflowURL: this._portal.helperServices?.workflowManager?.url ?? this._portal.url,
|
|
191
199
|
isReadOnly: this._portal.isReadOnly,
|
|
192
|
-
orgSettings:
|
|
200
|
+
orgSettings: r
|
|
193
201
|
}, this._portalUserSubset = {
|
|
194
202
|
fullName: this._portal.user?.fullName ?? "",
|
|
195
203
|
username: this._portal.user?.username ?? "",
|
|
@@ -199,19 +207,32 @@ class g {
|
|
|
199
207
|
privileges: this._portal.user.privileges,
|
|
200
208
|
role: this._portal.user?.role ?? "",
|
|
201
209
|
roleId: this._portal.user?.roleId ?? void 0
|
|
202
|
-
}, this._isEnterprise && this._portalSubset && (this._portalSubset.workflowURL = await
|
|
210
|
+
}, this._isEnterprise && this._portalSubset && (this._portalSubset.workflowURL = await o.getWorkflowEnterpriseServerRootURL(
|
|
203
211
|
this._portal.restUrl,
|
|
204
|
-
this.RestUserSession || new
|
|
212
|
+
this.RestUserSession || new o.UserSession({})
|
|
205
213
|
)), this._portal?.user?.roleId && this._portalUserSubset && (this._portalUserSubset.roleId = this._portal.user.roleId), this;
|
|
206
214
|
}
|
|
215
|
+
async _checkSearchArcGISOnlineEnabled(t, e) {
|
|
216
|
+
if (t)
|
|
217
|
+
try {
|
|
218
|
+
const r = `${e}/portals/self/settings`, s = await o.request(r, {
|
|
219
|
+
authentication: this._credential ? this.RestUserSession : void 0
|
|
220
|
+
});
|
|
221
|
+
return s?.portalConfigProperties?.searchArcGISOnlineEnabled !== void 0 ? s.portalConfigProperties.searchArcGISOnlineEnabled : !1;
|
|
222
|
+
} catch (r) {
|
|
223
|
+
return console.warn("Failed to fetch portal settings:", r), !1;
|
|
224
|
+
}
|
|
225
|
+
else
|
|
226
|
+
return !0;
|
|
227
|
+
}
|
|
207
228
|
/**
|
|
208
229
|
* Checks if an object is serializable.
|
|
209
230
|
* @param obj Object to check
|
|
210
231
|
* This function checks if the object has a `toJSON` method, which is a
|
|
211
232
|
* @returns Boolean indicating whether the object is serializable.
|
|
212
233
|
*/
|
|
213
|
-
_isSerializable(
|
|
214
|
-
return
|
|
234
|
+
_isSerializable(t) {
|
|
235
|
+
return t && typeof t == "object" && "toJSON" in t && typeof t.toJSON == "function";
|
|
215
236
|
}
|
|
216
237
|
/**
|
|
217
238
|
* Converts a hashmap of query parameters to a query string. Following formatting rules applies:
|
|
@@ -246,16 +267,16 @@ class g {
|
|
|
246
267
|
*
|
|
247
268
|
* Copied from function exported in arcgis-js-api but not added to JSAPI.
|
|
248
269
|
*/
|
|
249
|
-
_objectToQuery(
|
|
250
|
-
return
|
|
251
|
-
const s =
|
|
270
|
+
_objectToQuery(t, e) {
|
|
271
|
+
return t ? e && typeof e == "function" ? Object.keys(t).map((r) => encodeURIComponent(r) + "=" + encodeURIComponent(e(r, t[r]))).join("&") : Object.keys(t).map((r) => {
|
|
272
|
+
const s = t[r];
|
|
252
273
|
if (s == null)
|
|
253
274
|
return "";
|
|
254
|
-
const i = encodeURIComponent(r) + "=",
|
|
255
|
-
return
|
|
275
|
+
const i = encodeURIComponent(r) + "=", n = e && e[r];
|
|
276
|
+
return n ? i + encodeURIComponent(n(s)) : Array.isArray(s) ? s.map((l) => this._isSerializable(l) ? i + encodeURIComponent(JSON.stringify(l)) : i + encodeURIComponent(l)).join("&") : this._isSerializable(s) ? i + encodeURIComponent(JSON.stringify(s)) : i + encodeURIComponent(s);
|
|
256
277
|
}).filter((r) => r).join("&") : "";
|
|
257
278
|
}
|
|
258
279
|
}
|
|
259
280
|
export {
|
|
260
|
-
|
|
281
|
+
S as A
|
|
261
282
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { s as
|
|
2
|
+
import { s as U, d as D, e as g, b as I } from "./cardsHelpers.js";
|
|
3
3
|
import * as l from "@esri/solution-common";
|
|
4
|
-
import {
|
|
5
|
-
class
|
|
4
|
+
import { x as M, z as B, M as N, N as E, O as T, Q as y, B as J } from "./helpers.js";
|
|
5
|
+
class _ {
|
|
6
6
|
/**
|
|
7
7
|
* Constructor
|
|
8
8
|
*
|
|
@@ -16,7 +16,7 @@ class x {
|
|
|
16
16
|
categoriesAsStr: "[]",
|
|
17
17
|
sortField: "title",
|
|
18
18
|
sortOrder: "asc"
|
|
19
|
-
}, this.locale = r, this.orgUrl = t, this.portalUrl = s, this.anonAgolSession = new l.UserSession({}), this.agolPortalUrl =
|
|
19
|
+
}, this.locale = r, this.orgUrl = t, this.portalUrl = s, this.anonAgolSession = new l.UserSession({}), this.agolPortalUrl = M(s);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Adds a card to the cache to keep cache fresh between full refreshes.
|
|
@@ -63,7 +63,7 @@ class x {
|
|
|
63
63
|
categoriesAsStr: F,
|
|
64
64
|
sortField: r.sortField,
|
|
65
65
|
sortOrder: r.sortOrder
|
|
66
|
-
}) : (this.cardCacheParams.sortField !== r.sortField || this.cardCacheParams.sortOrder !== r.sortOrder) && (this.cardCacheParams.sortField = r.sortField, this.cardCacheParams.sortOrder = r.sortOrder, this.cardCache =
|
|
66
|
+
}) : (this.cardCacheParams.sortField !== r.sortField || this.cardCacheParams.sortOrder !== r.sortOrder) && (this.cardCacheParams.sortField = r.sortField, this.cardCacheParams.sortOrder = r.sortOrder, this.cardCache = U(
|
|
67
67
|
this.cardCache,
|
|
68
68
|
this.cardCacheParams.sortField,
|
|
69
69
|
this.cardCacheParams.sortOrder
|
|
@@ -123,18 +123,18 @@ class x {
|
|
|
123
123
|
// : "enterpriseCannotAccessAGO"
|
|
124
124
|
// ) as string
|
|
125
125
|
);
|
|
126
|
-
}), d.length === 0 ? this.cardCache = [] : d.length === 1 ? this.cardCache = this.getCardsFromResponse(d[0]) : this.cardCache =
|
|
126
|
+
}), d.length === 0 ? this.cardCache = [] : d.length === 1 ? this.cardCache = this.getCardsFromResponse(d[0]) : this.cardCache = U(
|
|
127
127
|
this.getCardsFromResponse(this.mergeResponses(d)),
|
|
128
128
|
this.cardCacheParams.sortField,
|
|
129
129
|
this.cardCacheParams.sortOrder
|
|
130
130
|
);
|
|
131
|
-
let
|
|
131
|
+
let O;
|
|
132
132
|
if (o && o.size > 0) {
|
|
133
133
|
const m = D(this.cardCache, o);
|
|
134
|
-
|
|
134
|
+
O = g(m, C, f);
|
|
135
135
|
} else
|
|
136
|
-
|
|
137
|
-
return Promise.resolve(
|
|
136
|
+
O = g(this.cardCache, C, f);
|
|
137
|
+
return Promise.resolve(O);
|
|
138
138
|
}).catch((n) => Promise.reject(new Error(n.message)));
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
@@ -154,7 +154,7 @@ class x {
|
|
|
154
154
|
categoriesAsStr: "[]",
|
|
155
155
|
sortField: r.sortField,
|
|
156
156
|
sortOrder: r.sortOrder
|
|
157
|
-
}) : (this.cardCacheParams.sortField !== r.sortField || this.cardCacheParams.sortOrder !== r.sortOrder) && (this.cardCacheParams.sortField = r.sortField, this.cardCacheParams.sortOrder = r.sortOrder, this.cardCache =
|
|
157
|
+
}) : (this.cardCacheParams.sortField !== r.sortField || this.cardCacheParams.sortOrder !== r.sortOrder) && (this.cardCacheParams.sortField = r.sortField, this.cardCacheParams.sortOrder = r.sortOrder, this.cardCache = U(
|
|
158
158
|
this.cardCache,
|
|
159
159
|
this.cardCacheParams.sortField,
|
|
160
160
|
this.cardCacheParams.sortOrder
|
|
@@ -216,9 +216,9 @@ class x {
|
|
|
216
216
|
snippet: e.snippet || "",
|
|
217
217
|
description: e.description || "",
|
|
218
218
|
url: e.url || "",
|
|
219
|
-
itemUrl: `${c}/home/item.html` +
|
|
219
|
+
itemUrl: `${c}/home/item.html` + y([{ k: "id", v: e.id }]) || "",
|
|
220
220
|
thumbnailFilename: e.thumbnail,
|
|
221
|
-
thumbnailUrl:
|
|
221
|
+
thumbnailUrl: T(
|
|
222
222
|
e.id,
|
|
223
223
|
e.thumbnail,
|
|
224
224
|
this.cMissingImageDataURI,
|
|
@@ -233,7 +233,7 @@ class x {
|
|
|
233
233
|
numViews: e.numViews,
|
|
234
234
|
tags: e.tags,
|
|
235
235
|
categories: e.groupCategories && e.groupCategories.length > 0 ? e.groupCategories : e.categories || [],
|
|
236
|
-
licenseInfo:
|
|
236
|
+
licenseInfo: N(e.licenseInfo),
|
|
237
237
|
deployCommonId: B(e.typeKeywords || [], "solutionid-"),
|
|
238
238
|
deployVersion: B(e.typeKeywords || [], "solutionversion-"),
|
|
239
239
|
canDelete: e.created > 16183314e5,
|
|
@@ -282,7 +282,7 @@ class x {
|
|
|
282
282
|
) : [];
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
async function
|
|
285
|
+
async function j(h, r, t, s, e = J, i = "created", c = "desc", a = !1, o = [], C = [], f, p, u) {
|
|
286
286
|
if (!h?.IsSignedIn)
|
|
287
287
|
return;
|
|
288
288
|
const P = {
|
|
@@ -294,7 +294,7 @@ async function z(h, r, t, s, e = J, i = "created", c = "desc", a = !1, o = [], C
|
|
|
294
294
|
categories: o,
|
|
295
295
|
num: 100
|
|
296
296
|
};
|
|
297
|
-
return P.q += k(h, p), await
|
|
297
|
+
return P.q += k(h, p), await x(
|
|
298
298
|
r,
|
|
299
299
|
P,
|
|
300
300
|
s,
|
|
@@ -308,7 +308,7 @@ function k(h, r) {
|
|
|
308
308
|
const s = h.PortalUserOrg, e = h.PortalUserName;
|
|
309
309
|
return s && (t += " orgid:" + s), r !== "My organization's solutions" && e && (t += " owner:" + e), t;
|
|
310
310
|
}
|
|
311
|
-
async function
|
|
311
|
+
async function x(h, r, t, s, e = "", i) {
|
|
312
312
|
const c = await t.requestDeployedSolutionCards(r, h, e, i), a = I(c.cards, s);
|
|
313
313
|
return {
|
|
314
314
|
cards: c.cards,
|
|
@@ -316,6 +316,6 @@ async function K(h, r, t, s, e = "", i) {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
export {
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
_ as C,
|
|
320
|
+
j as g
|
|
321
321
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import "@esri/solution-common";
|
|
3
|
-
import {
|
|
4
|
-
function
|
|
3
|
+
import { z as a } from "./helpers.js";
|
|
4
|
+
function p(o, t) {
|
|
5
5
|
const n = [];
|
|
6
6
|
return o.forEach((e) => {
|
|
7
7
|
t.has(e.id) && n.push(e);
|
|
8
8
|
}), n;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function y(o, t, n) {
|
|
11
11
|
if (t < 1 || o.length < t)
|
|
12
12
|
return {
|
|
13
13
|
cards: [],
|
|
@@ -99,8 +99,8 @@ export {
|
|
|
99
99
|
b as a,
|
|
100
100
|
g as b,
|
|
101
101
|
u as c,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
p as d,
|
|
103
|
+
y as e,
|
|
104
104
|
I as f,
|
|
105
105
|
m as g,
|
|
106
106
|
h,
|