@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
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as I } from "../../chunks/runtime.js";
|
|
3
3
|
import { u as S } from "../../chunks/useT9n.js";
|
|
4
|
-
import { createRef as
|
|
5
|
-
import { LitElement as C, createEvent as
|
|
4
|
+
import { createRef as h, ref as p } from "lit-html/directives/ref.js";
|
|
5
|
+
import { LitElement as C, createEvent as v, safeClassMap as u, nothing as y, safeStyleMap as D } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as w } from "@arcgis/lumina/context";
|
|
7
|
-
import {
|
|
8
|
-
import { css as
|
|
9
|
-
import { request as
|
|
7
|
+
import { c as E, i as L } from "../../chunks/deployAppContexts.js";
|
|
8
|
+
import { css as R, html as l } from "lit";
|
|
9
|
+
import { request as T, getWorkflowBaseURL as P, getWorkflowManagerAuthorized as A, sanitizeHTML as _, getItemDataAsJson as O, getItem as U, getPropWithDefault as $, getProp as f, setCreateProp as F } from "@esri/solution-common";
|
|
10
|
+
import { E as m, R as N, g as x, T as g, U as b, V as H, J as M, H as V, W as z, X as B, F as Y } from "../../chunks/helpers.js";
|
|
10
11
|
import { _findExistingItem as G } from "@esri/solution-deployer";
|
|
11
12
|
import "../../chunks/solution-deploy-dialog.js";
|
|
12
13
|
import "../solution-snapshot-gallery/customElement.js";
|
|
13
14
|
import "../solution-deploying-dialog/customElement.js";
|
|
14
|
-
const W =
|
|
15
|
+
const W = R`.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.flex-1{flex:1}.cursor-default{cursor:default}solution-details-card[id*=you-may-also-like]{width:240px}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}ul ul{list-style-type:circle}li{margin:var(--calcite-spacing-sm) var(--calcite-spacing-none)}calcite-label{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.padding-1{padding:var(--calcite-spacing-lg)}.padding-1-5{padding:var(--calcite-spacing-xl)}.padding-2px{padding:var(--calcite-spacing-base)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.padding-bottom-sm{padding-bottom:var(--calcite-spacing-sm)}.padding-top-md{padding-top:var(--calcite-spacing-md)}.padding-top-sm{padding-top:var(--calcite-spacing-sm)}.padding-top-xs{padding-top:.25rem}.padding-bottom-1-5{padding-bottom:var(--calcite-spacing-xxl)}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-top-1-5{padding-top:var(--calcite-spacing-xxl)}.padding-top-1-2{padding-top:var(--calcite-spacing-sm)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-1-75{padding-inline-end:1.75rem}.padding-end-2{padding-inline-end:var(--calcite-spacing-xxxl)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-bottom-1{margin-bottom:var(--calcite-spacing-lg)}.margin-bottom-1-5{margin-bottom:var(--calcite-spacing-xxl)}.margin-end-1{margin-inline-end:var(--calcite-spacing-lg)}.margin-top-0{margin-top:var(--calcite-spacing-none)}.margin-top-1{margin-top:var(--calcite-spacing-lg)}.margin-top-875{margin-top:.875rem}.margin-top-1-5{margin-top:var(--calcite-spacing-xxl)}.margin-sides-0-5{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm)}.margin-sides-1{margin-left:var(--calcite-spacing-lg);margin-right:var(--calcite-spacing-lg)}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.align-items-baseline{align-items:baseline}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:300px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:0;flex-shrink:1}}.width-full{width:100%}@media(max-width:768px){.width-full{flex-direction:column}.width-full>.display-flex{flex-direction:column}.image-width{width:100%;padding-inline-end:0;margin-bottom:var(--calcite-spacing-lg)}.button-width{width:100%;margin-top:var(--calcite-spacing-lg)}}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-sm) var(--calcite-spacing-md)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}calcite-card{width:450px;--calcite-card-border-color: transparent}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}#screenshots-subsection calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}#screenshots-subsection calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}calcite-card.is-mobile:hover img{cursor:default;-webkit-filter:brightness(100%);filter:brightness(100%);transition:all .1s ease}calcite-card{border:var(--calcite-spacing-base) solid transparent;box-sizing:border-box;padding:var(--calcite-spacing-base)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}#screenshots-subsection .card-image{background-color:var(--calcite-color-surface-2)}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-surface-3)}.back-color-override-1{background-color:var(--calcite-color-surface-2)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.line-height-1{line-height:1.1}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}.font-color-2{color:var(--calcite-color-text-2)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-surface-2)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-2);margin:0}.table-cell p{margin:0}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}.position-relative{position:relative}.background-color-2{background-color:var(--calcite-color-surface-3)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.border-none{border:none}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}calcite-shell{block-size:unset}.solution-detail-action{--calcite-color-focus: initial}a{color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:hover{background-size:100% 1px,100% 1px}a:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:active{color:var(--calcite-color-brand-press)}*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}`;
|
|
15
16
|
async function K(n, e, t) {
|
|
16
17
|
let i = t;
|
|
17
18
|
return n && (n?.IsEnterprisePortal && await X(
|
|
18
19
|
"",
|
|
19
20
|
// the portal url
|
|
20
21
|
e
|
|
21
|
-
) && i.push(m.NOTEBOOK), await
|
|
22
|
+
) && i.push(m.NOTEBOOK), await N(e) ? t.push(m.VELOCITY) : n?.PortalUserPrivileges && [
|
|
22
23
|
x.VELOCITYFEEDS,
|
|
23
24
|
x.VELOCITYBIGDATA,
|
|
24
25
|
x.VELOCITYREALTIME
|
|
25
|
-
].forEach((
|
|
26
|
-
const
|
|
27
|
-
|
|
26
|
+
].forEach((o) => {
|
|
27
|
+
const c = t.indexOf(o) || -1;
|
|
28
|
+
c !== -1 && t.splice(c, 1);
|
|
28
29
|
}), i = i.concat(
|
|
29
30
|
q(
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
Q(n),
|
|
32
|
+
Z(n)
|
|
32
33
|
)
|
|
33
34
|
), i = i.concat(j(n)), i = i.concat(await J(n))), Promise.resolve(i);
|
|
34
35
|
}
|
|
@@ -46,11 +47,11 @@ function j(n) {
|
|
|
46
47
|
) ? [m.HUBPREMIUM] : [];
|
|
47
48
|
}
|
|
48
49
|
async function J(n) {
|
|
49
|
-
const e =
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
) ? [m.WORKFLOW] : [];
|
|
50
|
+
const e = n?.RestUserSession;
|
|
51
|
+
if (!e?.username)
|
|
52
|
+
return [];
|
|
53
|
+
const t = await P(e);
|
|
54
|
+
return await A(t, e) ? [m.WORKFLOW] : [];
|
|
54
55
|
}
|
|
55
56
|
async function X(n, e) {
|
|
56
57
|
const t = n + "/sharing/rest", i = {
|
|
@@ -60,9 +61,9 @@ async function X(n, e) {
|
|
|
60
61
|
f: "json"
|
|
61
62
|
}
|
|
62
63
|
};
|
|
63
|
-
return
|
|
64
|
+
return T(`${t}/portals/self/servers`, i).then((s) => s?.servers?.find((a) => a.serverFunction.indexOf("NotebookServer") > -1), (s) => (console.error(s), !1));
|
|
64
65
|
}
|
|
65
|
-
function
|
|
66
|
+
function Q(n) {
|
|
66
67
|
const e = n?.PortalUserSubset?.privileges, t = [
|
|
67
68
|
"portal:admin:create",
|
|
68
69
|
"portal:admin:delete",
|
|
@@ -73,7 +74,7 @@ function Z(n) {
|
|
|
73
74
|
(i) => e.some((s) => s.startsWith(i))
|
|
74
75
|
) : !1;
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function Z(n) {
|
|
77
78
|
return n?.PortalSubset?.locationTrackingEnabled || !1;
|
|
78
79
|
}
|
|
79
80
|
function ee(n) {
|
|
@@ -81,14 +82,14 @@ function ee(n) {
|
|
|
81
82
|
}
|
|
82
83
|
class te extends C {
|
|
83
84
|
constructor() {
|
|
84
|
-
super(), this._isDeployDisabled = !1, this._isLoaded = !1, this._showScreenshotsShowMore = !1, this._showYouMayAlsoLikeShowMore = !1, this.isMobile = !1, this._isScreenshotsRowExpanded = !1, this._isYouMayAlsoLikeRowExpanded = !1, this._screenshotsRowBaseHeight = 340, this._showLoader = !1, this._templates = [], this._translations = S({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
|
|
85
|
-
context:
|
|
85
|
+
super(), this._isDeployDisabled = !1, this._isLoaded = !1, this._itemFetched = !1, this._showScreenshotsShowMore = !1, this._showYouMayAlsoLikeShowMore = !1, this.isMobile = !1, this._isScreenshotsRowExpanded = !1, this._isYouMayAlsoLikeRowExpanded = !1, this._screenshotsRowBaseHeight = 340, this._showLoader = !1, this._templates = [], this._translations = S({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
|
|
86
|
+
context: E,
|
|
86
87
|
subscribe: !0
|
|
87
|
-
}), this._configureLearnMore = "", this._customDeploymentMappings = {}, this._deployDialogRef =
|
|
88
|
-
context:
|
|
88
|
+
}), this._configureLearnMore = "", this._customDeploymentMappings = {}, this._deployDialogRef = h(), this._deployingDialogRef = h(), this._isMobileContextConsumer = w({
|
|
89
|
+
context: L,
|
|
89
90
|
subscribe: !0,
|
|
90
91
|
callback: (e) => this.isMobile = e
|
|
91
|
-
}), this._overviewAccordionItemElement =
|
|
92
|
+
}), this._overviewAccordionItemElement = h(), this._privilegePopoverRef = h(), this._privileges = [], this._regexFsUrl = "https?:\\/\\/.+FeatureServer\\b", this._regexID = "\\b[0-9A-F]{32}\\b", this._releaseNotesAccordionItemElement = h(), this._relatedResourcesAccordionItemElement = h(), this._screenshotsAccordionItemElement = h(), this._screenshotsDialogRef = h(), this._screenshotsElement = h(), this._termsOfUseAccordionItemElement = h(), this._userOptions = [], this._youMayAlsoLikeAccordionItemElement = h(), this._youMayAlsoLikeElement = h(), this._signInParamValue = null, this._deploymentStartTime = null, this._cancellationStartTime = null, this._deployToCancelDuration = 0, this.templatesFetched = v(), this.itemPropertiesFetched = v(), this.sortTypeChanged = v(), this.tokenRefreshed = v(), this._handleDeployCancelled = () => {
|
|
92
93
|
this._telemetry?.logEvent({
|
|
93
94
|
category: g.SOLUTION_DETAILS,
|
|
94
95
|
action: "Deploy Dialog Canceled",
|
|
@@ -127,7 +128,7 @@ class te extends C {
|
|
|
127
128
|
}
|
|
128
129
|
const t = b(this._deploymentStartTime);
|
|
129
130
|
this._deploymentStartTime = null;
|
|
130
|
-
const i =
|
|
131
|
+
const i = H(e.detail?.error), s = i.length > 200 ? i.slice(-200) : i;
|
|
131
132
|
console.error("Deployment failed:", e.detail?.error), this._telemetry?.logEvent({
|
|
132
133
|
category: g.SOLUTION_DETAILS,
|
|
133
134
|
action: "Deploy Failure",
|
|
@@ -142,7 +143,7 @@ class te extends C {
|
|
|
142
143
|
}, this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "allCardsFetched", this._allCardsFetched), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected), this.listenOn(window, "deployedCardReady", this._handleDeployedCardReady), this.listenOn(window, "deploymentCompletedWithoutNav", this._handleDeploymentFallback);
|
|
143
144
|
}
|
|
144
145
|
static {
|
|
145
|
-
this.properties = { card: 0, _isDeployDisabled: 16, _isLoaded: 16, _showScreenshotsShowMore: 16, _showYouMayAlsoLikeShowMore: 16, isMobile: 16, _isScreenshotsRowExpanded: 16, _isYouMayAlsoLikeRowExpanded: 16, _itemProperties: 16, _missingPrivilegeMessages: 16, _screenshotsRowBaseHeight: 16, _showLoader: 16, _templates: 16, _translations: 16, _youMayAlsoLikeBaseHeight: 16 };
|
|
146
|
+
this.properties = { card: 0, _isDeployDisabled: 16, _isLoaded: 16, _itemFetched: 16, _showScreenshotsShowMore: 16, _showYouMayAlsoLikeShowMore: 16, isMobile: 16, _isScreenshotsRowExpanded: 16, _isYouMayAlsoLikeRowExpanded: 16, _itemProperties: 16, _missingPrivilegeMessages: 16, _screenshotsRowBaseHeight: 16, _showLoader: 16, _templates: 16, _translations: 16, _youMayAlsoLikeBaseHeight: 16 };
|
|
146
147
|
}
|
|
147
148
|
static {
|
|
148
149
|
this.styles = W;
|
|
@@ -157,7 +158,7 @@ class te extends C {
|
|
|
157
158
|
this._isMobileContextConsumer.value && (this.isMobile = this._isMobileContextConsumer.value);
|
|
158
159
|
}
|
|
159
160
|
willUpdate(e) {
|
|
160
|
-
e.has("card") && (this._isDeployDisabled = !1, this._isLoaded = !1, this._showLoader = !1, this._signInParamValue === "deploy" && (this._showLoader = !0));
|
|
161
|
+
e.has("card") && (this._isDeployDisabled = !1, this._isLoaded = !1, this._showLoader = !1, this._signInParamValue === "deploy" && (this._showLoader = !0, this._signInParamValue = null));
|
|
161
162
|
}
|
|
162
163
|
loaded() {
|
|
163
164
|
this._signInParamValue === null && this._configContextConsumer.value?.authentication?.SignInParam && (this._signInParamValue = this._configContextConsumer.value.authentication.SignInParam), this._resizeObserver = new ResizeObserver(async () => {
|
|
@@ -169,17 +170,17 @@ class te extends C {
|
|
|
169
170
|
}
|
|
170
171
|
render() {
|
|
171
172
|
const e = "padding-bottom-1-5", t = this._getRelatedResources(), i = this._getYouMayAlsoLikeCards();
|
|
172
|
-
return
|
|
173
|
+
return l`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="margin-top-875 padding-1-5 back-color-override-1 margin-bottom-1-5" id=solution-details-row>${this._getSolutionRow()}</div><div class=${u(e)}>${this._getScreenshotsRow()}</div><div class=${u(e)}>${this._getOverviewRow()}</div><div class=${u(e)}>${this._getReleaseNotesRow()}</div>${t.length > 0 ? l`<div class=${u(e)}>${this._getRelatedResourcesRow(t)}</div>` : ""}${i.length > 0 ? l`<div class=${u(e)}>${this._getYouMayAlsoLikeRow(i)}</div>` : ""}<div class=${u(e)}>${this._getTermsOfUseRow()}</div>${this.isMobile ? "" : l`<solution-deploy-dialog .card=${this.card} @deployCancelled=${this._handleDeployCancelled} @deployFailed=${this._handleDeployFailed} @deployProgressEnd=${this._handleDeploySuccess} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${p(this._deployDialogRef)}></solution-deploy-dialog>`}<solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${p(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} @deploymentProcessCancelled=${this._handleDeploymentProcessCancelled} ${p(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel></calcite-shell>`;
|
|
173
174
|
}
|
|
174
175
|
updated() {
|
|
175
176
|
setTimeout(() => {
|
|
176
177
|
const e = this._getYouMayAlsoLikeCards();
|
|
177
178
|
let t = 340;
|
|
178
179
|
for (let i = 0; i < e.length; i++) {
|
|
179
|
-
const s = this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),
|
|
180
|
-
|
|
180
|
+
const s = this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`), a = s?.offsetHeight ? s.offsetHeight + 40 : 0;
|
|
181
|
+
a > t && (t = a);
|
|
181
182
|
}
|
|
182
|
-
this._youMayAlsoLikeBaseHeight = t, this._showYouMayAlsoLikeShowMore = (this._youMayAlsoLikeElement.value?.scrollHeight || 0) > this._youMayAlsoLikeBaseHeight;
|
|
183
|
+
this._youMayAlsoLikeBaseHeight = t, this._showYouMayAlsoLikeShowMore = (this._youMayAlsoLikeElement.value?.scrollHeight || 0) > this._youMayAlsoLikeBaseHeight, this._showScreenshotsShowMore = (this._screenshotsElement.value?.scrollHeight || 0) > this._screenshotsRowBaseHeight + 2;
|
|
183
184
|
}, 100);
|
|
184
185
|
}
|
|
185
186
|
_checkUrlParametersForAutoDeployment() {
|
|
@@ -189,41 +190,41 @@ class te extends C {
|
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
192
|
_getSolutionRow() {
|
|
192
|
-
const e = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400"), t = this._missingPrivilegeMessages?.leadingMessages || [], i = t.length > 0, s = this._missingPrivilegeMessages?.bulletedMessages || [],
|
|
193
|
-
return
|
|
193
|
+
const e = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400"), t = this._missingPrivilegeMessages?.leadingMessages || [], i = t.length > 0, s = this._missingPrivilegeMessages?.bulletedMessages || [], a = s.length > 0, o = this._missingPrivilegeMessages?.trailingMessages || [], c = o.length > 0;
|
|
194
|
+
return l`<div class="display-flex flex-direction-row width-full"><div class="padding-end-1-75 image-width"><img alt=${this.card?.title ?? y} src=${e ?? y}></div><div class="display-flex flex-direction-row flex-1">${this._getTextSection(i, a, c, t, s, o)}${this._getButtons()}</div></div>`;
|
|
194
195
|
}
|
|
195
|
-
_getTextSection(e, t, i, s,
|
|
196
|
-
return
|
|
196
|
+
_getTextSection(e, t, i, s, a, o) {
|
|
197
|
+
return l`<div class="display-flex flex-direction-column padding-end-1 flex-1"><div class="display-flex flex-direction-row align-items-baseline"><h1 class="padding-top-xs title-font margin-top-0 margin-bottom-1-5 line-height-1" tabindex=0>${this.card?.title}</h1>${this.card?.categories?.some((c) => c.includes("New Release")) && l`<calcite-chip class="margin-bottom-1-5 margin-sides-1" kind=brand .label=${this._translations.newChip} scale=m icon=star>${this._translations.newChip}</calcite-chip>` || ""}</div><div class="font-1 padding-end-1 line-height-xxl" tabindex=0>${this.card?.snippet}</div>${this.isMobile ? "" : e || t || i ? l`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(s, a, o)}</div>` : ""}</div>`;
|
|
197
198
|
}
|
|
198
199
|
_getButtons() {
|
|
199
200
|
const e = this._itemProperties?.demoURL || "";
|
|
200
|
-
return
|
|
201
|
+
return l`<div class="display-flex flex-direction-column button-width">${!this.isMobile && l`<calcite-button class="padding-bottom-1 solution-detail-action" .disabled=${this._isDeployDisabled} icon-flip-rtl=end @click=${() => this._checkPermissionsBeforeDeploy()} scale=m>${this._showLoader ? l`<calcite-loader inline label></calcite-loader>` : this._translations.deployButton}</calcite-button>` || ""}${!this._configContextConsumer.value?.isEnterprise && e && l`<calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1 solution-detail-action" @click=${() => this._handleWatchDemoClick(e)} scale=m>${this._translations.watchDemo}</calcite-button>` || ""}<calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1 solution-detail-action" @click=${() => this._handleLearnMoreClick()} scale=m>${this._translations.openHelp}</calcite-button>${!this._configContextConsumer.value?.isEnterprise && l`<solution-social-share button-appearance=outline-fill class="padding-bottom-1" share-button-kind=neutral .shareButtonText=${this._translations.share} share-button-scale=m .solutionId=${this.card?.deployCommonId || ""} .solutionTitle=${this.card?.title || ""} .solutionVersion=${this.card?.deployVersion || ""}></solution-social-share>` || ""}</div>`;
|
|
201
202
|
}
|
|
202
203
|
_getMissingPrivilegesNotice(e, t, i) {
|
|
203
|
-
const s = "solutions-missing-privileges-notice",
|
|
204
|
-
return
|
|
205
|
-
this._getSpanMessages(e, "padding-bottom-1")}<span class=${`padding-bottom-1-2 ${
|
|
204
|
+
const s = "solutions-missing-privileges-notice", a = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, o = t.length > 0 ? "" : "display-none", c = t.length > 0 ? "padding-top-sm" : "";
|
|
205
|
+
return l`<div><calcite-notice class="margin-inline-unset" kind=info open><div slot=message>${`${a}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${a}></calcite-action></calcite-notice><calcite-popover closable label overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${p(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column">${// Leading messages
|
|
206
|
+
this._getSpanMessages(e, "padding-bottom-1")}<span class=${`padding-bottom-1-2 ${o}`}>${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${// Bulleted messages
|
|
206
207
|
this._getBulletedMessages(t)}${// Trailing messages
|
|
207
|
-
this._getSpanMessages(i,
|
|
208
|
+
this._getSpanMessages(i, c)}</div></calcite-popover></div>`;
|
|
208
209
|
}
|
|
209
210
|
_getSpanMessages(e, t) {
|
|
210
|
-
return e.length > 0 ? e.map((i) =>
|
|
211
|
+
return e.length > 0 ? e.map((i) => l`<span class=${u(t)}>${i}</span>`) : "";
|
|
211
212
|
}
|
|
212
213
|
_getBulletedMessages(e) {
|
|
213
|
-
return e.length > 0 ?
|
|
214
|
+
return e.length > 0 ? l`<ul>${e.map((t) => l`<li>${t}</li>`)}</ul>` : "";
|
|
214
215
|
}
|
|
215
216
|
_getScreenshotsRow() {
|
|
216
217
|
const e = this._isScreenshotsRowExpanded ? this._translations.showLess : this._translations.showMore, t = this._isScreenshotsRowExpanded ? "arrow-up" : "arrow-down", i = this._showScreenshotsShowMore ? "" : "display-none";
|
|
217
|
-
return
|
|
218
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${p(this._screenshotsAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.solutionOverview}</div><calcite-panel><div class="display-flex flex-direction-column back-color-override-1"><div class="collapsible-div max-height-300" id=screenshots-subsection ${p(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${i}`} .icon=${t} kind=neutral @click=${() => {
|
|
218
219
|
this._screenshotsElement.value?.classList.toggle("expanded"), this._isScreenshotsRowExpanded = this._screenshotsElement.value.classList.contains("expanded");
|
|
219
220
|
}} .text=${e} text-enabled></calcite-fab></div></calcite-panel></calcite-accordion-item></calcite-accordion>`;
|
|
220
221
|
}
|
|
221
222
|
_getScreenshots() {
|
|
222
|
-
const e = this._itemProperties?.preview.filter((
|
|
223
|
-
return
|
|
224
|
-
const
|
|
225
|
-
let
|
|
226
|
-
return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (
|
|
223
|
+
const e = this._itemProperties?.preview.filter((a) => a.format === "image") || [], t = this._configContextConsumer.value, i = this._itemFetched ? "" : "display-none", s = this._itemFetched ? "display-none" : "";
|
|
224
|
+
return l`<calcite-loader class=${u(s)} label></calcite-loader><calcite-card-group class=${`card-group ${i}`} .label=${this._translations.solutionOverview}>${e.reduce((a, o) => {
|
|
225
|
+
const c = M(this.card?.id || "", o.name, t.authentication);
|
|
226
|
+
let d;
|
|
227
|
+
return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (d = M(this.card?.id || "", o.name, void 0, t.agolPortalUrl)), this.card?.id ? a.push(l`<calcite-card class=${`${this.isMobile ? "is-mobile" : "cursor-pointer not-mobile"}`} .label=${o.alt} @click=${() => this._openScreenshotGallery(o)} @keydown=${(r) => V(r, () => this._openScreenshotGallery(o))}><div class="card-image-wrap" slot=thumbnail><img alt=${o.alt ?? y} class="thumbnail card-image" slot=thumbnail src=${(d || c) ?? y}>${!this.isMobile && l`<div class="hover-text">${this._translations.openInGallery}</div>` || ""}</div></calcite-card>`) : a.push(""), a;
|
|
227
228
|
}, [])}</calcite-card-group>`;
|
|
228
229
|
}
|
|
229
230
|
_openScreenshotGallery(e) {
|
|
@@ -242,40 +243,40 @@ class te extends C {
|
|
|
242
243
|
}
|
|
243
244
|
}
|
|
244
245
|
_getOverviewRow() {
|
|
245
|
-
return
|
|
246
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${p(this._overviewAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.solutionDetails}</div>${this._getDescriptionRow()}${this._getInformationProductsRow()}</calcite-accordion-item></calcite-accordion>`;
|
|
246
247
|
}
|
|
247
248
|
_getDescriptionRow() {
|
|
248
|
-
return
|
|
249
|
+
return l`<div class="display-flex flex-direction-column"><div class="font-color-2 font-1 margin-top-0 line-height-xxl padding-bottom-xxl" tabindex=0>${this.card?.snippet}</div><div class="font-color-2 font-1 margin-top-0 line-height-xxl padding-bottom-xxl" .innerHTML=${this.card?.description ?? ""} tabindex=0></div></div>`;
|
|
249
250
|
}
|
|
250
251
|
_getInformationProductsRow() {
|
|
251
|
-
return
|
|
252
|
+
return l`<div class="display-flex flex-direction-column font-1 line-height-xxl font-color-2"><span tabindex=0>${this.card?.title ? this._translations.informationProductsSubText.replace("{{solutionTitle}}", this.card.title) : ""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p tabindex=0>${this._translations.informationProductsFooterText}</p></div>`;
|
|
252
253
|
}
|
|
253
254
|
_getInformationTableHeaderRow() {
|
|
254
|
-
return
|
|
255
|
+
return l`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.solutionItem}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`;
|
|
255
256
|
}
|
|
256
257
|
_getInformationTableRows() {
|
|
257
|
-
return (this._itemProperties?.infoProducts || []).map((t) =>
|
|
258
|
+
return (this._itemProperties?.infoProducts || []).map((t) => l`<calcite-table-row><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.item) ?? ""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.description) ?? ""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.userType) ?? ""}></p></calcite-table-cell></calcite-table-row>`);
|
|
258
259
|
}
|
|
259
260
|
_getReleaseNotesRow() {
|
|
260
|
-
return
|
|
261
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${p(this._releaseNotesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.releaseNotes}</div><div class="display-flex flex-direction-column"><calcite-table bordered caption>${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div></calcite-accordion-item></calcite-accordion>`;
|
|
261
262
|
}
|
|
262
263
|
_getReleaseNotesTableHeaderRow() {
|
|
263
|
-
return
|
|
264
|
+
return l`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`;
|
|
264
265
|
}
|
|
265
266
|
_getReleaseNotesTableRows() {
|
|
266
|
-
return (this._itemProperties?.releaseNotes || [])?.map((t) =>
|
|
267
|
+
return (this._itemProperties?.releaseNotes || [])?.map((t) => l`<calcite-table-row><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.version) ?? ""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${_(t.description) ?? ""}></p></calcite-table-cell></calcite-table-row>`);
|
|
267
268
|
}
|
|
268
269
|
_getRelatedResourcesRow(e) {
|
|
269
|
-
return
|
|
270
|
-
|
|
270
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${p(this._relatedResourcesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.relatedResources}</div><div class="display-flex flex-direction-row">${e.map(() => {
|
|
271
|
+
l`<solution-resource-card></solution-resource-card>`;
|
|
271
272
|
})}</div></calcite-accordion-item></calcite-accordion>`;
|
|
272
273
|
}
|
|
273
274
|
_getRelatedResources() {
|
|
274
275
|
return [];
|
|
275
276
|
}
|
|
276
277
|
_getYouMayAlsoLikeRow(e) {
|
|
277
|
-
const t = this._showYouMayAlsoLikeShowMore ? "" : "display-none", i = this._isYouMayAlsoLikeRowExpanded ? this._translations.showLess : this._translations.showMore, s = this._isYouMayAlsoLikeRowExpanded ? "arrow-up" : "arrow-down",
|
|
278
|
-
return
|
|
278
|
+
const t = this._showYouMayAlsoLikeShowMore ? "" : "display-none", i = this._isYouMayAlsoLikeRowExpanded ? this._translations.showLess : this._translations.showMore, s = this._isYouMayAlsoLikeRowExpanded ? "arrow-up" : "arrow-down", a = this._isYouMayAlsoLikeRowExpanded ? "" : { height: `${this._youMayAlsoLikeBaseHeight}px` };
|
|
279
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${p(this._youMayAlsoLikeAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.youMayAlsoLike}</div><div class="display-flex flex-direction-column"><div class="collapsible-div" id=you-may-also-like-subsection style=${D(a)} ${p(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((o, c) => l`<solution-details-card .id=${`you-may-also-like-${c}`} .card=${o} class="padding-2px" source=you-may-also-like .referrerSolutionId=${this.card?.deployCommonId || ""} .referrerSolutionTitle=${this.card?.title || ""} .referrerSolutionVersion=${this.card?.deployVersion || ""}></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} .icon=${s} kind=inverse @click=${() => {
|
|
279
280
|
this._youMayAlsoLikeElement.value?.classList.toggle("expanded"), this._isYouMayAlsoLikeRowExpanded = this._youMayAlsoLikeElement.value.classList.contains("expanded");
|
|
280
281
|
}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`;
|
|
281
282
|
}
|
|
@@ -284,7 +285,7 @@ class te extends C {
|
|
|
284
285
|
return this._allCards.filter((t) => e.indexOf(t.deployCommonId) > -1);
|
|
285
286
|
}
|
|
286
287
|
_getTermsOfUseRow() {
|
|
287
|
-
return
|
|
288
|
+
return l`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${p(this._termsOfUseAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.termsOfUse}</div><div class="font-color-2" .innerHTML=${(this.card?.licenseInfo || "") ?? ""} tabindex=0></div></calcite-accordion-item></calcite-accordion>`;
|
|
288
289
|
}
|
|
289
290
|
_openDeploy() {
|
|
290
291
|
if (this._configContextConsumer.value.authentication.IsSignedIn) {
|
|
@@ -333,43 +334,44 @@ class te extends C {
|
|
|
333
334
|
this._overviewAccordionItemElement.value && (this._overviewAccordionItemElement.value.expanded = !0), this._releaseNotesAccordionItemElement.value && (this._releaseNotesAccordionItemElement.value.expanded = !0), this._relatedResourcesAccordionItemElement.value && (this._relatedResourcesAccordionItemElement.value.expanded = !0), this._screenshotsAccordionItemElement.value && (this._screenshotsAccordionItemElement.value.expanded = !0), this._termsOfUseAccordionItemElement.value && (this._termsOfUseAccordionItemElement.value.expanded = !0), this._youMayAlsoLikeAccordionItemElement.value && (this._youMayAlsoLikeAccordionItemElement.value.expanded = !0);
|
|
334
335
|
}
|
|
335
336
|
async _getItemData() {
|
|
336
|
-
|
|
337
|
-
this.
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
337
|
+
this._itemFetched = !1;
|
|
338
|
+
const e = this._configContextConsumer.value, t = e?.agoBasedEnterpriseSolutionsGroupId && e?.isEnterprise ? e.anonAgolSession : e?.userSession, i = await O(this.card.id, t), s = await U(this.card.id, t);
|
|
339
|
+
this._itemFetched = !0, this._itemProperties = s.properties, this.itemPropertiesFetched.emit(this._itemProperties);
|
|
340
|
+
const a = z(i, this.card.typeKeywords, e?.authentication);
|
|
341
|
+
this._privileges = t.username ? a : [], this._userPrivileges = e?.authentication && e?.userSession ? await K(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
|
|
342
|
+
const o = this._privileges.filter((d) => !this._userPrivileges.includes(d));
|
|
343
|
+
this._missingPrivilegeMessages = B(this._translations, o), this._isDeployDisabled = this._missingPrivilegeMessages && (this._missingPrivilegeMessages.leadingMessages.length > 0 || this._missingPrivilegeMessages.bulletedMessages.length > 0 || this._missingPrivilegeMessages.trailingMessages.length > 0);
|
|
344
|
+
const c = i.params ? await this.formatParams(i.params) : [];
|
|
345
|
+
this._userOptions = c, this._templates = i.templates, this.templatesFetched.emit(i.templates), this._checkUrlParametersForAutoDeployment(), this._isLoaded = !0, this._showLoader && (this._showLoader = !1, this._isDeployDisabled || this._openDeploy());
|
|
344
346
|
}
|
|
345
347
|
formatParams(e) {
|
|
346
|
-
const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [],
|
|
348
|
+
const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [], a = {
|
|
347
349
|
id: "",
|
|
348
350
|
props: [],
|
|
349
351
|
accordionDisplay: !1
|
|
350
352
|
};
|
|
351
353
|
if (s.length > 0) {
|
|
352
|
-
const
|
|
353
|
-
return s.forEach((
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
}), Promise.all(
|
|
357
|
-
const
|
|
358
|
-
return
|
|
359
|
-
if (
|
|
360
|
-
const k =
|
|
361
|
-
|
|
362
|
-
resultId:
|
|
363
|
-
response:
|
|
354
|
+
const o = [];
|
|
355
|
+
return s.forEach((c) => {
|
|
356
|
+
const d = e[c];
|
|
357
|
+
d.valueType && d.valueType.toLowerCase() === "itemid" && o.push(this._findExistingItem(c, "Feature Service", t.username || ""));
|
|
358
|
+
}), Promise.all(o).then((c) => {
|
|
359
|
+
const d = {};
|
|
360
|
+
return c.forEach((r) => {
|
|
361
|
+
if (r.query && r.results && r.results.length > 0) {
|
|
362
|
+
const k = r.query.split(" ")[0].replace("typekeywords:source-", "");
|
|
363
|
+
d[k] = {
|
|
364
|
+
resultId: r.results[0].id,
|
|
365
|
+
response: r.results[0]
|
|
364
366
|
};
|
|
365
367
|
}
|
|
366
|
-
}), s.forEach((
|
|
367
|
-
if (
|
|
368
|
-
this._configureLearnMore = e[
|
|
368
|
+
}), s.forEach((r) => {
|
|
369
|
+
if (r === "serviceLearnMore") {
|
|
370
|
+
this._configureLearnMore = e[r], alert(this._configureLearnMore), delete e[r];
|
|
369
371
|
return;
|
|
370
372
|
}
|
|
371
|
-
e[
|
|
372
|
-
}), i.push(
|
|
373
|
+
e[r].enterpriseIDMapping && (this._customDeploymentMappings[r] = e[r].enterpriseIDMapping), a.id = r, d[r] && (e[r].existingItemId = d[r].resultId, this.updateUserProp(e[r], d[r].response)), this.updateOption(e[r], a, r);
|
|
374
|
+
}), i.push(a), Promise.resolve(i);
|
|
373
375
|
}).catch(() => Promise.resolve([]));
|
|
374
376
|
} else
|
|
375
377
|
return Promise.resolve([]);
|
|
@@ -379,16 +381,16 @@ class te extends C {
|
|
|
379
381
|
return G(`typekeywords:source-${e} type:${t} owner:${i}`, s);
|
|
380
382
|
}
|
|
381
383
|
updateUserProp(e, t) {
|
|
382
|
-
const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"),
|
|
383
|
-
return e.responseValue =
|
|
384
|
+
const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"), a = $(t, i ? "url" : "type", "") || "", o = a !== "" && s.test(a);
|
|
385
|
+
return e.responseValue = o ? a : "", e.name = o && f(t, "name") || "", e.title = o && f(t, "title") || "", e.itemType = o ? f(t, "type") : e.itemType, e.validId = o, e.itemUrl = Y(t.id, this._configContextConsumer.value.authentication), o;
|
|
384
386
|
}
|
|
385
387
|
updateOption(e, t, i) {
|
|
386
|
-
const s = e.default || "",
|
|
388
|
+
const s = e.default || "", a = typeof s, o = s.toString();
|
|
387
389
|
this._setFeatureServiceProps(e);
|
|
388
|
-
const
|
|
390
|
+
const c = this.getValidation(e, o);
|
|
389
391
|
t.props.push({
|
|
390
392
|
id: i,
|
|
391
|
-
outType:
|
|
393
|
+
outType: a,
|
|
392
394
|
prop: i,
|
|
393
395
|
itemType: e.itemType || "",
|
|
394
396
|
responseValue: e.responseValue || "",
|
|
@@ -396,11 +398,11 @@ class te extends C {
|
|
|
396
398
|
choices: e.choices || [],
|
|
397
399
|
valueType: e.valueType.toLowerCase(),
|
|
398
400
|
attributes: e.attributes || {},
|
|
399
|
-
value: e.existingItemId && e.valueType.toLowerCase() === "itemid" ? e.existingItemId :
|
|
400
|
-
default:
|
|
401
|
-
srSearchText:
|
|
402
|
-
autoSelect:
|
|
403
|
-
...
|
|
401
|
+
value: e.existingItemId && e.valueType.toLowerCase() === "itemid" ? e.existingItemId : o,
|
|
402
|
+
default: o,
|
|
403
|
+
srSearchText: o,
|
|
404
|
+
autoSelect: o !== "",
|
|
405
|
+
...c,
|
|
404
406
|
loading: !1,
|
|
405
407
|
validId: !0,
|
|
406
408
|
tooltip: e.tooltip || "",
|
|
@@ -410,12 +412,12 @@ class te extends C {
|
|
|
410
412
|
});
|
|
411
413
|
}
|
|
412
414
|
_setFeatureServiceProps(e) {
|
|
413
|
-
e.valueType && e.valueType.toLowerCase() === "itemid" &&
|
|
415
|
+
e.valueType && e.valueType.toLowerCase() === "itemid" && F(e, "attributes.required", "true");
|
|
414
416
|
}
|
|
415
417
|
getValidation(e, t) {
|
|
416
|
-
let i = "", s =
|
|
417
|
-
return
|
|
418
|
-
valid:
|
|
418
|
+
let i = "", s = f(e, "validation.message") || "", a = !0;
|
|
419
|
+
return f(e, "attributes.required") === "true" && (i = $(e, "validation.expression", "\\S{1,}"), a = new RegExp(i).test(t)), e.valueType && e.valueType.toLowerCase() === "itemid" && (i = this._regexID, s = this._translations.configure.invalidID), {
|
|
420
|
+
valid: a,
|
|
419
421
|
validation: {
|
|
420
422
|
expression: i,
|
|
421
423
|
message: s
|
|
@@ -429,7 +431,7 @@ class te extends C {
|
|
|
429
431
|
this._showYouMayAlsoLikeShowMore = (this._youMayAlsoLikeElement.value?.scrollHeight || 0) > this._youMayAlsoLikeBaseHeight, this._showScreenshotsShowMore = (this._screenshotsElement.value?.scrollHeight || 0) > this._screenshotsRowBaseHeight + 2;
|
|
430
432
|
}
|
|
431
433
|
_cleanupPanel() {
|
|
432
|
-
this.el.scrollIntoView(!0), this._isScreenshotsRowExpanded = !1, this._showScreenshotsShowMore = !1, this._screenshotsElement.value?.classList.remove("expanded"), this._isYouMayAlsoLikeRowExpanded = !1, this._showYouMayAlsoLikeShowMore = !1, this._youMayAlsoLikeElement.value?.classList.remove("expanded"), this._privilegePopoverRef.value?.open && (this._privilegePopoverRef.value.open = !1), this._isDeployDisabled = !1, this._isLoaded = !1, this._showLoader = !1, this._expandAccordions();
|
|
434
|
+
this.el.scrollIntoView(!0), this._isScreenshotsRowExpanded = !1, this._showScreenshotsShowMore = !1, this._screenshotsElement.value?.classList.remove("expanded"), this._isYouMayAlsoLikeRowExpanded = !1, this._showYouMayAlsoLikeShowMore = !1, this._youMayAlsoLikeElement.value?.classList.remove("expanded"), this._privilegePopoverRef.value?.open && (this._privilegePopoverRef.value.open = !1), this._isDeployDisabled = !1, this._isLoaded = !1, this._itemFetched = !1, this._showLoader = !1, this._expandAccordions();
|
|
433
435
|
}
|
|
434
436
|
_deployProgressStart(e) {
|
|
435
437
|
this._deploymentStartTime = Date.now(), this._telemetry?.logEvent({
|