@esri/solutions-components 5.1.0-next.100 → 5.1.0-next.102

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 (240) hide show
  1. package/dist/cdn/24OJQL75.js +2 -0
  2. package/dist/cdn/2AXKBNIN.js +2 -0
  3. package/dist/cdn/{CEP54NLT.js → 2C4DK6YC.js} +1 -1
  4. package/dist/cdn/2HGZUNIC.js +2 -0
  5. package/dist/cdn/{E63XW5PH.js → 3NPBN2B4.js} +1 -1
  6. package/dist/cdn/{HHVIWWK2.js → 45UNI2VP.js} +2 -2
  7. package/dist/cdn/4SPIPOYO.js +2 -0
  8. package/dist/cdn/5LX6ROQC.js +384 -0
  9. package/dist/cdn/64ZLSOK3.js +2 -0
  10. package/dist/cdn/{MVYIHKFK.js → 66BZFR5Z.js} +1 -1
  11. package/dist/cdn/{ULTK7DMM.js → 6GOYDVLJ.js} +1 -1
  12. package/dist/cdn/{IVSYM7YY.js → 6UTDTBHM.js} +1 -1
  13. package/dist/cdn/{76APML4N.js → 76OYXG7R.js} +1 -1
  14. package/dist/cdn/{XKFPWKMX.js → 7EPZDMA2.js} +1 -1
  15. package/dist/cdn/{7SJP3QTP.js → 7SFTLJTV.js} +1 -1
  16. package/dist/cdn/7X5K32QE.js +2 -0
  17. package/dist/cdn/{AY6K2SJI.js → A2SX6EF7.js} +1 -1
  18. package/dist/cdn/{2MK34V3V.js → ADTHTFGI.js} +1 -1
  19. package/dist/cdn/{IEKNRCBC.js → AFMPPVMO.js} +1 -1
  20. package/dist/cdn/{TFZ2AK22.js → ANZVLZYR.js} +1 -1
  21. package/dist/cdn/{VG6ML5VK.js → AO3QYZNQ.js} +1 -1
  22. package/dist/cdn/AOTEIDXK.js +2 -0
  23. package/dist/cdn/{X23TE3BV.js → AYO5GP4M.js} +1 -1
  24. package/dist/cdn/{DHPZIFHE.js → B4EWPUMU.js} +1 -1
  25. package/dist/cdn/{74OJ22BW.js → BELRJU3A.js} +1 -1
  26. package/dist/cdn/{ZS6XB5WK.js → BYU5RVVM.js} +1 -1
  27. package/dist/cdn/{J3MAWMYQ.js → CNY6H6U2.js} +1 -1
  28. package/dist/cdn/{44R32SU3.js → CZZN3R4F.js} +1 -1
  29. package/dist/cdn/{ZYCAAXQF.js → DINEURA2.js} +1 -1
  30. package/dist/cdn/{W6E3DYEQ.js → EW4O5UX4.js} +1 -1
  31. package/dist/cdn/{E6YARJM2.js → G4OMMOS4.js} +1 -1
  32. package/dist/cdn/GKT3GU2L.js +2 -0
  33. package/dist/cdn/GU4QAZMD.js +2 -0
  34. package/dist/cdn/{7RFQ7MW2.js → IGIHPCRS.js} +1 -1
  35. package/dist/cdn/{CRFLICFH.js → IIOO4ABM.js} +1 -1
  36. package/dist/cdn/{V3YTRV33.js → JMVHSWQR.js} +1 -1
  37. package/dist/cdn/JPJ2PWRJ.js +2 -0
  38. package/dist/cdn/{2PM224B6.js → JUJ5KUGK.js} +1 -1
  39. package/dist/cdn/{UUPARGLA.js → LYNVZ7EL.js} +1 -1
  40. package/dist/cdn/{NBPM6OJQ.js → MSEGWVWC.js} +19 -19
  41. package/dist/cdn/{66NSOJUX.js → MT2QHKUQ.js} +1 -1
  42. package/dist/cdn/{DJFXVUF7.js → N3FJFS6W.js} +1 -1
  43. package/dist/cdn/{GSK7CUMC.js → NBJK6Z7L.js} +1 -1
  44. package/dist/cdn/{R3QHE3VT.js → O5PAINAH.js} +1 -1
  45. package/dist/cdn/O7TCCL6B.js +2 -0
  46. package/dist/cdn/P2QWXLFJ.js +2 -0
  47. package/dist/cdn/{Q6XLTRMA.js → P76UNULK.js} +1 -1
  48. package/dist/cdn/{OIRNHTN3.js → PCZFIXAY.js} +1 -1
  49. package/dist/cdn/{OG6IMWBH.js → PDE6N2YM.js} +1 -1
  50. package/dist/cdn/{U77O2MIG.js → PQPNCADS.js} +1 -1
  51. package/dist/cdn/{KH2WXNMT.js → RQIBNHBN.js} +1 -1
  52. package/dist/cdn/{4QJK4LPR.js → S7ZM2RFD.js} +1 -1
  53. package/dist/cdn/{HNVWONX2.js → SKUGEKDV.js} +1 -1
  54. package/dist/cdn/{2ASJ2RMU.js → SR53JCI4.js} +1 -1
  55. package/dist/cdn/{LOINOBXI.js → TDY54Z67.js} +1 -1
  56. package/dist/cdn/{2HLILJFJ.js → TS7GYVPR.js} +1 -1
  57. package/dist/cdn/{HM4YDFBC.js → TWO6FJHP.js} +1 -1
  58. package/dist/cdn/UUGWRXGN.js +2 -0
  59. package/dist/cdn/{Y3PCMVG7.js → UUMJMH3T.js} +1 -1
  60. package/dist/cdn/VB5C4Z27.js +2 -0
  61. package/dist/cdn/VK6ZOC6A.js +2 -0
  62. package/dist/cdn/WNH3PY6X.js +2 -0
  63. package/dist/cdn/{J75MHJID.js → WU7QCA5H.js} +1 -1
  64. package/dist/cdn/{VLBW4YNM.js → WZ22NICV.js} +1 -1
  65. package/dist/cdn/{DQWJUYMM.js → XF533XOH.js} +1 -1
  66. package/dist/cdn/{YOAGUXW6.js → XKMN6N5I.js} +1 -1
  67. package/dist/cdn/{QZRJRLYA.js → XMHHBXM6.js} +1 -1
  68. package/dist/cdn/{RG2D7ZRS.js → Y2ROEEOX.js} +2 -2
  69. package/dist/cdn/{D5FLGJ5G.js → YXJJ5QPI.js} +1 -1
  70. package/dist/cdn/{3RJKHADA.js → ZPOWEU76.js} +1 -1
  71. package/dist/cdn/{6ENQ42XY.js → ZT5TOVYM.js} +1 -1
  72. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  73. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  74. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  75. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  76. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  77. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  78. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  79. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  80. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  81. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  82. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  83. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  84. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  85. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  86. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  87. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  88. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  89. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  90. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  91. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  92. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  93. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  94. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  95. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  96. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  97. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  98. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  99. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  100. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  101. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  102. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  103. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  104. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  105. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  106. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  107. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  108. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  109. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  110. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  111. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  112. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  113. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  114. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  115. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
  116. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
  117. package/dist/cdn/index.js +1 -1
  118. package/dist/chunks/CardsFetcher.js +287 -0
  119. package/dist/chunks/cardFetchingUtils.js +22 -304
  120. package/dist/chunks/cardsHelpers.js +6 -6
  121. package/dist/chunks/converter.js +72 -28
  122. package/dist/chunks/downloadUtils.js +246 -235
  123. package/dist/chunks/helpers.js +38 -43
  124. package/dist/chunks/interfaces.js +1 -1
  125. package/dist/chunks/popupUtils.js +2 -2
  126. package/dist/chunks/queryUtils.js +3 -3
  127. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  128. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +2 -0
  129. package/dist/components/arcgis-solutions-assistant/customElement.js +9725 -8601
  130. package/dist/components/buffer-tools/customElement.d.ts +4 -3
  131. package/dist/components/card-manager/customElement.d.ts +4 -3
  132. package/dist/components/consent-manager/customElement.d.ts +2 -2
  133. package/dist/components/create-feature/customElement.d.ts +2 -2
  134. package/dist/components/create-feature/customElement.js +13 -13
  135. package/dist/components/create-related-feature/customElement.d.ts +6 -4
  136. package/dist/components/create-related-feature/customElement.js +2 -2
  137. package/dist/components/crowdsource-reporter/customElement.d.ts +2 -2
  138. package/dist/components/crowdsource-reporter/customElement.js +4 -4
  139. package/dist/components/delete-button/customElement.d.ts +2 -2
  140. package/dist/components/delete-dialog/customElement.d.ts +2 -2
  141. package/dist/components/edit-card/customElement.d.ts +7 -5
  142. package/dist/components/edit-card/customElement.js +2 -2
  143. package/dist/components/feature-details/customElement.d.ts +7 -6
  144. package/dist/components/feature-details/customElement.js +2 -2
  145. package/dist/components/feature-list/customElement.d.ts +4 -3
  146. package/dist/components/feature-list/customElement.js +3 -3
  147. package/dist/components/field-selection/customElement.d.ts +6 -4
  148. package/dist/components/info-card/customElement.d.ts +6 -5
  149. package/dist/components/info-card/customElement.js +2 -2
  150. package/dist/components/layer-list/customElement.d.ts +2 -2
  151. package/dist/components/layer-list/customElement.js +2 -2
  152. package/dist/components/layer-list-widget/customElement.d.ts +4 -3
  153. package/dist/components/layer-list-widget/customElement.js +1 -1
  154. package/dist/components/layer-table/customElement.d.ts +4 -3
  155. package/dist/components/layer-table/customElement.js +5 -5
  156. package/dist/components/map-basemap-gallery/customElement.d.ts +4 -3
  157. package/dist/components/map-basemap-gallery/customElement.js +2 -2
  158. package/dist/components/map-card/customElement.d.ts +7 -5
  159. package/dist/components/map-card/customElement.js +4 -4
  160. package/dist/components/map-draw-tools/customElement.d.ts +10 -6
  161. package/dist/components/map-draw-tools/customElement.js +3 -3
  162. package/dist/components/map-floor-filter/customElement.d.ts +4 -3
  163. package/dist/components/map-floor-filter/customElement.js +2 -2
  164. package/dist/components/map-fullscreen/customElement.d.ts +4 -3
  165. package/dist/components/map-fullscreen/customElement.js +2 -2
  166. package/dist/components/map-layer-picker/customElement.d.ts +2 -2
  167. package/dist/components/map-legend/customElement.d.ts +4 -3
  168. package/dist/components/map-legend/customElement.js +1 -1
  169. package/dist/components/map-search/customElement.d.ts +4 -3
  170. package/dist/components/map-search/customElement.js +2 -2
  171. package/dist/components/map-select-tools/customElement.d.ts +13 -8
  172. package/dist/components/map-select-tools/customElement.js +5 -5
  173. package/dist/components/map-tools/customElement.d.ts +6 -4
  174. package/dist/components/map-tools/customElement.js +2 -2
  175. package/dist/components/pdf-download/customElement.d.ts +3 -3
  176. package/dist/components/public-notification/customElement.d.ts +10 -6
  177. package/dist/components/public-notification/customElement.js +154 -70
  178. package/dist/components/refine-selection/customElement.d.ts +15 -9
  179. package/dist/components/refine-selection/customElement.js +2 -2
  180. package/dist/components/selection-tool/customElement.d.ts +2 -2
  181. package/dist/components/selection-tool/customElement.js +2 -2
  182. package/dist/components/solution-builder-assistant/customElement.js +57 -57
  183. package/dist/components/solution-configure-titles/customElement.js +1 -1
  184. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  185. package/dist/components/solution-deployed-card-panel/customElement.d.ts +2 -0
  186. package/dist/components/solution-deployed-card-panel/customElement.js +51 -39
  187. package/dist/components/solution-details-card/customElement.js +26 -26
  188. package/dist/components/solution-details-panel/customElement.js +67 -63
  189. package/dist/components/solution-item-accordion/customElement.js +7 -8
  190. package/dist/components/solution-resource-card/customElement.js +1 -1
  191. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  192. package/dist/components/solution-social-share/customElement.js +2 -2
  193. package/dist/components/solutions-all-panel/customElement.js +6 -5
  194. package/dist/components/solutions-deploy-app/customElement.js +3 -2
  195. package/dist/components/solutions-deployed-list/customElement.d.ts +10 -6
  196. package/dist/components/solutions-deployed-list/customElement.js +40 -18
  197. package/dist/components/solutions-deployed-list/index.js +2 -0
  198. package/dist/components/solutions-deployed-panel/customElement.js +8 -7
  199. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  200. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  201. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  202. package/dist/docs/api.json +1 -1
  203. package/dist/docs/docs.json +1 -1
  204. package/dist/docs/vscode.html-custom-data.json +1 -1
  205. package/dist/docs/web-types.json +1 -1
  206. package/dist/loader.js +3 -3
  207. package/dist/solutions-components_commit.txt +7 -7
  208. package/dist/types/lumina.d.ts +2 -2
  209. package/dist/types/preact.d.ts +2 -2
  210. package/dist/types/react.d.ts +2 -2
  211. package/dist/types/stencil.d.ts +2 -2
  212. package/dist/utils/Auth.d.ts +2 -2
  213. package/dist/utils/interfaces.d.ts +27 -27
  214. package/package.json +1 -1
  215. package/dist/cdn/2R3HJ764.js +0 -2
  216. package/dist/cdn/5AGYVY7S.js +0 -2
  217. package/dist/cdn/AWQQ3CNF.js +0 -2
  218. package/dist/cdn/C47FRSF6.js +0 -2
  219. package/dist/cdn/C6KN2U7N.js +0 -2
  220. package/dist/cdn/DOK6WZN3.js +0 -2
  221. package/dist/cdn/DRXERUDE.js +0 -2
  222. package/dist/cdn/ESBPGZRY.js +0 -2
  223. package/dist/cdn/J6LCEXM3.js +0 -2
  224. package/dist/cdn/J6MVIDTT.js +0 -2
  225. package/dist/cdn/JSJWGKKI.js +0 -2
  226. package/dist/cdn/LEBQMVF6.js +0 -2
  227. package/dist/cdn/MVJVKXZM.js +0 -2
  228. package/dist/cdn/MZXEOLNG.js +0 -2
  229. package/dist/cdn/NM7MKM5L.js +0 -2
  230. package/dist/cdn/TSEG3YWM.js +0 -359
  231. /package/dist/cdn/{HMKJYAVE.js → 2KSTM3IP.js} +0 -0
  232. /package/dist/cdn/{J5FYHTE4.js → 6S56JAXB.js} +0 -0
  233. /package/dist/cdn/{6WQK4DHL.js → 7JOL6EOJ.js} +0 -0
  234. /package/dist/cdn/{ZDLTST3A.js → FB2RD4BK.js} +0 -0
  235. /package/dist/cdn/{3JGLETSR.js → IRQKL5IM.js} +0 -0
  236. /package/dist/cdn/{34EUIYLN.js → ITM5SR7G.js} +0 -0
  237. /package/dist/cdn/{6MP2RVUK.js → SITXFSGP.js} +0 -0
  238. /package/dist/cdn/{QAMVNRII.js → W5VSVSIV.js} +0 -0
  239. /package/dist/cdn/{YVNP437O.js → WV7QX3ED.js} +0 -0
  240. /package/dist/cdn/{6IIMJC5D.js → XMLWS6XC.js} +0 -0
