@esri/solutions-components 5.1.0-next.67 → 5.1.0-next.68

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 (265) hide show
  1. package/dist/cdn/{IDPLUOO5.js → 2AIWDT55.js} +1 -1
  2. package/dist/cdn/2B4SGB3I.js +2 -0
  3. package/dist/cdn/{FLLZBDVI.js → 2MOSXHFG.js} +1 -1
  4. package/dist/cdn/{RP36BC5U.js → 2SCW7VSF.js} +1 -1
  5. package/dist/cdn/{PWSIKCAF.js → 2UPIDLE5.js} +1 -1
  6. package/dist/cdn/{4WTAL6YU.js → 35XXJCZT.js} +1 -1
  7. package/dist/cdn/36TEZXBH.js +28 -0
  8. package/dist/cdn/{QF3LZFWW.js → 3FL3PNLU.js} +1 -1
  9. package/dist/cdn/{OUHPCCIT.js → 3FZDFAPN.js} +1 -1
  10. package/dist/cdn/{DBTVSVZ4.js → 3NR4SOVS.js} +1 -1
  11. package/dist/cdn/{GEVYIM3T.js → 42CN2HQC.js} +1 -1
  12. package/dist/cdn/43HJUBM4.js +2 -0
  13. package/dist/cdn/{3YQ3LN5J.js → 46MUUBPE.js} +1 -1
  14. package/dist/cdn/{M6ZFMO6K.js → 47IJA2SQ.js} +1 -1
  15. package/dist/cdn/{JZHP22BA.js → 4DFLLD6V.js} +1 -1
  16. package/dist/cdn/4LVJK3V2.js +2 -0
  17. package/dist/cdn/{EUY3GSFI.js → 4POTHO6N.js} +1 -1
  18. package/dist/cdn/{K7MOOHAF.js → 4RGYIPUO.js} +1 -1
  19. package/dist/cdn/{P7UNMJ5A.js → 4STC55KZ.js} +1 -1
  20. package/dist/cdn/{YBUQ5RAC.js → 4TYKXT5H.js} +1 -1
  21. package/dist/cdn/4X53QTF7.js +2 -0
  22. package/dist/cdn/{BWTBRONP.js → 5CARFDI3.js} +1 -1
  23. package/dist/cdn/{GSF5ZZMH.js → 5HZOUKRN.js} +1 -1
  24. package/dist/cdn/{ZSPRUX4H.js → 5MLXG5WA.js} +1 -1
  25. package/dist/cdn/{3XPKAEMR.js → 5OKASTA4.js} +1 -1
  26. package/dist/cdn/{43HTXWT4.js → 5PSVMOK7.js} +1 -1
  27. package/dist/cdn/{LCBVGEFC.js → 5TNKWUPA.js} +1 -1
  28. package/dist/cdn/5YSNBFO6.js +2 -0
  29. package/dist/cdn/6CHHUU33.js +2 -0
  30. package/dist/cdn/{PYOUOZUM.js → 6LBAAWSN.js} +1 -1
  31. package/dist/cdn/{42WASQMZ.js → 7FF5YSNR.js} +1 -1
  32. package/dist/cdn/{JQC3RZ7L.js → 7JUCAWZY.js} +1 -1
  33. package/dist/cdn/{A5UYHQB2.js → 7LL2JXP2.js} +1 -1
  34. package/dist/cdn/7MSBIQLE.js +4 -0
  35. package/dist/cdn/7NDNEWIB.js +2 -0
  36. package/dist/cdn/{V7UWSW6U.js → 7VFHFVJM.js} +1 -1
  37. package/dist/cdn/{MACN5YNL.js → 7YLCROT7.js} +1 -1
  38. package/dist/cdn/{GMXGHUZO.js → A45A6TFT.js} +1 -1
  39. package/dist/cdn/{Y2VQNMT4.js → A4WUUHLP.js} +1 -1
  40. package/dist/cdn/ABL7HXUY.js +2 -0
  41. package/dist/cdn/{LCBZNTKI.js → ARWREGJS.js} +1 -1
  42. package/dist/cdn/{K7VYU2IJ.js → ASMKESB2.js} +1 -1
  43. package/dist/cdn/{GYQ22PJ6.js → AYCGL3SF.js} +1 -1
  44. package/dist/cdn/B7XPPNVY.js +2 -0
  45. package/dist/cdn/BB3L2KIS.js +2 -0
  46. package/dist/cdn/{76H55K5C.js → BFGQR5HS.js} +1 -1
  47. package/dist/cdn/{TOU5OHUQ.js → BFRX6PST.js} +1 -1
  48. package/dist/cdn/BG55H324.js +2 -0
  49. package/dist/cdn/BUR53ZIF.js +2 -0
  50. package/dist/cdn/BW663VEM.js +2 -0
  51. package/dist/cdn/{BDENYZEG.js → BZT6R6HU.js} +1 -1
  52. package/dist/cdn/C2WZ76NK.js +2 -0
  53. package/dist/cdn/{ANWADKOZ.js → C7V2ZOFV.js} +1 -1
  54. package/dist/cdn/{4NCV4IWX.js → CHHIDAIO.js} +1 -1
  55. package/dist/cdn/CHWUORRX.js +2 -0
  56. package/dist/cdn/{GBTCFOFN.js → D3XBFWCF.js} +1 -1
  57. package/dist/cdn/{BIYG7PA2.js → D5FEDX3A.js} +1 -1
  58. package/dist/cdn/DHE3GFUJ.js +2 -0
  59. package/dist/cdn/DSHJPE6S.js +2 -0
  60. package/dist/cdn/{JCTGE6OA.js → DTVJGJYM.js} +1 -1
  61. package/dist/cdn/{Q2IHGYKB.js → EACG35UF.js} +1 -1
  62. package/dist/cdn/EDWOTP4V.js +2 -0
  63. package/dist/cdn/{FRE445LD.js → EEHNMGTM.js} +1 -1
  64. package/dist/cdn/{33OQKT4F.js → EMXGXBXU.js} +1 -1
  65. package/dist/cdn/EYJ255MM.js +2 -0
  66. package/dist/cdn/{GUKPMOPC.js → F7G3JSDV.js} +1 -1
  67. package/dist/cdn/F7R4EYDS.js +2 -0
  68. package/dist/cdn/FA44RLAZ.js +2 -0
  69. package/dist/cdn/{HAET3BAD.js → FBXNPZPC.js} +1 -1
  70. package/dist/cdn/{E7RDA5B4.js → FHNAG6JQ.js} +5 -5
  71. package/dist/cdn/{JR4Z5BZE.js → FICK6HVH.js} +1 -1
  72. package/dist/cdn/FIWSWJTZ.js +2 -0
  73. package/dist/cdn/{CS4IGHMC.js → FKVDFVJD.js} +1 -1
  74. package/dist/cdn/FPV4WS5B.js +2 -0
  75. package/dist/cdn/{UHVBUHU3.js → FUJV2OPO.js} +1 -1
  76. package/dist/cdn/{JNRZGJ5J.js → FZ7IBZWI.js} +1 -1
  77. package/dist/cdn/{3NPTCTYW.js → GNWP2AAY.js} +1 -1
  78. package/dist/cdn/{T2CGPA2B.js → GQDQ5NO2.js} +1 -1
  79. package/dist/cdn/{JA3R6YUV.js → GSODQ7Y6.js} +1 -1
  80. package/dist/cdn/GXICL6EL.js +2 -0
  81. package/dist/cdn/HAWNWJLR.js +2 -0
  82. package/dist/cdn/HB53SUV6.js +357 -0
  83. package/dist/cdn/{3XX5UDIU.js → HBALPM34.js} +1 -1
  84. package/dist/cdn/{7EEAVPTU.js → HIWKSSJD.js} +1 -1
  85. package/dist/cdn/HNNENA73.js +2 -0
  86. package/dist/cdn/HYJ7UXOV.js +2 -0
  87. package/dist/cdn/{6LHM6EFD.js → IKLKVCWC.js} +1 -1
  88. package/dist/cdn/{E4OCTDX7.js → IOSX3FKK.js} +1 -1
  89. package/dist/cdn/{N73GF6WL.js → IXPYSOIL.js} +1 -1
  90. package/dist/cdn/IXSZQTPL.js +2 -0
  91. package/dist/cdn/J74DGHF3.js +2 -0
  92. package/dist/cdn/{5WA4SX7C.js → JE4X76M2.js} +1 -1
  93. package/dist/cdn/{PBWC3QFN.js → JKSLEUDU.js} +1 -1
  94. package/dist/cdn/{SLIB2OEC.js → JMAUE3FO.js} +1 -1
  95. package/dist/cdn/{CACSAX3Q.js → JOI3ZKK5.js} +1 -1
  96. package/dist/cdn/JY62CMT7.js +2 -0
  97. package/dist/cdn/{K2OB67JG.js → K7RFTZ56.js} +1 -1
  98. package/dist/cdn/{I2AQZTRJ.js → KDMK3KUH.js} +1 -1
  99. package/dist/cdn/{QSUXQICI.js → KJNYVH65.js} +1 -1
  100. package/dist/cdn/{NV4NQJDM.js → KMIVV3RB.js} +1 -1
  101. package/dist/cdn/{EZJOMREQ.js → KSZQFK3N.js} +1 -1
  102. package/dist/cdn/KWNAM7AD.js +2 -0
  103. package/dist/cdn/LNZEGAPP.js +2 -0
  104. package/dist/cdn/{LE6OUXPN.js → LOSZZK4D.js} +1 -1
  105. package/dist/cdn/{U5CKJBMT.js → LUYDQPEN.js} +1 -1
  106. package/dist/cdn/LW4KR4D5.js +2 -0
  107. package/dist/cdn/M7ERGA4I.js +2 -0
  108. package/dist/cdn/{POJOSFXX.js → MRSF34HA.js} +1 -1
  109. package/dist/cdn/MS34ZMXL.js +2 -0
  110. package/dist/cdn/{FLQFNPOP.js → MXFEGFHP.js} +1 -1
  111. package/dist/cdn/{V2QTKEQV.js → N7AYXZEX.js} +1 -1
  112. package/dist/cdn/NDSUZD6T.js +2 -0
  113. package/dist/cdn/NF3TLIP3.js +2 -0
  114. package/dist/cdn/{VE3KTNQS.js → NG2ORWB2.js} +1 -1
  115. package/dist/cdn/{CR2XUUG5.js → NJJYHW6D.js} +1 -1
  116. package/dist/cdn/{XEQSHS4A.js → NLILOBN5.js} +1 -1
  117. package/dist/cdn/{THSRTNBE.js → NO7Q6ULD.js} +1 -1
  118. package/dist/cdn/{UEJPBHBF.js → NP5KIGP3.js} +1 -1
  119. package/dist/cdn/{WQTF5JT3.js → NTBODSSX.js} +1 -1
  120. package/dist/cdn/O44OLIT5.js +2 -0
  121. package/dist/cdn/OAFE6H7U.js +2 -0
  122. package/dist/cdn/{E5GNE67Z.js → OU4UJTL6.js} +1 -1
  123. package/dist/cdn/{UJ5NRADN.js → P6F5I32T.js} +1 -1
  124. package/dist/cdn/{DPD6UBKD.js → PAJG7ACM.js} +1 -1
  125. package/dist/cdn/{EPQ6J23O.js → PF4Z7CF6.js} +1 -1
  126. package/dist/cdn/{MR5KWNL4.js → PFFHE4IG.js} +1 -1
  127. package/dist/cdn/{WX7KEAVK.js → PJBORZZO.js} +1 -1
  128. package/dist/cdn/{LVQAS4DN.js → PKDHJR67.js} +1 -1
  129. package/dist/cdn/{TYS6ZZ3Q.js → QBHDEX72.js} +1 -1
  130. package/dist/cdn/{OGUIHXDV.js → QBUVCNNC.js} +1 -1
  131. package/dist/cdn/{5F3VPVCO.js → QIS27ICS.js} +1 -1
  132. package/dist/cdn/{2ZZTL5B6.js → QRWWGRGX.js} +1 -1
  133. package/dist/cdn/R4OPQN6O.js +2 -0
  134. package/dist/cdn/R5PY2TMY.js +2 -0
  135. package/dist/cdn/{O4JG6O2G.js → RBYBNP2B.js} +1 -1
  136. package/dist/cdn/{4652XKVL.js → RNA5LDZ5.js} +1 -1
  137. package/dist/cdn/{PWAT4NDG.js → ROO45KNC.js} +1 -1
  138. package/dist/cdn/S27I4OM5.js +2 -0
  139. package/dist/cdn/{MMQLDIE7.js → S37HZZ6Y.js} +1 -1
  140. package/dist/cdn/{SDJWXDEO.js → SHFWVVGY.js} +1 -1
  141. package/dist/cdn/{BF6NM5HV.js → SICXVIQQ.js} +1 -1
  142. package/dist/cdn/SJQW6ZDF.js +2 -0
  143. package/dist/cdn/{HR2BNQ7E.js → SKMRPLJ5.js} +1 -1
  144. package/dist/cdn/{XFKZOLUD.js → SLUY34FZ.js} +1 -1
  145. package/dist/cdn/{UHZMX2M6.js → SUDT3JBM.js} +1 -1
  146. package/dist/cdn/{UNA43DT6.js → T3KDTF34.js} +1 -1
  147. package/dist/cdn/{L6QPBIO3.js → T4B64LSQ.js} +1 -1
  148. package/dist/cdn/TPOCOIHP.js +2 -0
  149. package/dist/cdn/{CUY7MQY5.js → TRADVQJJ.js} +1 -1
  150. package/dist/cdn/UPXLJJKV.js +2 -0
  151. package/dist/cdn/VDADP5AY.js +2 -0
  152. package/dist/cdn/VOM7CM3O.js +2 -0
  153. package/dist/cdn/VUQ25YDH.js +2 -0
  154. package/dist/cdn/{BXXN7BIC.js → VWU4KCEV.js} +1 -1
  155. package/dist/cdn/{TYSZL2RK.js → W3QL6FH2.js} +1 -1
  156. package/dist/cdn/{ZBRNLRN2.js → WFAI6ZZB.js} +1 -1
  157. package/dist/cdn/{ODZNJZG5.js → WJSVRU72.js} +1 -1
  158. package/dist/cdn/{WYEPAWQO.js → WKFXXJP7.js} +1 -1
  159. package/dist/cdn/{I7OSCIKL.js → WQSURMPZ.js} +1 -1
  160. package/dist/cdn/{OPJPVHX6.js → WXGTKA7P.js} +1 -1
  161. package/dist/cdn/WYV4MD77.js +2 -0
  162. package/dist/cdn/X4Y4DHJ5.js +2 -0
  163. package/dist/cdn/{4YB7FA37.js → XAC6OXJQ.js} +1 -1
  164. package/dist/cdn/{FEMACR5Y.js → XD5JASLO.js} +1 -1
  165. package/dist/cdn/{IUFEMLQM.js → XDADY4F7.js} +1 -1
  166. package/dist/cdn/{RQ2LHC5I.js → XFQNCJ4I.js} +1 -1
  167. package/dist/cdn/{7WQMX5XY.js → XU2HEOFI.js} +1 -1
  168. package/dist/cdn/{Z2IT4SME.js → XVVH74AJ.js} +1 -1
  169. package/dist/cdn/{2RONXQ22.js → XY4ZZKRK.js} +1 -1
  170. package/dist/cdn/{5TPLPDK2.js → Y3XTTGTV.js} +1 -1
  171. package/dist/cdn/{VEFYE24S.js → YAAAUTVO.js} +1 -1
  172. package/dist/cdn/{G5YR3YZQ.js → YEUQVA7X.js} +1 -1
  173. package/dist/cdn/{E6WWQDDM.js → YYUOLIOE.js} +1 -1
  174. package/dist/cdn/{DYXBSCAV.js → Z6ID7QGG.js} +1 -1
  175. package/dist/cdn/{DHPY2J5M.js → ZFERDECY.js} +1 -1
  176. package/dist/cdn/{SUN2LQ7K.js → ZIGRP4UM.js} +1 -1
  177. package/dist/cdn/{J6V42VCC.js → ZUG2WJUQ.js} +1 -1
  178. package/dist/cdn/{TLJX3G56.js → ZXA4Y7R7.js} +1 -1
  179. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  180. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  181. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -0
  182. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -0
  183. package/dist/cdn/index.js +1 -1
  184. package/dist/cdn/main.css +1 -1
  185. package/dist/chunks/deployAppContexts.js +4 -3
  186. package/dist/chunks/getItemIcon.js +18 -9
  187. package/dist/chunks/helpers.js +2 -1
  188. package/dist/chunks/solutions_explorer_description.js +28 -21
  189. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +8 -8
  190. package/dist/components/arcgis-solutions-assistant/customElement.js +37058 -34635
  191. package/dist/components/solution-builder-assistant/customElement.d.ts +63 -0
  192. package/dist/components/solution-builder-assistant/customElement.js +137 -0
  193. package/dist/components/solution-builder-assistant/index.d.ts +1 -0
  194. package/dist/components/solution-builder-assistant/index.js +20 -0
  195. package/dist/components/solution-deploy-dialog/index.js +1 -1
  196. package/dist/components/solution-item-diagram/customElement.js +1 -1
  197. package/dist/components/solution-item-icon/customElement.d.ts +6 -0
  198. package/dist/components/solution-item-icon/customElement.js +13 -12
  199. package/dist/docs/api.json +1 -1
  200. package/dist/docs/docs.json +1 -1
  201. package/dist/docs/vscode.html-custom-data.json +1 -1
  202. package/dist/docs/web-types.json +1 -1
  203. package/dist/index.d.ts +4 -0
  204. package/dist/loader.js +2 -1
  205. package/dist/solutions-components_commit.txt +6 -6
  206. package/dist/types/lumina.d.ts +6 -1
  207. package/dist/types/preact.d.ts +7 -1
  208. package/dist/types/react.d.ts +8 -1
  209. package/dist/types/stencil.d.ts +6 -1
  210. package/dist/utils/interfaces.d.ts +107 -0
  211. package/package.json +25 -23
  212. package/dist/cdn/2P2JRBNM.js +0 -2
  213. package/dist/cdn/2RBKFT3Q.js +0 -2
  214. package/dist/cdn/5326HZ74.js +0 -2
  215. package/dist/cdn/5QCBD6ZZ.js +0 -2
  216. package/dist/cdn/5S3WZLB5.js +0 -2
  217. package/dist/cdn/65Q3GK3L.js +0 -2
  218. package/dist/cdn/ABTC2V7J.js +0 -2
  219. package/dist/cdn/AVNCYWKK.js +0 -2
  220. package/dist/cdn/BJMKDP4O.js +0 -2
  221. package/dist/cdn/BMJN3MIR.js +0 -2
  222. package/dist/cdn/COTZWDC3.js +0 -2
  223. package/dist/cdn/E7HQ4JJ2.js +0 -2
  224. package/dist/cdn/F2JKSZOE.js +0 -4
  225. package/dist/cdn/F2YGRNTN.js +0 -2
  226. package/dist/cdn/GV3BOKA2.js +0 -40
  227. package/dist/cdn/HBJZGW4L.js +0 -2
  228. package/dist/cdn/HMB3LHBC.js +0 -2
  229. package/dist/cdn/HPQPI754.js +0 -2
  230. package/dist/cdn/I4PUORX4.js +0 -2
  231. package/dist/cdn/INWDOVSJ.js +0 -2
  232. package/dist/cdn/JUXXPW6I.js +0 -2
  233. package/dist/cdn/KD46EE7M.js +0 -2
  234. package/dist/cdn/KPBEUIQV.js +0 -2
  235. package/dist/cdn/KSXW3QKP.js +0 -2
  236. package/dist/cdn/LWUSGNUB.js +0 -2
  237. package/dist/cdn/M7YK4K5M.js +0 -2
  238. package/dist/cdn/MZ3QZD4K.js +0 -2
  239. package/dist/cdn/MZLEP53S.js +0 -2
  240. package/dist/cdn/N7HJKCUK.js +0 -2
  241. package/dist/cdn/NNOZ6KRO.js +0 -21
  242. package/dist/cdn/NSITJP7B.js +0 -2
  243. package/dist/cdn/OQFRVQQZ.js +0 -2
  244. package/dist/cdn/P6IYN2TS.js +0 -2
  245. package/dist/cdn/PZOAAAVI.js +0 -2
  246. package/dist/cdn/QHG54NVK.js +0 -2
  247. package/dist/cdn/QWRM254M.js +0 -2
  248. package/dist/cdn/QX7YHRF5.js +0 -359
  249. package/dist/cdn/RDXJFHLV.js +0 -2
  250. package/dist/cdn/REOO5ZGK.js +0 -2
  251. package/dist/cdn/RVKS24LF.js +0 -2
  252. package/dist/cdn/SSO3AN4U.js +0 -2
  253. package/dist/cdn/TH52564W.js +0 -2
  254. package/dist/cdn/THKPPH7G.js +0 -2
  255. package/dist/cdn/TU5GZK4M.js +0 -2
  256. package/dist/cdn/UFJWRZWQ.js +0 -2
  257. package/dist/cdn/VPTZV5YV.js +0 -2
  258. package/dist/cdn/WCPWYPN2.js +0 -2
  259. package/dist/cdn/WR3YNDFH.js +0 -2
  260. package/dist/cdn/XK6Q5TUT.js +0 -2
  261. package/dist/cdn/XSNGR44R.js +0 -2
  262. package/dist/cdn/XY4HNUJE.js +0 -2
  263. package/dist/cdn/YTK4IGLJ.js +0 -2
  264. package/dist/cdn/ZSHMK5VX.js +0 -2
  265. package/dist/chunks/explorer-prompts.js +0 -43
