@esri/solutions-components 5.0.2-next.9 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/dist/cdn/{PNBTKFO6.js → 254AARKL.js} +1 -1
  2. package/dist/cdn/{VYTGCKEU.js → 2OL2CMZE.js} +1 -1
  3. package/dist/cdn/{5UEEUPL5.js → 3H5S6KGV.js} +1 -1
  4. package/dist/cdn/{XFEOA56B.js → 3NTCGBPK.js} +1 -1
  5. package/dist/cdn/{ASSNR5JI.js → 3QMNW3AL.js} +1 -1
  6. package/dist/cdn/{4CMHNL7Z.js → 3X5E5PEB.js} +1 -1
  7. package/dist/cdn/{TUGGGATS.js → 46N6WE5W.js} +1 -1
  8. package/dist/cdn/{W53A2CNH.js → 47EMI5L2.js} +1 -1
  9. package/dist/cdn/{RDWJHF5P.js → 4H3LGV2O.js} +1 -1
  10. package/dist/cdn/{2642PFUF.js → 4TZGWL7D.js} +1 -1
  11. package/dist/cdn/{FL74XITX.js → 5H3T3ZTG.js} +1 -1
  12. package/dist/cdn/{MMZXFDQZ.js → 632Z67I5.js} +1 -1
  13. package/dist/cdn/{BGO3JXY3.js → 65I7NFWN.js} +1 -1
  14. package/dist/cdn/{WZZG5H7Q.js → 6GMSPYN2.js} +1 -1
  15. package/dist/cdn/{LFIJXE3U.js → 6LLQFZGG.js} +1 -1
  16. package/dist/cdn/{Y4YYE2LG.js → 7G7GTCD2.js} +1 -1
  17. package/dist/cdn/{HAAFUV3J.js → 7QOFBIFO.js} +1 -1
  18. package/dist/cdn/{54WM76XB.js → A25PBMLE.js} +1 -1
  19. package/dist/cdn/{FUUWSZIZ.js → B5ARN6DC.js} +1 -1
  20. package/dist/cdn/{ZQJ2QLO5.js → B7LNGJY2.js} +1 -1
  21. package/dist/cdn/{CK7LURBK.js → BAVJY3AH.js} +1 -1
  22. package/dist/cdn/{WFWPXGGK.js → BVBWBQGA.js} +1 -1
  23. package/dist/cdn/{FZ4NFB5R.js → DIG42YV7.js} +1 -1
  24. package/dist/cdn/{D2QNPQWY.js → E5GLDSJZ.js} +1 -1
  25. package/dist/cdn/{E4L5GTBZ.js → EG4OLFS7.js} +1 -1
  26. package/dist/cdn/F7CBQCHQ.js +2 -0
  27. package/dist/cdn/{LGUC7DRT.js → F7KPKXY6.js} +1 -1
  28. package/dist/cdn/{GJJOB4RR.js → FRM6WUOB.js} +1 -1
  29. package/dist/cdn/{USIESVTZ.js → GHL7S2IO.js} +1 -1
  30. package/dist/cdn/{M7OEPT52.js → GVHIJ3IB.js} +1 -1
  31. package/dist/cdn/{QXLM22NS.js → H2ZDTZJM.js} +1 -1
  32. package/dist/cdn/{HNRZHAOD.js → HLTPPQD5.js} +1 -1
  33. package/dist/cdn/{3M6AYSM7.js → IJBEMLYV.js} +1 -1
  34. package/dist/cdn/{VCH6XDEH.js → IKK4EKF4.js} +1 -1
  35. package/dist/cdn/{U75PDOJF.js → JMOT5FWT.js} +1 -1
  36. package/dist/cdn/{JHOXJY5O.js → JO4WX767.js} +1 -1
  37. package/dist/cdn/{C43NWBRR.js → KB2TRJ24.js} +1 -1
  38. package/dist/cdn/LI7AOAAS.js +2 -0
  39. package/dist/cdn/{4OZQG5MW.js → LT26PSOA.js} +1 -1
  40. package/dist/cdn/{OLDYKR5E.js → LYVD54Z4.js} +1 -1
  41. package/dist/cdn/{WDFQGUHD.js → MJM54ITG.js} +1 -1
  42. package/dist/cdn/{2J6ZHQEF.js → MKJGHHQA.js} +1 -1
  43. package/dist/cdn/{BHHQFUCH.js → MOQP5E5H.js} +1 -1
  44. package/dist/cdn/{N5YBX6NM.js → MQ3VVC37.js} +1 -1
  45. package/dist/cdn/{BFHVGXZN.js → O5B2N6WR.js} +1 -1
  46. package/dist/cdn/{DZUVI4S3.js → OELPVFFA.js} +1 -1
  47. package/dist/cdn/OWIJJGEY.js +2 -0
  48. package/dist/cdn/{B5SYTUTT.js → PHNGM56J.js} +1 -1
  49. package/dist/cdn/{ZYTKA3NP.js → PTCD4PWF.js} +1 -1
  50. package/dist/cdn/{5VP4DXWE.js → PUFV6POH.js} +1 -1
  51. package/dist/cdn/{KVR3XE7B.js → PXZF4QLN.js} +1 -1
  52. package/dist/cdn/{JQO5U72D.js → Q364IAYO.js} +1 -1
  53. package/dist/cdn/{ZRCMN3AQ.js → Q5CDQ25L.js} +1 -1
  54. package/dist/cdn/{UDTF5SYU.js → QDQVOSEM.js} +1 -1
  55. package/dist/cdn/{VDDTJAF2.js → QFQS5CRA.js} +1 -1
  56. package/dist/cdn/{N7RLYKQG.js → QKSDEEHH.js} +1 -1
  57. package/dist/cdn/{UR6OMPID.js → QO5AMX4U.js} +1 -1
  58. package/dist/cdn/{RTSKNY33.js → QRPBAR4V.js} +1 -1
  59. package/dist/cdn/{LTBO6VJF.js → RNEXKDUX.js} +1 -1
  60. package/dist/cdn/{BVWFZPY7.js → S23N6TCC.js} +1 -1
  61. package/dist/cdn/{6E6CKB2R.js → SHZO2XLE.js} +1 -1
  62. package/dist/cdn/{TAXUQXTN.js → SJEXGZK4.js} +1 -1
  63. package/dist/cdn/{5Z32YRHM.js → SVAPYMHV.js} +1 -1
  64. package/dist/cdn/{HLPUNGB5.js → TH6ZKLKN.js} +1 -1
  65. package/dist/cdn/{6CJGNF3Y.js → TZR3I4ZP.js} +2 -2
  66. package/dist/cdn/{AJRYDDC7.js → U2XTDZYY.js} +1 -1
  67. package/dist/cdn/{XUFPQNGT.js → UDOITPWM.js} +1 -1
  68. package/dist/cdn/{QKGOQ7EC.js → URNDQQPI.js} +1 -1
  69. package/dist/cdn/{UDPPJCXC.js → UW42HUTN.js} +1 -1
  70. package/dist/cdn/{JN4HYWSX.js → VNMG3E5D.js} +1 -1
  71. package/dist/cdn/{QJ4MQK3Y.js → VPNO4RA7.js} +1 -1
  72. package/dist/cdn/{Y3FTYVXY.js → WEWRDXGB.js} +1 -1
  73. package/dist/cdn/{NQF577F4.js → WUNWHJR5.js} +1 -1
  74. package/dist/cdn/{6EFUV7CH.js → WZGZCVBE.js} +1 -1
  75. package/dist/cdn/{6LPOLFT7.js → XWZ2LVEA.js} +1 -1
  76. package/dist/cdn/{V65IKENN.js → Y3CSVJBO.js} +1 -1
  77. package/dist/cdn/{KSKNVJAL.js → Y7H6OFT6.js} +1 -1
  78. package/dist/cdn/{55CA3AGN.js → YCKE3G3V.js} +1 -1
  79. package/dist/cdn/Z6D47FMI.js +2 -0
  80. package/dist/cdn/{NQXUGAR7.js → ZEFTAU6G.js} +1 -1
  81. package/dist/cdn/{BNQ63VOG.js → ZTRDNR6L.js} +1 -1
  82. package/dist/cdn/{HPBIBS4W.js → ZV6LDJIX.js} +1 -1
  83. package/dist/cdn/{TBJLV2A3.js → ZWFXFJN5.js} +1 -1
  84. package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
  85. package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
  86. package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
  87. package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
  88. package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
  89. package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
  90. package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
  91. package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
  92. package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
  93. package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
  94. package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
  95. package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
  96. package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
  97. package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
  98. package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
  99. package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
  100. package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
  101. package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
  102. package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
  103. package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
  104. package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
  105. package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
  106. package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
  107. package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
  108. package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
  109. package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
  110. package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
  111. package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
  112. package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
  113. package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
  114. package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
  115. package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
  116. package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
  117. package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
  118. package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
  119. package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
  120. package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
  121. package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
  122. package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
  123. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
  124. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
  125. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
  126. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
  127. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
  128. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
  129. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
  130. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
  131. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
  132. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
  133. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
  134. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
  135. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
  136. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
  137. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
  138. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
  139. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
  140. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
  141. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
  142. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
  143. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
  144. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
  145. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
  146. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
  147. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
  148. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
  149. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
  150. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
  151. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
  152. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
  153. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
  154. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
  155. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
  156. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
  157. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
  158. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
  159. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
  160. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
  161. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
  162. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ar.json +1 -1
  163. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bg.json +1 -1
  164. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bs.json +1 -1
  165. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ca.json +1 -1
  166. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.cs.json +1 -1
  167. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.da.json +1 -1
  168. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.de.json +1 -1
  169. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.el.json +1 -1
  170. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.es.json +1 -1
  171. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.et.json +1 -1
  172. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fi.json +1 -1
  173. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fr.json +1 -1
  174. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.he.json +1 -1
  175. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hr.json +1 -1
  176. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hu.json +1 -1
  177. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.id.json +1 -1
  178. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.it.json +1 -1
  179. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ja.json +1 -1
  180. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ko.json +1 -1
  181. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lt.json +1 -1
  182. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lv.json +1 -1
  183. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.nl.json +1 -1
  184. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.no.json +1 -1
  185. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pl.json +1 -1
  186. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-BR.json +1 -1
  187. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-PT.json +1 -1
  188. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ro.json +1 -1
  189. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ru.json +1 -1
  190. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sk.json +1 -1
  191. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sl.json +1 -1
  192. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sr.json +1 -1
  193. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sv.json +1 -1
  194. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.th.json +1 -1
  195. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.tr.json +1 -1
  196. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.uk.json +1 -1
  197. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.vi.json +1 -1
  198. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-CN.json +1 -1
  199. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-HK.json +1 -1
  200. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-TW.json +1 -1
  201. package/dist/cdn/index.js +1 -1
  202. package/dist/chunks/runtime.js +2 -2
  203. package/dist/chunks/solution-deploy-dialog.js +1 -1
  204. package/dist/components/solution-details-panel/customElement.js +85 -84
  205. package/dist/docs/api.json +1 -1
  206. package/dist/docs/docs.json +1 -1
  207. package/dist/docs/web-types.json +1 -1
  208. package/dist/solutions-components_commit.txt +7 -7
  209. package/package.json +1 -1
  210. package/dist/cdn/N5PYWRMD.js +0 -2
  211. package/dist/cdn/NXG2TZQJ.js +0 -2
  212. package/dist/cdn/NZYAEBC7.js +0 -2
  213. package/dist/cdn/VU3OQQKP.js +0 -2
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
2
  import { c as S } from "../../chunks/runtime.js";
