@esri/solutions-components 5.1.0-next.124 → 5.1.0-next.127

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 (237) hide show
  1. package/dist/cdn/{EWUZF57U.js → 232XXYVJ.js} +1 -1
  2. package/dist/cdn/{Y6ZWXE53.js → 23LRX7AS.js} +1 -1
  3. package/dist/cdn/{Z25OUDBP.js → 23SGJQLW.js} +1 -1
  4. package/dist/cdn/2KSXH2TC.js +2 -0
  5. package/dist/cdn/3JZVI5AM.js +7 -0
  6. package/dist/cdn/{C7SMCM7E.js → 3UJAJDSF.js} +1 -1
  7. package/dist/cdn/{A4RZESK7.js → 3UKDJZ2D.js} +2 -2
  8. package/dist/cdn/{JR5GBFT2.js → 4V4CR63B.js} +1 -1
  9. package/dist/cdn/{ZV6TCDGB.js → 4Z6UJJJR.js} +1 -1
  10. package/dist/cdn/4ZUE6R22.js +2 -0
  11. package/dist/cdn/5AAG5ERI.js +2 -0
  12. package/dist/cdn/{6GSCRFFW.js → 5GHZQ66V.js} +1 -1
  13. package/dist/cdn/5U2GHXOV.js +2 -0
  14. package/dist/cdn/5UIJ4Z3C.js +2 -0
  15. package/dist/cdn/{6RTR35JT.js → 5XDPNTYE.js} +1 -1
  16. package/dist/cdn/6ID6N5BF.js +2 -0
  17. package/dist/cdn/6IMLSV3Z.js +2 -0
  18. package/dist/cdn/{K5MMGZY2.js → 6Q52JBZW.js} +1 -1
  19. package/dist/cdn/{4MAZNAHZ.js → 6SSQ6MIC.js} +1 -1
  20. package/dist/cdn/{KZBWKZOC.js → 74XF7DBP.js} +1 -1
  21. package/dist/cdn/75WQ7UGJ.js +2 -0
  22. package/dist/cdn/7CGCLEYB.js +2 -0
  23. package/dist/cdn/{SH72A5PB.js → 7V57GR4X.js} +1 -1
  24. package/dist/cdn/{D66IBZZA.js → 7ZKKR7QO.js} +1 -1
  25. package/dist/cdn/AL7O7ZB2.js +3 -0
  26. package/dist/cdn/{MYPJ63EE.js → ANVT6ANQ.js} +1 -1
  27. package/dist/cdn/{GWSB6X4X.js → AOJP5RQ6.js} +1 -1
  28. package/dist/cdn/{XQQ52NKX.js → AYSQIO6L.js} +1 -1
  29. package/dist/cdn/{WGEHABGS.js → B33EUN4X.js} +1 -1
  30. package/dist/cdn/BLCW2CZO.js +2 -0
  31. package/dist/cdn/{3WKKIXVT.js → BOSEAFVW.js} +1 -1
  32. package/dist/cdn/{CGFMGQ3A.js → BROZWKD5.js} +1 -1
  33. package/dist/cdn/CB7QDBRG.js +2 -0
  34. package/dist/cdn/CEWRVOKP.js +2 -0
  35. package/dist/cdn/{MOK7GNOH.js → CWXZSWUA.js} +1 -1
  36. package/dist/cdn/D4FRUAT3.js +2 -0
  37. package/dist/cdn/DQ7NBBUU.js +2 -0
  38. package/dist/cdn/{D5Y4JMF7.js → E4ZB3BPD.js} +1 -1
  39. package/dist/cdn/E5X2RW5Y.js +109 -0
  40. package/dist/cdn/{KGECA3WE.js → EDZIFJZR.js} +1 -1
  41. package/dist/cdn/{NYWKJJKK.js → EIF4KZBD.js} +1 -1
  42. package/dist/cdn/{B6Y3RA4F.js → ENG5BCAV.js} +1 -1
  43. package/dist/cdn/EOSKMSMP.js +2 -0
  44. package/dist/cdn/{RH47YGDG.js → EVZXWT6K.js} +1 -1
  45. package/dist/cdn/EXC566PM.js +2 -0
  46. package/dist/cdn/FOTFZKKU.js +2 -0
  47. package/dist/cdn/FTY7YPLA.js +88 -0
  48. package/dist/cdn/FW2HWQC7.js +2 -0
  49. package/dist/cdn/{MGAKD4WY.js → GDDMG3Q4.js} +1 -1
  50. package/dist/cdn/{BRBOVJ3Q.js → GPL6FNKN.js} +1 -1
  51. package/dist/cdn/{DUDZ4BGI.js → GSD6O5J7.js} +1 -1
  52. package/dist/cdn/{SSF6ST7U.js → H4YPSJ5G.js} +1 -1
  53. package/dist/cdn/{TTOCCH2K.js → H7J2FXMS.js} +1 -1
  54. package/dist/cdn/{C5QZMZX7.js → HEI6GMZN.js} +1 -1
  55. package/dist/cdn/{AZ4JB3M3.js → HJW2JW4G.js} +1 -1
  56. package/dist/cdn/HO4GBQJG.js +2 -0
  57. package/dist/cdn/HT2HC33W.js +2 -0
  58. package/dist/cdn/{IHKF4AMV.js → HYLQNC4V.js} +3 -3
  59. package/dist/cdn/HZOBBQYW.js +431 -0
  60. package/dist/cdn/ICSHJV2N.js +2 -0
  61. package/dist/cdn/IFI66PVI.js +2 -0
  62. package/dist/cdn/{YFXSWGXE.js → IHG7KTNC.js} +1 -1
  63. package/dist/cdn/IP3VJ34C.js +4 -0
  64. package/dist/cdn/IV7RVOFY.js +56 -0
  65. package/dist/cdn/{3UIIZPJJ.js → IYQGIBWM.js} +1 -1
  66. package/dist/cdn/{JFJRHOAG.js → KCTWFRCW.js} +1 -1
  67. package/dist/cdn/{F64NVBUS.js → KEOBSFBN.js} +1 -1
  68. package/dist/cdn/{N2KSPEVT.js → LP2JYX4X.js} +1 -1
  69. package/dist/cdn/{C4IFGE7P.js → MDNGEZ2V.js} +1 -1
  70. package/dist/cdn/{XVMCFCUH.js → MEDCFXMB.js} +1 -1
  71. package/dist/cdn/{X6JL6SAH.js → MOH6GREK.js} +1 -1
  72. package/dist/cdn/MURYADCX.js +2 -0
  73. package/dist/cdn/{JBNWEBAG.js → N22MFQSQ.js} +1 -1
  74. package/dist/cdn/N5D5ABJ6.js +2 -0
  75. package/dist/cdn/{5HZMUGQD.js → N7BXCDA3.js} +1 -1
  76. package/dist/cdn/{SGJY2CP3.js → ODB4CELR.js} +1 -1
  77. package/dist/cdn/PZW6JMSM.js +2 -0
  78. package/dist/cdn/{5MVIKBSS.js → QF2IXVAT.js} +1 -1
  79. package/dist/cdn/{CQRK2NYK.js → QJICQ4W3.js} +1 -1
  80. package/dist/cdn/QNRKGTZT.js +121 -0
  81. package/dist/cdn/{GIANH6D4.js → R3C2X4CM.js} +1 -1
  82. package/dist/cdn/{DKB6JTUF.js → RKZXRHZK.js} +1 -1
  83. package/dist/cdn/RPEQD2MH.js +2 -0
  84. package/dist/cdn/{SMNWKCWR.js → RXM4BHPK.js} +1 -1
  85. package/dist/cdn/S5F6KJQM.js +18 -0
  86. package/dist/cdn/SFFLZSAY.js +2 -0
  87. package/dist/cdn/SSH4MSHE.js +2 -0
  88. package/dist/cdn/{BQVD2BBH.js → SSZBIVTK.js} +1 -1
  89. package/dist/cdn/{EZ4DX2MW.js → TFTW5B3R.js} +1 -1
  90. package/dist/cdn/{I74AIIHN.js → TIF36KTA.js} +1 -1
  91. package/dist/cdn/TV3ZHJ7B.js +2 -0
  92. package/dist/cdn/{U6JZYJ4D.js → UM3P3Q52.js} +1 -1
  93. package/dist/cdn/{WH2NFOMH.js → UUHDVB24.js} +5 -5
  94. package/dist/cdn/UY5JVVRO.js +2 -0
  95. package/dist/cdn/VEDAG7UO.js +2 -0
  96. package/dist/cdn/VFBFI3KQ.js +2 -0
  97. package/dist/cdn/{BXOH6SN4.js → VTI5LEQY.js} +1 -1
  98. package/dist/cdn/W5FWW67G.js +2 -0
  99. package/dist/cdn/{RB3YU5TX.js → WA3BLQHA.js} +1 -1
  100. package/dist/cdn/{JEEUSHAF.js → X73XP424.js} +1 -1
  101. package/dist/cdn/XC3IZAIH.js +2 -0
  102. package/dist/cdn/{3FOUGCWY.js → XDZPQACK.js} +1 -1
  103. package/dist/cdn/XGODSNWZ.js +2 -0
  104. package/dist/cdn/{UNKHKP5I.js → YJCH2NIS.js} +1 -1
  105. package/dist/cdn/{A4NILC27.js → YKM2YRZP.js} +1 -1
  106. package/dist/cdn/{FBRYBN7J.js → YMLQXXAS.js} +1 -1
  107. package/dist/cdn/{JUUVYK2H.js → YQHYMLC7.js} +1 -1
  108. package/dist/cdn/{Y3CYPNEY.js → YWXDNRE2.js} +1 -1
  109. package/dist/cdn/{E4GB5Z4R.js → ZNWZWFMH.js} +1 -1
  110. package/dist/cdn/{DGUS2OKW.js → ZS3UOY5Q.js} +1 -1
  111. package/dist/cdn/{5VDDAINK.js → ZX3UHK6P.js} +1 -1
  112. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  113. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  114. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  115. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  116. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  117. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  118. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  119. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  120. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  121. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  122. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  123. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  124. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  125. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  126. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  127. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  128. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  129. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  130. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  131. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  132. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  133. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  134. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  135. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  136. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  137. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  138. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  139. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  140. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  141. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  142. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  143. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  144. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  145. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  146. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  147. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  148. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  149. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  150. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  151. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  152. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  153. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  154. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  155. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  156. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  157. package/dist/cdn/index.js +1 -1
  158. package/dist/chunks/Auth.js +163 -71
  159. package/dist/chunks/CardsFetcher.js +3 -2
  160. package/dist/chunks/getRelatedInfos.js +1 -1
  161. package/dist/chunks/helpers.js +24 -20
  162. package/dist/chunks/interfaces.js +152 -141
  163. package/dist/chunks/solution-deploy-dialog.js +24 -18
  164. package/dist/chunks/solutions-deploy-app-nav.js +4 -5
  165. package/dist/components/arcgis-solutions-assistant/customElement.js +681 -57987
  166. package/dist/components/consent-manager/customElement.js +23 -3598
  167. package/dist/components/solution-builder-assistant/customElement.d.ts +8 -2
  168. package/dist/components/solution-builder-assistant/customElement.js +30 -23
  169. package/dist/components/solution-builder-assistant/index.js +1 -1
  170. package/dist/components/solution-configure-titles/customElement.js +63 -61
  171. package/dist/components/solution-delete-dialog/customElement.js +17 -14
  172. package/dist/components/solution-deployed-card/customElement.js +2 -3
  173. package/dist/components/solution-deployed-card-panel/customElement.d.ts +7 -0
  174. package/dist/components/solution-deployed-card-panel/customElement.js +34 -32
  175. package/dist/components/solution-deployed-card-panel/index.js +1 -0
  176. package/dist/components/solution-details-panel/customElement.d.ts +7 -4
  177. package/dist/components/solution-details-panel/customElement.js +115 -180
  178. package/dist/components/solution-snapshot-gallery/customElement.js +2 -1
  179. package/dist/components/solution-social-share/customElement.js +2 -2
  180. package/dist/components/solution-user-avatar/customElement.js +1 -1
  181. package/dist/components/solutions-deploy-app/customElement.d.ts +4 -0
  182. package/dist/components/solutions-deploy-app/customElement.js +14 -11
  183. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -3
  184. package/dist/components/solutions-deployed-list/customElement.js +7 -6
  185. package/dist/docs/api.json +1 -1
  186. package/dist/docs/docs.json +1 -1
  187. package/dist/docs/vscode.html-custom-data.json +1 -1
  188. package/dist/docs/web-types.json +1 -1
  189. package/dist/loader.js +3 -3
  190. package/dist/solutions-components_commit.txt +5 -8
  191. package/dist/types/lumina.d.ts +3 -3
  192. package/dist/types/preact.d.ts +3 -3
  193. package/dist/types/react.d.ts +3 -3
  194. package/dist/types/stencil.d.ts +3 -3
  195. package/dist/utils/Auth.d.ts +11 -0
  196. package/package.json +11 -6
  197. package/dist/cdn/2V4C3U3A.js +0 -2
  198. package/dist/cdn/3RUVSQ7E.js +0 -2
  199. package/dist/cdn/4FZ44STD.js +0 -2
  200. package/dist/cdn/52KL2BJB.js +0 -2
  201. package/dist/cdn/5DS6TJ6G.js +0 -2
  202. package/dist/cdn/5ZIXJCIR.js +0 -18
  203. package/dist/cdn/62PVXXRD.js +0 -2
  204. package/dist/cdn/7JUP4GFU.js +0 -2
  205. package/dist/cdn/7UERL2R2.js +0 -2
  206. package/dist/cdn/7WKV6M26.js +0 -2
  207. package/dist/cdn/BKZZ625R.js +0 -2
  208. package/dist/cdn/BWYFMFIB.js +0 -423
  209. package/dist/cdn/CQKON2YR.js +0 -2
  210. package/dist/cdn/F2J3FYTD.js +0 -2
  211. package/dist/cdn/GVEIFIEZ.js +0 -2
  212. package/dist/cdn/H5WTVMPJ.js +0 -2
  213. package/dist/cdn/HNZAE56I.js +0 -2
  214. package/dist/cdn/HQJ25PBT.js +0 -2
  215. package/dist/cdn/IF52R2FM.js +0 -2
  216. package/dist/cdn/IOKTYFKK.js +0 -7
  217. package/dist/cdn/IRRMUFW7.js +0 -2
  218. package/dist/cdn/JFKCARWJ.js +0 -2
  219. package/dist/cdn/K7QUGRWR.js +0 -4
  220. package/dist/cdn/MN3KMBU6.js +0 -2
  221. package/dist/cdn/MNZJP3PW.js +0 -2
  222. package/dist/cdn/MPZE3IV4.js +0 -2
  223. package/dist/cdn/QKKYYRVF.js +0 -2
  224. package/dist/cdn/QTV6GN3W.js +0 -2
  225. package/dist/cdn/QVJAIVT4.js +0 -2
  226. package/dist/cdn/RPEBBYE4.js +0 -2
  227. package/dist/cdn/RXFNNWEJ.js +0 -2
  228. package/dist/cdn/SBLN3F4Y.js +0 -2
  229. package/dist/cdn/STWIOVJR.js +0 -2
  230. package/dist/cdn/TUQVCY7T.js +0 -2
  231. package/dist/cdn/UM4ITZ4R.js +0 -2
  232. package/dist/cdn/VFEROJ77.js +0 -2
  233. package/dist/cdn/VL4OP3CF.js +0 -2
  234. package/dist/cdn/YNOD3Q5G.js +0 -2
  235. package/dist/cdn/ZPT5ISDK.js +0 -2
  236. package/dist/chunks/common.js +0 -26
  237. package/dist/chunks/get.js +0 -387