@@ -0,0 +1,63 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
+ import type { ISolutionDesign } from "../../utils/interfaces.js";
4
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
5
+
6
+ export abstract class SolutionBuilderAssistant extends LitElement {
7
+ /**
8
+ * Translations
9
+ *
10
+ * @internal
11
+ */
12
+ protected _translations: {
13
+ noticeTitle: string;
14
+ noticeMessage: string;
15
+ undo: string;
16
+ redo: string;
17
+ name: string;
18
+ namePlaceholder: string;
19
+ description: string;
20
+ descriptionPlaceholder: string;
21
+ tags: string;
22
+ tagsPlaceholder: string;
23
+ deploy: string;
24
+ viewDiagram: string;
25
+ openHelp: string;
26
+ discard: string;
27
+ contents: string;
28
+ featureLayer: string;
29
+ solutionContentItems: string;
30
+ edit: string;
31
+ editItemContent: string;
32
+ title: string;
33
+ apply: string;
34
+ close: string;
35
+ solutionThumbnail: string;
36
+ } & T9nMeta<{
37
+ noticeTitle: string;
38
+ noticeMessage: string;
39
+ undo: string;
40
+ redo: string;
41
+ name: string;
42
+ namePlaceholder: string;
43
+ description: string;
44
+ descriptionPlaceholder: string;
45
+ tags: string;
46
+ tagsPlaceholder: string;
47
+ deploy: string;
48
+ viewDiagram: string;
49
+ openHelp: string;
50
+ discard: string;
51
+ contents: string;
52
+ featureLayer: string;
53
+ solutionContentItems: string;
54
+ edit: string;
55
+ editItemContent: string;
56
+ title: string;
57
+ apply: string;
58
+ close: string;
59
+ solutionThumbnail: string;
60
+ }>;
61
+ /** Solution design - can be set externally for demo/testing */
62
+ accessor design: ISolutionDesign | null;
63
+ }
@@ -0,0 +1,137 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import { c as r } from "../../chunks/runtime.js";
3
+ import { css as d, html as a } from "lit";
4
+ import { keyed as p } from "lit/directives/keyed.js";
5
+ import { u as h } from "../../chunks/useT9n.js";
6
+ import { LitElement as u, nothing as l } from "@arcgis/lumina";
7
+ import { useContextConsumer as g } from "@arcgis/lumina/context";
8
+ import { b as m } from "../../chunks/deployAppContexts.js";
9
+ const b = d`.builder-content{display:flex;flex-direction:column;flex:1;overflow:auto}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--calcite-spacing-xxl);text-align:center;color:var(--calcite-color-text-3)}.empty-state calcite-icon{margin-bottom:var(--calcite-spacing-md);color:var(--calcite-color-text-3)}.empty-state p{margin:0;font-size:var(--calcite-font-size--1)}.header-container{display:flex;align-items:stretch;gap:var(--calcite-spacing-lg);padding-bottom:var(--calcite-spacing-lg)}.header-container calcite-notice{flex:1;margin:0}calcite-action-bar{flex-shrink:0;background:var(--calcite-color-brand);border-left:1px solid var(--calcite-color-brand-dark)}.content-container{display:flex;gap:var(--calcite-spacing-xl);margin-bottom:var(--calcite-spacing-lg)}.solution-item-section{flex:1;min-width:0;background:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-lg)}.solution-item-inputs{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.thumbnail-inputs-row{display:flex;gap:var(--calcite-spacing-md);align-items:flex-start}.thumbnail-container{flex-shrink:0;width:253px;aspect-ratio:200 / 133;border:1px solid var(--calcite-color-border-2);border-radius:var(--calcite-border-radius);overflow:hidden;background:var(--calcite-color-foreground-2)}.thumbnail-container img{width:100%;height:100%;object-fit:cover}.stacked-inputs{flex:1;display:flex;flex-direction:column;gap:var(--calcite-spacing-md);min-width:0}.stacked-inputs calcite-label{min-width:0}.stacked-inputs calcite-input-text,.stacked-inputs calcite-text-area{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.stacked-inputs calcite-text-area{max-height:150px}.tags-row{width:100%;min-width:0}.tags-row calcite-combobox{width:100%}.actions-section{flex-shrink:0;width:200px;background:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-lg)}.action-buttons{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.tabs-section{flex:1;display:flex;flex-direction:column;min-height:0}.tabs-section calcite-tabs{height:100%}.feature-layer-placeholder{padding:var(--calcite-spacing-lg);color:var(--calcite-color-text-3)}.popover-content{padding:var(--calcite-spacing-lg);min-width:300px}.popover-field{margin-top:var(--calcite-spacing-md)}.popover-actions{display:flex;justify-content:flex-end;gap:var(--calcite-spacing-sm);margin-top:var(--calcite-spacing-lg)}`;
10
+ class v extends u {
11
+ constructor() {
12
+ super(), this.design = null, this._design = null, this._translations = h({ name: "solution-builder-assistant", blocking: !0 }), this._isDirty = !1, this._openPopoverId = null, this._editingItemTitle = "", this._editingItemDescription = "", this._designContextConsumer = g({
13
+ context: m,
14
+ subscribe: !0,
15
+ callback: (t) => {
16
+ t?.design && (this._design = t.design);
17
+ }
18
+ }), this._handleUndo = () => {
19
+ console.log("Undo clicked - to be implemented");
20
+ }, this._handleRedo = () => {
21
+ console.log("Redo clicked - to be implemented");
22
+ }, this._handleTitleChange = (t) => {
23
+ if (!this._design)
24
+ return;
25
+ const i = {
26
+ ...this._design,
27
+ solution: {
28
+ ...this._design.solution,
29
+ title: t
30
+ }
31
+ };
32
+ this._design = i, this._isDirty = !0;
33
+ }, this._handleDescriptionChange = (t) => {
34
+ if (!this._design)
35
+ return;
36
+ const i = {
37
+ ...this._design,
38
+ solution: {
39
+ ...this._design.solution,
40
+ description: t
41
+ }
42
+ };
43
+ this._design = i, this._isDirty = !0;
44
+ }, this._handleTagsChange = (t) => {
45
+ if (!this._design)
46
+ return;
47
+ const i = Array.from(t.target.selectedItems).map((e) => e.value);
48
+ this._design = {
49
+ ...this._design,
50
+ solution: {
51
+ ...this._design.solution,
52
+ tags: i
53
+ }
54
+ }, this._isDirty = !0;
55
+ }, this._handleItemPopoverOpen = (t) => {
56
+ this._openPopoverId = t.id, this._editingItemTitle = t.title || "", this._editingItemDescription = t.description || "", this.requestUpdate();
57
+ }, this._handleCloseItemPopover = () => {
58
+ this._openPopoverId = null, this._editingItemTitle = "", this._editingItemDescription = "";
59
+ }, this._handleClosePopover = async (t) => {
60
+ const i = this.renderRoot.querySelector(`#${t}`);
61
+ i && (i.open = !1, await i.updateComplete), this._handleCloseItemPopover();
62
+ }, this._handleApplyItemChanges = (t) => {
63
+ if (!this._design)
64
+ return;
65
+ const i = this._design.items.map((c) => c.id === t ? { ...c, title: this._editingItemTitle, description: this._editingItemDescription } : c), e = {
66
+ ...this._design,
67
+ items: i
68
+ };
69
+ this._design = e, this._isDirty = !0;
70
+ }, this._handleDeploy = async () => {
71
+ this._design && console.log("Deploy design:", this._design);
72
+ }, this._designContextConsumer;
73
+ }
74
+ static {
75
+ this.properties = { design: [1, { type: Object }], _design: 16, _translations: 16, _isDirty: 16, _openPopoverId: 16, _editingItemTitle: 16, _editingItemDescription: 16 };
76
+ }
77
+ static {
78
+ this.styles = b;
79
+ }
80
+ willUpdate(t) {
81
+ t.has("design") && (this._design = this.design);
82
+ }
83
+ render() {
84
+ return this._translations ? this._design ? a`<calcite-panel><div class="header-container">${this._renderNoticeBar()}${this._renderActionBar()}</div><div class="builder-content">${this._renderMainContent()}${this._renderTabsSection()}</div></calcite-panel>` : this._renderEmptyState() : a`<div>Loading...</div>`;
85
+ }
86
+ _renderEmptyState() {
87
+ return a`<calcite-panel><div class="empty-state"><calcite-icon icon=layer scale=l></calcite-icon><p>No solution design loaded</p></div></calcite-panel>`;
88
+ }
89
+ _renderNoticeBar() {
90
+ const t = this._translations;
91
+ return a`<calcite-notice open kind=brand icon=pencil-square><div slot=title>${t.noticeTitle}</div><div slot=message>${t.noticeMessage}</div></calcite-notice>`;
92
+ }
93
+ _renderActionBar() {
94
+ const t = this._translations;
95
+ return a`<calcite-action-bar layout=horizontal expand-disabled><calcite-action .text=${t.undo} text-enabled icon=undo disabled @click=${this._handleUndo}></calcite-action><calcite-action .text=${t.redo} text-enabled icon=redo disabled @click=${this._handleRedo}></calcite-action></calcite-action-bar>`;
96
+ }
97
+ _renderMainContent() {
98
+ return a`<div class="content-container"><div class="solution-item-section">${this._renderSolutionItemInputs()}</div><div class="actions-section">${this._renderActionButtons()}</div></div>`;
99
+ }
100
+ _renderSolutionItemInputs() {
101
+ const t = this._translations, i = this._design?.solution?.thumbnailUrl || "", e = this._design?.solution?.title || "", c = this._design?.solution?.description || "", o = this._design?.solution?.tags || [];
102
+ return a`<div class="solution-item-inputs"><div class="thumbnail-inputs-row"><div class="thumbnail-container"><img src=${(i || 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="133"%3E%3Crect fill="%23ddd" width="200" height="133"/%3E%3C/svg%3E') ?? l} alt=${t.solutionThumbnail ?? l}></div><div class="stacked-inputs"><calcite-label>${t.name}<calcite-input-text .placeholder=${t.namePlaceholder} .value=${e} @input=${(n) => this._handleTitleChange(n.target.value)}></calcite-input-text></calcite-label><calcite-label>${t.description}<calcite-text-area .placeholder=${t.descriptionPlaceholder} .value=${c} resize=none @input=${(n) => this._handleDescriptionChange(n.target.value)}></calcite-text-area></calcite-label></div></div><div class="tags-row"><calcite-label>${t.tags}${p(o.join(","), a`<calcite-combobox .label=${t.tags} .placeholder=${t.tagsPlaceholder} selection-mode=multiple allow-custom-values @calciteComboboxChange=${(n) => this._handleTagsChange(n)}>${o.map((n) => a`<calcite-combobox-item .value=${n} .heading=${n} selected></calcite-combobox-item>`)}</calcite-combobox>`)}</calcite-label></div></div>`;
103
+ }
104
+ _renderActionButtons() {
105
+ const t = this._translations;
106
+ return a`<div class="action-buttons"><calcite-button appearance=solid width=full icon-start=launch>${t.deploy}</calcite-button><calcite-button appearance=outline kind=neutral width=full icon-start=diagram>${t.viewDiagram}</calcite-button><calcite-button appearance=outline kind=neutral width=full icon-start=information>${t.openHelp}</calcite-button><calcite-button appearance=outline kind=danger width=full icon-start=trash>${t.discard}</calcite-button></div>`;
107
+ }
108
+ _renderTabsSection() {
109
+ const t = this._translations;
110
+ return a`<div class="tabs-section"><calcite-tabs bordered layout=center><calcite-tab-nav slot=title-group><calcite-tab-title>${t.contents}</calcite-tab-title><calcite-tab-title icon-start=layers>${t.featureLayer}</calcite-tab-title></calcite-tab-nav><calcite-tab>${this._renderContentsTab()}</calcite-tab><calcite-tab>${this._renderFeatureLayerTab()}</calcite-tab></calcite-tabs></div>`;
111
+ }
112
+ _renderContentsTab() {
113
+ const t = this._translations, i = this._design?.items || [];
114
+ return a`<div><calcite-list .label=${t.solutionContentItems}>${i.map((e) => {
115
+ const c = `edit-action-${e.id}`;
116
+ return a`<calcite-list-item .label=${e.title} .description=${e.description || ""}><solution-item-icon slot=content-start .designType=${e.type}></solution-item-icon><calcite-action slot=actions-end id=${c ?? l} icon=edit-attributes .text=${t.edit} scale=s></calcite-action></calcite-list-item>`;
117
+ })}</calcite-list>${i.map((e) => {
118
+ const c = `edit-action-${e.id}`, o = `edit-popover-${e.id}`, n = this._openPopoverId === e.id;
119
+ return a`<calcite-popover id=${o ?? l} .label=${t.editItemContent} .referenceElement=${c} placement=auto @calcitePopoverBeforeOpen=${() => this._handleItemPopoverOpen(e)} @calcitePopoverClose=${() => this._handleCloseItemPopover()}><div class="popover-content"><calcite-label>${t.title}<calcite-input-text .value=${n ? this._editingItemTitle : e.title} @input=${(s) => {
120
+ this._editingItemTitle = s.target.value;
121
+ }}></calcite-input-text></calcite-label><calcite-label class="popover-field">${t.description}<calcite-text-area .value=${n ? this._editingItemDescription : e.description} resize=none rows=4 @input=${(s) => {
122
+ this._editingItemDescription = s.target.value;
123
+ }}></calcite-text-area></calcite-label><div class="popover-actions"><calcite-button appearance=solid @click=${(s) => {
124
+ s.stopPropagation(), this._handleApplyItemChanges(e.id);
125
+ }}>${t.apply}</calcite-button><calcite-button appearance=outline @click=${async (s) => {
126
+ s.stopPropagation(), await this._handleClosePopover(o);
127
+ }}>${t.close}</calcite-button></div></div></calcite-popover>`;
128
+ })}</div>`;
129
+ }
130
+ _renderFeatureLayerTab() {
131
+ return a`<div class="feature-layer-placeholder">\r\n Feature Layer configuration will go here</div>`;
132
+ }
133
+ }
134
+ r("solution-builder-assistant", v);
135
+ export {
136
+ v as SolutionBuilderAssistant
137
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,20 @@
1
+ import "@esri/calcite-components/components/calcite-panel";
2
+ import "@esri/calcite-components/components/calcite-icon";
3
+ import "@esri/calcite-components/components/calcite-notice";
4
+ import "@esri/calcite-components/components/calcite-action-bar";
5
+ import "@esri/calcite-components/components/calcite-action";
6
+ import "@esri/calcite-components/components/calcite-label";
7
+ import "@esri/calcite-components/components/calcite-input-text";
8
+ import "@esri/calcite-components/components/calcite-text-area";
9
+ import "@esri/calcite-components/components/calcite-combobox";
10
+ import "@esri/calcite-components/components/calcite-combobox-item";
11
+ import "@esri/calcite-components/components/calcite-button";
12
+ import "@esri/calcite-components/components/calcite-tabs";
13
+ import "@esri/calcite-components/components/calcite-tab-nav";
14
+ import "@esri/calcite-components/components/calcite-tab-title";
15
+ import "@esri/calcite-components/components/calcite-tab";
16
+ import "@esri/calcite-components/components/calcite-list";
17
+ import "@esri/calcite-components/components/calcite-list-item";
18
+ import "../solution-item-icon/index.js";
19
+ import "@esri/calcite-components/components/calcite-popover";
20
+ export * from "./customElement.js";
@@ -6,5 +6,5 @@ import "@esri/calcite-components/components/calcite-input";
6
6
  import "@esri/calcite-components/components/calcite-icon";
7
7
  import "@esri/calcite-components/components/calcite-block";
8
8
  import "@esri/calcite-components/components/calcite-tooltip";
9
- import "@arcgis/analysis-components/dist/components/analysis-spatial-reference-selector.js";
9
+ import "@arcgis/analysis-components/components/analysis-spatial-reference-selector";
10
10
  export * from "./customElement.js";
@@ -5,7 +5,7 @@ import { u as z } from "../../chunks/useT9n.js";
5
5
  import { LitElement as $ } from "@arcgis/lumina";
6
6
  import { createRef as k, ref as I } from "lit-html/directives/ref.js";
7
7
  import * as d from "gojs";
8
- import { g as A } from "../../chunks/getItemIcon.js";
8
+ import { a as A } from "../../chunks/getItemIcon.js";
9
9
  import "../solution-item-accordion/customElement.js";
10
10
  const P = C`#filter-bar{background-color:var(--calcite-color-surface-2);position:absolute;top:16px;right:196px;z-index:100;box-shadow:var(--calcite-shadow-sm)}#filteredViewButtonDiv{padding:8px}#filteredViewButtonLabel{--calcite-label-margin-bottom: 0}#graph-navigation-bar{background-color:var(--calcite-color-surface-2);position:absolute;top:16px;right:16px;z-index:100}#graph-navigation-controls{position:absolute;top:0;right:0;box-shadow:var(--calcite-shadow-sm)}.z-index-1{z-index:1}#diagram-panel{--calcite-panel-space: 0px}#diagram-shell-panel{--calcite-color-surface-1: var(--calcite-color-surface-2);padding:16px}`, _ = 15, V = 15, H = 10, u = new d.Size(220, 48), O = 1, G = 8, S = new d.Size(48, 48), M = new d.Size(16, 16), v = new d.Size(153, 17), R = '400 0.75rem "Avenir Next", Avenir, "Helvetica Neue", sans-serif', F = '500 0.75rem "Avenir Next", Avenir, "Helvetica Neue", sans-serif', K = "val(--calcite-color-surface-1)", W = p("--calcite-color-border-1"), N = p("--calcite-color-surface-2"), g = p("--calcite-color-text-1"), T = p("--calcite-color-border-input"), j = p("--calcite-color-surface-2"), f = 1, b = 0.3, w = 1, x = 0.2, Z = 1;
11
11
  function q(o) {
@@ -2,6 +2,12 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
 
4
4
  export abstract class SolutionItemIcon extends LitElement {
5
+ /**
6
+ * The design type (human-readable, alternative to type + typeKeywords)
7
+ *
8
+ * @default ''
9
+ */
10
+ accessor designType: string;
5
11
  /**
6
12
  * Indicate if this is portal
7
13
  *
@@ -1,24 +1,25 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as e } from "../../chunks/runtime.js";
3
- import { css as i, html as o } from "lit";
4
- import { LitElement as s, nothing as t } from "@arcgis/lumina";
5
- import { g as r } from "../../chunks/getItemIcon.js";
6
- const n = i`.item-type-icon{@apply block h-4 pointer-events-none;margin-top:.15em!important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{@apply m-inline-end-1.5;}`;
7
- class m extends s {
2
+ import { c as s } from "../../chunks/runtime.js";
3
+ import { css as o, html as n } from "lit";
4
+ import { LitElement as r, nothing as t } from "@arcgis/lumina";
5
+ import { g as p, a as m } from "../../chunks/getItemIcon.js";
6
+ const l = o`.item-type-icon{@apply block h-4 pointer-events-none;margin-top:.15em!important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{@apply m-inline-end-1.5;}`;
7
+ class c extends r {
8
8
  constructor() {
9
- super(...arguments), this.isPortal = !1, this.type = "", this.typeKeywords = [];
9
+ super(...arguments), this.isPortal = !1, this.type = "", this.typeKeywords = [], this.designType = "";
10
10
  }
11
11
  static {
12
- this.properties = { isPortal: 5, type: 1, typeKeywords: 0 };
12
+ this.properties = { isPortal: 5, type: 1, typeKeywords: 0, designType: 1 };
13
13
  }
14
14
  static {
15
- this.styles = n;
15
+ this.styles = l;
16
16
  }
17
17
  render() {
18
- return o`<div title=${this.type ?? t}><img class="item-type-icon item-type-icon-margin" height=16 role=presentation src=${r(this.type, this.typeKeywords) ?? t} width=16></div>`;
18
+ const e = this.designType ? p(this.designType) : m(this.type, this.typeKeywords), i = this.designType || this.type;
19
+ return n`<div title=${i ?? t}><img class="item-type-icon item-type-icon-margin" height=16 role=presentation src=${e ?? t} width=16></div>`;
19
20
  }
20
21
  }
21
- e("solution-item-icon", m);
22
+ s("solution-item-icon", c);
22
23
  export {
23
- m as SolutionItemIcon
24
+ c as SolutionItemIcon
24
25
  };