@esri/solutions-components 1.2.0-next.193 → 1.2.0-next.195

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 (209) hide show
  1. package/dist/cdn/{DMQY2YSV.js → 2WYTNG6M.js} +1 -1
  2. package/dist/cdn/{HTILYSMI.js → 4OYK7LQI.js} +1 -1
  3. package/dist/cdn/{2FB7PLHA.js → 4TAK7UR4.js} +1 -1
  4. package/dist/cdn/5N36Y4KQ.js +2 -0
  5. package/dist/cdn/5ZVLMXAB.js +2 -0
  6. package/dist/cdn/6SQBHRNL.js +2 -0
  7. package/dist/cdn/6ZIVLBUU.js +2 -0
  8. package/dist/cdn/{6MYF74WP.js → 74BUVVWT.js} +1 -1
  9. package/dist/cdn/{YN2Q4YSJ.js → 7KGICWE5.js} +1 -1
  10. package/dist/cdn/{XCOHDOZB.js → AKULVI2N.js} +1 -1
  11. package/dist/cdn/B5EWNHD4.js +2 -0
  12. package/dist/cdn/{6AVBPFXC.js → BXWJRGO4.js} +1 -1
  13. package/dist/cdn/{DZEATYCC.js → CD2CL3AH.js} +1 -1
  14. package/dist/cdn/CNABSL7D.js +2 -0
  15. package/dist/cdn/{LOQNTCQ5.js → CRRPFZO6.js} +1 -1
  16. package/dist/cdn/{K2TGYZ23.js → DWERPOBG.js} +1 -1
  17. package/dist/cdn/{GNHKPEWB.js → EOOU7UYE.js} +1 -1
  18. package/dist/cdn/FKU4KCVC.js +21 -0
  19. package/dist/cdn/FMCJ3OZC.js +2 -0
  20. package/dist/cdn/{XGT7USWV.js → GBWRGXNI.js} +1 -1
  21. package/dist/cdn/{U6K37QQX.js → GCH7DWPZ.js} +1 -1
  22. package/dist/cdn/{QCI2IO23.js → HJGZC7SA.js} +1 -1
  23. package/dist/cdn/{2LCLF5CH.js → HNIKG65G.js} +1 -1
  24. package/dist/cdn/IEFFRDCD.js +2 -0
  25. package/dist/cdn/{OSY6VKW4.js → IYQFLCCH.js} +1 -1
  26. package/dist/cdn/MHHHY4YI.js +2 -0
  27. package/dist/cdn/{3IXJ77QG.js → MMKAKDW4.js} +1 -1
  28. package/dist/cdn/{YBCBDSHJ.js → NAZCWXLO.js} +1 -1
  29. package/dist/cdn/OTTY4ZPN.js +2 -0
  30. package/dist/cdn/{FCTLSKQC.js → OXSNUTDV.js} +1 -1
  31. package/dist/cdn/QTJVVDLF.js +2 -0
  32. package/dist/cdn/{5YSQ2CW2.js → T3TMKI4D.js} +1 -1
  33. package/dist/cdn/TLR2QJD4.js +2 -0
  34. package/dist/cdn/{GSZZB2X6.js → U4B663P4.js} +1 -1
  35. package/dist/cdn/UIGEOGE2.js +2 -0
  36. package/dist/cdn/{ZLVZRRWC.js → UMNMUV3Z.js} +1 -1
  37. package/dist/cdn/{4PJLBC3H.js → VARQORHC.js} +1 -1
  38. package/dist/cdn/VMMM42OC.js +2 -0
  39. package/dist/cdn/VQJQDCP2.js +2 -0
  40. package/dist/cdn/{BTHN6PO3.js → WDQPKKWX.js} +1 -1
  41. package/dist/cdn/WSKPG7AR.js +2 -0
  42. package/dist/cdn/{KMFPTAQU.js → XPPERC5Q.js} +1 -1
  43. package/dist/cdn/{35BKTK23.js → ZLB7IIDL.js} +1 -1
  44. package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
  45. package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
  46. package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
  47. package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
  48. package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
  49. package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
  50. package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
  51. package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
  52. package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
  53. package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
  54. package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
  55. package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
  56. package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
  57. package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
  58. package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
  59. package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
  60. package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
  61. package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
  62. package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
  63. package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
  64. package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
  65. package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
  66. package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
  67. package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
  68. package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
  69. package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
  70. package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
  71. package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
  72. package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
  73. package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
  74. package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
  75. package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
  76. package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
  77. package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
  78. package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
  79. package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
  80. package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
  81. package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
  82. package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
  83. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
  84. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
  85. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
  86. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
  87. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
  88. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
  89. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
  90. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
  91. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
  92. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
  93. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
  94. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
  95. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
  96. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
  97. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
  98. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
  99. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
  100. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
  101. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
  102. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
  103. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
  104. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
  105. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
  106. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
  107. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
  108. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
  109. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
  110. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
  111. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
  112. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
  113. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
  114. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
  115. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
  116. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
  117. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
  118. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
  119. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
  120. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
  121. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
  122. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ar.json +1 -1
  123. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bg.json +1 -1
  124. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bs.json +1 -1
  125. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ca.json +1 -1
  126. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.cs.json +1 -1
  127. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.da.json +1 -1
  128. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.de.json +1 -1
  129. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.el.json +1 -1
  130. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.es.json +1 -1
  131. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.et.json +1 -1
  132. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fi.json +1 -1
  133. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fr.json +1 -1
  134. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.he.json +1 -1
  135. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hr.json +1 -1
  136. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hu.json +1 -1
  137. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.id.json +1 -1
  138. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.it.json +1 -1
  139. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ja.json +1 -1
  140. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ko.json +1 -1
  141. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lt.json +1 -1
  142. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lv.json +1 -1
  143. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.nl.json +1 -1
  144. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.no.json +1 -1
  145. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pl.json +1 -1
  146. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-BR.json +1 -1
  147. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-PT.json +1 -1
  148. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ro.json +1 -1
  149. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ru.json +1 -1
  150. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sk.json +1 -1
  151. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sl.json +1 -1
  152. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sr.json +1 -1
  153. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sv.json +1 -1
  154. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.th.json +1 -1
  155. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.tr.json +1 -1
  156. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.uk.json +1 -1
  157. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.vi.json +1 -1
  158. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-CN.json +1 -1
  159. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-HK.json +1 -1
  160. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-TW.json +1 -1
  161. package/dist/cdn/index.js +1 -1
  162. package/dist/chunks/Auth.js +2 -1
  163. package/dist/chunks/interfaces.js +167 -175
  164. package/dist/chunks/solution-deploy-dialog.js +5 -5
  165. package/dist/components/map-draw-tools/customElement.js +7 -7
  166. package/dist/components/solution-configure-titles/customElement.js +37 -37
  167. package/dist/components/solution-delete-dialog/customElement.js +10 -10
  168. package/dist/components/solution-deployed-card-panel/customElement.js +19 -19
  169. package/dist/components/solution-deploying-dialog/customElement.js +7 -7
  170. package/dist/components/solution-details-card/customElement.js +6 -6
  171. package/dist/components/solution-details-panel/customElement.js +5 -5
  172. package/dist/components/solution-resource-card/customElement.d.ts +4 -6
  173. package/dist/components/solution-resource-card/customElement.js +19 -18
  174. package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
  175. package/dist/components/solution-user-avatar/customElement.js +4 -4
  176. package/dist/components/solutions-all-shell/customElement.js +2 -2
  177. package/dist/components/solutions-deployed-panel/customElement.js +69 -33
  178. package/dist/components/solutions-deployed-shell/customElement.js +59 -23
  179. package/dist/components/solutions-resources-section/customElement.js +8 -8
  180. package/dist/components/solutions-resources-shell/customElement.js +54 -26
  181. package/dist/docs/api.json +1 -1
  182. package/dist/docs/docs.json +1 -1
  183. package/dist/docs/vscode.html-custom-data.json +1 -1
  184. package/dist/docs/web-types.json +1 -1
  185. package/dist/loader.js +1 -1
  186. package/dist/solutions-components_commit.txt +6 -6
  187. package/dist/types/lumina.d.ts +1 -1
  188. package/dist/types/preact.d.ts +1 -1
  189. package/dist/types/react.d.ts +1 -1
  190. package/dist/types/stencil.d.ts +1 -1
  191. package/dist/utils/interfaces.d.ts +2 -0
  192. package/package.json +1 -1
  193. package/dist/cdn/2YQZQLV7.js +0 -2
  194. package/dist/cdn/5DYEGOFQ.js +0 -2
  195. package/dist/cdn/AIU3MGAJ.js +0 -2
  196. package/dist/cdn/AXJNTXWG.js +0 -2
  197. package/dist/cdn/BFRGKEST.js +0 -2
  198. package/dist/cdn/CA5SSBGK.js +0 -2
  199. package/dist/cdn/FKEZD3IR.js +0 -21
  200. package/dist/cdn/HRR3S4YS.js +0 -2
  201. package/dist/cdn/LT22II6J.js +0 -2
  202. package/dist/cdn/MGS4TCQO.js +0 -2
  203. package/dist/cdn/PKER46Z6.js +0 -2
  204. package/dist/cdn/V562ZRP5.js +0 -2
  205. package/dist/cdn/WT64QMSP.js +0 -2
  206. package/dist/cdn/XVCTCPQP.js +0 -2
  207. package/dist/cdn/Z7S7SUZV.js +0 -2
  208. package/dist/cdn/ZBVU5UTY.js +0 -2
  209. package/dist/cdn/ZEIBUDIU.js +0 -2