@@ -10,54 +10,54 @@ import * as R from "@esri/solution-common";
10
10
  import { request as P, getWorkflowBaseURL as A, getWorkflowManagerAuthorized as O, sanitizeHTML as f, getItemDataAsJson as U, getItem as N, getPropWithDefault as $, getProp as v, setCreateProp as F } from "@esri/solution-common";
11
11
  import { E as u, g as x, T as m, z as V, A as H } from "../../chunks/interfaces.js";
12
12
  import { _findExistingItem as B } from "@esri/solution-deployer";
13
- import { m as z, n as b, o as Y, s as G, h as W } from "../../chunks/helpers.js";
14
- import { a as C, g as q } from "../../chunks/common.js";
13
+ import { m as z, n as b, o as Y, k as G } from "../../chunks/helpers.js";
14
+ import { a as C, g as W } from "../../chunks/common.js";
15
15
  import "../../chunks/solution-deploy-dialog.js";
16
16
  import "../solution-snapshot-gallery/customElement.js";
17
17
  import "../solution-deploying-dialog/customElement.js";
18
- const K = L`.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}@container (max-width: 1280px){.button-width{width:auto}}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}.width-full{width:100%}@container (max-width: 800px){.width-full{flex-direction:column}.width-full>.display-flex{flex-direction:column}.image-width{width:100%;max-width:100%;margin:0;padding-bottom:0}.image-width img{width:100%;max-width:100%}.title-font{padding-inline-end:var(--calcite-spacing-lg);padding-top: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}@container (max-width: 1496px){calcite-card{width:calc(100% / 3 - .5rem)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}}@container (max-width: 1100px){calcite-card{width:calc(50% - .5rem)}#screenshots-subsection calcite-card{width:calc(50% - .5rem)}}@container (max-width: 550px){calcite-card{width:100%}#screenshots-subsection calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}calcite-card.is-mobile:hover img{cursor:default;-webkit-filter:brightness(100%);filter:brightness(100%);transition:all .1s ease}calcite-card{border:var(--calcite-spacing-base) solid transparent;box-sizing:border-box;padding:var(--calcite-spacing-base)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}#screenshots-subsection .card-image{background-color:var(--calcite-color-surface-2)}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-surface-3)}.back-color-override-1{background-color:var(--calcite-color-surface-2)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.line-height-1{line-height:1.1}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}.font-color-2{color:var(--calcite-color-text-2)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-surface-2)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-2);margin:0}.table-cell p{margin:0}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}.position-relative{position:relative}.background-color-2{background-color:var(--calcite-color-surface-3)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.border-none{border:none}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}calcite-shell{block-size:unset}.solution-detail-action{--calcite-color-focus: initial}a{color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:hover{background-size:100% 1px,100% 1px}a:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:active{color:var(--calcite-color-brand-press)}*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.chip-status{--calcite-chip-icon-color: var(--calcite-color-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}`;
19
- async function j(r, e, t) {
18
+ const q = L`.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}@container (max-width: 1280px){.button-width{width:auto}}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}.width-full{width:100%}@container (max-width: 800px){.width-full{flex-direction:column}.width-full>.display-flex{flex-direction:column}.image-width{width:100%;max-width:100%;margin:0;padding-bottom:0}.image-width img{width:100%;max-width:100%}.title-font{padding-inline-end:var(--calcite-spacing-lg);padding-top: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}@container (max-width: 1496px){calcite-card{width:calc(100% / 3 - .5rem)}#screenshots-subsection calcite-card{width:calc(33.333% - .5rem)}}@container (max-width: 1100px){calcite-card{width:calc(50% - .5rem)}#screenshots-subsection calcite-card{width:calc(50% - .5rem)}}@container (max-width: 550px){calcite-card{width:100%}#screenshots-subsection calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}calcite-card.is-mobile:hover img{cursor:default;-webkit-filter:brightness(100%);filter:brightness(100%);transition:all .1s ease}calcite-card{border:var(--calcite-spacing-base) solid transparent;box-sizing:border-box;padding:var(--calcite-spacing-base)}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}#screenshots-subsection .card-image{background-color:var(--calcite-color-surface-2)}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-surface-3)}.back-color-override-1{background-color:var(--calcite-color-surface-2)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.line-height-1{line-height:1.1}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}.font-color-2{color:var(--calcite-color-text-2)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-surface-2)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-2);margin:0}.table-cell p{margin:0}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}.position-relative{position:relative}.background-color-2{background-color:var(--calcite-color-surface-3)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.border-none{border:none}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}calcite-shell{block-size:unset}.solution-detail-action{--calcite-color-focus: initial}a{color:var(--calcite-link-text-color, var(--calcite-color-text-link));cursor:pointer;text-decoration:none;line-height:inherit;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;transition-property:background-size,color;transition-duration:var(--calcite-animation-timing, .15s);transition-timing-function:ease-in-out;outline-color:transparent;position:relative}a:hover{background-size:100% 1px,100% 1px}a:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px;outline-color:var(--calcite-color-brand)}a:active{color:var(--calcite-color-brand-press)}*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.chip-status{--calcite-chip-icon-color: var(--calcite-color-brand);cursor:pointer}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.chip-deployed-warn{--calcite-chip-icon-color: var(--calcite-color-status-warning)}`;
19
+ async function K(c, e, t) {
20
20
  let i = t;
21
- return r && (r?.IsEnterprisePortal && await Z(
21
+ return c && (c?.IsEnterprisePortal && await X(
22
22
  "",
23
23
  // the portal url
24
24
  e
25
- ) && i.push(u.NOTEBOOK), await z(e) ? t.push(u.VELOCITY) : r?.PortalUserPrivileges && [
25
+ ) && i.push(u.NOTEBOOK), await z(e) ? t.push(u.VELOCITY) : c?.PortalUserPrivileges && [
26
26
  x.VELOCITYFEEDS,
27
27
  x.VELOCITYBIGDATA,
28
28
  x.VELOCITYREALTIME
29
29
  ].forEach((a) => {
30
- const c = t.indexOf(a) || -1;
31
- c !== -1 && t.splice(c, 1);
30
+ const r = t.indexOf(a) || -1;
31
+ r !== -1 && t.splice(r, 1);
32
32
  }), i = i.concat(
33
- J(
34
- ee(r),
35
- te(r)
33
+ j(
34
+ Z(c),
35
+ ee(c)
36
36
  )
37
- ), i = i.concat(Q(r)), i = i.concat(await X(r))), Promise.resolve(i);
37
+ ), i = i.concat(J(c)), i = i.concat(await Q(c))), Promise.resolve(i);
38
38
  }
39
- function J(r, e) {
39
+ function j(c, e) {
40
40
  let t = [];
41
- return r && e ? t = [
41
+ return c && e ? t = [
42
42
  u.TRACKINGADMINANDTRACKING,
43
43
  u.TRACKINGADMIN,
44
44
  u.TRACKING
45
- ] : r && !e ? t = [u.TRACKINGADMIN] : !r && e && (t = [u.TRACKING]), t;
45
+ ] : c && !e ? t = [u.TRACKINGADMIN] : !c && e && (t = [u.TRACKING]), t;
46
46
  }
47
- function Q(r) {
48
- return ie(
49
- r
47
+ function J(c) {
48
+ return te(
49
+ c
50
50
  ) ? [u.HUBPREMIUM] : [];
51
51
  }
52
- async function X(r) {
53
- const e = r?.RestUserSession;
52
+ async function Q(c) {
53
+ const e = c?.RestUserSession;
54
54
  if (!e?.username)
55
55
  return [];
56
56
  const t = await A(e);
57
57
  return await O(t, e) ? [u.WORKFLOW] : [];
58
58
  }
59
- async function Z(r, e) {
60
- const t = r + "/sharing/rest", i = {
59
+ async function X(c, e) {
60
+ const t = c + "/sharing/rest", i = {
61
61
  authentication: e,
62
62
  portal: t,
63
63
  params: {
@@ -66,8 +66,8 @@ async function Z(r, e) {
66
66
  };
67
67
  return P(`${t}/portals/self/servers`, i).then((o) => o?.servers?.find((s) => s.serverFunction.indexOf("NotebookServer") > -1), (o) => (console.error(o), !1));
68
68
  }
69
- function ee(r) {
70
- const e = r?.PortalUserSubset?.privileges, t = [
69
+ function Z(c) {
70
+ const e = c?.PortalUserSubset?.privileges, t = [
71
71
  "portal:admin:create",
72
72
  "portal:admin:delete",
73
73
  "portal:admin:update",
@@ -77,13 +77,13 @@ function ee(r) {
77
77
  (i) => e.some((o) => o.startsWith(i))
78
78
  ) : !1;
79
79
  }
80
- function te(r) {
81
- return r?.PortalSubset?.locationTrackingEnabled || !1;
80
+ function ee(c) {
81
+ return c?.PortalSubset?.locationTrackingEnabled || !1;
82
82
  }
83
- function ie(r) {
84
- return r?.PortalSubset?.hubPremiumEnabled || !1;
83
+ function te(c) {
84
+ return c?.PortalSubset?.hubPremiumEnabled || !1;
85
85
  }
86
- class se extends S {
86
+ class ie extends S {
87
87
  constructor() {
88
88
  super(), this._deployedTooltipContent = "", 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 = M({ name: "solution-details-panel", blocking: !0 }), this._youMayAlsoLikeBaseHeight = 340, this._allCards = [], this._configContextConsumer = w({
89
89
  context: D,
@@ -149,7 +149,7 @@ class se extends S {
149
149
  this.properties = { card: 0, _deployedTooltipContent: 16, _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 };
150
150
  }
151
151
  static {
152
- this.styles = K;
152
+ this.styles = q;
153
153
  }
154
154
  get _telemetry() {
155
155
  return this._configContextConsumer.value?.telemetrySession;
@@ -193,37 +193,41 @@ class se extends S {
193
193
  }
194
194
  }
195
195
  _getSolutionRow() {
196
- const e = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400"), t = this._missingPrivilegeMessages?.leadingMessages || [], i = t.length > 0, o = this._missingPrivilegeMessages?.bulletedMessages || [], s = o.length > 0, a = this._missingPrivilegeMessages?.trailingMessages || [], c = a.length > 0;
197
- return l`<div class="display-flex flex-direction-row width-full"><div class="padding-end-1-75 image-width"><img alt=${this.card?.title ?? _} src=${e ?? _}></div><div class="display-flex flex-direction-row flex-1">${this._getTextSection(i, s, c, t, o, a)}${this._getButtons()}</div></div>`;
196
+ const e = this.card?.thumbnailUrl.replace(/w=\d+/, "w=400"), t = this._missingPrivilegeMessages?.leadingMessages || [], i = t.length > 0, o = this._missingPrivilegeMessages?.bulletedMessages || [], s = o.length > 0, a = this._missingPrivilegeMessages?.trailingMessages || [], r = a.length > 0;
197
+ return l`<div class="display-flex flex-direction-row width-full"><div class="padding-end-1-75 image-width"><img alt=${this.card?.title ?? _} src=${e ?? _}></div><div class="display-flex flex-direction-row flex-1">${this._getTextSection(i, s, r, t, o, a)}${this._getButtons()}</div></div>`;
198
198
  }
199
199
  _getTextSection(e, t, i, o, s, a) {
200
- 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>` || ""}${this._renderChips(this.card?.chips || [])}</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(o, s, a)}</div>` : ""}</div>`;
200
+ 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((r) => r.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>` || ""}${this._renderChips(this.card?.chips || [])}</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(o, s, a)}</div>` : ""}</div>`;
201
201
  }
202
202
  _renderChips(e) {
203
203
  const t = e.filter((s) => s === "deployed" || s === "deployedOlderVersion"), i = e.filter((s) => s !== "deployed" && s !== "deployedOlderVersion"), o = [];
204
- return i.forEach((s) => {
205
- const a = "margin-bottom-1-5 margin-sides-1 chip-status", c = `solution-details-card-chip-${s}`, d = s === "new" ? "star" : "mega-phone", n = s === "new" ? this._translations.newChip : this._translations.updatedChip;
206
- o.push(l`<calcite-chip class=${g(a)} .icon=${d} id=${c ?? _} .label=${n} .value=${n} scale=s></calcite-chip><calcite-tooltip .referenceElement=${c}><span>${n}</span></calcite-tooltip>`);
207
- }), t.length > 0 && o.push(l`<calcite-chip class="chip-deployed" .icon=${t[0] === "deployedOlderVersion" ? "recent" : "check-circle"} id=solution-details-card-chip-deployed .label=${this._translations.deployedChip} .value=${this._translations.deployedChip} scale=s></calcite-chip><calcite-tooltip placement=bottom reference-element=solution-details-card-chip-deployed @calciteTooltipBeforeOpen=${async () => {
208
- const s = {
209
- q: `${this.card?.deployCommonId} and owner:${this._configContextConsumer.value?.userSession?.username}`,
210
- authentication: this._configContextConsumer.value?.userSession,
211
- pagingParam: { start: 1, num: 100 }
212
- }, a = await R.searchItems(s);
213
- this._deployedTooltipContent = l`<solutions-deployed-list .cards=${G(a.results)} has-links .listTitle=${t[0] === "deployedOlderVersion" ? this._translations.deployedPreviousTitle : this._translations.deployedTitle}></solutions-deployed-list>`;
214
- }} @calciteTooltipBeforeClose=${() => {
215
- }}>${this._deployedTooltipContent}</calcite-tooltip>`), o;
204
+ if (i.forEach((s) => {
205
+ const a = "margin-bottom-1-5 margin-sides-1 chip-status", r = `solution-details-card-chip-${s}`, d = s === "new" ? "star" : "mega-phone", n = s === "new" ? this._translations.newChip : this._translations.updatedChip;
206
+ o.push(l`<calcite-chip class=${g(a)} .icon=${d} id=${r ?? _} .label=${n} .value=${n} scale=s></calcite-chip><calcite-tooltip .referenceElement=${r}><span>${n}</span></calcite-tooltip>`);
207
+ }), t.length > 0) {
208
+ let s = "margin-bottom-1-5 margin-sides-1 chip-status";
209
+ i.length > 0 ? s = t[0] === "deployedOlderVersion" ? "chip-deployed-warn" : "chip-deployed" : s += t[0] === "deployedOlderVersion" ? " chip-deployed-warn" : " chip-deployed", o.push(l`<calcite-chip class=${g(s)} .icon=${t[0] === "deployedOlderVersion" ? "recent" : "check-circle"} id=solution-details-card-chip-deployed .label=${this._translations.deployedChip} .value=${this._translations.deployedChip} scale=s></calcite-chip><calcite-tooltip placement=bottom reference-element=solution-details-card-chip-deployed @calciteTooltipBeforeOpen=${async () => {
210
+ const a = {
211
+ q: `${this.card?.deployCommonId} and owner:${this._configContextConsumer.value?.userSession?.username}`,
212
+ authentication: this._configContextConsumer.value?.userSession,
213
+ pagingParam: { start: 1, num: 100 }
214
+ }, r = await R.searchItems(a);
215
+ this._deployedTooltipContent = l`<solutions-deployed-list .results=${r} has-links .listTitle=${t[0] === "deployedOlderVersion" ? this._translations.deployedPreviousTitle : this._translations.deployedTitle}></solutions-deployed-list>`;
216
+ }} @calciteTooltipBeforeClose=${() => {
217
+ }}>${this._deployedTooltipContent}</calcite-tooltip>`);
218
+ }
219
+ return o;
216
220
  }
217
221
  _getButtons() {
218
222
  const e = this._itemProperties?.demoURL || "";
219
223
  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>`;
220
224
  }
221
225
  _getMissingPrivilegesNotice(e, t, i) {
222
- const o = "solutions-missing-privileges-notice", s = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, a = t.length > 0 ? "" : "display-none", c = t.length > 0 ? "padding-top-sm" : "";
226
+ const o = "solutions-missing-privileges-notice", s = this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges, a = t.length > 0 ? "" : "display-none", r = t.length > 0 ? "padding-top-sm" : "";
223
227
  return l`<div><calcite-notice class="margin-inline-unset" kind=info open><div slot=message>${`${s}`}</div><calcite-action icon=information id=${o} slot=actions-end .text=${s}></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
224
228
  this._getSpanMessages(e, "padding-bottom-1")}<span class=${`padding-bottom-1-2 ${a}`}>${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${// Bulleted messages
225
229
  this._getBulletedMessages(t)}${// Trailing messages
226
- this._getSpanMessages(i, c)}</div></calcite-popover></div>`;
230
+ this._getSpanMessages(i, r)}</div></calcite-popover></div>`;
227
231
  }
228
232
  _getSpanMessages(e, t) {
229
233
  return e.length > 0 ? e.map((i) => l`<span class=${g(t)}>${i}</span>`) : "";
@@ -240,9 +244,9 @@ class se extends S {
240
244
  _getScreenshots() {
241
245
  const e = this._itemProperties?.preview.filter((s) => s.format === "image") || [], t = this._configContextConsumer.value, i = this._itemFetched ? "" : "display-none", o = this._itemFetched ? "display-none" : "";
242
246
  return l`<calcite-loader class=${g(o)} label></calcite-loader><calcite-card-group class=${`card-group ${i}`} .label=${this._translations.solutionOverview}>${e.reduce((s, a) => {
243
- const c = C(this.card?.id || "", a.name, t.authentication);
247
+ const r = C(this.card?.id || "", a.name, t.authentication);
244
248
  let d;
245
- return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (d = C(this.card?.id || "", a.name, void 0, t.agolPortalUrl)), this.card?.id ? s.push(l`<calcite-card class=${`${this.isMobile ? "is-mobile" : "cursor-pointer not-mobile"}`} .label=${a.alt} @click=${() => this._openScreenshotGallery(a)} @keydown=${(n) => W(n, () => this._openScreenshotGallery(a))}><div class="card-image-wrap" slot=thumbnail><img alt=${a.alt ?? _} class="thumbnail card-image" slot=thumbnail src=${(d || c) ?? _}>${!this.isMobile && l`<div class="hover-text">${this._translations.openInGallery}</div>` || ""}</div></calcite-card>`) : s.push(""), s;
249
+ return t.agoBasedEnterpriseSolutionsGroupId && t.isEnterprise && (d = C(this.card?.id || "", a.name, void 0, t.agolPortalUrl)), this.card?.id ? s.push(l`<calcite-card class=${`${this.isMobile ? "is-mobile" : "cursor-pointer not-mobile"}`} .label=${a.alt} @click=${() => this._openScreenshotGallery(a)} @keydown=${(n) => G(n, () => this._openScreenshotGallery(a))}><div class="card-image-wrap" slot=thumbnail><img alt=${a.alt ?? _} class="thumbnail card-image" slot=thumbnail src=${(d || r) ?? _}>${!this.isMobile && l`<div class="hover-text">${this._translations.openInGallery}</div>` || ""}</div></calcite-card>`) : s.push(""), s;
246
250
  }, [])}</calcite-card-group>`;
247
251
  }
248
252
  _openScreenshotGallery(e) {
@@ -294,7 +298,7 @@ class se extends S {
294
298
  }
295
299
  _getYouMayAlsoLikeRow(e) {
296
300
  const t = this._showYouMayAlsoLikeShowMore ? "" : "display-none", i = this._isYouMayAlsoLikeRowExpanded ? this._translations.showLess : this._translations.showMore, o = this._isYouMayAlsoLikeRowExpanded ? "arrow-up" : "arrow-down", s = this._isYouMayAlsoLikeRowExpanded ? "" : { height: `${this._youMayAlsoLikeBaseHeight}px` };
297
- 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=${T(s)} ${p(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((a, c) => l`<solution-details-card .id=${`you-may-also-like-${c}`} .card=${a} 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=${o} kind=inverse @click=${() => {
301
+ 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=${T(s)} ${p(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((a, r) => l`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${a} 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=${o} kind=inverse @click=${() => {
298
302
  this._youMayAlsoLikeElement.value?.classList.toggle("expanded"), this._isYouMayAlsoLikeRowExpanded = this._youMayAlsoLikeElement.value.classList.contains("expanded");
299
303
  }} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`;
300
304
  }
@@ -356,11 +360,11 @@ class se extends S {
356
360
  const e = this._configContextConsumer.value, t = e?.agoBasedEnterpriseSolutionsGroupId && e?.isEnterprise ? e.anonAgolSession : e?.userSession, i = await U(this.card.id, t), o = await N(this.card.id, t);
357
361
  this._itemFetched = !0, this._itemProperties = o.properties, this.itemPropertiesFetched.emit(this._itemProperties);
358
362
  const s = V(i, this.card.typeKeywords, e?.authentication);
359
- this._privileges = t.username ? s : [], this._userPrivileges = e?.authentication && e?.userSession ? await j(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
363
+ this._privileges = t.username ? s : [], this._userPrivileges = e?.authentication && e?.userSession ? await K(e.authentication, e.userSession, e.authentication.PortalUserPrivileges) : [];
360
364
  const a = this._privileges.filter((d) => !this._userPrivileges.includes(d));
361
365
  this._missingPrivilegeMessages = H(this._translations, a), this._isDeployDisabled = this._missingPrivilegeMessages && (this._missingPrivilegeMessages.leadingMessages.length > 0 || this._missingPrivilegeMessages.bulletedMessages.length > 0 || this._missingPrivilegeMessages.trailingMessages.length > 0);
362
- const c = i.params ? await this.formatParams(i.params) : [];
363
- 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());
366
+ const r = i.params ? await this.formatParams(i.params) : [];
367
+ 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());
364
368
  }
365
369
  formatParams(e) {
366
370
  const t = this._configContextConsumer.value.userSession, i = [], o = e ? Object.keys(e) : [], s = {
@@ -370,12 +374,12 @@ class se extends S {
370
374
  };
371
375
  if (o.length > 0) {
372
376
  const a = [];
373
- return o.forEach((c) => {
374
- const d = e[c];
375
- d.valueType && d.valueType.toLowerCase() === "itemid" && a.push(this._findExistingItem(c, "Feature Service", t.username || ""));
376
- }), Promise.all(a).then((c) => {
377
+ return o.forEach((r) => {
378
+ const d = e[r];
379
+ d.valueType && d.valueType.toLowerCase() === "itemid" && a.push(this._findExistingItem(r, "Feature Service", t.username || ""));
380
+ }), Promise.all(a).then((r) => {
377
381
  const d = {};
378
- return c.forEach((n) => {
382
+ return r.forEach((n) => {
379
383
  if (n.query && n.results && n.results.length > 0) {
380
384
  const I = n.query.split(" ")[0].replace("typekeywords:source-", "");
381
385
  d[I] = {
@@ -400,12 +404,12 @@ class se extends S {
400
404
  }
401
405
  updateUserProp(e, t) {
402
406
  const i = e.itemType?.toLowerCase() === "feature service", o = new RegExp(i ? this._regexFsUrl : e.itemType, "iu"), s = $(t, i ? "url" : "type", "") || "", a = s !== "" && o.test(s);
403
- return e.responseValue = a ? s : "", e.name = a && v(t, "name") || "", e.title = a && v(t, "title") || "", e.itemType = a ? v(t, "type") : e.itemType, e.validId = a, e.itemUrl = q(t.id, this._configContextConsumer.value.authentication), a;
407
+ return e.responseValue = a ? s : "", e.name = a && v(t, "name") || "", e.title = a && v(t, "title") || "", e.itemType = a ? v(t, "type") : e.itemType, e.validId = a, e.itemUrl = W(t.id, this._configContextConsumer.value.authentication), a;
404
408
  }
405
409
  updateOption(e, t, i) {
406
410
  const o = e.default || "", s = typeof o, a = o.toString();
407
411
  this._setFeatureServiceProps(e);
408
- const c = this.getValidation(e, a);
412
+ const r = this.getValidation(e, a);
409
413
  t.props.push({
410
414
  id: i,
411
415
  outType: s,
@@ -420,7 +424,7 @@ class se extends S {
420
424
  default: a,
421
425
  srSearchText: a,
422
426
  autoSelect: a !== "",
423
- ...c,
427
+ ...r,
424
428
  loading: !1,
425
429
  validId: !0,
426
430
  tooltip: e.tooltip || "",
@@ -489,7 +493,7 @@ class se extends S {
489
493
  this._isLoaded ? this._openDeploy() : this._configContextConsumer.value.authentication?.IsSignedIn ? this._showLoader = !0 : this._openDeploy();
490
494
  }
491
495
  }
492
- k("solution-details-panel", se);
496
+ k("solution-details-panel", ie);
493
497
  export {
494
- se as SolutionDetailsPanel
498
+ ie as SolutionDetailsPanel
495
499
  };
@@ -6,9 +6,8 @@ import { LitElement as g, createEvent as l, safeStyleMap as y } from "@arcgis/lu
6
6
  import { c as f } from "../../chunks/deployAppContexts.js";
7
7
  import { useContextConsumer as _ } from "@arcgis/lumina/context";
8
8
  import * as T from "@esri/solution-common";
9
- import { s as x } from "../../chunks/helpers.js";
10
- const v = u`:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}calcite-chip{--calcite-chip-icon-color: var(--calcite-color-brand)}`;
11
- class w extends g {
9
+ const x = u`:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}calcite-chip{--calcite-chip-icon-color: var(--calcite-color-brand)}`;
10
+ class v extends g {
12
11
  constructor() {
13
12
  super(...arguments), this.itemRelationshipDependencies = [], this.linkType = "item", this.listSelectionMode = "none", this.reuseWarning = "", this.templateInfos = [], this.typeKeywords = [], this.usageContext = "content", this._canDeletePermission = !1, this._dependencyTooltipContent = "", this._sortedTemplateInfos = [], this._translations = p({ name: "solution-item-accordion", blocking: !0 }), this._configContextConsumer = _({
14
13
  context: f,
@@ -52,7 +51,7 @@ class w extends g {
52
51
  this.properties = { itemRelationshipDependencies: 0, linkType: 1, listSelectionMode: 1, reuseWarning: 1, templateInfos: 0, typeKeywords: 0, usageContext: 1, _canDeletePermission: 16, _dependencyTooltipContent: 16, _sortedTemplateInfos: 16, _translations: 16 };
53
52
  }
54
53
  static {
55
- this.styles = v;
54
+ this.styles = x;
56
55
  }
57
56
  willUpdate(e) {
58
57
  e.has("templateInfos") && (this.hasUpdated || this.templateInfos?.length > 0) && this.templateInfosWatchHandler();
@@ -153,13 +152,13 @@ class w extends g {
153
152
  }
154
153
  _getWarningChip(e, i, t, s) {
155
154
  const n = i === "info" ? "var(--calcite-color-status-info)" : "var(--calcite-color-status-danger)";
156
- return o`<div slot=actions-end><calcite-chip .icon=${i === "info" ? "information" : "exclamation-mark-triangle"} .id=${t + "-warning"} kind=neutral .label=${e} scale=s style=${y({ "--calcite-chip-icon-color": n, cursor: s && s.length > 0 ? "pointer" : "default" })}>${e}</calcite-chip>${s && s.length > 0 ? o`<calcite-tooltip class=solution-list-item-content placement=bottom .referenceElement=${`${t}-warning`} scale=s @calciteTooltipBeforeOpen=${async () => {
155
+ return o`<div slot=actions-end><calcite-chip .icon=${i === "info" ? "information" : "exclamation-mark-triangle"} .id=${t + "-warning"} kind=neutral .label=${e} scale=s style=${y({ "--calcite-chip-icon-color": n, cursor: s && s.length > 0 ? "pointer" : "default" })}>${e}</calcite-chip>${s && s.length > 0 ? o`<calcite-tooltip class=solution-list-item-content placement=bottom .referenceElement=${`${t}-warning`} scale=m @calciteTooltipBeforeOpen=${async () => {
157
156
  const a = {
158
157
  q: s.map((d) => `id:${d.dependencyItemId}`).join(" OR "),
159
158
  authentication: this._configContextConsumer.value?.userSession,
160
159
  pagingParam: { start: 1, num: 100 }
161
160
  }, c = await T.searchItems(a);
162
- this._dependencyTooltipContent = o`<solutions-deployed-list .cards=${x(c.results)} .listTitle=${this._translations?.itemUsedInOtherSolutions || ""}></solutions-deployed-list>`;
161
+ this._dependencyTooltipContent = o`<solutions-deployed-list .results=${c} .listTitle=${this._translations?.itemUsedInOtherSolutions || ""}></solutions-deployed-list>`;
163
162
  }}>${this._dependencyTooltipContent}</calcite-tooltip>` : null}</div>`;
164
163
  }
165
164
  _checkUsageForWarnings(e) {
@@ -190,7 +189,7 @@ class w extends g {
190
189
  return "";
191
190
  }
192
191
  }
193
- h("solution-item-accordion", w);
192
+ h("solution-item-accordion", v);
194
193
  export {
195
- w as SolutionItemAccordion
194
+ v as SolutionItemAccordion
196
195
  };
@@ -6,7 +6,7 @@ import { LitElement as n, nothing as s } from "@arcgis/lumina";
6
6
  import { useContextConsumer as m } from "@arcgis/lumina/context";
7
7
  import { c as z } from "../../chunks/deployAppContexts.js";
8
8
  import { T as v } from "../../chunks/interfaces.js";
9
- import { h as d } from "../../chunks/helpers.js";
9
+ import { k as d } from "../../chunks/helpers.js";
10
10
  const H = o`calcite-card{cursor:pointer;height:100%;padding-bottom:2px;border-inline-start:3px solid transparent}calcite-card:hover{outline:1px solid var(--calcite-color-brand);border-inline-start:3px solid var(--calcite-color-brand);box-sizing:border-box}.card-icon{margin-bottom:var(--calcite-spacing-md);display:flex;justify-content:flex-start}.card-heading{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-sm) 0;color:var(--calcite-color-text-1)}.card-description{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);margin:0}.meridian-icon{width:48px;height:48px;display:block;color:var(--calcite-color-text-3)}`, i = {
11
11
  "arcmap-blog": "M34 28.9H10v-.8h24zm-24 5h20v-.8H10zm31.591-20.8l-.8.8H45.1v25.2H18.583l-9.817 4.245 1.823-4.245H3.9V13.9h22.665l.8-.8H3.1v26.8h6.274l-2.142 4.986L18.666 39.9H45.9V13.1zm-.953-5.141l.449 2.676L32.6 19.12l-.567-.565 8.195-8.196-.286-1.708L24.09 24.476a1.82 1.82 0 0 1-.689.431l-3.52 1.22 1.213-3.525a1.832 1.832 0 0 1 .431-.692L42.461.989l2.578 2.577zm3.268-4.394L42.461 2.12 22.09 22.475a1.036 1.036 0 0 0-.242.388l-.678 1.97 1.968-.682a1.018 1.018 0 0 0 .384-.24z",
12
12
  "esri-community": "M24 47.896a3.897 3.897 0 0 1-1.563-.327L3.1 39.106V12.928a6.169 6.169 0 0 1 3.696-5.651L22.436.43a3.905 3.905 0 0 1 3.128 0L44.9 8.894v26.178a6.17 6.17 0 0 1-3.696 5.651l-15.64 6.846a3.897 3.897 0 0 1-1.564.327zM3.9 38.583l18.857 8.254a3.11 3.11 0 0 0 2.486 0l15.64-6.846a5.37 5.37 0 0 0 3.217-4.92V9.418L25.243 1.163a3.11 3.11 0 0 0-2.486 0L7.117 8.01A5.369 5.369 0 0 0 3.9 12.928zm21.364.344a14.156 14.156 0 0 1-14.17-14.111 13.678 13.678 0 0 1 16.893-13.26l.387.103-1.164 4.336-.389-.107a8.052 8.052 0 0 0-2.141-.282 8.907 8.907 0 0 0-8.74 8.838 9.303 9.303 0 0 0 15.277 7.075.809.809 0 0 1 1.104.062l2.451 2.57a.808.808 0 0 1-.047 1.161 14.213 14.213 0 0 1-9.461 3.615zm-.559-27a12.956 12.956 0 0 0-12.81 12.889 13.375 13.375 0 0 0 22.298 9.899L31.73 32.13a10.103 10.103 0 0 1-16.591-7.687 9.718 9.718 0 0 1 9.54-9.637 8.982 8.982 0 0 1 1.965.212l.748-2.787a11.953 11.953 0 0 0-2.687-.305zM36 26.9H24a3.905 3.905 0 0 1-3.9-3.9.901.901 0 0 1 .9-.9h10.84a7.77 7.77 0 0 0-1.875-4.15l-.131-.158 1.332-5.01.475.357a13.413 13.413 0 0 1 5.26 10.705V26a.901.901 0 0 1-.901.9zm-15-4a.1.1 0 0 0-.1.1 3.103 3.103 0 0 0 3.1 3.1h12a.1.1 0 0 0 .1-.1v-2.156a12.643 12.643 0 0 0-4.47-9.693l-.918 3.451a8.135 8.135 0 0 1 1.95 4.898v.4z",
@@ -5,7 +5,7 @@ import { LitElement as l, nothing as a } from "@arcgis/lumina";
5
5
  import { useContextConsumer as d } from "@arcgis/lumina/context";
6
6
  import { a as r } from "../../chunks/common.js";
7
7
  import { c as h } from "../../chunks/deployAppContexts.js";
8
- import { h as p } from "../../chunks/helpers.js";
8
+ import { k as p } from "../../chunks/helpers.js";
9
9
  import { css as m, html as i } from "lit";
10
10
  import "@esri/solution-common";
11
11
  import "@arcgis/core/identity/IdentityManager.js";
@@ -8,8 +8,8 @@ import { c as x } from "../../chunks/deployAppContexts.js";
8
8
  import { T as w } from "../../chunks/interfaces.js";
9
9
  import { t as y } from "../../chunks/helpers.js";
10
10
  import { createRef as n, ref as r } from "lit-html/directives/ref.js";
11
- import * as $ from "@arcgis/core/intl";
12
- import k from "@arcgis/core/request";
11
+ import * as $ from "@arcgis/core/intl.js";
12
+ import k from "@arcgis/core/request.js";
13
13
  const R = v`:host{display:block;--solutions-social-share-action-width: initial;--solutions-social-share-width--s: 200px;--solutions-social-share-width--m: 280px;--solutions-social-share-width--l: 320px;--solutions-social-share-width-horizontal--s: 300px;--solutions-social-share-width-horizontal--m: 380px;--solutions-social-share-width-horizontal--l: 420px;--solutions-social-share-background-color: var(--calcite-color-surface-2);--solutions-social-share-popover-button-background-color: transparent;--solutions-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--solutions-social-share-border: 1px solid var(--calcite-color-border-1);position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-flow:column;align-items:stretch}.solutions-social-share__popover-button{background-color:var(--solutions-social-share-popover-button-background-color);--calcite-color-focus: initial}.solutions-social-share__popover-button calcite-icon{color:var(--solutions-social-share-popover-button-icon-color)}.solutions-social-share__dialog{background-color:var(--solutions-social-share-background-color);border:var(--solutions-social-share-border);box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}.solutions-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}.solutions-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}.solutions-social-share__options li .solutions-social-share__icon,.solutions-social-share__options li .solutions-social-share__option-text{display:inline-block}.solutions-social-share__options li .solutions-social-share__icon{display:flex;align-items:center}.solutions-social-share__options li .solutions-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}.solutions-social-share__options li .solutions-social-share__option-text--rtl{margin-left:0;margin-right:10px}.solutions-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-surface-3)}.solutions-social-share__options li:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.solutions-social-share__x-logo{color:var(--calcite-color-text-1)}.solutions-social-share__success{display:flex;flex-direction:column;padding:15px}.solutions-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}.solutions-social-share__success-icon{display:flex;align-items:center;margin-right:5px}.solutions-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}.solutions-social-share__success-message{line-height:16px}.solutions-social-share__layout--horizontal .solutions-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}.solutions-social-share__layout--horizontal .solutions-social-share__options li{flex-direction:column;padding:0}.solutions-social-share__layout--horizontal .solutions-social-share__options li .solutions-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}.solutions-social-share__layout--horizontal .solutions-social-share__options li:hover{background-color:unset}.solutions-social-share__icon-container{display:flex;align-items:center}calcite-action{width:var(--solutions-social-share-action-width)}:host([scale=s]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--s)}:host([scale=s]) .solutions-social-share__icon{width:16px;height:16px}:host([scale=s]) .solutions-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--s)}:host([scale=m]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--m)}:host([scale=m]) .solutions-social-share__icon{width:24px;height:24px}:host([scale=m]) .solutions-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--m)}:host([scale=l]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--l)}:host([scale=l]) .solutions-social-share__icon{width:32px;height:32px}:host([scale=l]) .solutions-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--l)}`, L = ".calcite-mode-dark", S = {
14
14
  facebook: "https://www.facebook.com/sharer/sharer.php?u={url}",
15
15
  x: "https://x.com/intent/post?url={url}",
@@ -5,10 +5,11 @@ import { u as S } from "../../chunks/useT9n.js";
5
5
  import { LitElement as v, createEvent as h } from "@arcgis/lumina";
6
6
  import { useContextConsumer as w } from "@arcgis/lumina/context";
7
7
  import { a as _, T as g, B as T, d as x, e as E } from "../../chunks/interfaces.js";
8
- import { C as p, g as I } from "../../chunks/cardFetchingUtils.js";
9
- import { b as A } from "../../chunks/cardsHelpers.js";
8
+ import { C as p } from "../../chunks/CardsFetcher.js";
9
+ import { g as I } from "../../chunks/cardsHelpers.js";
10
+ import { g as A } from "../../chunks/cardFetchingUtils.js";
10
11
  import { c as b } from "../../chunks/deployAppContexts.js";
11
- import { f as D, h as L } from "../../chunks/helpers.js";
12
+ import { l as D, k as L } from "../../chunks/helpers.js";
12
13
  const F = y`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@container (max-width: 1234px){solution-details-card{width:calc(33.333% - .6rem)}}@container (max-width: 1010px){solution-details-card{width:calc(50% - .6rem)}}@container (max-width: 800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@container (max-width: 680px){solution-details-card{width:calc(50% - .6rem)}}@container (max-width: 440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`, m = 5;
13
14
  class $ extends v {
14
15
  constructor() {
@@ -124,7 +125,7 @@ class $ extends v {
124
125
  const r = [];
125
126
  return a ? r.push("new") : l && r.push("updated"), o && (n ? r.push("deployed") : r.push("deployedOlderVersion")), s.chips = r.length > 0 ? r : void 0, s.supportReuse = o ? !!(o && !n) : !0, s;
126
127
  });
127
- this._allCards.length === 0 && e?.cards && (this._allCards = e?.cards, this._deployedSolutions && (this._relatedSolutions = A(this._deployedSolutions.cards, this._allCards)));
128
+ this._allCards.length === 0 && e?.cards && (this._allCards = e?.cards, this._deployedSolutions && (this._relatedSolutions = I(this._deployedSolutions.cards, this._allCards)));
128
129
  const c = this._assistantSolutionIds.size > 0 ? i.filter((s) => this._assistantSolutionIds.has(s.deployCommonId)) : i;
129
130
  return this.cardsFetched.emit(c.length), this._isLoading = !1, c;
130
131
  } else
@@ -143,7 +144,7 @@ class $ extends v {
143
144
  const e = this._configContextConsumer.value.authentication, t = this._configContextConsumer.value.userSession;
144
145
  if (e && t && e.IsSignedIn) {
145
146
  this._abortControllerDeployed ? (this._abortControllerDeployed.abort(), this._abortControllerDeployed = new AbortController()) : this._abortControllerDeployed = new AbortController();
146
- const i = await I(e, t, this._cardsFetcher, this._cardsFetcherDeployed, T, "created", this._sortOrder, void 0, this._categories, void 0, this._abortControllerDeployed.signal);
147
+ const i = await A(e, t, this._cardsFetcher, this._cardsFetcherDeployed, T, "created", this._sortOrder, void 0, this._categories, void 0, this._abortControllerDeployed.signal);
147
148
  if (this._abortControllerDeployed = void 0, i) {
148
149
  if (this._modifiedCheckTry > 0) {
149
150
  if (this._deployedSolutions?.cards.length === i?.cards.length)
@@ -7,10 +7,11 @@ import { css as w, html as h } from "lit";
7
7
  import { T as m } from "../../chunks/solutions-deploy-app-nav.js";
8
8
  import { a as D, T as c, y as A, B as x, e as I } from "../../chunks/interfaces.js";
9
9
  import { createRef as l, ref as o } from "lit-html/directives/ref.js";
10
- import { C as y, g as O } from "../../chunks/cardFetchingUtils.js";
10
+ import { C as y } from "../../chunks/CardsFetcher.js";
11
+ import { g as O } from "../../chunks/cardFetchingUtils.js";
11
12
  import { useContextProvider as _ } from "@arcgis/lumina/context";
12
13
  import { c as F, b as L, i as $ } from "../../chunks/deployAppContexts.js";
13
- import { h as E, f as P } from "../../chunks/cardsHelpers.js";
14
+ import { h as E, a as P } from "../../chunks/cardsHelpers.js";
14
15
  import "@esri/solution-common";
15
16
  import "@arcgis/core/identity/IdentityManager.js";
16
17
  import "@arcgis/core/identity/OAuthInfo.js";
@@ -1,6 +1,8 @@
1
1
  /// <reference path="../../index.d.ts" />
2
+ import type * as portal from "@esri/arcgis-rest-portal";
3
+ import type * as common from "@esri/solution-common";
2
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { ISolutionItemMiniContext } from "../../utils/interfaces.js";
5
+ import type { IDeployCard } from "../../utils/interfaces.js";
4
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
5
7
 
6
8
  export abstract class SolutionsDeployedList extends LitElement {
@@ -11,8 +13,6 @@ export abstract class SolutionsDeployedList extends LitElement {
11
13
  * @internal
12
14
  */
13
15
  protected _translations: { deployedVersion: string; } & T9nMeta<{ deployedVersion: string; }>;
14
- /** All the solution cards */
15
- accessor cards: ISolutionItemMiniContext[];
16
16
  /**
17
17
  * Should the content be linkable
18
18
  *
@@ -25,9 +25,13 @@ export abstract class SolutionsDeployedList extends LitElement {
25
25
  * @default ''
26
26
  */
27
27
  accessor listTitle: string;
28
- /** Emitted on demand when cards are fetched */
29
- readonly deployedCardsClicked: import("@arcgis/lumina").TargetedEvent<this, string>;
28
+ /** List of deployed cards for navigation */
29
+ accessor referenceCards: IDeployCard[];
30
+ /** The results of a dependency query */
31
+ accessor results: portal.ISearchResult<common.IItem> | null;
32
+ /** Emitted on demand when the details card is selected. */
33
+ readonly deployedCardSelected: import("@arcgis/lumina").TargetedEvent<this, IDeployCard>;
30
34
  readonly "@eventTypes": {
31
- deployedCardsClicked: SolutionsDeployedList["deployedCardsClicked"]["detail"];
35
+ deployedCardSelected: SolutionsDeployedList["deployedCardSelected"]["detail"];
32
36
  };
33
37
  }
@@ -1,38 +1,60 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as i } from "../../chunks/runtime.js";
3
- import { css as s, html as t, svg as a } from "lit";
4
- import { u as l } from "../../chunks/useT9n.js";
5
- import { LitElement as n, createEvent as o } from "@arcgis/lumina";
6
- import { c as r } from "../../chunks/deployAppContexts.js";
2
+ import { c as l } from "../../chunks/runtime.js";
3
+ import { css as o, html as i } from "lit";
4
+ import { u as n } from "../../chunks/useT9n.js";
5
+ import { LitElement as r, createEvent as c } from "@arcgis/lumina";
6
+ import { c as a } from "../../chunks/deployAppContexts.js";
7
7
  import { useContextConsumer as d } from "@arcgis/lumina/context";
8
- const c = s`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}`;
9
- class h extends n {
8
+ import { C as u } from "../../chunks/CardsFetcher.js";
9
+ import "@esri/solution-common";
10
+ import { s as m } from "../../chunks/helpers.js";
11
+ const h = o`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`;
12
+ class f extends r {
10
13
  constructor() {
11
- super(), this.cards = [], this.hasLinks = !1, this.listTitle = "", this._translations = l({ name: "solutions-deployed-list", blocking: !0 }), this._configContextConsumer = d({
12
- context: r,
14
+ super(), this.referenceCards = [], this.results = null, this.hasLinks = !1, this.listTitle = "", this._translations = n({ name: "solutions-deployed-list", blocking: !0 }), this._cardsFetcher = null, this._configContextConsumer = d({
15
+ context: a,
13
16
  subscribe: !0
14
- }), this.deployedCardsClicked = o();
17
+ }), this.deployedCardSelected = c();
15
18
  }
16
19
  static {
17
- this.properties = { cards: 0, hasLinks: 5, listTitle: 1, _translations: 16 };
20
+ this.properties = { referenceCards: 0, results: 0, hasLinks: 5, listTitle: 1, _translations: 16, _cardsFetcher: 16 };
18
21
  }
19
22
  static {
20
- this.styles = c;
23
+ this.styles = h;
24
+ }
25
+ async load() {
26
+ if (this._configContextConsumer?.value) {
27
+ const t = this._configContextConsumer.value;
28
+ this._cardsFetcher = new u(t.locale, t.orgUrl, t.portalURL);
29
+ }
21
30
  }
22
31
  disconnectedCallback() {
23
32
  super.disconnectedCallback();
24
33
  }
25
34
  render() {
26
- return this.cards.length ? t`${this.listTitle !== "" && t`<div>${this.listTitle}</div>` || ""}${this._renderCards()}` : t`<div class="no-solutions"></div>`;
35
+ return this.results ? i`${this.listTitle !== "" && i`<div>${this.listTitle}</div>` || ""}${this.hasLinks ? i`<calcite-list label="dependency list">${this._renderCards()}</calcite-list>` : i`<calcite-list label="dependency list" selection-mode=none interaction-mode=static>${this._renderCards()}</calcite-list>`}` : i`<div class="no-solutions"></div>`;
27
36
  }
28
37
  _renderCards() {
29
- return this.cards.map((e) => t`<div class="display-flex flex-direction-row"><div class=padding-10>${this._getSolutionsBriefcase()}</div><div class=padding-10><div>${this.hasLinks ? t`<a href=${"/apps/solutions/deployments/" + e.id}>${e.title}</a>` : e.title}</div><div class="subnote">${`${this._translations.deployedVersion} ${e.deployVersion} - ${new Date(e.created).toLocaleDateString(this._configContextConsumer.value?.locale, { year: "numeric", month: "long", day: "numeric" })}`}</div></div></div>`);
38
+ if (this._cardsFetcher && this.results) {
39
+ const t = { ...this.results };
40
+ return t.results = m(t.results), this._cardsFetcher.getCardsFromResponse(t).map((e) => i`<calcite-list-item .label=${e.title} @calciteListItemSelect=${() => {
41
+ this.hasLinks && this._cardSelected(e);
42
+ }} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${this.hasLinks ? "underline" : ""}`}>${e.title}</div><div class="solution-list-item-description">${`${this._translations.deployedVersion} ${e.deployVersion} - ${new Date(e.created).toLocaleDateString(this._configContextConsumer.value?.locale, { year: "numeric", month: "long", day: "numeric" })}`}</div></div></calcite-list-item>`);
43
+ }
44
+ return [];
30
45
  }
31
- _getSolutionsBriefcase() {
32
- return t`<div slot=header-actions-start><svg viewBox="0 0 64 64" width=24 height=24 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-1)>${a`<path d="M10.723 54.9h6.409a7.896 7.896 0 0 0 13.736 0h23.896a4.137 4.137 0 0 0 4.136-4.136l-.004-32.446a3.222 3.222 0 0 0-3.217-3.219l-10.779.064V9.836A3.741 3.741 0 0 0 41.163 6.1H23.837A3.741 3.741 0 0 0 20.1 9.836l.067 5.264-10.8.004A3.275 3.275 0 0 0 6.1 18.37L6.096 26a.893.893 0 0 0 .263.636.907.907 0 0 0 .638.263l5.902-.014.013-5.985 38.781.01a.407.407 0 0 1 .407.407l.008 22.925a2.858 2.858 0 0 1-2.857 2.858H30.868a7.896 7.896 0 0 0-13.736 0H12.9v-5.2a.801.801 0 0 0-.8-.8H6.9a.801.801 0 0 0-.8.8l-.001 8.375a4.59 4.59 0 0 0 1.353 3.27 4.658 4.658 0 0 0 3.27 1.355zM6.9 41.9h5.2v6h5.51l.112-.213a7.098 7.098 0 0 1 12.556 0l.113.213h18.86a3.683 3.683 0 0 0 2.587-1.071 3.635 3.635 0 0 0 1.071-2.587L52.9 21.317a1.208 1.208 0 0 0-1.207-1.207l-38.867-.01a.714.714 0 0 0-.714.712l-.011 5.275-5.106.012.001.4-.1-.499.003-7.628a2.471 2.471 0 0 1 2.468-2.469l10.8-.003a.734.734 0 0 0 .733-.733v-5.33A2.94 2.94 0 0 1 23.837 6.9h17.326A2.94 2.94 0 0 1 44.1 9.836v5.327a.734.734 0 0 0 .733.733l10.846.003a2.421 2.421 0 0 1 2.417 2.419l.004 32.446a3.337 3.337 0 0 1-3.336 3.336H30.39l-.113.213a7.098 7.098 0 0 1-12.556 0l-.113-.213h-6.886a3.85 3.85 0 0 1-2.704-1.12 3.796 3.796 0 0 1-1.12-2.705zm17.1 13a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm10-6a7.918 7.918 0 0 0 7.349-5h4.818a.734.734 0 0 0 .733-.733v-4.334a.734.734 0 0 0-.733-.733h-4.818a7.9 7.9 0 0 0-14.698 0H5.833a.734.734 0 0 0-.733.733v4.334a.734.734 0 0 0 .733.733h20.818a7.918 7.918 0 0 0 7.349 5zm-28.167-10h21.378l.095-.266a7.1 7.1 0 0 1 13.388 0l.095.266 5.31-.066.068 4.266h-5.378l-.095.266a7.1 7.1 0 0 1-13.388 0l-.095-.266-21.31.066zM34 37.9a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm5.658-20.8H25.342a1.244 1.244 0 0 0-1.242 1.242V15.9h16.8v-4.558a1.244 1.244 0 0 0-1.242-1.242zm.442 5H24.9v-3.758a.443.443 0 0 1 .442-.442h14.316a.443.443 0 0 1 .442.442z" />`}</svg></div>`;
46
+ async _cardSelected(t) {
47
+ const s = {
48
+ tabType: "deployed-card",
49
+ tabTitleOrId: t.id
50
+ };
51
+ window.dispatchEvent(new CustomEvent("forceSelectTab", {
52
+ detail: s
53
+ // Pass the payload here
54
+ }));
33
55
  }
34
56
  }
35
- i("solutions-deployed-list", h);
57
+ l("solutions-deployed-list", f);
36
58
  export {
37
- h as SolutionsDeployedList
59
+ f as SolutionsDeployedList
38
60
  };
@@ -1 +1,3 @@
1
+ import "@esri/calcite-components/components/calcite-list";
2
+ import "@esri/calcite-components/components/calcite-list-item";
1
3
  export * from "./customElement.js";