3
3
  import { u as I } from "../../chunks/useT9n.js";
4
- import { createRef as d, ref as h } from "lit-html/directives/ref.js";
5
- import { LitElement as C, createEvent as f, safeClassMap as u, nothing as y, safeStyleMap as D } from "@arcgis/lumina";
4
+ import { createRef as h, ref as p } from "lit-html/directives/ref.js";
5
+ import { LitElement as C, createEvent as v, safeClassMap as u, nothing as y, safeStyleMap as D } from "@arcgis/lumina";
6
6
  import { useContextConsumer as w } from "@arcgis/lumina/context";
7
7
  import { E as m, V as E, g as x, A as L, 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 a } from "lit";
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";
8
+ import { css as N, html as l } from "lit";
9
+ import { request as F, getWorkflowBaseURL as H, getWorkflowManagerAuthorized as V, sanitizeHTML as _, getItemDataAsJson as z, getItem as B, getPropWithDefault as M, getProp as f, 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";
@@ -22,9 +22,9 @@ async function K(n, e, t) {
22
22
  x.VELOCITYFEEDS,
23
23
  x.VELOCITYBIGDATA,
24
24
  x.VELOCITYREALTIME
25
- ].forEach((l) => {
26
- const r = t.indexOf(l) || -1;
27
- r !== -1 && t.splice(r, 1);
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),
@@ -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((o) => o.serverFunction.indexOf("NotebookServer") > -1), (s) => (console.error(s), !1));
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 = I({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
84
+ super(), this._isDeployDisabled = !1, this._isLoaded = !1, this._itemFetched = !1, this._showScreenshotsShowMore = !1, this._showYouMayAlsoLikeShowMore = !1, this.isMobile = !1, this._isScreenshotsRowExpanded = !1, this._isYouMayAlsoLikeRowExpanded = !1, this._screenshotsRowBaseHeight = 340, this._showLoader = !1, this._templates = [], this._translations = I({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
85
85
  context: L,
86
86
  subscribe: !0
87
- }), this._configureLearnMore = "", this._customDeploymentMappings = {}, this._deployDialogRef = d(), this._deployingDialogRef = d(), this._isMobileContextConsumer = w({
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 = d(), this._privilegePopoverRef = d(), this._privileges = [], this._regexFsUrl = "https?:\\/\\/.+FeatureServer\\b", this._regexID = "\\b[0-9A-F]{32}\\b", this._releaseNotesAccordionItemElement = d(), this._relatedResourcesAccordionItemElement = d(), this._screenshotsAccordionItemElement = d(), this._screenshotsDialogRef = d(), this._screenshotsElement = d(), this._termsOfUseAccordionItemElement = d(), this._userOptions = [], this._youMayAlsoLikeAccordionItemElement = d(), this._youMayAlsoLikeElement = d(), 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 = () => {
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 = v(), this.itemPropertiesFetched = v(), this.sortTypeChanged = v(), this.tokenRefreshed = v(), this._handleDeployCancelled = () => {
92
92
  this._telemetry?.logEvent({
93
93
  category: g.SOLUTION_DETAILS,
94
94
  action: "Deploy Dialog Canceled",
@@ -142,7 +142,7 @@ class te extends C {
142
142
  }, this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "allCardsFetched", this._allCardsFetched), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected), this.listenOn(window, "deployedCardReady", this._handleDeployedCardReady), this.listenOn(window, "deploymentCompletedWithoutNav", this._handleDeploymentFallback);
143
143
  }
144
144
  static {
145
- this.properties = { card: 0, _isDeployDisabled: 16, _isLoaded: 16, _showScreenshotsShowMore: 16, _showYouMayAlsoLikeShowMore: 16, isMobile: 16, _isScreenshotsRowExpanded: 16, _isYouMayAlsoLikeRowExpanded: 16, _itemProperties: 16, _missingPrivilegeMessages: 16, _screenshotsRowBaseHeight: 16, _showLoader: 16, _templates: 16, _translations: 16, _youMayAlsoLikeBaseHeight: 16 };
145
+ this.properties = { card: 0, _isDeployDisabled: 16, _isLoaded: 16, _itemFetched: 16, _showScreenshotsShowMore: 16, _showYouMayAlsoLikeShowMore: 16, isMobile: 16, _isScreenshotsRowExpanded: 16, _isYouMayAlsoLikeRowExpanded: 16, _itemProperties: 16, _missingPrivilegeMessages: 16, _screenshotsRowBaseHeight: 16, _showLoader: 16, _templates: 16, _translations: 16, _youMayAlsoLikeBaseHeight: 16 };
146
146
  }
147
147
  static {
148
148
  this.styles = W;
@@ -169,15 +169,15 @@ 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 a`<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 ? a`<div class=${u(e)}>${this._getRelatedResourcesRow(t)}</div>` : ""}${i.length > 0 ? a`<div class=${u(e)}>${this._getYouMayAlsoLikeRow(i)}</div>` : ""}<div class=${u(e)}>${this._getTermsOfUseRow()}</div>${this.isMobile ? "" : a`<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} ${h(this._deployDialogRef)}></solution-deploy-dialog>`}<solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${h(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} @deploymentProcessCancelled=${this._handleDeploymentProcessCancelled} ${h(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel></calcite-shell>`;
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}`), o = s?.offsetHeight ? s.offsetHeight + 40 : 0;
180
- o > t && (t = o);
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
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);
@@ -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 || [], o = s.length > 0, l = this._missingPrivilegeMessages?.trailingMessages || [], r = l.length > 0;
193
- return a`<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, o, r, t, s, l)}${this._getButtons()}</div></div>`;
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, o, l) {
196
- return a`<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((r) => r.includes("New Release")) && a`<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 ? a`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(s, o, l)}</div>` : ""}</div>`;
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 a`<div class="display-flex flex-direction-column button-width">${!this.isMobile && a`<calcite-button class="padding-bottom-1 solution-detail-action" .disabled=${this._isDeployDisabled} icon-flip-rtl=end @click=${() => this._checkPermissionsBeforeDeploy()} scale=m>${this._showLoader ? a`<calcite-loader inline label></calcite-loader>` : this._translations.deployButton}</calcite-button>` || ""}${!this._configContextConsumer.value?.isEnterprise && e && a`<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 && a`<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>`;
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", o = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, l = t.length > 0 ? "" : "display-none", r = t.length > 0 ? "padding-top-sm" : "";
204
- return a`<div><calcite-notice class="margin-inline-unset" kind=info open><div slot=message>${`${o}`}</div><calcite-action icon=information id=${s} slot=actions-end .text=${o}></calcite-action></calcite-notice><calcite-popover closable label overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${h(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 ${l}`}>${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${// Bulleted messages
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, r)}</div></calcite-popover></div>`;
207
+ this._getSpanMessages(i, c)}</div></calcite-popover></div>`;
208
208
  }