@@ -30,16 +30,14 @@ export abstract class SolutionResourceCard extends LitElement {
30
30
  * @default ''
31
31
  */
32
32
  accessor heading: string;
33
+ /** The English heading for telemetry */
34
+ accessor headingEn: string | undefined;
33
35
  /** The Calcite icon name */
34
36
  accessor icon: string | undefined;
35
37
  /** The Meridian icon name */
36
38
  accessor meridianIcon: string | undefined;
37
- /**
38
- * The section heading for telemetry
39
- *
40
- * @default ''
41
- */
42
- accessor sectionHeading: string;
39
+ /** The English section heading for telemetry */
40
+ accessor sectionHeadingEn: string | undefined;
43
41
  /** The URL to open when card is clicked */
44
42
  accessor url: string | undefined;
45
43
  }
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
2
- import { c as i } from "../../chunks/runtime.js";
3
- import { css as t, svg as e, html as l } from "lit";
4
- import { u as h } from "../../chunks/useT9n.js";
5
- import { LitElement as o, nothing as r } from "@arcgis/lumina";
6
- import { useContextConsumer as s } from "@arcgis/lumina/context";
7
- import { A as n, J as m, T as z } from "../../chunks/interfaces.js";
8
- const v = t`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)}`, c = {
2
+ import { c as e } from "../../chunks/runtime.js";
3
+ import { css as h, svg as o, html as l } from "lit";
4
+ import { u as r } from "../../chunks/useT9n.js";
5
+ import { LitElement as n, nothing as s } from "@arcgis/lumina";
6
+ import { useContextConsumer as m } from "@arcgis/lumina/context";
7
+ import { A as z, J as v, T as d } from "../../chunks/interfaces.js";
8
+ const H = h`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)}`, c = {
9
9
  "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",
10
10
  "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",
11
11
  faq: "M18.495 23.09a3.22 3.22 0 0 1 3.502 3.123 3.526 3.526 0 0 1-1.593 3.034 3.413 3.413 0 0 0-1.524 3.096V33h-.8v-.657a4.165 4.165 0 0 1 1.812-3.71 2.727 2.727 0 0 0 1.305-2.42 2.425 2.425 0 0 0-2.702-2.322c-1.716 0-2.498.99-2.498 1.912h-.8c0-1.348 1.133-2.712 3.298-2.712zm22.849-2.748l.843 4.81-3.579-1.014.218-.77 2.354.668-.721-4.111.246-.139c3.427-1.927 5.393-4.774 5.393-7.81 0-5.554-6.55-10.072-14.6-10.072s-14.6 4.518-14.6 10.072a8.111 8.111 0 0 0 2.73 5.856l.313.3C29.924 18.47 37.9 24.104 37.9 31c0 7.113-8.479 12.9-18.9 12.9-1.417 0-3.901-.295-4.433-.36l-9.71 3.627 2.062-6.238C2.58 38.47.1 34.867.1 31c0-7.064 8.364-12.813 18.686-12.893a8.769 8.769 0 0 1-2.688-6.131c0-5.995 6.908-10.872 15.4-10.872s15.4 4.877 15.4 10.872c0 3.258-2.02 6.295-5.554 8.366zM19 18.9C9.02 18.9.9 24.328.9 31c0 3.65 2.44 7.073 6.694 9.389l.293.16-1.746 5.285 8.33-3.112.097.012c.03.004 2.923.366 4.432.366 9.98 0 18.1-5.428 18.1-12.1S28.98 18.9 19 18.9zm.4 16.6a.9.9 0 1 1-.9-.9.901.901 0 0 1 .9.9zm-.8 0a.1.1 0 0 0-.2 0c0 .11.2.11.2 0zm12.9-25.025a1.025 1.025 0 1 1-1.025 1.025 1.026 1.026 0 0 1 1.025-1.025zm0 .8a.225.225 0 0 0-.225.225c0 .248.45.248.45 0a.225.225 0 0 0-.225-.225zm6.975.225a1.025 1.025 0 1 1 1.025 1.025 1.026 1.026 0 0 1-1.025-1.025zm.8 0c0 .248.45.248.45 0a.225.225 0 0 0-.45 0zM23.5 10.475a1.025 1.025 0 1 1-1.025 1.025 1.026 1.026 0 0 1 1.025-1.025zm0 .8a.225.225 0 0 0-.225.225c0 .248.45.248.45 0a.225.225 0 0 0-.225-.225z",
@@ -18,34 +18,35 @@ const v = t`calcite-card{cursor:pointer;height:100%;padding-bottom:2px;border-in
18
18
  video: "M11.363 17.1l27.814-8.32-1.697-5.673-31.127 9.311 1.696 5.673.051-.015V41.9h31.8V17.1zm15.783-5.556l-5.179 1.549 1.246-4.883 5.178-1.549zm2.14-5.15l5.178-1.549-1.246 4.883-5.178 1.548zm-8.213 6.966l-5.178 1.549 1.246-4.883 5.178-1.548zm-6.072 1.816l-5.178 1.549 1.246-4.883 5.178-1.548zm23.18-6.933L34.112 9.46l1.246-4.882 1.585-.474zM7.35 12.955l2.826-.845-1.246 4.882-.343.103zM29.044 22.1l2.52-4.2h5.405l-2.52 4.2zm-19.014 0l2.52-4.2h5.405l-2.52 4.2zm8.858-4.2h5.405l-2.52 4.2h-5.405zm6.338 0h5.405l-2.52 4.2h-5.405zM8.9 17.9h2.716l-2.519 4.2H8.9zm30.2 23.2H8.9V22.9h30.2zm-3.718-19l2.52-4.2H39.1v4.2zM36 27.9h-2v-.8h2zm-5 0H13v-.8h18zm-17.9 9h22.8v-5.8H13.1zm.8-5h21.2v4.2H13.9z",
19
19
  "speech-bubbles": "M11 15.9v-.8h18v.8zm12 4v-.8H11v.8zm-1 7.2h-3.443L9.9 32.76V27.1H5.75a1.852 1.852 0 0 1-1.85-1.85v-14.5A1.852 1.852 0 0 1 5.75 8.9h27.5a1.852 1.852 0 0 1 1.85 1.85V22h.8V10.75a2.653 2.653 0 0 0-2.65-2.65H5.75a2.653 2.653 0 0 0-2.65 2.65v14.5a2.653 2.653 0 0 0 2.65 2.65H9.1v6.34l9.695-6.34H22zm18.9 9.8h1.35a2.653 2.653 0 0 0 2.65-2.65v-8.5a2.653 2.653 0 0 0-2.65-2.65h-16.5a2.653 2.653 0 0 0-2.65 2.65v8.5a2.653 2.653 0 0 0 2.65 2.65h7.28l7.87 5.628zm1.35-13a1.852 1.852 0 0 1 1.85 1.85v8.5a1.852 1.852 0 0 1-1.85 1.85H40.1v4.872L33.288 36.1H25.75a1.852 1.852 0 0 1-1.85-1.85v-8.5a1.852 1.852 0 0 1 1.85-1.85zm-3.25 4v-.8H29v.8zm-3 5v-.8h-7v.8z"
20
20
  };
21
- class d extends o {
21
+ class p extends n {
22
22
  constructor() {
23
- super(...arguments), this._translations = h({ name: "solution-resource-card", blocking: !0 }), this._configContextConsumer = s({
24
- context: n,
23
+ super(...arguments), this._translations = r({ name: "solution-resource-card", blocking: !0 }), this._configContextConsumer = m({
24
+ context: z,
25
25
  subscribe: !0
26
- }), this.heading = "", this.description = "", this.sectionHeading = "";
26
+ }), this.heading = "", this.description = "";
27
27
  }
28
28
  static {
29
- this.properties = { _translations: 16, icon: 1, meridianIcon: 1, heading: 1, description: 1, url: 1, sectionHeading: 1 };
29
+ this.properties = { _translations: 16, icon: 1, meridianIcon: 1, heading: 1, description: 1, url: 1, headingEn: 1, sectionHeadingEn: 1 };
30
30
  }
31
31
  static {
32
- this.styles = v;
32
+ this.styles = H;
33
33
  }
34
34
  get _telemetry() {
35
35
  return this._configContextConsumer.value?.telemetrySession;
36
36
  }
37
37
  render() {
38
- return l`<calcite-card @click=${() => this.url && this._handleCardClick(this.url)} @keydown=${(a) => m(a, () => this.url && this._handleCardClick(this.url))}>${this.meridianIcon && c[this.meridianIcon] && l`<div class="card-icon"><svg class="meridian-icon" xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48">${e`<path fill=currentColor d=${c[this.meridianIcon] ?? r} />`}</svg></div>` || ""}${this.icon && l`<div class="card-icon"><calcite-icon .icon=${this.icon} scale=l></calcite-icon></div>` || ""}<h3 class="card-heading">${this.heading}</h3><p class="card-description">${this.description}</p></calcite-card>`;
38
+ return l`<calcite-card @click=${() => this.url && this._handleCardClick(this.url)} @keydown=${(a) => v(a, () => this.url && this._handleCardClick(this.url))}>${this.meridianIcon && c[this.meridianIcon] && l`<div class="card-icon"><svg class="meridian-icon" xmlns=http://www.w3.org/2000/svg viewBox="0 0 48 48">${o`<path fill=currentColor d=${c[this.meridianIcon] ?? s} />`}</svg></div>` || ""}${this.icon && l`<div class="card-icon"><calcite-icon .icon=${this.icon} scale=l></calcite-icon></div>` || ""}<h3 class="card-heading">${this.heading}</h3><p class="card-description">${this.description}</p></calcite-card>`;
39
39
  }
40
40
  _handleCardClick(a) {
41
+ const i = this.headingEn || this.heading, t = this.sectionHeadingEn || "";
41
42
  this._telemetry?.logEvent({
42
- category: z.RESOURCES,
43
+ category: d.RESOURCES,
43
44
  action: "Open",
44
- dimensions: [`${this.sectionHeading} - ${this.heading}`]
45
+ dimensions: [`${t} - ${i}`]
45
46
  }), window.open(a, "_blank", "noopener,noreferrer");
46
47
  }
47
48
  }
48
- i("solution-resource-card", d);
49
+ e("solution-resource-card", p);
49
50
  export {
50
- d as SolutionResourceCard
51
+ p as SolutionResourceCard
51
52
  };
@@ -10,7 +10,7 @@ import "@arcgis/core/identity/IdentityManager.js";
10
10
  import "@arcgis/core/identity/OAuthInfo.js";
11
11
  import "@arcgis/core/portal/Portal.js";
12
12
  import { createRef as m, ref as u } from "lit-html/directives/ref.js";
13
- const f = g`.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-lg)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block;object-fit:contain}`;
13
+ const f = g`*[tabindex]:focus-visible{outline:solid 2px var(--calcite-color-brand);outline-offset:2px}.display-flex{display:flex}.align-items-center{align-items:center}.justify-content-center{justify-content:center}.screenshot-container{width:100%;overflow:hidden}.footer{width:100%}.footer-override{--calcite-dialog-footer-space: 0px}.footer-card{width:200px;height:100px;cursor:pointer;padding-bottom:2px}.padding-1{padding:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-end-1{padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.padding-top-1{padding-top:1rem}.padding-top-1-2{padding-top:.5rem}.background-black{background-color:var(--calcite-color-foreground-3)}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}.calcite-card-selected{outline:2px solid var(--calcite-color-brand);box-sizing:border-box;cursor:pointer}calcite-card:hover .hover-text{opacity:1;color:#fff}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-lg)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip;display:block;object-fit:contain}`;
14
14
  class b extends l {
15
15
  constructor() {
16
16
  super(...arguments), this.open = !1, this._screenshots = [], this._translations = c({ name: "solution-snapshot-gallery", blocking: !0 }), this._configContextConsumer = d({
@@ -35,7 +35,7 @@ class b extends l {
35
35
  }
36
36
  _getFooter() {
37
37
  const t = this._screenshotNames.indexOf(this.screenshot?.name || ""), s = document.body.classList.contains("calcite-mode-dark") ? "calcite-mode-dark" : "";
38
- return i`<div class="footer" slot=footer><div class=${`display-flex align-items-center padding-start-1 padding-top-1-2 background-black ${s}`}><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${t + 1} total-items=${this._screenshots.length ?? a} ${u(this._paginationControl)}></calcite-pagination>${this._displayText}</calcite-label></div>${this._getCards()}</div>`;
38
+ return i`<div class="footer" slot=footer><div class=${`display-flex align-items-center padding-start-1 padding-top-1-2 background-black ${s}`}><calcite-label layout=inline><calcite-pagination class="padding-end-1" @calcitePaginationChange=${this._changeScreenshot} page-size=1 start-item=${t + 1} total-items=${this._screenshots.length ?? a} ${u(this._paginationControl)}></calcite-pagination><span tabindex=0>${this._displayText}</span></calcite-label></div>${this._getCards()}</div>`;
39
39
  }
40
40
  _changeScreenshot() {
41
41
  this.screenshot = this._screenshots[this._paginationControl.value.startItem - 1];
@@ -4,8 +4,8 @@ import { LitElement as n } from "@arcgis/lumina";
4
4
  import { useContextConsumer as o } from "@arcgis/lumina/context";
5
5
  import { A as l, H as s } from "../../chunks/interfaces.js";
6
6
  import { restGetUser as r } from "@esri/solution-common";
7
- import { css as u, html as m } from "lit";
8
- const c = u`.avatar-container{align-items:center;display:flex;flex-direction:row;padding-top:var(--calcite-spacing-lg)}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}`;
7
+ import { css as u, html as c } from "lit";
8
+ const m = u`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.avatar-container{align-items:center;display:flex;flex-direction:row;padding-top:var(--calcite-spacing-lg)}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}`;
9
9
  class f extends n {
10
10
  constructor() {
11
11
  super(), this.lookupProfile = !1, this.username = "", this._configContextConsumer = o({
@@ -19,7 +19,7 @@ class f extends n {
19
19
  this.properties = { fullname: 1, lookupProfile: 5, thumbnailUrl: 1, username: 1 };
20
20
  }
21
21
  static {
22
- this.styles = c;
22
+ this.styles = m;
23
23
  }
24
24
  loaded() {
25
25
  this.lookupProfile && this._lookupOwnerProfile(this.username);
@@ -28,7 +28,7 @@ class f extends n {
28
28
  t.has("username") && this.lookupProfile && this._lookupOwnerProfile(this.username);
29
29
  }
30
30
  render() {
31
- return m`<div class="avatar-container"><calcite-avatar scale=m .username=${this.username} .thumbnail=${this.thumbnailUrl ?? void 0} .fullName=${this.fullname ?? void 0}></calcite-avatar><div class="text-container"><span class="full-name">${this.fullname ?? ""}</span><span class="username">${this.username}</span></div></div>`;
31
+ return c`<div class="avatar-container"><calcite-avatar scale=m .username=${this.username} .thumbnail=${this.thumbnailUrl ?? void 0} .fullName=${this.fullname ?? void 0}></calcite-avatar><div class="text-container"><span class="full-name" tabindex=0>${this.fullname ?? ""}</span><span class="username" tabindex=0>${this.username}</span></div></div>`;
32
32
  }
33
33
  async _lookupOwnerProfile(t) {
34
34
  if (this.fullname = void 0, this.thumbnailUrl = "", this.lookupProfile && this._configContextConsumer.value) {
@@ -8,7 +8,7 @@ import { css as b, html as a } from "lit";
8
8
  import { A as v, G as y, e as d, d as h, T as p } from "../../chunks/interfaces.js";
9
9
  import { createRef as n, ref as s } from "lit/directives/ref.js";
10
10
  import "../solutions-filter-panel/customElement.js";
11
- const x = b`.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.chips-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--calcite-spacing-xs);flex:1;padding-block:var(--calcite-spacing-xs)}.header-content-wrapper{min-height:50px;flex-wrap:wrap;gap:var(--calcite-spacing-xs);padding-inline-start:var(--calcite-spacing-md)}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.padding-top-3{padding-top:3px}.chip-group{max-width:100%}.chip-group{display:flex;flex-wrap:wrap}.responsive-chip{max-width:100%}.responsive-chip .chip-text{display:inline-flex;align-items:center;line-height:1;max-width:100%}@media(max-width:800px){.responsive-chip{max-width:100%;min-width:0}.responsive-chip .chip-text{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}`;
11
+ const x = b`.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.chips-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--calcite-spacing-xs);flex:1;padding-block:var(--calcite-spacing-xs)}.header-content-wrapper{min-height:50px;flex-wrap:wrap;gap:var(--calcite-spacing-xs);padding-inline-start:var(--calcite-spacing-md)}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.padding-top-3{padding-top:3px}.chip-group{max-width:100%}.chip-group{display:flex;flex-wrap:wrap}.responsive-chip{max-width:100%}.responsive-chip .chip-text{display:inline-flex;align-items:center;line-height:1;max-width:100%}@media(max-width:800px){.responsive-chip{max-width:100%;min-width:0}.responsive-chip .chip-text{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.mobile-stack{flex-direction:column;align-items:flex-start;padding-top:var(--calcite-spacing-md)}`;
12
12
  class w extends _ {
13
13
  constructor() {
14
14
  super(), this.solutionsCount = 0, this._isLoading = !0, this._filterOpen = !0, this._filters = {
@@ -87,7 +87,7 @@ class w extends _ {
87
87
  }
88
88
  render() {
89
89
  const e = this._isMobile ? "justify-content-end" : "", t = this._isLoading ? "display-none" : "";
90
- return a`<calcite-shell class=${`position-relative ${t}`}>${this._isMobile ? "" : this._getFilterPanel()}<h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1" ${s(this._mainPanelRef)}><div class=${o(this._isMobile ? `header-content-wrapper ${e}` : `display-flex align-items-center header-content-wrapper ${e}`)} slot=header-content><calcite-label class="label-override padding-top-3">${this._translations.numberOfSolutions.replace("{{count}}", this.solutionsCount.toString())}</calcite-label><div class="chips-container">${this._renderChips()}${this._filters.categories && this._filters.categories?.length > 0 && a`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${() => {
90
+ return a`<calcite-shell class=${`position-relative ${t}`}>${this._isMobile ? "" : this._getFilterPanel()}<h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1" ${s(this._mainPanelRef)}><div class=${o(this._isMobile ? `mobile-stack ${e}` : `display-flex align-items-center header-content-wrapper ${e}`)} slot=header-content><calcite-label class="label-override padding-top-3">${this._translations.numberOfSolutions.replace("{{count}}", this.solutionsCount.toString())}</calcite-label><div class="chips-container">${this._renderChips()}${this._filters.categories && this._filters.categories?.length > 0 && a`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${() => {
91
91
  this._filters = {
92
92
  ...this._filters,
93
93
  categories: []
@@ -1,27 +1,27 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
2
- import { c as p } from "../../chunks/runtime.js";
3
- import { css as u, html as o, svg as f } from "lit";
4
- import { ref as y } from "lit/directives/ref.js";
2
+ import { c as u } from "../../chunks/runtime.js";
3
+ import { css as f, html as r, svg as y } from "lit";
5
4
  import { u as g } from "../../chunks/useT9n.js";
6
5
  import { LitElement as w, createEvent as l, nothing as C } from "@arcgis/lumina";
7
- import { useContextConsumer as T } from "@arcgis/lumina/context";
8
- import { C as d, g as x } from "../../chunks/cardFetchingUtils.js";
9
- import { B as h, A as v, T as n, M as S, c as D } from "../../chunks/interfaces.js";
10
- const E = u`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, c = 5;
11
- class b extends w {
6
+ import { useContextConsumer as x } from "@arcgis/lumina/context";
7
+ import { createRef as T, ref as d } from "lit/directives/ref.js";
8
+ import { C as c, g as v } from "../../chunks/cardFetchingUtils.js";
9
+ import { B as h, A as b, T as n, M as S, c as D } from "../../chunks/interfaces.js";
10
+ const F = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
11
+ class E extends w {
12
12
  constructor() {
13
- super(), this.sortType = "created", this._cards = [], this._cardsFetching = !1, this._modifiedCheckTry = 0, this._newId = "", this._refs = {}, this._showDeleteCompleteAlert = !1, this._deletedSolutionName = "", this._translations = g({ name: "solutions-deployed-panel", blocking: !0 }), this._agoTerms = h, this._allCards = [], this._baseAgoTerms = h, this._categories = [], this._configContextConsumer = T({
14
- context: v,
13
+ super(), this.sortType = "created", this._cards = [], this._cardsFetching = !1, this._modifiedCheckTry = 0, this._newId = "", this._refs = {}, this._showDeleteCompleteAlert = !1, this._deletedSolutionName = "", this._translations = g({ name: "solutions-deployed-panel", blocking: !0 }), this._agoTerms = h, this._allCards = [], this._baseAgoTerms = h, this._categories = [], this._mainPanelRef = T(), this._panelFixed = !1, this._configContextConsumer = x({
14
+ context: b,
15
15
  subscribe: !0,
16
16
  callback: async (e) => {
17
17
  e && (this._initCardsFetchers(), await this._getDeployedSolutions());
18
18
  }
19
19
  }), this._delay = !1, this._owner = "My solutions", this._sortField = "created", this._sortOrder = "desc", this.deployedCardsFetched = l(), this.searchTermSet = l(), this.sortTypeSet = l(), this.listenOn(window, "solutionDeleted", (e) => {
20
- this._modifiedCheckTry = c, this.reload(e.detail.showAlert, e.detail.refreshSolutionsTimeout, e.detail.solutionTitle);
20
+ this._modifiedCheckTry = m, this.reload(e.detail.showAlert, e.detail.refreshSolutionsTimeout, e.detail.solutionTitle);
21
21
  }), this.listenOn(window, "solutionConfigureDialogClose", (e) => {
22
22
  e.detail && this.reload(!1, !1);
23
23
  }), this.listenOn(window, "deployProgressEnd", (e) => {
24
- this._modifiedCheckTry = c, this._refreshAfterDeploy(e.detail);
24
+ this._modifiedCheckTry = m, this._refreshAfterDeploy(e.detail);
25
25
  }), this.listenOn(window, "sortTypeChanged", (e) => {
26
26
  e.detail && e.detail.scope === "deployments" && (this.sortType = e.detail.sortType, this._telemetry?.logEvent({
27
27
  category: n.DEPLOYMENTS,
@@ -40,18 +40,18 @@ class b extends w {
40
40
  this.properties = { sortType: 1, _cards: 16, _cardsFetching: 16, _modifiedCheckTry: 16, _newId: 16, _refs: 16, _showDeleteCompleteAlert: 16, _deletedSolutionName: 16, _translations: 16 };
41
41
  }
42
42
  static {
43
- this.styles = E;
43
+ this.styles = F;
44
44
  }
45
45
  get _telemetry() {
46
46
  return this._configContextConsumer.value?.telemetrySession;
47
47
  }
48
- async reload(e = !0, t = !0, r) {
49
- this._initCardsFetchers(), e && (this._showDeleteCompleteAlert = !0, this._deletedSolutionName = r || this._translations.solution), t ? setTimeout(() => {
48
+ async reload(e = !0, t = !0, i) {
49
+ this._initCardsFetchers(), e && (this._showDeleteCompleteAlert = !0, this._deletedSolutionName = i || this._translations.solution), t ? setTimeout(() => {
50
50
  (async () => {
51
51
  try {
52
52
  await this._getDeployedSolutions();
53
- } catch (a) {
54
- console.error("Error getting deployed solutions:", a);
53
+ } catch (s) {
54
+ console.error("Error getting deployed solutions:", s);
55
55
  }
56
56
  })();
57
57
  }, 500) : await this._getDeployedSolutions();
@@ -83,19 +83,55 @@ class b extends w {
83
83
  scope: "deployments"
84
84
  })));
85
85
  }
86
+ updated() {
87
+ this._fixPanelContentWrapperFocus();
88
+ }
89
+ _fixPanelContentWrapperFocus() {
90
+ if (!this._panelFixed && this._mainPanelRef.value) {
91
+ const e = this._mainPanelRef.value;
92
+ e.componentOnReady?.().then(() => {
93
+ if (e.shadowRoot) {
94
+ const t = e.shadowRoot.querySelector(".content-wrapper");
95
+ t && (t.tabIndex = -1, this._panelFixed = !0, this._setupPanelObserver());
96
+ }
97
+ }).catch(() => {
98
+ this._panelFixed = !0;
99
+ });
100
+ }
101
+ }
102
+ _setupPanelObserver() {
103
+ if (this._panelObserver)
104
+ return;
105
+ this._panelObserver = new MutationObserver((t) => {
106
+ t.forEach((i) => {
107
+ if (i.type === "attributes" && i.attributeName === "tabindex") {
108
+ const s = i.target;
109
+ s.classList.contains("content-wrapper") && s.tabIndex === 0 && (s.tabIndex = -1);
110
+ }
111
+ });
112
+ });
113
+ const e = this._mainPanelRef.value;
114
+ if (e?.shadowRoot) {
115
+ const t = e.shadowRoot.querySelector(".content-wrapper");
116
+ t && this._panelObserver.observe(t, { attributes: !0, attributeFilter: ["tabindex"] });
117
+ }
118
+ }
119
+ disconnectedCallback() {
120
+ super.disconnectedCallback(), this._panelObserver?.disconnect();
121
+ }
86
122
  render() {
87
- return this._cardsFetching ? o`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>` : this._cards.length ? o`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete.replace("{{solutionName}}", this._deletedSolutionName)} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${() => {
123
+ return this._cardsFetching ? r`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>` : this._cards.length ? r`<calcite-panel ${d(this._mainPanelRef)}><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete.replace("{{solutionName}}", this._deletedSolutionName)} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${() => {
88
124
  this._showDeleteCompleteAlert = !1;
89
- }}><div slot=title>${this._translations.deleteComplete.replace("{{solutionName}}", this._deletedSolutionName)}</div></calcite-alert></calcite-panel>` : o`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${this._translations.noSolutionsInstruction}</div></div></div>`;
125
+ }}><div slot=title>${this._translations.deleteComplete.replace("{{solutionName}}", this._deletedSolutionName)}</div></calcite-alert></calcite-panel>` : r`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><div>${this._translations.noSolutionsFound}</div><div class="margin-top-half">${this._translations.noSolutionsInstruction}</div></div></div>`;
90
126
  }
91
127
  _initCardsFetchers() {
92
128
  if (this._configContextConsumer.value) {
93
129
  const e = this._configContextConsumer.value;
94
- this._cardsFetcher = new d(e.locale, e.orgUrl, e.portalURL), this._cardsFetcherDeployed = new d(e.locale, e.orgUrl, e.portalURL);
130
+ this._cardsFetcher = new c(e.locale, e.orgUrl, e.portalURL), this._cardsFetcherDeployed = new c(e.locale, e.orgUrl, e.portalURL);
95
131
  }
96
132
  }
97
133
  _renderCards() {
98
- return this._refs = {}, this._cards.map((e) => o`<solution-deployed-card .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id ?? C} .itemId=${e.id} .owner=${this._owner === "My solutions" ? "" : e.owner} .thumbnail=${e.thumbnailUrl} ${y(this._handleRefs)}></solution-deployed-card>`);
134
+ return this._refs = {}, this._cards.map((e) => r`<solution-deployed-card .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id ?? C} .itemId=${e.id} .owner=${this._owner === "My solutions" ? "" : e.owner} .thumbnail=${e.thumbnailUrl} ${d(this._handleRefs)}></solution-deployed-card>`);
99
135
  }
100
136
  _handleRefs(e) {
101
137
  e && (this._refs[e.id] = e);
@@ -105,7 +141,7 @@ class b extends w {
105
141
  if (e.IsSignedIn) {
106
142
  this._abortController ? (this._abortController.abort("redundant request"), this._abortController = new AbortController()) : this._abortController = new AbortController(), this._cardsFetching = !0;
107
143
  try {
108
- const t = await x(e, this._configContextConsumer.value.userSession, this._cardsFetcher, this._cardsFetcherDeployed, this._agoTerms, this._sortField, this._sortOrder, this._delay, this._categories, this._allCards, this._abortController.signal, this._owner);
144
+ const t = await v(e, this._configContextConsumer.value.userSession, this._cardsFetcher, this._cardsFetcherDeployed, this._agoTerms, this._sortField, this._sortOrder, this._delay, this._categories, this._allCards, this._abortController.signal, this._owner);
109
145
  this._abortController = void 0, this._modifiedCheckTry > 0 && (this._cards?.length === t?.cards?.length ? (this._modifiedCheckTry--, this._getDeployedSolutions()) : this._modifiedCheckTry = 0), this._cards = t?.cards ?? [], this.deployedCardsFetched.emit(this._cards.length), this._cardsFetching = !1;
110
146
  } catch (t) {
111
147
  t.message !== "redundant request" && console.warn(t);
@@ -113,7 +149,7 @@ class b extends w {
113
149
  }
114
150
  }
115
151
  _getSolutionsBriefcase() {
116
- return o`<div><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${f`<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>`;
152
+ return r`<div><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<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>`;
117
153
  }
118
154
  _setSearchTerm(e) {
119
155
  this._agoTerms = this._baseAgoTerms + ` ${e}`;
@@ -128,20 +164,20 @@ class b extends w {
128
164
  async _refreshAfterDeploy(e) {
129
165
  if (e) {
130
166
  this._newId = e;
131
- const t = 10, r = 500;
132
- for (let s = 0; s < t && (await this._getDeployedSolutions(), !this._cards.some((i) => i.id === e)); s++)
133
- s < t - 1 && await new Promise((i) => setTimeout(i, r));
167
+ const t = 10, i = 500;
168
+ for (let a = 0; a < t && (await this._getDeployedSolutions(), !this._cards.some((o) => o.id === e)); a++)
169
+ a < t - 1 && await new Promise((o) => setTimeout(o, i));
134
170
  await this.updateComplete;
135
- const a = 10, m = 100;
136
- for (let s = 0; s < a; s++) {
171
+ const s = 10, p = 100;
172
+ for (let a = 0; a < s; a++) {
137
173
  if (this._refs[e]) {
138
- const i = this._cards.find((_) => _.id === e);
174
+ const o = this._cards.find((_) => _.id === e);
139
175
  window.dispatchEvent(new CustomEvent("deployedCardReady", {
140
- detail: { card: i, cardRef: this._refs[e] }
176
+ detail: { card: o, cardRef: this._refs[e] }
141
177
  })), this._newId = "";
142
178
  return;
143
179
  }
144
- await new Promise((i) => setTimeout(i, m)), await this.updateComplete;
180
+ await new Promise((o) => setTimeout(o, p)), await this.updateComplete;
145
181
  }
146
182
  console.warn(`Failed to find ref for newly deployed solution after all retries: ${e}`), window.dispatchEvent(new CustomEvent("deploymentCompletedWithoutNav", {
147
183
  detail: { solutionId: e }
@@ -149,7 +185,7 @@ class b extends w {
149
185
  }
150
186
  }
151
187
  }
152
- p("solutions-deployed-panel", b);
188
+ u("solutions-deployed-panel", E);
153
189
  export {
154
- b as SolutionsDeployedPanel
190
+ E as SolutionsDeployedPanel
155
191
  };
@@ -1,34 +1,34 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
2
- import { c as n } from "../../chunks/runtime.js";
3
- import { u as o } from "../../chunks/useT9n.js";
4
- import { LitElement as s, createEvent as l, safeStyleMap as r } from "@arcgis/lumina";
5
- import { useContextConsumer as a } from "@arcgis/lumina/context";
6
- import { css as c, html as t, svg as d } from "lit";
7
- import { A as h, G as p, J as g } from "../../chunks/interfaces.js";
8
- import { createRef as u, ref as m } from "lit/directives/ref.js";
9
- const v = c`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-3{padding-top:3px}`;
10
- class f extends s {
2
+ import { c } from "../../chunks/runtime.js";
3
+ import { u as d } from "../../chunks/useT9n.js";
4
+ import { LitElement as h, createEvent as l, safeStyleMap as p } from "@arcgis/lumina";
5
+ import { useContextConsumer as o } from "@arcgis/lumina/context";
6
+ import { css as u, html as i, svg as g } from "lit";
7
+ import { A as f, G as b, J as v } from "../../chunks/interfaces.js";
8
+ import { createRef as s, ref as r } from "lit/directives/ref.js";
9
+ const m = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-3{padding-top:3px}`;
10
+ class x extends h {
11
11
  constructor() {
12
- super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._showAlertFailed = !1, this._translations = o({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = a({
13
- context: h,
12
+ super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._showAlertFailed = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = o({
13
+ context: f,
14
14
  subscribe: !0
15
- }), this._deployedCardFetchFailedMessage = "", this._deployedCardFetchFailedTitle = "", this._isMobileContextConsumer = a({
16
- context: p,
15
+ }), this._deployedCardFetchFailedMessage = "", this._deployedCardFetchFailedTitle = "", this._isMobileContextConsumer = o({
16
+ context: b,
17
17
  subscribe: !0,
18
18
  callback: (e) => this.isMobile = e
19
- }), this._solutionsDeployedPanelRef = u(), this.filterRemoved = l(), this.tokenRefreshed = l(), this._handleSignIn = () => {
19
+ }), this._solutionsDeployedPanelRef = s(), this._mainPanelRef = s(), this._panelFixed = !1, this.filterRemoved = l(), this.tokenRefreshed = l(), this._handleSignIn = () => {
20
20
  const e = window.location.pathname.endsWith("deployments") ? "" : "deployments";
21
21
  this._configContextConsumer.value?.authentication?.signIn(e);
22
22
  }, this.listenOn(window, "deployedCardFetchFailed", (e) => {
23
- const i = e.detail;
24
- this._deployedCardFetchFailedTitle = i.title, this._deployedCardFetchFailedMessage = i.message, this._showAlertFailed = !0;
23
+ const t = e.detail;
24
+ this._deployedCardFetchFailedTitle = t.title, this._deployedCardFetchFailedMessage = t.message, this._showAlertFailed = !0;
25
25
  });
26
26
  }
27
27
  static {
28
28
  this.properties = { solutionsCount: 9, filterOpen: 16, isMobile: 16, _showAlertFailed: 16, _translations: 16 };
29
29
  }
30
30
  static {
31
- this.styles = v;
31
+ this.styles = m;
32
32
  }
33
33
  willUpdate(e) {
34
34
  e.has("isMobile") && (this.filterOpen = !this.isMobile);
@@ -39,18 +39,54 @@ class f extends s {
39
39
  async load() {
40
40
  this._isMobileContextConsumer.value && (this.isMobile = this._isMobileContextConsumer.value);
41
41
  }
42
+ updated() {
43
+ this._fixPanelContentWrapperFocus();
44
+ }
45
+ _fixPanelContentWrapperFocus() {
46
+ if (!this._panelFixed && this._mainPanelRef.value) {
47
+ const e = this._mainPanelRef.value;
48
+ e.componentOnReady?.().then(() => {
49
+ if (e.shadowRoot) {
50
+ const t = e.shadowRoot.querySelector(".content-wrapper");
51
+ t && (t.tabIndex = -1, this._panelFixed = !0, this._setupPanelObserver());
52
+ }
53
+ }).catch(() => {
54
+ this._panelFixed = !0;
55
+ });
56
+ }
57
+ }
58
+ _setupPanelObserver() {
59
+ if (this._panelObserver)
60
+ return;
61
+ this._panelObserver = new MutationObserver((t) => {
62
+ t.forEach((n) => {
63
+ if (n.type === "attributes" && n.attributeName === "tabindex") {
64
+ const a = n.target;
65
+ a.classList.contains("content-wrapper") && a.tabIndex === 0 && (a.tabIndex = -1);
66
+ }
67
+ });
68
+ });
69
+ const e = this._mainPanelRef.value;
70
+ if (e?.shadowRoot) {
71
+ const t = e.shadowRoot.querySelector(".content-wrapper");
72
+ t && this._panelObserver.observe(t, { attributes: !0, attributeFilter: ["tabindex"] });
73
+ }
74
+ }
75
+ disconnectedCallback() {
76
+ super.disconnectedCallback(), this._panelObserver?.disconnect();
77
+ }
42
78
  render() {
43
79
  if (!this._configContextConsumer.value?.authentication?.IsSignedIn)
44
80
  return this._getSignInPrompt();
45
81
  const e = this.isMobile ? "justify-content-end" : "";
46
- return t`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-50 header-content-wrapper ${e}`} slot=header-content><calcite-label class="label-override flex-shrink-0 padding-top-3" layout=inline>${this._translations.numberOfDeployments?.replace("{{count}}", this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsDeployedPanel()}</calcite-panel></calcite-shell>`;
82
+ return i`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${r(this._mainPanelRef)}><div class=${`display-flex align-items-center height-50 header-content-wrapper ${e}`} slot=header-content><calcite-label class="label-override flex-shrink-0 padding-top-3" layout=inline>${this._translations.numberOfDeployments?.replace("{{count}}", this.solutionsCount.toString())}</calcite-label></div>${this._getSolutionsDeployedPanel()}</calcite-panel></calcite-shell>`;
47
83
  }
48
84
  _getSignInPrompt() {
49
- return t`<div class="sign-in-prompt">${this._getSignInIcon()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.signInMessage}</div><calcite-button appearance=outline @click=${this._handleSignIn} @keydown=${(e) => g(e, () => this._handleSignIn())} scale=l>${this._translations.signIn}</calcite-button></div>`;
85
+ return i`<div class="sign-in-prompt">${this._getSignInIcon()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.signInMessage}</div><calcite-button appearance=outline @click=${this._handleSignIn} @keydown=${(e) => v(e, () => this._handleSignIn())} scale=l>${this._translations.signIn}</calcite-button></div>`;
50
86
  }
51
87
  _getSolutionsDeployedPanel() {
52
88
  const e = this.isMobile && this.filterOpen ? { display: "none" } : "";
53
- return t`<div><solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} style=${r(e)} ${m(this._solutionsDeployedPanelRef)}></solutions-deployed-panel><calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._deployedCardFetchFailedTitle} @calciteAlertClose=${() => {
89
+ return i`<div><solutions-deployed-panel @deployedCardsFetched=${this._updateSolutionCount} style=${p(e)} ${r(this._solutionsDeployedPanelRef)}></solutions-deployed-panel><calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._deployedCardFetchFailedTitle} @calciteAlertClose=${() => {
54
90
  this._showAlertFailed = !1;
55
91
  }} .open=${this._showAlertFailed}><div slot=title>${this._deployedCardFetchFailedTitle}</div><div slot=message>${this._deployedCardFetchFailedMessage}</div></calcite-alert></div>`;
56
92
  }
@@ -58,10 +94,10 @@ class f extends s {
58
94
  this.solutionsCount = e.detail;
59
95
  }
60
96
  _getSignInIcon() {
61
- return t`<div class="sign-in-icon"><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${d`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`;
97
+ return i`<div class="sign-in-icon"><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`;
62
98
  }
63
99
  }
64
- n("solutions-deployed-shell", f);
100
+ c("solutions-deployed-shell", x);
65
101
  export {
66
- f as SolutionsDeployedShell
102
+ x as SolutionsDeployedShell
67
103
  };
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/1.2/LICENSE.txt */
2
- import { c as s } from "../../chunks/runtime.js";
3
- import { css as t, html as e } from "lit";
4
- import { LitElement as r } from "@arcgis/lumina";
2
+ import { c as t } from "../../chunks/runtime.js";
3
+ import { css as s, html as e } from "lit";
4
+ import { LitElement as n } from "@arcgis/lumina";
5
5
  import "../solution-resource-card/customElement.js";
6
- const n = t`.resources-section{padding:3rem var(--calcite-spacing-md);max-width:1440px;margin:0 auto;box-sizing:border-box}.section-header{margin-bottom:3rem;text-align:center}.section-heading{font-size:var(--calcite-font-size-3);font-weight:var(--calcite-font-weight-small);margin:0 0 var(--calcite-spacing-lg) 0;color:var(--calcite-color-text-1)}.section-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);margin:0}.cards-container{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap}.cards-container solution-resource-card{flex:1 1 200px}`;
7
- class a extends r {
6
+ const o = s`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.resources-section{padding:3rem var(--calcite-spacing-md);max-width:1440px;margin:0 auto;box-sizing:border-box}.section-header{margin-bottom:3rem;text-align:center}.section-heading{font-size:var(--calcite-font-size-3);font-weight:var(--calcite-font-weight-small);margin:0 0 var(--calcite-spacing-lg) 0;color:var(--calcite-color-text-1)}.section-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);margin:0}.cards-container{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap}.cards-container solution-resource-card{flex:1 1 200px}`;
7
+ class a extends n {
8
8
  constructor() {
9
9
  super(...arguments), this.heading = "", this.subheading = "", this.cards = [];
10
10
  }
@@ -12,13 +12,13 @@ class a extends r {
12
12
  this.properties = { heading: [1, { type: String }], subheading: [1, { type: String }], cards: [1, { type: Array }] };
13
13
  }
14
14
  static {
15
- this.styles = n;
15
+ this.styles = o;
16
16
  }
17
17
  render() {
18
- return e`<div class="resources-section"><div class="section-header"><h2 class="section-heading">${this.heading}</h2><p class="section-subheading">${this.subheading}</p></div><div class="cards-container">${this.cards.map((i) => e`<solution-resource-card .icon=${i.icon} .meridianIcon=${i.meridianIcon} .heading=${i.heading} .description=${i.description} .url=${i.url} .sectionHeading=${this.heading}></solution-resource-card>`)}</div></div>`;
18
+ return e`<div class="resources-section"><div class="section-header"><h2 class="section-heading" tabindex=0>${this.heading}</h2><p class="section-subheading" tabindex=0>${this.subheading}</p></div><div class="cards-container">${this.cards.map((i) => e`<solution-resource-card .icon=${i.icon} .meridianIcon=${i.meridianIcon} .heading=${i.heading} .description=${i.description} .url=${i.url} .headingEn=${i.headingEn} .sectionHeadingEn=${i.sectionHeadingEn}></solution-resource-card>`)}</div></div>`;
19
19
  }
20
20
  }
21
- s("solutions-resources-section", a);
21
+ t("solutions-resources-section", a);
22
22
  export {
23
23
  a as SolutionsResourcesSection
24
24
  };