@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
|
@@ -4,11 +4,12 @@ import { repeat as f } from "lit/directives/repeat.js";
|
|
|
4
4
|
import { u as g } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as _, createEvent as m, safeClassMap as o, safeStyleMap as r } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as c } from "@arcgis/lumina/context";
|
|
7
|
-
import { css as b, html as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { css as b, html as s } from "lit";
|
|
8
|
+
import { c as v, i as y } from "../../chunks/deployAppContexts.js";
|
|
9
|
+
import { e as d, d as h, T as p } from "../../chunks/helpers.js";
|
|
10
|
+
import { createRef as n, ref as a } from "lit/directives/ref.js";
|
|
10
11
|
import "../solutions-filter-panel/customElement.js";
|
|
11
|
-
const x = b`.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-
|
|
12
|
+
const x = b`.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-sm)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-surface-4);--calcite-panel-background-color: var(--calcite-color-surface-4)}.chips-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--calcite-spacing-xs);flex:1;padding-block:var(--calcite-spacing-xs)}.header-content-wrapper{min-height:50px;flex-wrap:wrap;gap:var(--calcite-spacing-xs);padding-inline-start:var(--calcite-spacing-lg);padding-top:8px}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.chip-group{max-width:100%}.chip-group{display:flex;flex-wrap:wrap}.responsive-chip{max-width:100%}.responsive-chip .chip-text{display:inline-flex;align-items:center;line-height:1;max-width:100%}@media(max-width:800px){.responsive-chip{max-width:100%;min-width:0}.responsive-chip .chip-text{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.mobile-stack{flex-direction:column;align-items:flex-start;padding-top:var(--calcite-spacing-md)}`;
|
|
12
13
|
class w extends _ {
|
|
13
14
|
constructor() {
|
|
14
15
|
super(), this.solutionsCount = 0, this._isLoading = !0, this._filterOpen = !0, this._filters = {
|
|
@@ -87,7 +88,7 @@ class w extends _ {
|
|
|
87
88
|
}
|
|
88
89
|
render() {
|
|
89
90
|
const e = this._isMobile ? "justify-content-end" : "", t = this._isLoading ? "display-none" : "";
|
|
90
|
-
return
|
|
91
|
+
return s`<calcite-shell class=${`position-relative ${t}`}>${this._isMobile ? "" : this._getFilterPanel()}<h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1" ${a(this._mainPanelRef)}><div class=${o(this._isMobile ? `mobile-stack ${e}` : `display-flex align-items-center header-content-wrapper ${e}`)} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}", this.solutionsCount.toString())}</calcite-label><div class="chips-container">${this._renderChips()}${this._filters.categories && this._filters.categories?.length > 0 && s`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${() => {
|
|
91
92
|
this._filters = {
|
|
92
93
|
...this._filters,
|
|
93
94
|
categories: []
|
|
@@ -96,22 +97,22 @@ class w extends _ {
|
|
|
96
97
|
}
|
|
97
98
|
_getFilterPanel() {
|
|
98
99
|
const e = this._filterOpen ? { display: "flex" } : "";
|
|
99
|
-
return this._isMobile ?
|
|
100
|
+
return this._isMobile ? s`<calcite-panel class=${`border-none ${this._filterOpen ? "background-override" : "filter background-override"}`} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100" @applyFilter=${(t) => {
|
|
100
101
|
this._filterApplied(t.detail);
|
|
101
|
-
}} ${
|
|
102
|
+
}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>` : s`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${r(e)}><calcite-panel class="border-none"><solutions-filter-panel class="height-100" @applyFilter=${(t) => {
|
|
102
103
|
this._filterApplied(t.detail);
|
|
103
|
-
}} ${
|
|
104
|
+
}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`;
|
|
104
105
|
}
|
|
105
106
|
_getSolutionsAllPanel() {
|
|
106
107
|
const e = this._isMobile && this._filterOpen ? { display: "none" } : "";
|
|
107
|
-
return
|
|
108
|
+
return s`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`;
|
|
108
109
|
}
|
|
109
110
|
_renderChips() {
|
|
110
111
|
if (!this._filters.categories)
|
|
111
112
|
return;
|
|
112
113
|
const e = this._filters.categories.filter((t) => t.type === "industry" || t.type === "domain");
|
|
113
114
|
if (e.length !== 0)
|
|
114
|
-
return
|
|
115
|
+
return s`<calcite-chip-group class="chip-group" label>${f(e, (t) => `${t.type}:${t.value}`, (t) => s`<calcite-chip appearance=outline-fill class=${o(this._isMobile ? "responsive-chip" : "padding-start responsive-chip")} closable .label=${t.displayValue} @calciteChipClose=${() => this._chipClosed(t.displayValue, t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`)}</calcite-chip-group>`;
|
|
115
116
|
}
|
|
116
117
|
_updateSolutionCount(e) {
|
|
117
118
|
this.solutionsCount = e.detail;
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as g, html as b } from "lit";
|
|
4
4
|
import { u as v } from "../../chunks/useT9n.js";
|
|
5
|
-
import { LitElement as C, createEvent as n, safeClassMap as
|
|
6
|
-
import { T as
|
|
7
|
-
import { a as S,
|
|
5
|
+
import { LitElement as C, createEvent as n, safeClassMap as p } from "@arcgis/lumina";
|
|
6
|
+
import { T as _ } from "../../chunks/solutions-deploy-app-nav.js";
|
|
7
|
+
import { a as S, D as w, B as D, e as F, T as c } from "../../chunks/helpers.js";
|
|
8
8
|
import { createRef as o, ref as l } from "lit-html/directives/ref.js";
|
|
9
|
-
import { C as y, g as
|
|
9
|
+
import { C as y, g as x } from "../../chunks/cardFetchingUtils.js";
|
|
10
10
|
import { useContextProvider as T } from "@arcgis/lumina/context";
|
|
11
|
+
import { c as I, i as O } from "../../chunks/deployAppContexts.js";
|
|
11
12
|
import { h as E, f as k } from "../../chunks/cardsHelpers.js";
|
|
12
13
|
import "@esri/solution-common";
|
|
13
14
|
import "@arcgis/core/identity/IdentityManager.js";
|
|
14
15
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
15
16
|
import "@arcgis/core/portal/Portal.js";
|
|
17
|
+
import "@arcgis/core/intl.js";
|
|
16
18
|
import { _ as A } from "../../chunks/solution-deploy-dialog.js";
|
|
17
19
|
import "../solutions-all-shell/customElement.js";
|
|
18
20
|
import "../solutions-deployed-shell/customElement.js";
|
|
19
21
|
import "../solution-details-panel/customElement.js";
|
|
20
22
|
import "../solution-deployed-card-panel/customElement.js";
|
|
21
|
-
const M =
|
|
23
|
+
const M = g`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-3);height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}`;
|
|
22
24
|
class L extends C {
|
|
23
25
|
constructor() {
|
|
24
|
-
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._translations = v({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${S}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = T({ context:
|
|
26
|
+
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._translations = v({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${S}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = T({ context: I }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._isMobileContextProvider = T({ context: O }), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new _(), this.deployAppTabSelected = n(), this.deployedCardFetchFailed = n(), this.detailsCardSelected = n(), this.deployedCardSelected = n(), this.metaTagStringsReady = n(), this.sessionRefreshed = n(), this.tabChanged = n(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (t) => this.selectTab(t.detail, {})), this._mediaQueryChange = this._mediaQueryChange.bind(this);
|
|
25
27
|
}
|
|
26
28
|
static {
|
|
27
29
|
this.properties = { appConfig: 1, initTab: 1, initTitleOrId: 1, sortType: 1, useLocalAppConfig: 5, authentication: 16, _isLoaded: 16, isMobile: 16, _activeTab: 16, _showDeployedCardFetchFailed: 16, _translations: 16 };
|
|
@@ -116,7 +118,7 @@ class L extends C {
|
|
|
116
118
|
const t = this._isLoaded ? "display-none" : "", e = this._isLoaded ? "" : "display-none";
|
|
117
119
|
return b`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${l(this._deployAppNav)}></solutions-deploy-app-nav>${this._isSearchToolbarShowing() && b`<div class="border" slot=header></div>` || ""}<solutions-searchsort-toolbar slot=header ${l(async (i) => {
|
|
118
120
|
i && (await this._deployAppNav.value?.componentOnReady(), this._searchSortToolbar = i);
|
|
119
|
-
})}></solutions-searchsort-toolbar><calcite-loader class=${
|
|
121
|
+
})}></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${l(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${l(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${l(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${l(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${l(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${l(this._allTab)}><solutions-all-shell class="height-100" ${l(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${l(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${l(this._detailsTab)}><solution-details-panel class="height-100" ${l(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${l(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${l(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`;
|
|
120
122
|
}
|
|
121
123
|
loaded() {
|
|
122
124
|
this._setScrollbarGutters();
|
|
@@ -126,7 +128,7 @@ class L extends C {
|
|
|
126
128
|
}
|
|
127
129
|
async _handleAuthInit(t) {
|
|
128
130
|
const e = t.detail;
|
|
129
|
-
e.telemetrySession || (e.telemetrySession =
|
|
131
|
+
e.telemetrySession || (e.telemetrySession = _.getDisabledSession()), this._configContextProvider.setValue(e), e.authentication && (this.authentication = e.authentication), this._cardFetcherDeployed = new y(e.locale, e.orgUrl, e.portalURL), this._cardsFetcher = new y(e.locale, e.orgUrl, e.portalURL), this._isDisconnectedEnvironment || await this._getSolutions(e.primarySolutionsGroupId, e.agoBasedEnterpriseSolutionsGroupId), this._configContextProvider.value.allCards = this._allCards, this._configContextProvider.value.anonAgolSession = this._cardsFetcher.anonAgolSession, this._configContextProvider.value.agolPortalUrl = this._cardsFetcher.agolPortalUrl, await this._initializeTelemetry(), this._isLoaded = !0, this._setRefreshInterval(), this._initTab ? (this.selectTab(this._initTab, this._initFilters), this._logTabViewTelemetry(this._initTab.tabType), this._initTab = void 0, this._initFilters = void 0) : this.authentication?.IsSignedIn && (this.initTab === "details" || this.initTab === "deployed-card" || (this._logTabViewTelemetry(this._activeTab), this._emitMetaTagStrings(this._activeTab)));
|
|
130
132
|
}
|
|
131
133
|
_mediaQueryChange(t) {
|
|
132
134
|
this.isMobile = t.matches, this._isMobileContextProvider.setValue(this.isMobile);
|
|
@@ -253,9 +255,9 @@ class L extends C {
|
|
|
253
255
|
const e = this._configContextProvider.value.authentication, i = this._configContextProvider.value.userSession;
|
|
254
256
|
if (e && i && e.IsSignedIn) {
|
|
255
257
|
this._abortControllerDeployed ? (this._abortControllerDeployed.abort(), this._abortControllerDeployed = new AbortController()) : this._abortControllerDeployed = new AbortController();
|
|
256
|
-
const s =
|
|
258
|
+
const s = w(e);
|
|
257
259
|
try {
|
|
258
|
-
const a = await
|
|
260
|
+
const a = await x(e, i, this._cardsFetcher, this._cardFetcherDeployed, D, "created", "desc", !1, [], [], this._abortControllerDeployed.signal, s ? "My organization's solutions" : "My solutions", t);
|
|
259
261
|
a.cards.length === 0 || a.cards[0].typeKeywords.indexOf("Deployed") < 0 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchNotSolution.replace("{{ITEMID}}", t), this._showDeployedCardFetchFailed = !0) : this._deployedSolutions = a;
|
|
260
262
|
} catch (a) {
|
|
261
263
|
const r = a.message;
|
|
@@ -272,7 +274,7 @@ class L extends C {
|
|
|
272
274
|
_getDefaultSearchOptions(t) {
|
|
273
275
|
let e;
|
|
274
276
|
if (t) {
|
|
275
|
-
const i = t.domain, s = t.industry === "AEC" ?
|
|
277
|
+
const i = t.domain, s = t.industry === "AEC" ? F.AEC : t.industry, a = t.offerType, r = t.searchTerm, m = "";
|
|
276
278
|
let d = t.sortField;
|
|
277
279
|
const h = t.owner, u = t.filter;
|
|
278
280
|
e = i || s ? {
|
|
@@ -301,7 +303,7 @@ class L extends C {
|
|
|
301
303
|
}
|
|
302
304
|
}
|
|
303
305
|
}
|
|
304
|
-
|
|
306
|
+
f("solutions-deploy-app", L);
|
|
305
307
|
export {
|
|
306
308
|
L as SolutionsDeployApp
|
|
307
309
|
};
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
import "../../chunks/runtime.js";
|
|
3
3
|
import "../../chunks/useT9n.js";
|
|
4
4
|
import "@arcgis/lumina";
|
|
5
|
-
import { S as
|
|
5
|
+
import { S as n } from "../../chunks/solutions-deploy-app-nav.js";
|
|
6
6
|
import "../../chunks/Auth.js";
|
|
7
|
-
import "../../chunks/
|
|
7
|
+
import "../../chunks/helpers.js";
|
|
8
8
|
import "lit-html/directives/ref.js";
|
|
9
9
|
import "@esri/solution-common";
|
|
10
|
+
import "../../chunks/deployAppContexts.js";
|
|
10
11
|
import "@arcgis/lumina/context";
|
|
11
12
|
import "lit";
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
n as SolutionsDeployAppNav
|
|
14
15
|
};
|
|
@@ -6,8 +6,9 @@ import { LitElement as w, createEvent as l, nothing as C } from "@arcgis/lumina"
|
|
|
6
6
|
import { useContextConsumer as x } from "@arcgis/lumina/context";
|
|
7
7
|
import { createRef as T, ref as d } from "lit/directives/ref.js";
|
|
8
8
|
import { C as c, g as v } from "../../chunks/cardFetchingUtils.js";
|
|
9
|
-
import {
|
|
10
|
-
|
|
9
|
+
import { c as b } from "../../chunks/deployAppContexts.js";
|
|
10
|
+
import { B as h, T as n, L as S, c as D } from "../../chunks/helpers.js";
|
|
11
|
+
const F = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
|
|
11
12
|
class E extends w {
|
|
12
13
|
constructor() {
|
|
13
14
|
super(), this.sortType = "created", this._cards = [], this._cardsFetching = !1, this._modifiedCheckTry = 0, this._newId = "", this._refs = {}, this._showDeleteCompleteAlert = !1, this._deletedSolutionName = "", this._translations = g({ name: "solutions-deployed-panel", blocking: !0 }), this._agoTerms = h, this._allCards = [], this._baseAgoTerms = h, this._categories = [], this._mainPanelRef = T(), this._panelFixed = !1, this._configContextConsumer = x({
|
|
@@ -4,9 +4,10 @@ import { u as d } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as h, createEvent as l, safeStyleMap as p } from "@arcgis/lumina";
|
|
5
5
|
import { useContextConsumer as o } from "@arcgis/lumina/context";
|
|
6
6
|
import { css as u, html as i, svg as g } from "lit";
|
|
7
|
-
import {
|
|
7
|
+
import { c as f, i as b } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { createRef as s, ref as r } from "lit/directives/ref.js";
|
|
9
|
-
|
|
9
|
+
import { H as v } from "../../chunks/helpers.js";
|
|
10
|
+
const m = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
|
|
10
11
|
class x extends h {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._showAlertFailed = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = o({
|
|
@@ -59,10 +60,10 @@ class x extends h {
|
|
|
59
60
|
if (this._panelObserver)
|
|
60
61
|
return;
|
|
61
62
|
this._panelObserver = new MutationObserver((t) => {
|
|
62
|
-
t.forEach((
|
|
63
|
-
if (
|
|
64
|
-
const
|
|
65
|
-
|
|
63
|
+
t.forEach((a) => {
|
|
64
|
+
if (a.type === "attributes" && a.attributeName === "tabindex") {
|
|
65
|
+
const n = a.target;
|
|
66
|
+
n.classList.contains("content-wrapper") && n.tabIndex === 0 && (n.tabIndex = -1);
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
});
|
|
@@ -78,7 +79,7 @@ class x extends h {
|
|
|
78
79
|
render() {
|
|
79
80
|
if (!this._configContextConsumer.value?.authentication?.IsSignedIn)
|
|
80
81
|
return this._getSignInPrompt();
|
|
81
|
-
const e = this.isMobile ? "justify-content-
|
|
82
|
+
const e = this.isMobile ? "justify-content-start" : "";
|
|
82
83
|
return i`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${r(this._mainPanelRef)}><div class=${`display-flex align-items-center height-50 header-content-wrapper ${e}`} slot=header-content><calcite-label class="label-override flex-shrink-0 padding-top-8" layout=inline>${this._translations.numberOfDeployments?.replace("{{count}}", this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsDeployedPanel()}</calcite-panel></calcite-shell>`;
|
|
83
84
|
}
|
|
84
85
|
_getSignInPrompt() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { IFilterOption, ISearchOption } from "../../utils/interfaces.js";
|
|
3
|
+
import type { IFilterOption, IFilterSetting, IScopeSearchSortSettings, ISearchOption } from "../../utils/interfaces.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
6
|
export abstract class SolutionsFilterPanel extends LitElement {
|
|
@@ -133,8 +133,11 @@ export abstract class SolutionsFilterPanel extends LitElement {
|
|
|
133
133
|
readonly applyFilter: import("@arcgis/lumina").TargetedEvent<this, IFilterOption[] | IFilterOption | ISearchOption | null>;
|
|
134
134
|
/** Emitted on demand when the close filter button is clicked in mobile */
|
|
135
135
|
readonly toggleFilter: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
136
|
+
/** Emitted on demand when navigating between tabs in the app */
|
|
137
|
+
readonly updateUrlParams: import("@arcgis/lumina").TargetedEvent<this, IScopeSearchSortSettings | IFilterSetting | null>;
|
|
136
138
|
readonly "@eventTypes": {
|
|
137
139
|
applyFilter: SolutionsFilterPanel["applyFilter"]["detail"];
|
|
138
140
|
toggleFilter: SolutionsFilterPanel["toggleFilter"]["detail"];
|
|
141
|
+
updateUrlParams: SolutionsFilterPanel["updateUrlParams"]["detail"];
|
|
139
142
|
};
|
|
140
143
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { repeat as
|
|
5
|
-
import { u as
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import {
|
|
3
|
+
import { css as f, html as h } from "lit";
|
|
4
|
+
import { repeat as g } from "lit/directives/repeat.js";
|
|
5
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
6
|
+
import { LitElement as N, createEvent as p, safeClassMap as S } from "@arcgis/lumina";
|
|
7
|
+
import { c as A, i as I } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { useContextConsumer as _ } from "@arcgis/lumina/context";
|
|
9
|
-
|
|
9
|
+
import { e as F, d as C, T as O, H as E } from "../../chunks/helpers.js";
|
|
10
|
+
const T = f`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-panel-footer-space: var(--calcite-spacing-sm)}.border-color{--calcite-block-border-color: transparent}calcite-block{margin:0;--calcite-block-content-space: 0}.tree-padding{padding:0 .2rem}.display-none{display:none}`, R = {
|
|
10
11
|
PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
|
|
11
12
|
STATEANDLOCALGOVERNMENT: [
|
|
12
13
|
"AGRICULTURE",
|
|
@@ -25,19 +26,19 @@ const T = N`.width-full{width:100%}calcite-panel{--calcite-panel-background-colo
|
|
|
25
26
|
"TRANSPORTATION"
|
|
26
27
|
],
|
|
27
28
|
UTILITIES: ["DISTRICTENERGY", "ELECTRIC", "GAS", "SEWER", "STORMWATER", "WATER"]
|
|
28
|
-
},
|
|
29
|
-
(
|
|
29
|
+
}, v = Object.keys(F).reduce(
|
|
30
|
+
(m, t) => {
|
|
30
31
|
const e = t;
|
|
31
|
-
return
|
|
32
|
+
return m[e] = R[e] ?? [], m;
|
|
32
33
|
},
|
|
33
34
|
{}
|
|
34
35
|
);
|
|
35
|
-
class
|
|
36
|
+
class M extends N {
|
|
36
37
|
constructor() {
|
|
37
38
|
super(), this.hideIndustryFilter = !1, this.isAIDialogOpen = !1, this.showReset = !1, this._activeFilterSettings = {
|
|
38
39
|
categories: []
|
|
39
|
-
}, this._isMobile = !1, this._translations =
|
|
40
|
-
context:
|
|
40
|
+
}, this._isMobile = !1, this._translations = y({ name: "solutions-filter-panel", blocking: !0 }), this._userFirstName = "", this._configContextConsumer = _({
|
|
41
|
+
context: A,
|
|
41
42
|
subscribe: !0,
|
|
42
43
|
callback: (t) => {
|
|
43
44
|
t?.userSession && !this._userFirstName && this._loadUserFirstName();
|
|
@@ -46,7 +47,7 @@ class v extends f {
|
|
|
46
47
|
context: I,
|
|
47
48
|
subscribe: !0,
|
|
48
49
|
callback: (t) => this._isMobile = t
|
|
49
|
-
}), this.applyFilter =
|
|
50
|
+
}), this.applyFilter = p(), this.toggleFilter = p(), this.updateUrlParams = p(), this._handleFilterRemoved = (t) => {
|
|
50
51
|
const e = t.detail;
|
|
51
52
|
Array.isArray(e) && (this._activeFilterSettings = {
|
|
52
53
|
...this._activeFilterSettings,
|
|
@@ -55,10 +56,15 @@ class v extends f {
|
|
|
55
56
|
}, this._industryMatchName = (t) => {
|
|
56
57
|
const e = Object.keys(this._translations.industries).find((o) => o.toUpperCase() === t.replaceAll(" ", "").toUpperCase());
|
|
57
58
|
return e && e in this._translations.industries ? this._translations.industries[e] : t;
|
|
59
|
+
}, this._domainMatchName = (t) => {
|
|
60
|
+
const e = Object.keys(this._translations.industriesDomain).find((o) => o.toUpperCase() === t.replaceAll(" ", "").toUpperCase());
|
|
61
|
+
return e && e in this._translations.industriesDomain ? this._translations.industriesDomain[e] : t;
|
|
58
62
|
}, this.listenOn(window, "filterRemoved", this._handleFilterRemoved), this.listenOn(window, "closeAssistant", () => {
|
|
59
63
|
this.isAIDialogOpen = !1;
|
|
60
64
|
}), this.listenOn(window, "openAssistant", () => {
|
|
61
65
|
this.isAIDialogOpen = !0;
|
|
66
|
+
}), this.listenOn(window, "tabChanged", (t) => {
|
|
67
|
+
t.detail === "all-solutions" ? this.updateUrlParams.emit(this._activeFilterSettings) : this.updateUrlParams.emit(null);
|
|
62
68
|
});
|
|
63
69
|
}
|
|
64
70
|
static {
|
|
@@ -67,6 +73,9 @@ class v extends f {
|
|
|
67
73
|
static {
|
|
68
74
|
this.styles = T;
|
|
69
75
|
}
|
|
76
|
+
get _isEnterprise() {
|
|
77
|
+
return this._configContextConsumer.value?.isEnterprise;
|
|
78
|
+
}
|
|
70
79
|
get _telemetry() {
|
|
71
80
|
return this._configContextConsumer.value?.telemetrySession;
|
|
72
81
|
}
|
|
@@ -74,15 +83,15 @@ class v extends f {
|
|
|
74
83
|
if (t !== "" || e !== "") {
|
|
75
84
|
let n = [];
|
|
76
85
|
if (e !== "") {
|
|
77
|
-
const i = F[t];
|
|
86
|
+
const i = F[t], a = this._industryMatchName(i), s = C[e], r = this._domainMatchName(s);
|
|
78
87
|
n = [{
|
|
79
|
-
displayValue:
|
|
88
|
+
displayValue: a,
|
|
80
89
|
type: "industry",
|
|
81
90
|
value: t,
|
|
82
91
|
industry: t,
|
|
83
92
|
domain: ""
|
|
84
93
|
}, {
|
|
85
|
-
displayValue:
|
|
94
|
+
displayValue: r,
|
|
86
95
|
type: "domain",
|
|
87
96
|
value: e,
|
|
88
97
|
industry: t,
|
|
@@ -123,34 +132,34 @@ class v extends f {
|
|
|
123
132
|
render() {
|
|
124
133
|
return h`<calcite-panel description heading>${this.showReset && h`<calcite-action appearance=solid icon=reset @click=${() => {
|
|
125
134
|
this.clearFilters();
|
|
126
|
-
}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>` || ""}<calcite-block-group .label=${this._translations.filters} scale=l>${!this.hideIndustryFilter && this.renderIndustryBlock() || ""}</calcite-block-group
|
|
135
|
+
}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>` || ""}<calcite-block-group .label=${this._translations.filters} scale=l>${!this.hideIndustryFilter && this.renderIndustryBlock() || ""}</calcite-block-group>${!this._isEnterprise && h`<calcite-button id=solutions-assistant-button icon-start=speech-bubbles label="Solutions Assistant" @click=${() => {
|
|
127
136
|
this._telemetry?.logEvent({
|
|
128
|
-
category:
|
|
137
|
+
category: O.ASSISTANT,
|
|
129
138
|
action: "Open"
|
|
130
139
|
}), this.isAIDialogOpen = !0;
|
|
131
|
-
}} round scale=l slot=footer-start></calcite-button><calcite-tooltip reference-element=solutions-assistant-button placement=right slot=footer-start offset-distance=10 open><span>${this._translations.assistant.welcomeTip}</span></calcite-tooltip><arcgis-solutions-assistant .open=${this.isAIDialogOpen} .userFirstName=${this._userFirstName}></arcgis-solutions-assistant
|
|
140
|
+
}} round scale=l slot=footer-start></calcite-button><calcite-tooltip reference-element=solutions-assistant-button placement=right slot=footer-start offset-distance=10 open><span>${this._translations.assistant.welcomeTip}</span></calcite-tooltip><arcgis-solutions-assistant .open=${this.isAIDialogOpen} .userFirstName=${this._userFirstName}></arcgis-solutions-assistant>` || ""}</calcite-panel>`;
|
|
132
141
|
}
|
|
133
142
|
renderIndustryBlock() {
|
|
134
|
-
const t = (i, a) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((s) => s.industry === i && (s.domain ?? "") === a), e = (i) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((a) => a.industry === i && (a.domain ?? "") === ""), o = (i, a) => a.length > 0 && (e(i) || this._activeFilterSettings.categories?.some((s) => s.industry === i && !!s.domain && a.includes(s.domain)) === !0), d = (i, a) =>
|
|
135
|
-
const
|
|
136
|
-
return h`<calcite-tree-item .label=${c} @click=${(
|
|
137
|
-
|
|
138
|
-
}} @keydown=${(
|
|
139
|
-
E(
|
|
143
|
+
const t = (i, a) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((s) => s.industry === i && (s.domain ?? "") === a), e = (i) => !this._activeFilterSettings || !this._activeFilterSettings.categories ? !1 : this._activeFilterSettings.categories.some((a) => a.industry === i && (a.domain ?? "") === ""), o = (i, a) => a.length > 0 && (e(i) || this._activeFilterSettings.categories?.some((s) => s.industry === i && !!s.domain && a.includes(s.domain)) === !0), d = (i, a) => g(a, (s) => s, (s) => {
|
|
144
|
+
const r = Object.keys(this._translations.industriesDomain).find((l) => l.toUpperCase() === s.toUpperCase()), c = r && r in this._translations.industriesDomain ? this._translations.industriesDomain[r] : s, u = t(i, s);
|
|
145
|
+
return h`<calcite-tree-item .label=${c} @click=${(l) => {
|
|
146
|
+
l.detail !== 0 && this.changeIndustryFilter(i, s, c, !0);
|
|
147
|
+
}} @keydown=${(l) => {
|
|
148
|
+
E(l, () => {
|
|
140
149
|
this.changeIndustryFilter(i, s, c, !0);
|
|
141
150
|
});
|
|
142
|
-
}} .selected=${
|
|
143
|
-
}), n =
|
|
144
|
-
const s = this._industryMatchName(i),
|
|
145
|
-
return h`<calcite-tree-item .label=${s} @click=${(
|
|
146
|
-
|
|
147
|
-
}} @keydown=${(
|
|
148
|
-
E(
|
|
151
|
+
}} .selected=${u || void 0}>${c}</calcite-tree-item>`;
|
|
152
|
+
}), n = g(Object.entries(v), ([i, a]) => i, ([i, a]) => {
|
|
153
|
+
const s = this._industryMatchName(i), r = a, c = e(i), u = o(i, r);
|
|
154
|
+
return h`<calcite-tree-item .label=${s} @click=${(l) => {
|
|
155
|
+
l.detail !== 0 && this.changeIndustryFilter(i, "", s, !0);
|
|
156
|
+
}} @keydown=${(l) => {
|
|
157
|
+
E(l, () => {
|
|
149
158
|
this.changeIndustryFilter(i, "", s, !0);
|
|
150
159
|
});
|
|
151
|
-
}} .selected=${c || void 0} .expanded=${
|
|
160
|
+
}} .selected=${c || void 0} .expanded=${u ? !0 : void 0}>${s}${r.length > 0 && h`<calcite-tree slot=children selection-mode=multiple>${d(i, r)}</calcite-tree>` || ""}</calcite-tree-item>`;
|
|
152
161
|
});
|
|
153
|
-
return h`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-action class=${
|
|
162
|
+
return h`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-action class=${S(this._isMobile ? "" : "display-none")} icon=x @click=${this._toggleFilter} slot=content-end text></calcite-action><calcite-tree selection-mode=single-persist class="tree-padding">${n}</calcite-tree></calcite-block>`;
|
|
154
163
|
}
|
|
155
164
|
_toggleFilter() {
|
|
156
165
|
this.toggleFilter.emit();
|
|
@@ -166,7 +175,7 @@ class v extends f {
|
|
|
166
175
|
}
|
|
167
176
|
}
|
|
168
177
|
}
|
|
169
|
-
b("solutions-filter-panel",
|
|
178
|
+
b("solutions-filter-panel", M);
|
|
170
179
|
export {
|
|
171
|
-
|
|
180
|
+
M as SolutionsFilterPanel
|
|
172
181
|
};
|