@esri/solutions-components 5.0.1 → 5.0.2-next.10
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/{HK7YZNM4.js → 2642PFUF.js} +1 -1
- package/dist/cdn/{24QTPVIY.js → 2DAM5BYX.js} +1 -1
- package/dist/cdn/{QRUCDIZO.js → 2J6ZHQEF.js} +1 -1
- package/dist/cdn/{UIFRG5Z5.js → 3B4FA5CV.js} +1 -1
- package/dist/cdn/{AXBVHGTQ.js → 3ELXQUHH.js} +1 -1
- package/dist/cdn/{AQKTTVWV.js → 3LEJ44U2.js} +1 -1
- package/dist/cdn/{PCG2HRKC.js → 3M6AYSM7.js} +1 -1
- package/dist/cdn/4CMHNL7Z.js +2 -0
- package/dist/cdn/{NNOOCMHD.js → 4OZQG5MW.js} +1 -1
- package/dist/cdn/{6VKEW33C.js → 54WM76XB.js} +1 -1
- package/dist/cdn/{BXXYI7NG.js → 55CA3AGN.js} +2 -2
- package/dist/cdn/{2SD4IYX3.js → 5UEEUPL5.js} +1 -1
- package/dist/cdn/{4JMP7ZE6.js → 5VP4DXWE.js} +1 -1
- package/dist/cdn/{ZN7TFL7A.js → 5W3ANKBB.js} +1 -1
- package/dist/cdn/{TAHIBODN.js → 5Z32YRHM.js} +1 -1
- package/dist/cdn/{5NB56NVE.js → 6BEDO5MX.js} +1 -1
- package/dist/cdn/{WCGF6MFJ.js → 6E6CKB2R.js} +1 -1
- package/dist/cdn/{WNOPX4X3.js → 6EFUV7CH.js} +1 -1
- package/dist/cdn/{MBVWXJW7.js → 6LPOLFT7.js} +1 -1
- package/dist/cdn/{HEH643UY.js → 6RXHEPPS.js} +1 -1
- package/dist/cdn/{5D2QCLOY.js → 73LVZIP7.js} +1 -1
- package/dist/cdn/{57PXC3TO.js → 7UXCJXCE.js} +1 -1
- package/dist/cdn/{S4WGAHIV.js → AJRYDDC7.js} +1 -1
- package/dist/cdn/{JCBUATLL.js → ALDUB3A4.js} +1 -1
- package/dist/cdn/{2XLDIKUR.js → ASSNR5JI.js} +1 -1
- package/dist/cdn/{224I72SO.js → B5SYTUTT.js} +1 -1
- package/dist/cdn/{M5MCA232.js → BFHVGXZN.js} +1 -1
- package/dist/cdn/{243LX5NA.js → BGO3JXY3.js} +1 -1
- package/dist/cdn/{NU2NW3YW.js → BHHQFUCH.js} +1 -1
- package/dist/cdn/{K5Z5A2RY.js → BNQ63VOG.js} +1 -1
- package/dist/cdn/{P6NSLBDS.js → BVWFZPY7.js} +1 -1
- package/dist/cdn/C2MDLUTX.js +2 -0
- package/dist/cdn/{5SHA3PGC.js → C43NWBRR.js} +1 -1
- package/dist/cdn/{WGKOKVQY.js → CK7LURBK.js} +1 -1
- package/dist/cdn/{KETBIWNV.js → CTRHHRDP.js} +1 -1
- package/dist/cdn/{ZIPMI556.js → D2QNPQWY.js} +1 -1
- package/dist/cdn/{R52W6IFP.js → D37HOE6T.js} +1 -1
- package/dist/cdn/{XOW3ZZ6I.js → DUEAJUQG.js} +1 -1
- package/dist/cdn/{2333JKXT.js → DZUVI4S3.js} +1 -1
- package/dist/cdn/{4YJT24E5.js → E4L5GTBZ.js} +1 -1
- package/dist/cdn/{GJFGBIH7.js → E74QDAYN.js} +1 -1
- package/dist/cdn/{VUFOIXWZ.js → EH43P34B.js} +1 -1
- package/dist/cdn/{64IG3VBM.js → EL4G77RV.js} +1 -1
- package/dist/cdn/{5SJCOGIP.js → EUZCYCCK.js} +1 -1
- package/dist/cdn/{PMJSFZYX.js → EVFB6G4J.js} +1 -1
- package/dist/cdn/{AIYHCYB5.js → FJSRWM5L.js} +1 -1
- package/dist/cdn/FL74XITX.js +2 -0
- package/dist/cdn/{6UJALA2L.js → FUUWSZIZ.js} +1 -1
- package/dist/cdn/{E7UFN5JY.js → FZ4NFB5R.js} +1 -1
- package/dist/cdn/{VWDJZ7HA.js → GJJOB4RR.js} +1 -1
- package/dist/cdn/{AZFB2VFZ.js → GXXXAGCI.js} +1 -1
- package/dist/cdn/{A4WA7OOO.js → H5ZE4RIC.js} +1 -1
- package/dist/cdn/{JAOKRCFG.js → HAAFUV3J.js} +1 -1
- package/dist/cdn/{SU77ODY2.js → HLPUNGB5.js} +1 -1
- package/dist/cdn/{SSL3U5CO.js → HNRZHAOD.js} +1 -1
- package/dist/cdn/{KI33523C.js → I3OLKEFJ.js} +1 -1
- package/dist/cdn/{SJMKG2Y2.js → IDEWFRKI.js} +1 -1
- package/dist/cdn/{DD3JC2L3.js → JE7L7M3J.js} +1 -1
- package/dist/cdn/{ARXWEJFK.js → JHOXJY5O.js} +1 -1
- package/dist/cdn/{P77GI3QL.js → JIPE2UQ3.js} +1 -1
- package/dist/cdn/{UAUP4JQ4.js → JN4HYWSX.js} +1 -1
- package/dist/cdn/{KVUHHQHL.js → JQFNYWZI.js} +1 -1
- package/dist/cdn/{PSNP4WYK.js → JQU7O6FD.js} +1 -1
- package/dist/cdn/{WCQKSAUN.js → JVMVZ2RC.js} +1 -1
- package/dist/cdn/{QXSUDN7A.js → KKI72ISR.js} +2 -2
- package/dist/cdn/{O7AZMIQX.js → KSKNVJAL.js} +1 -1
- package/dist/cdn/{VCZPVG3A.js → KVR3XE7B.js} +1 -1
- package/dist/cdn/{Y3XY5BXI.js → LFIJXE3U.js} +1 -1
- package/dist/cdn/{TOLNZKKL.js → LGUC7DRT.js} +1 -1
- package/dist/cdn/{VGC3RHQQ.js → LQ3CLDU5.js} +1 -1
- package/dist/cdn/{NHKAOTFM.js → LTBO6VJF.js} +1 -1
- package/dist/cdn/{7PZQ2MP7.js → M7OEPT52.js} +1 -1
- package/dist/cdn/{RUU2LTYJ.js → MMZXFDQZ.js} +1 -1
- package/dist/cdn/{3RZAPX3S.js → N5YBX6NM.js} +1 -1
- package/dist/cdn/{7GQ24AKO.js → N7RLYKQG.js} +1 -1
- package/dist/cdn/{FJX7UVKI.js → NLNE5H6M.js} +1 -1
- package/dist/cdn/{XY5MX7TV.js → NQF577F4.js} +1 -1
- package/dist/cdn/{IZU7KP25.js → NQXUGAR7.js} +1 -1
- package/dist/cdn/NXG2TZQJ.js +2 -0
- package/dist/cdn/NZYAEBC7.js +2 -0
- package/dist/cdn/{UOOIKGBP.js → O2OYKALV.js} +1 -1
- package/dist/cdn/{DOHELY4Q.js → OAWQFVGG.js} +1 -1
- package/dist/cdn/{NSQLXA5C.js → OJLSK25V.js} +1 -1
- package/dist/cdn/{RA35CIMF.js → OLDYKR5E.js} +1 -1
- package/dist/cdn/{SXSTBM77.js → P6ETLC5A.js} +1 -1
- package/dist/cdn/{PAKIDHHK.js → PNBTKFO6.js} +1 -1
- package/dist/cdn/{GU77W2GF.js → QJ4MQK3Y.js} +1 -1
- package/dist/cdn/{HTLJCLHR.js → QKGOQ7EC.js} +1 -1
- package/dist/cdn/{SNN6XXHG.js → QXLM22NS.js} +1 -1
- package/dist/cdn/{BZVRRVNB.js → RDWJHF5P.js} +1 -1
- package/dist/cdn/{VKWQ2UOL.js → RIWLHWBH.js} +1 -1
- package/dist/cdn/{HHKKBJCY.js → RTSKNY33.js} +1 -1
- package/dist/cdn/{S664RN6P.js → SETNDPAB.js} +1 -1
- package/dist/cdn/{YGHCNTQN.js → T5ZR5RSW.js} +1 -1
- package/dist/cdn/{NCTVUAXT.js → TAXUQXTN.js} +1 -1
- package/dist/cdn/{OLLLVTHU.js → TBJLV2A3.js} +1 -1
- package/dist/cdn/{JOEGOIK3.js → TP6FTOYI.js} +1 -1
- package/dist/cdn/{FT2RITIO.js → TPRPYUVX.js} +1 -1
- package/dist/cdn/{IQQXCY6C.js → TUGGGATS.js} +1 -1
- package/dist/cdn/{TE7VJ4KH.js → U75PDOJF.js} +1 -1
- package/dist/cdn/{5MTMSAKC.js → UDPPJCXC.js} +1 -1
- package/dist/cdn/UDTF5SYU.js +2 -0
- package/dist/cdn/{7NSN2YE4.js → UGKLBL7D.js} +1 -1
- package/dist/cdn/{FMFUEICN.js → UR6OMPID.js} +1 -1
- package/dist/cdn/{WPV4X3NK.js → USIESVTZ.js} +1 -1
- package/dist/cdn/{YCLEJLXQ.js → V65IKENN.js} +1 -1
- package/dist/cdn/{PQ7PCKL4.js → VCH6XDEH.js} +1 -1
- package/dist/cdn/{AV3KXTWF.js → VDDTJAF2.js} +1 -1
- package/dist/cdn/{6SETGLTS.js → VQFRDGSZ.js} +1 -1
- package/dist/cdn/VU3OQQKP.js +2 -0
- package/dist/cdn/{SLXAZV5B.js → VYTGCKEU.js} +1 -1
- package/dist/cdn/{JUINWMBC.js → W53A2CNH.js} +1 -1
- package/dist/cdn/{HVE26GKL.js → WDFQGUHD.js} +1 -1
- package/dist/cdn/{6NMWB5NC.js → WZZG5H7Q.js} +1 -1
- package/dist/cdn/{EMSOP52X.js → XFEOA56B.js} +1 -1
- package/dist/cdn/{6C4EHCSR.js → XJWEK5VT.js} +1 -1
- package/dist/cdn/{SS7F2SZ4.js → XUFPQNGT.js} +1 -1
- package/dist/cdn/{VLIHU4DD.js → Y3FTYVXY.js} +1 -1
- package/dist/cdn/{KO7S5YIH.js → Y4TNT6PF.js} +1 -1
- package/dist/cdn/Y4YYE2LG.js +2 -0
- package/dist/cdn/{C5LZGCHH.js → YQECYE4M.js} +1 -1
- package/dist/cdn/{NSQPTNSB.js → YT2QG2ST.js} +1 -1
- package/dist/cdn/{JBJJMSR3.js → ZQJ2QLO5.js} +1 -1
- package/dist/cdn/{FNGWQOMU.js → ZRCMN3AQ.js} +1 -1
- package/dist/cdn/{E3DW2M6B.js → ZVJIHRYK.js} +1 -1
- package/dist/cdn/{OIFBNDN7.js → ZYTKA3NP.js} +1 -1
- package/dist/cdn/{PX6N4BRK.js → ZZ3AVDZU.js} +1 -1
- 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/runtime.js +2 -2
- package/dist/chunks/solution-deploy-dialog.js +1 -1
- package/dist/chunks/solutions-deploy-app-nav.js +1 -1
- package/dist/components/consent-manager/customElement.js +3 -3
- package/dist/components/public-notification/customElement.js +25 -18
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +92 -92
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +31 -28
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +5 -5
- package/package.json +24 -24
- package/dist/cdn/76M3UWJF.js +0 -2
- package/dist/cdn/7PY2VM2S.js +0 -2
- package/dist/cdn/CI66IACC.js +0 -2
- package/dist/cdn/ESOI3UW5.js +0 -2
- package/dist/cdn/G2T6OYTB.js +0 -2
- package/dist/cdn/PSXEKRGH.js +0 -2
- package/dist/cdn/S7XOHDIW.js +0 -2
- package/dist/cdn/SPBICIV2.js +0 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { u as
|
|
4
|
-
import { createRef as
|
|
2
|
+
import { c as S } from "../../chunks/runtime.js";
|
|
3
|
+
import { u as I } from "../../chunks/useT9n.js";
|
|
4
|
+
import { createRef as h, ref as p } from "lit-html/directives/ref.js";
|
|
5
5
|
import { LitElement as C, createEvent as f, safeClassMap as u, nothing as y, safeStyleMap as D } from "@arcgis/lumina";
|
|
6
6
|
import { useContextConsumer as w } from "@arcgis/lumina/context";
|
|
7
|
-
import { E as m, V as
|
|
8
|
-
import { css as N, html as
|
|
7
|
+
import { E as m, V as L, g as x, A as E, G as R, T as g, W as b, X as T, K as $, J as P, Y as A, Z as O, D as U } from "../../chunks/interfaces.js";
|
|
8
|
+
import { css as N, html as l } from "lit";
|
|
9
9
|
import { request as F, getWorkflowBaseURL as H, getWorkflowManagerAuthorized as V, sanitizeHTML as _, getItemDataAsJson as z, getItem as B, getPropWithDefault as M, getProp as v, setCreateProp as Y } from "@esri/solution-common";
|
|
10
10
|
import { _findExistingItem as G } from "@esri/solution-deployer";
|
|
11
11
|
import "../../chunks/solution-deploy-dialog.js";
|
|
12
12
|
import "../solution-snapshot-gallery/customElement.js";
|
|
13
13
|
import "../solution-deploying-dialog/customElement.js";
|
|
14
|
-
const W = N`.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}.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-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.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-foreground-1)}.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-foreground-2)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-2)}.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}`;
|
|
14
|
+
const W = N`.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-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.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-foreground-1)}.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-foreground-2)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-2)}.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
15
|
async function K(n, e, t) {
|
|
16
16
|
let i = t;
|
|
17
17
|
return n && (n?.IsEnterprisePortal && await X(
|
|
18
18
|
"",
|
|
19
19
|
// the portal url
|
|
20
20
|
e
|
|
21
|
-
) && i.push(m.NOTEBOOK), await
|
|
21
|
+
) && i.push(m.NOTEBOOK), await L(e) ? t.push(m.VELOCITY) : n?.PortalUserPrivileges && [
|
|
22
22
|
x.VELOCITYFEEDS,
|
|
23
23
|
x.VELOCITYBIGDATA,
|
|
24
24
|
x.VELOCITYREALTIME
|
|
25
|
-
].forEach((
|
|
26
|
-
const
|
|
27
|
-
|
|
25
|
+
].forEach((o) => {
|
|
26
|
+
const c = t.indexOf(o) || -1;
|
|
27
|
+
c !== -1 && t.splice(c, 1);
|
|
28
28
|
}), i = i.concat(
|
|
29
29
|
q(
|
|
30
30
|
Z(n),
|
|
@@ -46,11 +46,11 @@ function j(n) {
|
|
|
46
46
|
) ? [m.HUBPREMIUM] : [];
|
|
47
47
|
}
|
|
48
48
|
async function J(n) {
|
|
49
|
-
const e =
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
) ? [m.WORKFLOW] : [];
|
|
49
|
+
const e = n?.RestUserSession;
|
|
50
|
+
if (!e?.username)
|
|
51
|
+
return [];
|
|
52
|
+
const t = await H(e);
|
|
53
|
+
return await V(t, e) ? [m.WORKFLOW] : [];
|
|
54
54
|
}
|
|
55
55
|
async function X(n, e) {
|
|
56
56
|
const t = n + "/sharing/rest", i = {
|
|
@@ -60,7 +60,7 @@ async function X(n, e) {
|
|
|
60
60
|
f: "json"
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
return F(`${t}/portals/self/servers`, i).then((s) => s?.servers?.find((
|
|
63
|
+
return F(`${t}/portals/self/servers`, i).then((s) => s?.servers?.find((a) => a.serverFunction.indexOf("NotebookServer") > -1), (s) => (console.error(s), !1));
|
|
64
64
|
}
|
|
65
65
|
function Z(n) {
|
|
66
66
|
const e = n?.PortalUserSubset?.privileges, t = [
|
|
@@ -81,14 +81,14 @@ function ee(n) {
|
|
|
81
81
|
}
|
|
82
82
|
class te extends C {
|
|
83
83
|
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 =
|
|
85
|
-
context:
|
|
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 = I({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
|
|
85
|
+
context: E,
|
|
86
86
|
subscribe: !0
|
|
87
|
-
}), this._configureLearnMore = "", this._customDeploymentMappings = {}, this._deployDialogRef =
|
|
87
|
+
}), this._configureLearnMore = "", this._customDeploymentMappings = {}, this._deployDialogRef = h(), this._deployingDialogRef = h(), this._isMobileContextConsumer = w({
|
|
88
88
|
context: R,
|
|
89
89
|
subscribe: !0,
|
|
90
90
|
callback: (e) => this.isMobile = e
|
|
91
|
-
}), this._overviewAccordionItemElement =
|
|
91
|
+
}), 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 = f(), this.itemPropertiesFetched = f(), this.sortTypeChanged = f(), this.tokenRefreshed = f(), this._handleDeployCancelled = () => {
|
|
92
92
|
this._telemetry?.logEvent({
|
|
93
93
|
category: g.SOLUTION_DETAILS,
|
|
94
94
|
action: "Deploy Dialog Canceled",
|
|
@@ -169,17 +169,17 @@ class te extends C {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
const e = "padding-bottom-1-5", t = this._getRelatedResources(), i = this._getYouMayAlsoLikeCards();
|
|
172
|
-
return
|
|
172
|
+
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
173
|
}
|
|
174
174
|
updated() {
|
|
175
175
|
setTimeout(() => {
|
|
176
176
|
const e = this._getYouMayAlsoLikeCards();
|
|
177
177
|
let t = 340;
|
|
178
178
|
for (let i = 0; i < e.length; i++) {
|
|
179
|
-
const s = this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),
|
|
180
|
-
|
|
179
|
+
const s = this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`), a = s?.offsetHeight ? s.offsetHeight + 40 : 0;
|
|
180
|
+
a > t && (t = a);
|
|
181
181
|
}
|
|
182
|
-
this._youMayAlsoLikeBaseHeight = t, this._showYouMayAlsoLikeShowMore = (this._youMayAlsoLikeElement.value?.scrollHeight || 0) > this._youMayAlsoLikeBaseHeight;
|
|
182
|
+
this._youMayAlsoLikeBaseHeight = t, this._showYouMayAlsoLikeShowMore = (this._youMayAlsoLikeElement.value?.scrollHeight || 0) > this._youMayAlsoLikeBaseHeight, this._showScreenshotsShowMore = (this._screenshotsElement.value?.scrollHeight || 0) > this._screenshotsRowBaseHeight + 2;
|
|
183
183
|
}, 100);
|
|
184
184
|
}
|
|
185
185
|
_checkUrlParametersForAutoDeployment() {
|
|
@@ -189,41 +189,41 @@ class te extends C {
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
_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
|
|
192
|
+
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;
|
|
193
|
+
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
194
|
}
|
|
195
|
-
_getTextSection(e, t, i, s,
|
|
196
|
-
return
|
|
195
|
+
_getTextSection(e, t, i, s, a, o) {
|
|
196
|
+
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
197
|
}
|
|
198
198
|
_getButtons() {
|
|
199
199
|
const e = this._itemProperties?.demoURL || "";
|
|
200
|
-
return
|
|
200
|
+
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
201
|
}
|
|
202
202
|
_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 ${
|
|
203
|
+
const s = "solutions-missing-privileges-notice", a = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, o = t.length > 0 ? "" : "display-none", c = t.length > 0 ? "padding-top-sm" : "";
|
|
204
|
+
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
|
|
205
|
+
this._getSpanMessages(e, "padding-bottom-1")}<span class=${`padding-bottom-1-2 ${o}`}>${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${// Bulleted messages
|
|
206
206
|
this._getBulletedMessages(t)}${// Trailing messages
|
|
207
|
-
this._getSpanMessages(i,
|
|
207
|
+
this._getSpanMessages(i, c)}</div></calcite-popover></div>`;
|
|
208
208
|
}
|
|
209
209
|
_getSpanMessages(e, t) {
|
|
210
|
-
return e.length > 0 ? e.map((i) =>
|
|
210
|
+
return e.length > 0 ? e.map((i) => l`<span class=${u(t)}>${i}</span>`) : "";
|
|
211
211
|
}
|
|
212
212
|
_getBulletedMessages(e) {
|
|
213
|
-
return e.length > 0 ?
|
|
213
|
+
return e.length > 0 ? l`<ul>${e.map((t) => l`<li>${t}</li>`)}</ul>` : "";
|
|
214
214
|
}
|
|
215
215
|
_getScreenshotsRow() {
|
|
216
216
|
const e = this._isScreenshotsRowExpanded ? this._translations.showLess : this._translations.showMore, t = this._isScreenshotsRowExpanded ? "arrow-up" : "arrow-down", i = this._showScreenshotsShowMore ? "" : "display-none";
|
|
217
|
-
return
|
|
217
|
+
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
218
|
this._screenshotsElement.value?.classList.toggle("expanded"), this._isScreenshotsRowExpanded = this._screenshotsElement.value.classList.contains("expanded");
|
|
219
219
|
}} .text=${e} text-enabled></calcite-fab></div></calcite-panel></calcite-accordion-item></calcite-accordion>`;
|
|
220
220
|
}
|
|
221
221
|
_getScreenshots() {
|
|
222
|
-
const e = this._itemProperties?.preview.filter((
|
|
223
|
-
return
|
|
224
|
-
const
|
|
225
|
-
let
|
|
226
|
-
return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (
|
|
222
|
+
const e = this._itemProperties?.preview.filter((a) => a.format === "image") || [], t = this._configContextConsumer.value, i = this._isLoaded ? "" : "display-none", s = this._isLoaded ? "display-none" : "";
|
|
223
|
+
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) => {
|
|
224
|
+
const c = $(this.card?.id || "", o.name, t.authentication);
|
|
225
|
+
let d;
|
|
226
|
+
return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (d = $(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) => P(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
227
|
}, [])}</calcite-card-group>`;
|
|
228
228
|
}
|
|
229
229
|
_openScreenshotGallery(e) {
|
|
@@ -242,40 +242,40 @@ class te extends C {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
_getOverviewRow() {
|
|
245
|
-
return
|
|
245
|
+
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
246
|
}
|
|
247
247
|
_getDescriptionRow() {
|
|
248
|
-
return
|
|
248
|
+
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
249
|
}
|
|
250
250
|
_getInformationProductsRow() {
|
|
251
|
-
return
|
|
251
|
+
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
252
|
}
|
|
253
253
|
_getInformationTableHeaderRow() {
|
|
254
|
-
return
|
|
254
|
+
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
255
|
}
|
|
256
256
|
_getInformationTableRows() {
|
|
257
|
-
return (this._itemProperties?.infoProducts || []).map((t) =>
|
|
257
|
+
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
258
|
}
|
|
259
259
|
_getReleaseNotesRow() {
|
|
260
|
-
return
|
|
260
|
+
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
261
|
}
|
|
262
262
|
_getReleaseNotesTableHeaderRow() {
|
|
263
|
-
return
|
|
263
|
+
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
264
|
}
|
|
265
265
|
_getReleaseNotesTableRows() {
|
|
266
|
-
return (this._itemProperties?.releaseNotes || [])?.map((t) =>
|
|
266
|
+
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
267
|
}
|
|
268
268
|
_getRelatedResourcesRow(e) {
|
|
269
|
-
return
|
|
270
|
-
|
|
269
|
+
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(() => {
|
|
270
|
+
l`<solution-resource-card></solution-resource-card>`;
|
|
271
271
|
})}</div></calcite-accordion-item></calcite-accordion>`;
|
|
272
272
|
}
|
|
273
273
|
_getRelatedResources() {
|
|
274
274
|
return [];
|
|
275
275
|
}
|
|
276
276
|
_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
|
|
277
|
+
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` };
|
|
278
|
+
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
279
|
this._youMayAlsoLikeElement.value?.classList.toggle("expanded"), this._isYouMayAlsoLikeRowExpanded = this._youMayAlsoLikeElement.value.classList.contains("expanded");
|
|
280
280
|
}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`;
|
|
281
281
|
}
|
|
@@ -284,7 +284,7 @@ class te extends C {
|
|
|
284
284
|
return this._allCards.filter((t) => e.indexOf(t.deployCommonId) > -1);
|
|
285
285
|
}
|
|
286
286
|
_getTermsOfUseRow() {
|
|
287
|
-
return
|
|
287
|
+
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
288
|
}
|
|
289
289
|
_openDeploy() {
|
|
290
290
|
if (this._configContextConsumer.value.authentication.IsSignedIn) {
|
|
@@ -335,41 +335,41 @@ class te extends C {
|
|
|
335
335
|
async _getItemData() {
|
|
336
336
|
const e = this._configContextConsumer.value, t = e?.agoBasedEnterpriseSolutionsGroupId && e?.isEnterprise ? e.anonAgolSession : e?.userSession, i = await z(this.card.id, t), s = await B(this.card.id, t);
|
|
337
337
|
this._itemProperties = s.properties, this.itemPropertiesFetched.emit(this._itemProperties);
|
|
338
|
-
const
|
|
339
|
-
this._privileges = t.username ?
|
|
340
|
-
const
|
|
341
|
-
this._missingPrivilegeMessages = O(this._translations,
|
|
342
|
-
const
|
|
343
|
-
this._userOptions =
|
|
338
|
+
const a = A(i, this.card.typeKeywords, e?.authentication);
|
|
339
|
+
this._privileges = t.username ? a : [], this._userPrivileges = e?.authentication && e?.userSession ? await K(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
|
|
340
|
+
const o = this._privileges.filter((d) => !this._userPrivileges.includes(d));
|
|
341
|
+
this._missingPrivilegeMessages = O(this._translations, o), this._isDeployDisabled = this._missingPrivilegeMessages && (this._missingPrivilegeMessages.leadingMessages.length > 0 || this._missingPrivilegeMessages.bulletedMessages.length > 0 || this._missingPrivilegeMessages.trailingMessages.length > 0);
|
|
342
|
+
const c = i.params ? await this.formatParams(i.params) : [];
|
|
343
|
+
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
344
|
}
|
|
345
345
|
formatParams(e) {
|
|
346
|
-
const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [],
|
|
346
|
+
const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [], a = {
|
|
347
347
|
id: "",
|
|
348
348
|
props: [],
|
|
349
349
|
accordionDisplay: !1
|
|
350
350
|
};
|
|
351
351
|
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:
|
|
352
|
+
const o = [];
|
|
353
|
+
return s.forEach((c) => {
|
|
354
|
+
const d = e[c];
|
|
355
|
+
d.valueType && d.valueType.toLowerCase() === "itemid" && o.push(this._findExistingItem(c, "Feature Service", t.username || ""));
|
|
356
|
+
}), Promise.all(o).then((c) => {
|
|
357
|
+
const d = {};
|
|
358
|
+
return c.forEach((r) => {
|
|
359
|
+
if (r.query && r.results && r.results.length > 0) {
|
|
360
|
+
const k = r.query.split(" ")[0].replace("typekeywords:source-", "");
|
|
361
|
+
d[k] = {
|
|
362
|
+
resultId: r.results[0].id,
|
|
363
|
+
response: r.results[0]
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
|
-
}), s.forEach((
|
|
367
|
-
if (
|
|
368
|
-
this._configureLearnMore = e[
|
|
366
|
+
}), s.forEach((r) => {
|
|
367
|
+
if (r === "serviceLearnMore") {
|
|
368
|
+
this._configureLearnMore = e[r], alert(this._configureLearnMore), delete e[r];
|
|
369
369
|
return;
|
|
370
370
|
}
|
|
371
|
-
e[
|
|
372
|
-
}), i.push(
|
|
371
|
+
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);
|
|
372
|
+
}), i.push(a), Promise.resolve(i);
|
|
373
373
|
}).catch(() => Promise.resolve([]));
|
|
374
374
|
} else
|
|
375
375
|
return Promise.resolve([]);
|
|
@@ -379,16 +379,16 @@ class te extends C {
|
|
|
379
379
|
return G(`typekeywords:source-${e} type:${t} owner:${i}`, s);
|
|
380
380
|
}
|
|
381
381
|
updateUserProp(e, t) {
|
|
382
|
-
const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"),
|
|
383
|
-
return e.responseValue =
|
|
382
|
+
const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"), a = M(t, i ? "url" : "type", "") || "", o = a !== "" && s.test(a);
|
|
383
|
+
return e.responseValue = o ? a : "", e.name = o && v(t, "name") || "", e.title = o && v(t, "title") || "", e.itemType = o ? v(t, "type") : e.itemType, e.validId = o, e.itemUrl = U(t.id, this._configContextConsumer.value.authentication), o;
|
|
384
384
|
}
|
|
385
385
|
updateOption(e, t, i) {
|
|
386
|
-
const s = e.default || "",
|
|
386
|
+
const s = e.default || "", a = typeof s, o = s.toString();
|
|
387
387
|
this._setFeatureServiceProps(e);
|
|
388
|
-
const
|
|
388
|
+
const c = this.getValidation(e, o);
|
|
389
389
|
t.props.push({
|
|
390
390
|
id: i,
|
|
391
|
-
outType:
|
|
391
|
+
outType: a,
|
|
392
392
|
prop: i,
|
|
393
393
|
itemType: e.itemType || "",
|
|
394
394
|
responseValue: e.responseValue || "",
|
|
@@ -396,11 +396,11 @@ class te extends C {
|
|
|
396
396
|
choices: e.choices || [],
|
|
397
397
|
valueType: e.valueType.toLowerCase(),
|
|
398
398
|
attributes: e.attributes || {},
|
|
399
|
-
value: e.existingItemId && e.valueType.toLowerCase() === "itemid" ? e.existingItemId :
|
|
400
|
-
default:
|
|
401
|
-
srSearchText:
|
|
402
|
-
autoSelect:
|
|
403
|
-
...
|
|
399
|
+
value: e.existingItemId && e.valueType.toLowerCase() === "itemid" ? e.existingItemId : o,
|
|
400
|
+
default: o,
|
|
401
|
+
srSearchText: o,
|
|
402
|
+
autoSelect: o !== "",
|
|
403
|
+
...c,
|
|
404
404
|
loading: !1,
|
|
405
405
|
validId: !0,
|
|
406
406
|
tooltip: e.tooltip || "",
|
|
@@ -413,9 +413,9 @@ class te extends C {
|
|
|
413
413
|
e.valueType && e.valueType.toLowerCase() === "itemid" && Y(e, "attributes.required", "true");
|
|
414
414
|
}
|
|
415
415
|
getValidation(e, t) {
|
|
416
|
-
let i = "", s = v(e, "validation.message") || "",
|
|
417
|
-
return v(e, "attributes.required") === "true" && (i = M(e, "validation.expression", "\\S{1,}"),
|
|
418
|
-
valid:
|
|
416
|
+
let i = "", s = v(e, "validation.message") || "", a = !0;
|
|
417
|
+
return v(e, "attributes.required") === "true" && (i = M(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), {
|
|
418
|
+
valid: a,
|
|
419
419
|
validation: {
|
|
420
420
|
expression: i,
|
|
421
421
|
message: s
|
|
@@ -469,7 +469,7 @@ class te extends C {
|
|
|
469
469
|
this._isLoaded ? this._openDeploy() : this._configContextConsumer.value.authentication?.IsSignedIn ? this._showLoader = !0 : this._openDeploy();
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
|
|
472
|
+
S("solution-details-panel", te);
|
|
473
473
|
export {
|
|
474
474
|
te as SolutionDetailsPanel
|
|
475
475
|
};
|
|
@@ -10,7 +10,7 @@ import "@arcgis/core/identity/IdentityManager.js";
|
|
|
10
10
|
import "@arcgis/core/identity/OAuthInfo.js";
|
|
11
11
|
import "@arcgis/core/portal/Portal.js";
|
|
12
12
|
import { createRef as m, ref as u } from "lit-html/directives/ref.js";
|
|
13
|
-
const f = g`*[tabindex]:focus-visible{outline:solid 2px var(--calcite-color-brand);outline-offset:2px}.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}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{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.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-lg)}.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}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block;object-fit:contain}`;
|
|
13
|
+
const f = g`*[tabindex]:focus-visible{outline:solid 2px var(--calcite-color-brand);outline-offset:2px}.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}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{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.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-lg)}.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}.footer-card img{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;object-fit:contain}`;
|
|
14
14
|
class b extends l {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this.open = !1, this._screenshots = [], this._translations = c({ name: "solution-snapshot-gallery", blocking: !0 }), this._configContextConsumer = d({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
3
|
+
import { css as y, html as h } from "lit";
|
|
4
4
|
import { repeat as g } from "lit/directives/repeat.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { LitElement as f, createEvent as p, safeClassMap as
|
|
7
|
-
import { e as F, A as
|
|
8
|
-
import { useContextConsumer as
|
|
9
|
-
const
|
|
5
|
+
import { u as N } from "../../chunks/useT9n.js";
|
|
6
|
+
import { LitElement as f, createEvent as p, safeClassMap as S } from "@arcgis/lumina";
|
|
7
|
+
import { e as F, A, G as I, d as C, T as O, J as _ } from "../../chunks/interfaces.js";
|
|
8
|
+
import { useContextConsumer as E } from "@arcgis/lumina/context";
|
|
9
|
+
const T = y`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1);--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
10
|
PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
|
|
11
11
|
STATEANDLOCALGOVERNMENT: [
|
|
12
12
|
"AGRICULTURE",
|
|
@@ -25,24 +25,24 @@ const O = N`.width-full{width:100%}calcite-panel{--calcite-panel-background-colo
|
|
|
25
25
|
"TRANSPORTATION"
|
|
26
26
|
],
|
|
27
27
|
UTILITIES: ["DISTRICTENERGY", "ELECTRIC", "GAS", "SEWER", "STORMWATER", "WATER"]
|
|
28
|
-
},
|
|
29
|
-
(
|
|
28
|
+
}, v = Object.keys(F).reduce(
|
|
29
|
+
(m, t) => {
|
|
30
30
|
const e = t;
|
|
31
|
-
return
|
|
31
|
+
return m[e] = R[e] ?? [], m;
|
|
32
32
|
},
|
|
33
33
|
{}
|
|
34
34
|
);
|
|
35
|
-
class
|
|
35
|
+
class M extends f {
|
|
36
36
|
constructor() {
|
|
37
37
|
super(), this.hideIndustryFilter = !1, this.isAIDialogOpen = !1, this.showReset = !1, this._activeFilterSettings = {
|
|
38
38
|
categories: []
|
|
39
|
-
}, this._isMobile = !1, this._translations =
|
|
40
|
-
context:
|
|
39
|
+
}, this._isMobile = !1, this._translations = N({ name: "solutions-filter-panel", blocking: !0 }), this._userFirstName = "", this._configContextConsumer = E({
|
|
40
|
+
context: A,
|
|
41
41
|
subscribe: !0,
|
|
42
42
|
callback: (t) => {
|
|
43
43
|
t?.userSession && !this._userFirstName && this._loadUserFirstName();
|
|
44
44
|
}
|
|
45
|
-
}), this._isMobileContextConsumer =
|
|
45
|
+
}), this._isMobileContextConsumer = E({
|
|
46
46
|
context: I,
|
|
47
47
|
subscribe: !0,
|
|
48
48
|
callback: (t) => this._isMobile = t
|
|
@@ -55,6 +55,9 @@ class v extends f {
|
|
|
55
55
|
}, this._industryMatchName = (t) => {
|
|
56
56
|
const e = Object.keys(this._translations.industries).find((o) => o.toUpperCase() === t.replaceAll(" ", "").toUpperCase());
|
|
57
57
|
return e && e in this._translations.industries ? this._translations.industries[e] : t;
|
|
58
|
+
}, this._domainMatchName = (t) => {
|
|
59
|
+
const e = Object.keys(this._translations.industriesDomain).find((o) => o.toUpperCase() === t.replaceAll(" ", "").toUpperCase());
|
|
60
|
+
return e && e in this._translations.industriesDomain ? this._translations.industriesDomain[e] : t;
|
|
58
61
|
}, this.listenOn(window, "filterRemoved", this._handleFilterRemoved), this.listenOn(window, "closeAssistant", () => {
|
|
59
62
|
this.isAIDialogOpen = !1;
|
|
60
63
|
}), this.listenOn(window, "openAssistant", () => {
|
|
@@ -67,7 +70,7 @@ class v extends f {
|
|
|
67
70
|
this.properties = { hideIndustryFilter: 5, isAIDialogOpen: 5, showReset: 5, _activeFilterSettings: 16, _isMobile: 16, _translations: 16, _userFirstName: 16 };
|
|
68
71
|
}
|
|
69
72
|
static {
|
|
70
|
-
this.styles =
|
|
73
|
+
this.styles = T;
|
|
71
74
|
}
|
|
72
75
|
get _telemetry() {
|
|
73
76
|
return this._configContextConsumer.value?.telemetrySession;
|
|
@@ -76,15 +79,15 @@ class v extends f {
|
|
|
76
79
|
if (t !== "" || e !== "") {
|
|
77
80
|
let n = [];
|
|
78
81
|
if (e !== "") {
|
|
79
|
-
const i = F[t];
|
|
82
|
+
const i = F[t], a = this._industryMatchName(i), s = C[e], r = this._domainMatchName(s);
|
|
80
83
|
n = [{
|
|
81
|
-
displayValue:
|
|
84
|
+
displayValue: a,
|
|
82
85
|
type: "industry",
|
|
83
86
|
value: t,
|
|
84
87
|
industry: t,
|
|
85
88
|
domain: ""
|
|
86
89
|
}, {
|
|
87
|
-
displayValue:
|
|
90
|
+
displayValue: r,
|
|
88
91
|
type: "domain",
|
|
89
92
|
value: e,
|
|
90
93
|
industry: t,
|
|
@@ -127,32 +130,32 @@ class v extends f {
|
|
|
127
130
|
this.clearFilters();
|
|
128
131
|
}} 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><calcite-button id=solutions-assistant-button icon-start=speech-bubbles label="Solutions Assistant" @click=${() => {
|
|
129
132
|
this._telemetry?.logEvent({
|
|
130
|
-
category:
|
|
133
|
+
category: O.ASSISTANT,
|
|
131
134
|
action: "Open"
|
|
132
135
|
}), this.isAIDialogOpen = !0;
|
|
133
136
|
}} 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>`;
|
|
134
137
|
}
|
|
135
138
|
renderIndustryBlock() {
|
|
136
139
|
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) => {
|
|
137
|
-
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,
|
|
140
|
+
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);
|
|
138
141
|
return h`<calcite-tree-item .label=${c} @click=${(l) => {
|
|
139
142
|
l.detail !== 0 && this.changeIndustryFilter(i, s, c, !0);
|
|
140
143
|
}} @keydown=${(l) => {
|
|
141
|
-
|
|
144
|
+
_(l, () => {
|
|
142
145
|
this.changeIndustryFilter(i, s, c, !0);
|
|
143
146
|
});
|
|
144
|
-
}} .selected=${
|
|
145
|
-
}), n = g(Object.entries(
|
|
146
|
-
const s = this._industryMatchName(i), r = a, c = e(i),
|
|
147
|
+
}} .selected=${u || void 0}>${c}</calcite-tree-item>`;
|
|
148
|
+
}), n = g(Object.entries(v), ([i, a]) => i, ([i, a]) => {
|
|
149
|
+
const s = this._industryMatchName(i), r = a, c = e(i), u = o(i, r);
|
|
147
150
|
return h`<calcite-tree-item .label=${s} @click=${(l) => {
|
|
148
151
|
l.detail !== 0 && this.changeIndustryFilter(i, "", s, !0);
|
|
149
152
|
}} @keydown=${(l) => {
|
|
150
|
-
|
|
153
|
+
_(l, () => {
|
|
151
154
|
this.changeIndustryFilter(i, "", s, !0);
|
|
152
155
|
});
|
|
153
|
-
}} .selected=${c || void 0} .expanded=${
|
|
156
|
+
}} .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>`;
|
|
154
157
|
});
|
|
155
|
-
return h`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-action class=${
|
|
158
|
+
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>`;
|
|
156
159
|
}
|
|
157
160
|
_toggleFilter() {
|
|
158
161
|
this.toggleFilter.emit();
|
|
@@ -168,7 +171,7 @@ class v extends f {
|
|
|
168
171
|
}
|
|
169
172
|
}
|
|
170
173
|
}
|
|
171
|
-
b("solutions-filter-panel",
|
|
174
|
+
b("solutions-filter-panel", M);
|
|
172
175
|
export {
|
|
173
|
-
|
|
176
|
+
M as SolutionsFilterPanel
|
|
174
177
|
};
|