@@ -1,49 +1,48 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import * as f from "@esri/solution-common";
3
- import { c as I } from "./runtime.js";
4
- import { css as D, html as l, svg as R } from "lit";
5
- import { u as v } from "./useT9n.js";
6
- import { LitElement as C, createEvent as k, nothing as m, safeClassMap as N } from "@arcgis/lumina";
7
- import { useContextConsumer as T } from "@arcgis/lumina/context";
8
- import { c as L, i as M } from "./deployAppContexts.js";
3
+ import { c as D } from "./runtime.js";
4
+ import { css as R, html as r, svg as v } from "lit";
5
+ import { u as C } from "./useT9n.js";
6
+ import { LitElement as k, createEvent as L, nothing as g, safeClassMap as N } from "@arcgis/lumina";
7
+ import { useContextConsumer as _ } from "@arcgis/lumina/context";
8
+ import { c as M, i as $ } from "./deployAppContexts.js";
9
9
  import "@arcgis/lumina/controllers";
10
10
  import "@arcgis/core/identity/IdentityManager.js";
11
11
  import "@arcgis/core/identity/OAuthInfo.js";
12
12
  import "@arcgis/core/portal/Portal.js";
13
13
  import "@arcgis/core/intl.js";
14
- import { q as u } from "./helpers.js";
15
- import { createRef as _, ref as E } from "lit-html/directives/ref.js";
16
- import { u as P } from "./common.js";
17
- const x = D`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}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{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.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{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}.chipClass{padding-bottom:var(--calcite-spacing-sm)!important}`;
18
- async function $(i, e) {
14
+ import { a as P, q as u, r as x } from "./helpers.js";
15
+ import { createRef as b, ref as y } from "lit-html/directives/ref.js";
16
+ const U = R`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}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{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.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{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}.chipClass{padding-bottom:var(--calcite-spacing-sm)!important}`;
17
+ async function G(i, e) {
19
18
  const t = await f.getItemDataAsJson(i, e);
20
19
  if (!t)
21
20
  throw new Error(`Solution ${i} was not found`);
22
21
  const s = e?.portal.replace("/sharing/rest", "") ?? "https://www.arcgis.com";
23
22
  let a = [];
24
23
  if (t.templates[0].item)
25
- a = t.templates.map((r) => ({
26
- id: r.itemId,
27
- title: r.item.title,
28
- type: r.item.type,
29
- typeKeywords: r.item.typeKeywords,
30
- dependencies: r.dependencies,
31
- snippet: r.item.snippet,
32
- owner: r.item.owner
24
+ a = t.templates.map((n) => ({
25
+ id: n.itemId,
26
+ title: n.item.title,
27
+ type: n.item.type,
28
+ typeKeywords: n.item.typeKeywords,
29
+ dependencies: n.dependencies,
30
+ snippet: n.item.snippet,
31
+ owner: n.item.owner
33
32
  }));
34
33
  else {
35
- const r = t.templates.map((n) => n.type === "Group" ? f.getGroupBase(n.itemId, e) : f.getItemBase(n.itemId, e));
36
- a = (await Promise.allSettled(r)).filter((n) => n.status === "fulfilled").map((n) => n.value).map((n, h) => {
37
- const p = typeof n.type > "u" ? "group" : "item";
34
+ const n = t.templates.map((o) => o.type === "Group" ? f.getGroupBase(o.itemId, e) : f.getItemBase(o.itemId, e));
35
+ a = (await Promise.allSettled(n)).filter((o) => o.status === "fulfilled").map((o) => o.value).map((o, h) => {
36
+ const p = typeof o.type > "u" ? "group" : "item";
38
37
  return {
39
- id: n.id,
40
- title: n.title,
41
- type: n.type ?? "Group",
42
- typeKeywords: n.typeKeywords,
38
+ id: o.id,
39
+ title: o.title,
40
+ type: o.type ?? "Group",
41
+ typeKeywords: o.typeKeywords,
43
42
  dependencies: t.templates[h].dependencies,
44
- snippet: n.snippet,
45
- url: `${s}/home/${p}.html?id=${n.id}`,
46
- owner: n.owner
43
+ snippet: o.snippet,
44
+ url: `${s}/home/${p}.html?id=${o.id}`,
45
+ owner: o.owner
47
46
  };
48
47
  });
49
48
  }
@@ -51,28 +50,28 @@ async function $(i, e) {
51
50
  }
52
51
  function be(i, e, t) {
53
52
  const s = i.templates.map((h) => h.type), a = [];
54
- a.push(W), s.indexOf("Group") >= 0 && (a.push(y), a.push(A)), s.indexOf("Feature Service") >= 0 && a.push(w);
55
- const r = s.indexOf("Feed") > -1;
56
- r && a.push(Y);
57
- const d = s.indexOf("Big Data Analytic") > -1;
58
- d && a.push(z);
59
- const o = s.indexOf("Real Time Analytic") > -1;
60
- o && a.push(j), (r || d || o) && a.push(te), s.indexOf("Workflow") > -1 && (a.push(y), a.push(w), a.push(A), a.push(ie)), s.indexOf("Geoprocessing Service") > -1 && (a.push(q), t.IsEnterprisePortal && a.push(J));
61
- const n = i.templates.reduce(
53
+ a.push(q), s.indexOf("Group") >= 0 && (a.push(E), a.push(A)), s.indexOf("Feature Service") >= 0 && a.push(w);
54
+ const n = s.indexOf("Feed") > -1;
55
+ n && a.push(X);
56
+ const c = s.indexOf("Big Data Analytic") > -1;
57
+ c && a.push(j);
58
+ const d = s.indexOf("Real Time Analytic") > -1;
59
+ d && a.push(Q), (n || c || d) && a.push(ae), s.indexOf("Workflow") > -1 && (a.push(E), a.push(w), a.push(A), a.push(oe)), s.indexOf("Geoprocessing Service") > -1 && (a.push(J), t.IsEnterprisePortal && a.push(ee));
60
+ const o = i.templates.reduce(
62
61
  (h, p) => h.concat(p.item.typeKeywords || []),
63
62
  []
64
63
  );
65
- return G(a, n, t), B(a, e), U(a, i), a;
64
+ return K(a, o, t), F(a, e), B(a, i), a;
66
65
  }
67
- function U(i, e) {
68
- e.templates.some((t) => t.type === "Group" && t.item?.membershipAccess === "collaboration") && i.push(V);
66
+ function B(i, e) {
67
+ e.templates.some((t) => t.type === "Group" && t.item?.membershipAccess === "collaboration") && i.push(Y);
69
68
  }
70
- function G(i, e, t) {
71
- const s = O(t), a = K(t);
72
- ["Location Tracking View"].some((d) => e.indexOf(d) > -1) && (!s && !a ? i.push(Q) : s && !a ? i.push(Z) : !s && a && i.push(ee));
69
+ function K(i, e, t) {
70
+ const s = O(t), a = H(t);
71
+ ["Location Tracking View"].some((c) => e.indexOf(c) > -1) && (!s && !a ? i.push(te) : s && !a ? i.push(ie) : !s && a && i.push(se));
73
72
  }
74
- function B(i, e) {
75
- ["HubPremium"].some((s) => e.indexOf(s) > -1) && i.push(X);
73
+ function F(i, e) {
74
+ ["HubPremium"].some((s) => e.indexOf(s) > -1) && i.push(Z);
76
75
  }
77
76
  function O(i) {
78
77
  const e = i?.PortalUserSubset?.privileges, t = [
@@ -85,60 +84,60 @@ function O(i) {
85
84
  (s) => e.some((a) => a.startsWith(s))
86
85
  ) : !1;
87
86
  }
88
- function K(i) {
87
+ function H(i) {
89
88
  return i.PortalSubset?.locationTrackingEnabled || !1;
90
89
  }
91
- function Te(i, e) {
90
+ function ye(i, e) {
92
91
  let t = {
93
92
  leadingMessages: [],
94
93
  bulletedMessages: [],
95
94
  trailingMessages: []
96
95
  };
97
96
  const s = [
98
- c.NOTEBOOK,
99
- c.VELOCITY,
100
- c.HUBPREMIUM,
101
- c.WORKFLOW,
102
- c.TRACKINGBASE
97
+ l.NOTEBOOK,
98
+ l.VELOCITY,
99
+ l.HUBPREMIUM,
100
+ l.WORKFLOW,
101
+ l.TRACKINGBASE
103
102
  ];
104
- let a = g(
103
+ let a = m(
105
104
  i,
106
105
  e,
107
- c.VELOCITY
106
+ l.VELOCITY
108
107
  );
109
108
  a && t.leadingMessages.push(a);
110
- let r = g(
109
+ let n = m(
111
110
  i,
112
111
  e,
113
- c.NOTEBOOK
112
+ l.NOTEBOOK
114
113
  );
115
- r && t.leadingMessages.push(r);
116
- let d = g(
114
+ n && t.leadingMessages.push(n);
115
+ let c = m(
117
116
  i,
118
117
  e,
119
- c.HUBPREMIUM
118
+ l.HUBPREMIUM
120
119
  );
121
- d && t.leadingMessages.push(d);
122
- let o = g(
120
+ c && t.leadingMessages.push(c);
121
+ let d = m(
123
122
  i,
124
123
  e,
125
- c.WORKFLOW
124
+ l.WORKFLOW
126
125
  );
127
- o && t.leadingMessages.push(o), e = e.filter((p) => s.indexOf(p) < 0), e.forEach((p) => {
126
+ d && t.leadingMessages.push(d), e = e.filter((p) => s.indexOf(p) < 0), e.forEach((p) => {
128
127
  t.bulletedMessages.push(
129
128
  S(i, p)
130
129
  );
131
130
  });
132
- let n = g(
131
+ let o = m(
133
132
  i,
134
133
  e,
135
- c.TRACKINGBASE
134
+ l.TRACKINGBASE
136
135
  );
137
- return n && t.trailingMessages.push(n), (t.leadingMessages.length > 0 || t.trailingMessages.length > 0 || t.bulletedMessages.length > 0) && t.trailingMessages.push(
136
+ return o && t.trailingMessages.push(o), (t.leadingMessages.length > 0 || t.trailingMessages.length > 0 || t.bulletedMessages.length > 0) && t.trailingMessages.push(
138
137
  i.missingPrivilegesPopup.suggestedProblemRemedyMessage
139
138
  ), t;
140
139
  }
141
- function g(i, e, t) {
140
+ function m(i, e, t) {
142
141
  return e.filter((a) => a.includes(t)).length > 0 ? S(i, t) : "";
143
142
  }
144
143
  function S(i, e) {
@@ -193,28 +192,37 @@ function S(i, e) {
193
192
  case "portal:publisher:publishServerGPServices":
194
193
  s = t.publishGPServices;
195
194
  break;
196
- case "writable:Enterprise":
197
- s = t.writableEnterprise;
198
- break;
199
- case "writable:Online":
200
- s = t.writableOnline.replace("{{url}}", "https://status.arcgis.com");
201
- break;
202
195
  }
203
196
  return s;
204
197
  }
205
- class F extends C {
198
+ function Ee(i, e) {
199
+ const t = I(e), s = P([{ k: "id", v: i }]) || "";
200
+ return t ? `${t}/home/item.html${s}` : "";
201
+ }
202
+ function we(i, e, t, s) {
203
+ const a = s || I(t);
204
+ return a ? `${a}/sharing/rest/content/items/${i}/resources/${e}` : "";
205
+ }
206
+ function I(i) {
207
+ return i?.PortalSubset?.orgUrl || i?.PortalUrl || "";
208
+ }
209
+ function V(i, e) {
210
+ const t = new URL(i);
211
+ return t.searchParams.set("token", e), t.toString();
212
+ }
213
+ class W extends k {
206
214
  constructor() {
207
- super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = v({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = T({
208
- context: L,
215
+ super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = C({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = _({
216
+ context: M,
209
217
  subscribe: !0,
210
218
  callback: async (e) => {
211
219
  e && (this._isOrgAdmin = O(e.authentication), this._thumbnailUrl = `${this.thumbnail}&token=${e.userSession?.token}`);
212
220
  }
213
- }), this._deleteDialogRef = _(), this._diagramDialogRef = _(), this._isOrgAdmin = !1, this._isMobileContextConsumer = T({
214
- context: M,
221
+ }), this._deleteDialogRef = b(), this._diagramDialogRef = b(), this._isOrgAdmin = !1, this._isMobileContextConsumer = _({
222
+ context: $,
215
223
  subscribe: !0,
216
224
  callback: (e) => this.isMobile = e
217
- }), this.deployedCardSelected = k(), this.listenOn(window, "sessionRefreshed", (e) => {
225
+ }), this.deployedCardSelected = L(), this.listenOn(window, "sessionRefreshed", (e) => {
218
226
  this._updateThumbnailToken(e.detail);
219
227
  });
220
228
  }
@@ -222,7 +230,7 @@ class F extends C {
222
230
  this.properties = { card: 0, deployedDate: 1, description: 1, diagramKey: 1, heading: 1, itemId: 1, owner: 1, thumbnail: 1, updateAvailable: 5, templateInfos: 0, _isDeleteOpen: 16, _isDiagramOpen: 16, isMobile: 16, templateInfoGraph: 16, _configureTitlesOpen: 16, _thumbnailUrl: 16, _translations: 16 };
223
231
  }
224
232
  static {
225
- this.styles = x;
233
+ this.styles = U;
226
234
  }
227
235
  get _telemetry() {
228
236
  return this._configContextConsumer.value?.telemetrySession;
@@ -241,43 +249,43 @@ class F extends C {
241
249
  }
242
250
  render() {
243
251
  const e = this.card && this.card.typeKeywords?.includes("AIAssistant");
244
- return l`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${(t) => u(t, () => this._cardSelected())}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${e && this._getChips() || ""}${this.owner !== "" && this._getOwnerLabel() || ""}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`;
252
+ return r`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${(t) => u(t, () => this._cardSelected())}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${e && this._getChips() || ""}${this.owner !== "" && this._getOwnerLabel() || ""}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`;
245
253
  }
246
254
  _getImage() {
247
- return l`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading ?? m} class="thumbnail card-image" src=${this._thumbnailUrl ?? m}><div class="hover-text">${this._translations.openSolution}</div></div>`;
255
+ return r`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading ?? g} class="thumbnail card-image" src=${this._thumbnailUrl ?? g}><div class="hover-text">${this._translations.openSolution}</div></div>`;
248
256
  }
249
257
  _getHeader() {
250
- return l`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`;
258
+ return r`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`;
251
259
  }
252
260
  _getOwnerLabel() {
253
- return l`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(e) => u(e, () => this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`;
261
+ return r`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(e) => u(e, () => this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`;
254
262
  }
255
263
  _getDeployedDate() {
256
- return l`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg aria-hidden=true height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${R`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
264
+ return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg aria-hidden=true height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${v`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
257
265
  }
258
266
  _getChips() {
259
- return l`<calcite-chip class="chipClass" icon=effects .label=${this._translations.builtWithAI} scale=s>${this._translations.builtWithAI}</calcite-chip>`;
267
+ return r`<calcite-chip class="chipClass" icon=effects .label=${this._translations.builtWithAI} scale=s>${this._translations.builtWithAI}</calcite-chip>`;
260
268
  }
261
269
  _getConfigureButton() {
262
- const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = this.card?.owner === e || this._isOrgAdmin || t, r = this.card?.owner === e || this._isOrgAdmin || s, d = a ? "display-none" : "";
263
- return l`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution ?? m} dropdown-label=${this._translations.moreActions ?? m} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${(o) => o.stopPropagation()} @keydown=${(o) => o.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution ?? m} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile && l`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${(o) => u(o, () => this._viewDiagram(o))}>${this._translations.viewDiagram}</calcite-dropdown-item>` || ""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${(o) => u(o, () => this._viewDocumentation(o))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${(o) => u(o, () => this._viewItemDetails(o))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile && a && l`<calcite-dropdown-item icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async () => {
270
+ const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = x(this._configContextConsumer.value), n = this.card?.owner === e || this._isOrgAdmin || t, c = this.card?.owner === e || this._isOrgAdmin || s, d = n ? "display-none" : "";
271
+ return r`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution ?? g} dropdown-label=${this._translations.moreActions ?? g} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${(o) => o.stopPropagation()} @keydown=${(o) => o.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution ?? g} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile && r`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${(o) => u(o, () => this._viewDiagram(o))}>${this._translations.viewDiagram}</calcite-dropdown-item>` || ""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${(o) => u(o, () => this._viewDocumentation(o))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${(o) => u(o, () => this._viewItemDetails(o))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile && n && r`<calcite-dropdown-item .disabled=${a} icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async () => {
264
272
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
265
273
  }} @keydown=${(o) => u(o, async () => {
266
274
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
267
- })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && r && l`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${(o) => u(o, () => this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${N(d)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
275
+ })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && c && r`<calcite-dropdown-item .disabled=${a} icon-start=trash @click=${this._deleteSolution} @keydown=${(o) => u(o, () => this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${N(d)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
268
276
  }
269
277
  _renderDeleteDialog() {
270
- return this._isDeleteOpen ? l`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(e) => {
278
+ return this._isDeleteOpen ? r`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(e) => {
271
279
  this._isDeleteOpen = e.detail;
272
- }} .open=${this._isDeleteOpen} source="Card Dropdown" ${E(this._deleteDialogRef)}></solution-delete-dialog>` : "";
280
+ }} .open=${this._isDeleteOpen} source="Card Dropdown" ${y(this._deleteDialogRef)}></solution-delete-dialog>` : "";
273
281
  }
274
282
  _renderDiagramDialog() {
275
- return this._isDiagramOpen ? l`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ?? m} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
283
+ return this._isDiagramOpen ? r`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ?? g} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
276
284
  this._isDiagramOpen = !1;
277
- }} outside-close-disabled scale=m width=l ${E(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
285
+ }} outside-close-disabled scale=m width=l ${y(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
278
286
  }
279
287
  _renderConfigureTitlesDialog() {
280
- return this._configureTitlesOpen ? l`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
288
+ return this._configureTitlesOpen ? r`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
281
289
  this._processTemplates(this.card).then((e) => {
282
290
  this.templateInfos = e;
283
291
  }), this._configureTitlesOpen = !1;
@@ -295,7 +303,7 @@ class F extends C {
295
303
  }
296
304
  async _viewDiagram(e) {
297
305
  e.stopPropagation(), this.card && (this._telemetry?.logEvent({
298
- category: b.DEPLOYMENTS,
306
+ category: T.DEPLOYMENTS,
299
307
  action: "View Diagram",
300
308
  dimensions: [
301
309
  this.card.title || "",
@@ -307,7 +315,7 @@ class F extends C {
307
315
  }
308
316
  _viewDocumentation(e) {
309
317
  e.stopPropagation(), this._telemetry?.logEvent({
310
- category: b.DEPLOYMENTS,
318
+ category: T.DEPLOYMENTS,
311
319
  action: "Open Help",
312
320
  dimensions: [
313
321
  this.card?.title || "",
@@ -319,7 +327,7 @@ class F extends C {
319
327
  }
320
328
  _viewItemDetails(e) {
321
329
  e.stopPropagation(), this._telemetry?.logEvent({
322
- category: b.DEPLOYMENTS,
330
+ category: T.DEPLOYMENTS,
323
331
  action: "Open Item Details",
324
332
  dimensions: [
325
333
  this.card?.title || "",
@@ -338,14 +346,14 @@ class F extends C {
338
346
  t && window.open(`${t}/home/user.html?user=${this.owner}`, "_blank");
339
347
  }
340
348
  async _processTemplates(e) {
341
- return await $(e.id, this._configContextConsumer.value.userSession);
349
+ return await G(e.id, this._configContextConsumer.value.userSession);
342
350
  }
343
351
  _updateThumbnailToken(e) {
344
- this._thumbnailUrl !== "" && (this._thumbnailUrl = P(this._thumbnailUrl, e));
352
+ this._thumbnailUrl !== "" && (this._thumbnailUrl = V(this._thumbnailUrl, e));
345
353
  }
346
354
  }
347
- I("solution-deployed-card", F);
348
- const _e = 500, Ee = {
355
+ D("solution-deployed-card", W);
356
+ const Ae = 500, Oe = {
349
357
  AEC: "Architecture, Engineering, and Construction (AEC)",
350
358
  AIRPORTPORTRAIL: "Airports, Ports, and Rails",
351
359
  BUSINESS: "Business",
@@ -359,7 +367,7 @@ const _e = 500, Ee = {
359
367
  STATEANDLOCALGOVERNMENT: "State and Local Government",
360
368
  TELECOMMUNICATIONS: "Telecommunications",
361
369
  UTILITIES: "Utilities"
362
- }, ye = {
370
+ }, Se = {
363
371
  AIRPORT: "Airports",
364
372
  AGRICULTURE: "Agriculture",
365
373
  ASSESSMENTANDTAXATION: "Assessment and Taxation",
@@ -384,8 +392,8 @@ const _e = 500, Ee = {
384
392
  TRANSPORTATION: "Transportation",
385
393
  WATER: "Water Distribution"
386
394
  };
387
- var c = /* @__PURE__ */ ((i) => (i.HUBPREMIUM = "solutions:hubPremium", i.NOTEBOOK = "solutions:notebook", i.TRACKINGBASE = "solutions:locationtracking", i.TRACKING = "solutions:locationtracking:tracking", i.TRACKINGADMIN = "solutions:locationtracking:admin", i.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", i.VELOCITY = "solutions:velocity", i.WORKFLOW = "solutions:workflowManager", i))(c || {}), H = /* @__PURE__ */ ((i) => (i.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", i.VELOCITYFEEDS = "portal:publisher:publishFeeds", i.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", i))(H || {});
388
- const we = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed,AIAssistant) OR ((typekeywords:Deployed) AND (created:[1577862000000 TO 1622576880000])))', Ae = "(typekeywords:Solution,Template)", V = "portal:user:addExternalMembersToGroup", W = "portal:user:createItem", y = "portal:user:createGroup", z = "portal:publisher:publishBigDataAnalytics", w = "portal:publisher:publishFeatures", Y = "portal:publisher:publishFeeds", q = "portal:publisher:publishServerGPServices", j = "portal:publisher:publishRealTimeAnalytics", A = "portal:user:shareToGroup", X = "solutions:hubPremium", J = "solutions:notebook", Q = "solutions:locationtracking:admin:tracking", Z = "solutions:locationtracking:tracking", ee = "solutions:locationtracking:admin", te = "solutions:velocity", ie = "solutions:workflowManager", Oe = 250, Se = 256, b = {
395
+ var l = /* @__PURE__ */ ((i) => (i.HUBPREMIUM = "solutions:hubPremium", i.NOTEBOOK = "solutions:notebook", i.TRACKINGBASE = "solutions:locationtracking", i.TRACKING = "solutions:locationtracking:tracking", i.TRACKINGADMIN = "solutions:locationtracking:admin", i.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", i.VELOCITY = "solutions:velocity", i.WORKFLOW = "solutions:workflowManager", i))(l || {}), z = /* @__PURE__ */ ((i) => (i.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", i.VELOCITYFEEDS = "portal:publisher:publishFeeds", i.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", i))(z || {});
396
+ const Ie = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed,AIAssistant) OR ((typekeywords:Deployed) AND (created:[1577862000000 TO 1622576880000])))', De = "(typekeywords:Solution,Template)", Y = "portal:user:addExternalMembersToGroup", q = "portal:user:createItem", E = "portal:user:createGroup", j = "portal:publisher:publishBigDataAnalytics", w = "portal:publisher:publishFeatures", X = "portal:publisher:publishFeeds", J = "portal:publisher:publishServerGPServices", Q = "portal:publisher:publishRealTimeAnalytics", A = "portal:user:shareToGroup", Z = "solutions:hubPremium", ee = "solutions:notebook", te = "solutions:locationtracking:admin:tracking", ie = "solutions:locationtracking:tracking", se = "solutions:locationtracking:admin", ae = "solutions:velocity", oe = "solutions:workflowManager", Re = 250, ve = 256, T = {
389
397
  SOLUTION_DETAILS: "Solution Details",
390
398
  GLOBAL_NAVIGATION: "Global Nav",
391
399
  ALL_SOLUTIONS: "Solutions",
@@ -393,14 +401,14 @@ const we = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed
393
401
  ASSISTANT: "Assistant",
394
402
  RESOURCES: "Resources",
395
403
  BUILDER: "Solution Builder"
396
- }, Ie = {
404
+ }, Ce = {
397
405
  MINE: "My deployments",
398
406
  ORG: "Organization"
399
- }, De = {
407
+ }, ke = {
400
408
  BOTH: "New,Suggested",
401
409
  NEW: "New",
402
410
  SUGGESTED: "Suggested"
403
- }, Re = {
411
+ }, Le = {
404
412
  NEW: "new",
405
413
  NUMVIEWS: "views",
406
414
  RELEVANCE: "relevance",
@@ -408,44 +416,47 @@ const we = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed
408
416
  TITLE: "title",
409
417
  UPDATED: "updated",
410
418
  CREATED: "created"
411
- }, ve = {
419
+ }, Ne = {
412
420
  DEPLOY: "deploy",
413
421
  AIOPEN: "aiOpen"
414
422
  };
415
423
  export {
416
- O as A,
417
- we as B,
418
- $ as C,
419
- Se as D,
420
- c as E,
421
- Oe as I,
422
- V as P,
423
- X as S,
424
- b as T,
425
- Ae as a,
426
- _e as b,
427
- Ie as c,
428
- ye as d,
429
- Ee as e,
430
- De as f,
431
- H as g,
432
- ve as h,
433
- Re as i,
434
- y as j,
435
- W as k,
436
- z as l,
424
+ ye as A,
425
+ Ie as B,
426
+ be as C,
427
+ ve as D,
428
+ l as E,
429
+ O as F,
430
+ G,
431
+ V as H,
432
+ Re as I,
433
+ Y as P,
434
+ Z as S,
435
+ T,
436
+ De as a,
437
+ Ae as b,
438
+ Ce as c,
439
+ Se as d,
440
+ Oe as e,
441
+ ke as f,
442
+ z as g,
443
+ Ne as h,
444
+ Le as i,
445
+ E as j,
446
+ q as k,
447
+ j as l,
437
448
  w as m,
438
- Y as n,
439
- q as o,
440
- j as p,
449
+ X as n,
450
+ J as o,
451
+ Q as p,
441
452
  A as q,
442
- J as r,
443
- Z as s,
444
- ee as t,
445
- Q as u,
446
- te as v,
447
- ie as w,
448
- F as x,
449
- Te as y,
450
- be as z
453
+ ee as r,
454
+ ie as s,
455
+ se as t,
456
+ te as u,
457
+ ae as v,
458
+ oe as w,
459
+ W as x,
460
+ we as y,
461
+ Ee as z
451
462
  };