209
209
  _getSpanMessages(e, t) {
210
- return e.length > 0 ? e.map((i) => a`<span class=${u(t)}>${i}</span>`) : "";
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 ? a`<ul>${e.map((t) => a`<li>${t}</li>`)}</ul>` : "";
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 a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(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 ${h(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${i}`} .icon=${t} kind=neutral @click=${() => {
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((i) => i.format === "image") || [], t = this._configContextConsumer.value;
223
- return a`<calcite-card-group class="card-group" .label=${this._translations.solutionOverview}>${e.reduce((i, s) => {
224
- const o = $(this.card?.id || "", s.name, t.authentication);
225
- let l;
226
- return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (l = $(this.card?.id || "", s.name, void 0, t.agolPortalUrl)), this.card?.id ? i.push(a`<calcite-card class=${`${this.isMobile ? "is-mobile" : "cursor-pointer not-mobile"}`} .label=${s.alt} @click=${() => this._openScreenshotGallery(s)} @keydown=${(r) => P(r, () => this._openScreenshotGallery(s))}><div class="card-image-wrap" slot=thumbnail><img alt=${s.alt ?? y} class="thumbnail card-image" slot=thumbnail src=${(l || o) ?? y}>${!this.isMobile && a`<div class="hover-text">${this._translations.openInGallery}</div>` || ""}</div></calcite-card>`) : i.push(""), i;
222
+ const e = this._itemProperties?.preview.filter((a) => a.format === "image") || [], t = this._configContextConsumer.value, i = this._itemFetched ? "" : "display-none", s = this._itemFetched ? "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 a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(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>`;
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 a`<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>`;
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 a`<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>`;
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 a`<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>`;
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) => a`<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>`);
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 a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(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>`;
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 a`<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>`;
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) => a`<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>`);
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 a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(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
- a`<solution-resource-card></solution-resource-card>`;
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", o = this._isYouMayAlsoLikeRowExpanded ? "" : { height: `${this._youMayAlsoLikeBaseHeight}px` };
278
- return a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(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(o)} ${h(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((l, r) => a`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${l} 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=${() => {
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 a`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${h(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>`;
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) {
@@ -333,43 +333,44 @@ class te extends C {
333
333
  this._overviewAccordionItemElement.value && (this._overviewAccordionItemElement.value.expanded = !0), this._releaseNotesAccordionItemElement.value && (this._releaseNotesAccordionItemElement.value.expanded = !0), this._relatedResourcesAccordionItemElement.value && (this._relatedResourcesAccordionItemElement.value.expanded = !0), this._screenshotsAccordionItemElement.value && (this._screenshotsAccordionItemElement.value.expanded = !0), this._termsOfUseAccordionItemElement.value && (this._termsOfUseAccordionItemElement.value.expanded = !0), this._youMayAlsoLikeAccordionItemElement.value && (this._youMayAlsoLikeAccordionItemElement.value.expanded = !0);
334
334
  }
335
335
  async _getItemData() {
336
+ this._itemFetched = !1;
336
337
  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
- this._itemProperties = s.properties, this.itemPropertiesFetched.emit(this._itemProperties);
338
- const o = A(i, this.card.typeKeywords, e?.authentication);
339
- this._privileges = t.username ? o : [], this._userPrivileges = e?.authentication && e?.userSession ? await K(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
340
- const l = this._privileges.filter((p) => !this._userPrivileges.includes(p));
341
- this._missingPrivilegeMessages = O(this._translations, l), this._isDeployDisabled = this._missingPrivilegeMessages && (this._missingPrivilegeMessages.leadingMessages.length > 0 || this._missingPrivilegeMessages.bulletedMessages.length > 0 || this._missingPrivilegeMessages.trailingMessages.length > 0);
342
- const r = i.params ? await this.formatParams(i.params) : [];
343
- this._userOptions = r, this._templates = i.templates, this.templatesFetched.emit(i.templates), this._checkUrlParametersForAutoDeployment(), this._isLoaded = !0, this._showLoader && (this._showLoader = !1, this._isDeployDisabled || this._openDeploy());
338
+ this._itemFetched = !0, this._itemProperties = s.properties, this.itemPropertiesFetched.emit(this._itemProperties);
339
+ const a = A(i, this.card.typeKeywords, e?.authentication);
340
+ this._privileges = t.username ? a : [], this._userPrivileges = e?.authentication && e?.userSession ? await K(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
341
+ const o = this._privileges.filter((d) => !this._userPrivileges.includes(d));
342
+ 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);
343
+ const c = i.params ? await this.formatParams(i.params) : [];
344
+ 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
345
  }
345
346
  formatParams(e) {
346
- const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [], o = {
347
+ const t = this._configContextConsumer.value.userSession, i = [], s = e ? Object.keys(e) : [], a = {
347
348
  id: "",
348
349
  props: [],
349
350
  accordionDisplay: !1
350
351
  };
351
352
  if (s.length > 0) {
352
- const l = [];
353
- return s.forEach((r) => {
354
- const p = e[r];
355
- p.valueType && p.valueType.toLowerCase() === "itemid" && l.push(this._findExistingItem(r, "Feature Service", t.username || ""));
356
- }), Promise.all(l).then((r) => {
357
- const p = {};
358
- return r.forEach((c) => {
359
- if (c.query && c.results && c.results.length > 0) {
360
- const k = c.query.split(" ")[0].replace("typekeywords:source-", "");
361
- p[k] = {
362
- resultId: c.results[0].id,
363
- response: c.results[0]
353
+ const o = [];
354
+ return s.forEach((c) => {
355
+ const d = e[c];
356
+ d.valueType && d.valueType.toLowerCase() === "itemid" && o.push(this._findExistingItem(c, "Feature Service", t.username || ""));
357
+ }), Promise.all(o).then((c) => {
358
+ const d = {};
359
+ return c.forEach((r) => {
360
+ if (r.query && r.results && r.results.length > 0) {
361
+ const k = r.query.split(" ")[0].replace("typekeywords:source-", "");
362
+ d[k] = {
363
+ resultId: r.results[0].id,
364
+ response: r.results[0]
364
365
  };
365
366
  }
366
- }), s.forEach((c) => {
367
- if (c === "serviceLearnMore") {
368
- this._configureLearnMore = e[c], alert(this._configureLearnMore), delete e[c];
367
+ }), s.forEach((r) => {
368
+ if (r === "serviceLearnMore") {
369
+ this._configureLearnMore = e[r], alert(this._configureLearnMore), delete e[r];
369
370
  return;
370
371
  }
371
- e[c].enterpriseIDMapping && (this._customDeploymentMappings[c] = e[c].enterpriseIDMapping), o.id = c, p[c] && (e[c].existingItemId = p[c].resultId, this.updateUserProp(e[c], p[c].response)), this.updateOption(e[c], o, c);
372
- }), i.push(o), Promise.resolve(i);
372
+ 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);
373
+ }), i.push(a), Promise.resolve(i);
373
374
  }).catch(() => Promise.resolve([]));
374
375
  } else
375
376
  return Promise.resolve([]);
@@ -379,16 +380,16 @@ class te extends C {
379
380
  return G(`typekeywords:source-${e} type:${t} owner:${i}`, s);
380
381
  }
381
382
  updateUserProp(e, t) {
382
- const i = e.itemType?.toLowerCase() === "feature service", s = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"), o = M(t, i ? "url" : "type", "") || "", l = o !== "" && s.test(o);
383
- return e.responseValue = l ? o : "", e.name = l && v(t, "name") || "", e.title = l && v(t, "title") || "", e.itemType = l ? v(t, "type") : e.itemType, e.validId = l, e.itemUrl = U(t.id, this._configContextConsumer.value.authentication), l;
383
+ 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);
384
+ return e.responseValue = o ? a : "", e.name = o && f(t, "name") || "", e.title = o && f(t, "title") || "", e.itemType = o ? f(t, "type") : e.itemType, e.validId = o, e.itemUrl = U(t.id, this._configContextConsumer.value.authentication), o;
384
385
  }
385
386
  updateOption(e, t, i) {
386
- const s = e.default || "", o = typeof s, l = s.toString();
387
+ const s = e.default || "", a = typeof s, o = s.toString();
387
388
  this._setFeatureServiceProps(e);
388
- const r = this.getValidation(e, l);
389
+ const c = this.getValidation(e, o);
389
390
  t.props.push({
390
391
  id: i,
391
- outType: o,
392
+ outType: a,
392
393
  prop: i,
393
394
  itemType: e.itemType || "",
394
395
  responseValue: e.responseValue || "",
@@ -396,11 +397,11 @@ class te extends C {
396
397
  choices: e.choices || [],
397
398
  valueType: e.valueType.toLowerCase(),
398
399
  attributes: e.attributes || {},
399
- value: e.existingItemId && e.valueType.toLowerCase() === "itemid" ? e.existingItemId : l,
400
- default: l,
401
- srSearchText: l,
402
- autoSelect: l !== "",
403
- ...r,
400
+ value: e.existingItemId && e.valueType.toLowerCase() === "itemid" ? e.existingItemId : o,
401
+ default: o,
402
+ srSearchText: o,
403
+ autoSelect: o !== "",
404
+ ...c,
404
405
  loading: !1,
405
406
  validId: !0,
406
407
  tooltip: e.tooltip || "",
@@ -413,9 +414,9 @@ class te extends C {
413
414
  e.valueType && e.valueType.toLowerCase() === "itemid" && Y(e, "attributes.required", "true");
414
415
  }
415
416
  getValidation(e, t) {
416
- let i = "", s = v(e, "validation.message") || "", o = !0;
417
- return v(e, "attributes.required") === "true" && (i = M(e, "validation.expression", "\\S{1,}"), o = new RegExp(i).test(t)), e.valueType && e.valueType.toLowerCase() === "itemid" && (i = this._regexID, s = this._translations.configure.invalidID), {
418
- valid: o,
417
+ let i = "", s = f(e, "validation.message") || "", a = !0;
418
+ return f(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), {
419
+ valid: a,
419
420
  validation: {
420
421
  expression: i,
421
422
  message: s
@@ -429,7 +430,7 @@ class te extends C {
429
430
  this._showYouMayAlsoLikeShowMore = (this._youMayAlsoLikeElement.value?.scrollHeight || 0) > this._youMayAlsoLikeBaseHeight, this._showScreenshotsShowMore = (this._screenshotsElement.value?.scrollHeight || 0) > this._screenshotsRowBaseHeight + 2;
430
431
  }
431
432
  _cleanupPanel() {
432
- this.el.scrollIntoView(!0), this._isScreenshotsRowExpanded = !1, this._showScreenshotsShowMore = !1, this._screenshotsElement.value?.classList.remove("expanded"), this._isYouMayAlsoLikeRowExpanded = !1, this._showYouMayAlsoLikeShowMore = !1, this._youMayAlsoLikeElement.value?.classList.remove("expanded"), this._privilegePopoverRef.value?.open && (this._privilegePopoverRef.value.open = !1), this._isDeployDisabled = !1, this._isLoaded = !1, this._showLoader = !1, this._expandAccordions();
433
+ this.el.scrollIntoView(!0), this._isScreenshotsRowExpanded = !1, this._showScreenshotsShowMore = !1, this._screenshotsElement.value?.classList.remove("expanded"), this._isYouMayAlsoLikeRowExpanded = !1, this._showYouMayAlsoLikeShowMore = !1, this._youMayAlsoLikeElement.value?.classList.remove("expanded"), this._privilegePopoverRef.value?.open && (this._privilegePopoverRef.value.open = !1), this._isDeployDisabled = !1, this._isLoaded = !1, this._itemFetched = !1, this._showLoader = !1, this._expandAccordions();
433
434
  }
434
435
  _deployProgressStart(e) {
435
436
  this._deploymentStartTime = Date.now(), this._telemetry?.logEvent({