@arcgis/map-components 5.1.12 → 5.1.14

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 (243) hide show
  1. package/dist/cdn/{IC7QBCEN.js → 263YFJON.js} +1 -1
  2. package/dist/cdn/{GSR6DAEH.js → 2BSYQIUD.js} +1 -1
  3. package/dist/cdn/{ZTJDI77G.js → 2CHIRS7R.js} +1 -1
  4. package/dist/cdn/{VHJFIH6B.js → 2TTUEPU6.js} +1 -1
  5. package/dist/cdn/{E3ZJARAG.js → 2VT3XHDZ.js} +1 -1
  6. package/dist/cdn/{7VQ7PPO6.js → 33CG5H7C.js} +1 -1
  7. package/dist/cdn/{5SAJ5N3K.js → 33MLO6HZ.js} +1 -1
  8. package/dist/cdn/{62DGGJSJ.js → 3AD2QLBV.js} +1 -1
  9. package/dist/cdn/{LPW5NLMK.js → 3G6GDNNS.js} +1 -1
  10. package/dist/cdn/{LWLT7F7T.js → 3IEHC2XT.js} +1 -1
  11. package/dist/cdn/{MRXL7UQE.js → 3O5N52AF.js} +1 -1
  12. package/dist/cdn/{5E6WEUZS.js → 3UF42S5R.js} +1 -1
  13. package/dist/cdn/{64WCWB6L.js → 3VG2GTPE.js} +1 -1
  14. package/dist/cdn/{6QZ6BFJF.js → 3YP4OBTW.js} +1 -1
  15. package/dist/cdn/{FYU6HRXD.js → 46OV33PJ.js} +1 -1
  16. package/dist/cdn/{54JKM2SP.js → 4ILRPL5K.js} +1 -1
  17. package/dist/cdn/{XJLN46ZU.js → 4LCX5W55.js} +1 -1
  18. package/dist/cdn/{DO5SU7RQ.js → 4OGP46VD.js} +1 -1
  19. package/dist/cdn/4UCGWBBJ.js +2 -0
  20. package/dist/cdn/{JS57JPF7.js → 4ZGUUAZT.js} +1 -1
  21. package/dist/cdn/{YNBI4ACL.js → 4ZKWXSFX.js} +1 -1
  22. package/dist/cdn/{ZKLOZZO4.js → 4ZSVAJG7.js} +1 -1
  23. package/dist/cdn/{23G2QHGI.js → 52JYBK63.js} +1 -1
  24. package/dist/cdn/{JUIHFZKI.js → 5HUHOP2L.js} +1 -1
  25. package/dist/cdn/{XE2BMXH2.js → 5NJVMZW6.js} +1 -1
  26. package/dist/cdn/{JM7KKZ3L.js → 637GG3UM.js} +1 -1
  27. package/dist/cdn/{3GDZFGPS.js → 64JVP23D.js} +1 -1
  28. package/dist/cdn/{KAZMXPF2.js → 65IHTCGK.js} +1 -1
  29. package/dist/cdn/{GMX2SUY4.js → 6AMFFIZE.js} +1 -1
  30. package/dist/cdn/{RQRYY7IA.js → 6OPJ43YP.js} +1 -1
  31. package/dist/cdn/{WTLIDLDO.js → 6SVZCB53.js} +1 -1
  32. package/dist/cdn/{QO5AN2QF.js → 6T7TN5OD.js} +1 -1
  33. package/dist/cdn/{CTD7KFQH.js → 6V64BA4N.js} +1 -1
  34. package/dist/cdn/{VQ3GFS2N.js → 6VSHFN2A.js} +1 -1
  35. package/dist/cdn/{KZWO4GTG.js → 6WEWUI54.js} +1 -1
  36. package/dist/cdn/{Z45SSEG5.js → 6WQ2YOES.js} +1 -1
  37. package/dist/cdn/{O6QWOJAN.js → 6ZLEP3S2.js} +1 -1
  38. package/dist/cdn/{XK24NE7B.js → 72YHC52Q.js} +1 -1
  39. package/dist/cdn/763BKYKB.js +2 -0
  40. package/dist/cdn/{MDX352VB.js → 7JUBBXUN.js} +1 -1
  41. package/dist/cdn/{UKVPLO2U.js → 7OL3J2CJ.js} +1 -1
  42. package/dist/cdn/{YQL4EKBA.js → 7T36JHQQ.js} +1 -1
  43. package/dist/cdn/{2ZY3UBMT.js → 7Y2OQMKS.js} +1 -1
  44. package/dist/cdn/{JNEBV2PN.js → 7YZY4R5N.js} +1 -1
  45. package/dist/cdn/{2IKH7J2G.js → A2RFHWNU.js} +1 -1
  46. package/dist/cdn/{ATYAZXLD.js → A5MJNKQK.js} +1 -1
  47. package/dist/cdn/{OPBCQ6ZV.js → AIGUCGRH.js} +1 -1
  48. package/dist/cdn/{WROHYOXG.js → AJULQPDX.js} +1 -1
  49. package/dist/cdn/{W4NXPRWC.js → AMCFDUSL.js} +1 -1
  50. package/dist/cdn/{JZBG7ET2.js → AWJ752O2.js} +1 -1
  51. package/dist/cdn/{XXUBEH6X.js → AXN7C4WE.js} +1 -1
  52. package/dist/cdn/{AT5OYMYC.js → B7QDTWUC.js} +1 -1
  53. package/dist/cdn/BISCP5KM.js +2 -0
  54. package/dist/cdn/BJK2QZNJ.js +2 -0
  55. package/dist/cdn/{LESULKCN.js → BP2VVHRQ.js} +1 -1
  56. package/dist/cdn/{TCAUKWPR.js → BSX3EKB5.js} +1 -1
  57. package/dist/cdn/{F2HSTAGA.js → BVKGMDZI.js} +1 -1
  58. package/dist/cdn/{Y3JVAC4P.js → CGH77JYY.js} +1 -1
  59. package/dist/cdn/{KYSF2KY3.js → CQAUNK6Z.js} +1 -1
  60. package/dist/cdn/{ZYAEUARP.js → CRZUPPWJ.js} +1 -1
  61. package/dist/cdn/{VKMHPV2D.js → CWI5SGGA.js} +1 -1
  62. package/dist/cdn/{MQL5SK3N.js → DFTDX4S5.js} +1 -1
  63. package/dist/cdn/{NMGYR4MQ.js → DHFW6D7R.js} +1 -1
  64. package/dist/cdn/{LT7XBPT5.js → DQ6KD3H5.js} +1 -1
  65. package/dist/cdn/{4TZ5743Q.js → DWN2PSNX.js} +1 -1
  66. package/dist/cdn/{G74I3AFT.js → E3IX5FMT.js} +1 -1
  67. package/dist/cdn/{UKMPJTCZ.js → EFEM2BM2.js} +1 -1
  68. package/dist/cdn/{RTNFS6XO.js → EYRYJJLU.js} +1 -1
  69. package/dist/cdn/{35HVGQH2.js → F4ZVVRF3.js} +1 -1
  70. package/dist/cdn/{73KS3YM5.js → FE32N27G.js} +1 -1
  71. package/dist/cdn/{JRIQGXS5.js → FFLJMBBT.js} +1 -1
  72. package/dist/cdn/FFXE4PLI.js +2 -0
  73. package/dist/cdn/{K7RXFBXO.js → FNW2LNXG.js} +1 -1
  74. package/dist/cdn/{ZYHKJMUS.js → FP2IMOR5.js} +1 -1
  75. package/dist/cdn/{HZFVK34O.js → FWKQQQZ4.js} +1 -1
  76. package/dist/cdn/{TRT3MMY6.js → G2UITNRJ.js} +1 -1
  77. package/dist/cdn/{ZI52NY4U.js → G4XU6Y2I.js} +1 -1
  78. package/dist/cdn/{RJFQN4V5.js → GBLURPST.js} +1 -1
  79. package/dist/cdn/{HFRXDFTO.js → GEZ4HISO.js} +1 -1
  80. package/dist/cdn/{DR6OYJX7.js → GY57HAQL.js} +1 -1
  81. package/dist/cdn/{IYHI67W5.js → HLRGCJQK.js} +1 -1
  82. package/dist/cdn/{UQDLYAO4.js → HPM7GOKD.js} +1 -1
  83. package/dist/cdn/{NUPAD2TJ.js → HRJBTB3A.js} +1 -1
  84. package/dist/cdn/{Q5YCY47Y.js → HV5OT2WQ.js} +1 -1
  85. package/dist/cdn/{REWX7P5A.js → I2FOPUAT.js} +1 -1
  86. package/dist/cdn/{5Z2A3LC2.js → I5APJRWA.js} +1 -1
  87. package/dist/cdn/{2B5FB7DY.js → IATBANBS.js} +1 -1
  88. package/dist/cdn/{JACMQG5Q.js → IBRE6OJT.js} +1 -1
  89. package/dist/cdn/{5LYKSVNG.js → IDGVAWFK.js} +1 -1
  90. package/dist/cdn/{UJHXLN6P.js → IKAZRGHO.js} +1 -1
  91. package/dist/cdn/{LR7ADCJT.js → IKBW64YY.js} +1 -1
  92. package/dist/cdn/{7ZX4GK42.js → INKUXJGH.js} +1 -1
  93. package/dist/cdn/{LEDHJNB2.js → IOAWHWKX.js} +1 -1
  94. package/dist/cdn/{ITAO2BRD.js → IOP3BH5U.js} +1 -1
  95. package/dist/cdn/{TIBAX4EQ.js → IR5IJRDW.js} +1 -1
  96. package/dist/cdn/{5ZUN2CZ2.js → IVJHY6DG.js} +1 -1
  97. package/dist/cdn/{GNHHGO7D.js → IVMUJ5QY.js} +1 -1
  98. package/dist/cdn/{CAQYU7WH.js → IZIJ2TWG.js} +1 -1
  99. package/dist/cdn/{WUJCCZQC.js → J4CQT4XJ.js} +1 -1
  100. package/dist/cdn/{N2EZFHVK.js → JIQ3VOXT.js} +1 -1
  101. package/dist/cdn/{PTQS5GCD.js → JJRZTJ2N.js} +1 -1
  102. package/dist/cdn/{BRPZD5TP.js → JQXT73ST.js} +1 -1
  103. package/dist/cdn/{UITQ2P2L.js → JU5Q6YOK.js} +1 -1
  104. package/dist/cdn/{6ZGXP3VD.js → JVCDOIAV.js} +1 -1
  105. package/dist/cdn/{AKBXFBDL.js → K2AR3ZWH.js} +1 -1
  106. package/dist/cdn/{XVWQS4YE.js → KVXWW7NR.js} +1 -1
  107. package/dist/cdn/{FO7H52HZ.js → KXUQ7IFJ.js} +1 -1
  108. package/dist/cdn/KZ5KHMPM.js +2 -0
  109. package/dist/cdn/{ASG4JKOF.js → L4JUVRCC.js} +1 -1
  110. package/dist/cdn/L72DGSDE.js +2 -0
  111. package/dist/cdn/{I47TNNJX.js → LBBRI5WI.js} +1 -1
  112. package/dist/cdn/{LMBRORN7.js → LH3XMT6P.js} +1 -1
  113. package/dist/cdn/{3U2O5HXW.js → LPJZLQFN.js} +1 -1
  114. package/dist/cdn/{XFLMR4H5.js → LRUNCVRV.js} +1 -1
  115. package/dist/cdn/{I3XNG2NA.js → LUYQT43T.js} +1 -1
  116. package/dist/cdn/{ZY4666IH.js → LWMUFAPA.js} +1 -1
  117. package/dist/cdn/{LGCFVXDE.js → MODR2MO6.js} +1 -1
  118. package/dist/cdn/{WCRC374T.js → MSURMAU4.js} +1 -1
  119. package/dist/cdn/{54PI2RSZ.js → MTPIRZU6.js} +1 -1
  120. package/dist/cdn/{WDQCTTJH.js → N5OKJYD4.js} +1 -1
  121. package/dist/cdn/{OBULUDWT.js → NC6RNDHJ.js} +1 -1
  122. package/dist/cdn/{ZBQI342U.js → NR42CD6T.js} +1 -1
  123. package/dist/cdn/{CTTH2SWY.js → NS4OOD6O.js} +1 -1
  124. package/dist/cdn/{ARCQFPPB.js → NW2X5VQ6.js} +1 -1
  125. package/dist/cdn/{XEDWA6IV.js → NYDPCTI5.js} +1 -1
  126. package/dist/cdn/{BSGI2GOR.js → O3VOZ7IE.js} +1 -1
  127. package/dist/cdn/{HKLVBDUE.js → O4A2CYNB.js} +1 -1
  128. package/dist/cdn/{RDZRQDZN.js → OOIFZLE6.js} +1 -1
  129. package/dist/cdn/{PSC26ODP.js → OPDTGB6V.js} +1 -1
  130. package/dist/cdn/{MNQQTGTF.js → OTAU7B2W.js} +1 -1
  131. package/dist/cdn/{VHPFFOHB.js → OUEZSU3X.js} +1 -1
  132. package/dist/cdn/{RS3KRMHM.js → OZUGC6PL.js} +1 -1
  133. package/dist/cdn/{7QIESZXF.js → P4A4NLX7.js} +1 -1
  134. package/dist/cdn/{NUYDG3QN.js → P57MZOYR.js} +1 -1
  135. package/dist/cdn/{7DBOQ3DL.js → PNH65HHR.js} +1 -1
  136. package/dist/cdn/{KKGPXC7O.js → PWVDFWJZ.js} +1 -1
  137. package/dist/cdn/{W5NM3GPN.js → PXK5I5GK.js} +1 -1
  138. package/dist/cdn/{OCFX5SIS.js → QNPQTXWT.js} +1 -1
  139. package/dist/cdn/{I4L5XCJ6.js → QPAYZYGG.js} +1 -1
  140. package/dist/cdn/{KA7BM2DQ.js → QRJYLUPS.js} +1 -1
  141. package/dist/cdn/{P6XHTDZS.js → QXMVE3YR.js} +1 -1
  142. package/dist/cdn/{FDTDB2SK.js → R324WT3P.js} +1 -1
  143. package/dist/cdn/{GGYOV36V.js → R5SMQBHS.js} +1 -1
  144. package/dist/cdn/{QVW7BY7U.js → RCIJGUAL.js} +1 -1
  145. package/dist/cdn/{7PBFPQ7D.js → RH7STCCI.js} +1 -1
  146. package/dist/cdn/{WIL4XDDC.js → RIDURE3V.js} +1 -1
  147. package/dist/cdn/{IGYVUIOX.js → RULE5Q7M.js} +1 -1
  148. package/dist/cdn/{6KBLJAJG.js → RV5L2GJF.js} +1 -1
  149. package/dist/cdn/{SI3LXGYQ.js → S7ZRZ7JV.js} +1 -1
  150. package/dist/cdn/{CLN2CAIE.js → SC7RUSRO.js} +1 -1
  151. package/dist/cdn/{ECFAMY7S.js → SGYDX3GW.js} +1 -1
  152. package/dist/cdn/{THUPJN5O.js → SMPD535H.js} +1 -1
  153. package/dist/cdn/{PCYYH2AE.js → SSWPLDIX.js} +1 -1
  154. package/dist/cdn/{SXKJ7CBR.js → SVMEMIZX.js} +1 -1
  155. package/dist/cdn/{FT372QJV.js → SY7QRF2R.js} +1 -1
  156. package/dist/cdn/{5JS2X2I5.js → TF6DAJN6.js} +1 -1
  157. package/dist/cdn/{3IHNDU57.js → TI2BIFVK.js} +1 -1
  158. package/dist/cdn/TXE4EZCP.js +2 -0
  159. package/dist/cdn/{2I4QRMW5.js → U2FK6JNY.js} +1 -1
  160. package/dist/cdn/{KWPLWPIR.js → U3T6WN6E.js} +1 -1
  161. package/dist/cdn/{3I6LCBWI.js → UK2RTORX.js} +1 -1
  162. package/dist/cdn/UOSYMNKL.js +2 -0
  163. package/dist/cdn/{S7PKZIR6.js → UQW7HBAM.js} +1 -1
  164. package/dist/cdn/{EQXOU3G5.js → UQZ55NYW.js} +1 -1
  165. package/dist/cdn/{AZXUEIKM.js → UTNVDNHJ.js} +1 -1
  166. package/dist/cdn/{LKOVDQTE.js → UVMRWPW4.js} +1 -1
  167. package/dist/cdn/{V4CDUOZ2.js → V4BRH6EY.js} +1 -1
  168. package/dist/cdn/{VWPY65P5.js → VAOCQOJ2.js} +1 -1
  169. package/dist/cdn/{27XIRKRY.js → VCRXOQ4U.js} +1 -1
  170. package/dist/cdn/{KS72PA52.js → VIG7RNK7.js} +1 -1
  171. package/dist/cdn/{Y56U7L2N.js → VL2FNAVU.js} +1 -1
  172. package/dist/cdn/{NI4KU7EV.js → VMA5E2P4.js} +1 -1
  173. package/dist/cdn/{YMRTLGRH.js → VSA43RRG.js} +1 -1
  174. package/dist/cdn/{7QMGMAI5.js → VSLHHDS3.js} +1 -1
  175. package/dist/cdn/{KPNDMZLT.js → VXSXZZER.js} +1 -1
  176. package/dist/cdn/{CPBHHB2H.js → W2NWI3BB.js} +1 -1
  177. package/dist/cdn/{W7E25TK3.js → W55TBGFF.js} +1 -1
  178. package/dist/cdn/{BEUXUBWU.js → W6KJBXUW.js} +1 -1
  179. package/dist/cdn/{PBSJQPB2.js → WD2JWNQF.js} +1 -1
  180. package/dist/cdn/{BMLGSXPO.js → WKJV35I2.js} +1 -1
  181. package/dist/cdn/{SP7GTULE.js → WOQMFJVS.js} +1 -1
  182. package/dist/cdn/{VI2MQT6I.js → WQZCO2AW.js} +1 -1
  183. package/dist/cdn/{T2URWU7Y.js → WRF6JOZU.js} +1 -1
  184. package/dist/cdn/{H7RT7JFO.js → WSJSANVQ.js} +1 -1
  185. package/dist/cdn/{B25YDY47.js → WSKLFUNL.js} +1 -1
  186. package/dist/cdn/{IGDB6PG7.js → WUBAEUK7.js} +1 -1
  187. package/dist/cdn/{WCBF7HSJ.js → WXATVC7S.js} +1 -1
  188. package/dist/cdn/{T62GJQDF.js → XHZTVEJS.js} +1 -1
  189. package/dist/cdn/{3SQ3GRSM.js → XIUSMCMN.js} +1 -1
  190. package/dist/cdn/{R7J4ZEYT.js → XJVZ74OX.js} +1 -1
  191. package/dist/cdn/{PTOTHDZO.js → XLYYPZM7.js} +1 -1
  192. package/dist/cdn/{ASQ6NGMX.js → XN3IDEBJ.js} +1 -1
  193. package/dist/cdn/XPR37NZ7.js +2 -0
  194. package/dist/cdn/{JY73T4W3.js → XSQEABFA.js} +1 -1
  195. package/dist/cdn/{Q52QESBE.js → XU4K7J6G.js} +1 -1
  196. package/dist/cdn/{3SS3VXYB.js → XUGFJ3CN.js} +1 -1
  197. package/dist/cdn/{IAXBU2H3.js → XXMSGN6N.js} +1 -1
  198. package/dist/cdn/{QIDC5FNQ.js → Y7CO5YHX.js} +1 -1
  199. package/dist/cdn/{PYRRBAVP.js → YDYRHRMM.js} +1 -1
  200. package/dist/cdn/{RBEV4F7R.js → YEVX7HKB.js} +1 -1
  201. package/dist/cdn/{H4RLDVQB.js → YI5I3CNE.js} +1 -1
  202. package/dist/cdn/{2EJTY32Y.js → YKXNMAT2.js} +1 -1
  203. package/dist/cdn/{SRPZQJKL.js → YP4O53GI.js} +1 -1
  204. package/dist/cdn/{UCMETI42.js → Z3Y7FRJO.js} +1 -1
  205. package/dist/cdn/{MRAVGKD4.js → ZBXYUXAE.js} +1 -1
  206. package/dist/cdn/{SR5R4UFG.js → ZCZEDLOP.js} +1 -1
  207. package/dist/cdn/{PTHJNBNE.js → ZDAARVMV.js} +1 -1
  208. package/dist/cdn/{TIWLWWH7.js → ZF2XR5RY.js} +1 -1
  209. package/dist/cdn/{4T52HX2Z.js → ZNFA2EZP.js} +1 -1
  210. package/dist/cdn/{IC2VEHWV.js → ZRLKTKBI.js} +1 -1
  211. package/dist/cdn/{3IFHD2MZ.js → ZV5OJT7V.js} +1 -1
  212. package/dist/cdn/{OAWV35F7.js → ZXVSXONX.js} +1 -1
  213. package/dist/cdn/{P3KYHTKB.js → ZYTLNPST.js} +1 -1
  214. package/dist/cdn/index.js +1 -1
  215. package/dist/chunks/runtime.js +1 -1
  216. package/dist/chunks/useArcgisViewReadyError.js +14 -7
  217. package/dist/components/arcgis-feature-expression/customElement.js +23 -23
  218. package/dist/components/arcgis-feature-next/customElement.js +48 -48
  219. package/dist/components/arcgis-feature-title/customElement.js +7 -6
  220. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -7
  221. package/dist/components/arcgis-multi-feature-form/customElement.js +98 -21
  222. package/dist/components/arcgis-paste/customElement.js +1 -1
  223. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  224. package/dist/docs/api.json +1 -1
  225. package/dist/docs/docs.json +1 -1
  226. package/dist/docs/vscode.html-custom-data.json +1 -1
  227. package/dist/docs/web-types.json +1 -1
  228. package/dist/loader.js +2 -2
  229. package/dist/types/lumina.d.ts +1 -1
  230. package/dist/types/preact.d.ts +1 -1
  231. package/dist/types/react.d.ts +1 -1
  232. package/dist/types/stencil.d.ts +1 -1
  233. package/package.json +4 -4
  234. package/dist/cdn/A42RMY44.js +0 -2
  235. package/dist/cdn/COE47SVB.js +0 -2
  236. package/dist/cdn/D7L4X6PO.js +0 -2
  237. package/dist/cdn/FJFLCQ5C.js +0 -2
  238. package/dist/cdn/GCHPTKLE.js +0 -2
  239. package/dist/cdn/IDMEUWEQ.js +0 -2
  240. package/dist/cdn/K5KSYYUU.js +0 -2
  241. package/dist/cdn/LAPNOGPV.js +0 -2
  242. package/dist/cdn/S4DL2YV2.js +0 -2
  243. package/dist/cdn/VPDEI7IK.js +0 -2
@@ -4,8 +4,8 @@ import { css as w, html as r } from "lit";
4
4
  import { ref as y } from "lit/directives/ref.js";
5
5
  import { u as I } from "../../chunks/useT9n.js";
6
6
  import { classes as M } from "@arcgis/toolkit/dom";
7
- import { usePropertyChange as C } from "@arcgis/lumina/controllers";
8
- import { m as x } from "../../chunks/useViewModel.js";
7
+ import { usePropertyChange as x } from "@arcgis/lumina/controllers";
8
+ import { m as C } from "../../chunks/useViewModel.js";
9
9
  import { LitElement as b, createEvent as F, nothing as _, safeClassMap as L } from "@arcgis/lumina";
10
10
  import { substitute as T } from "@arcgis/core/intl.js";
11
11
  import { renderingSanitizer as A } from "@arcgis/core/applications/Components/sanitizerUtils.js";
@@ -14,10 +14,10 @@ import N from "@arcgis/core/core/Collection.js";
14
14
  import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
15
15
  import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
16
16
  import Z from "@arcgis/core/popup/Feature.js";
17
- const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(Z);
17
+ const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = C(Z);
18
18
  class S extends b {
19
19
  constructor() {
20
- super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = F();
20
+ super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = x()("flowItems", "state"), this.arcgisReady = F();
21
21
  }
22
22
  static {
23
23
  this.properties = { popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, flowType: 1, viewModel: 0, view: 0, flowItems: 0, referenceElement: 1, icon: 1, isFeatureFromTable: 36, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 32 };
@@ -53,11 +53,11 @@ class S extends b {
53
53
  const i = this.viewModel.content;
54
54
  if (!Array.isArray(i))
55
55
  return;
56
- const s = i[e];
57
- if (s?.type !== "media")
56
+ const a = i[e];
57
+ if (a?.type !== "media")
58
58
  return;
59
- const a = s;
60
- this._setContentElementMedia(a, t);
59
+ const s = a;
60
+ this._setContentElementMedia(s, t);
61
61
  }
62
62
  async updateGeometry() {
63
63
  return await this.viewModel.updateGeometry();
@@ -68,18 +68,18 @@ class S extends b {
68
68
  ]);
69
69
  }
70
70
  _setContentElementMedia(e, t) {
71
- const i = e.mediaInfos?.length ?? 0, s = (t + i) % i;
72
- e.activeMediaInfoIndex = s;
71
+ const i = e.mediaInfos?.length ?? 0, a = (t + i) % i;
72
+ e.activeMediaInfoIndex = a;
73
73
  }
74
74
  _pageContentElementMedia(e, t) {
75
75
  const i = this.viewModel.content;
76
76
  if (!Array.isArray(i))
77
77
  return;
78
- const s = i[e];
79
- if (s?.type !== "media")
78
+ const a = i[e];
79
+ if (a?.type !== "media")
80
80
  return;
81
- const a = s, { activeMediaInfoIndex: o } = a, n = (o ?? 0) + t;
82
- this._setContentElementMedia(a, n);
81
+ const s = a, { activeMediaInfoIndex: o } = s, n = (o ?? 0) + t;
82
+ this._setContentElementMedia(s, n);
83
83
  }
84
84
  _removeFlowItems() {
85
85
  this.internalFlowItems?.destroyAll();
@@ -102,17 +102,17 @@ class S extends b {
102
102
  return r`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : r`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
103
103
  }
104
104
  _renderAttachments(e) {
105
- const { values: t, fieldInfoMap: i, sourceLayer: s, globalValues: a } = this, o = d({
105
+ const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues: s } = this, o = d({
106
106
  values: t,
107
107
  fieldInfoMap: i,
108
- globalValues: a,
109
- layer: s,
108
+ globalValues: s,
109
+ layer: a,
110
110
  text: e.title
111
111
  }), n = d({
112
112
  values: t,
113
113
  fieldInfoMap: i,
114
- globalValues: a,
115
- layer: s,
114
+ globalValues: s,
115
+ layer: a,
116
116
  text: e.description
117
117
  });
118
118
  return r`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${o} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${n} hide-preview-image-attachment-name .messages=${this.messages}></arcgis-feature-attachments>`;
@@ -121,15 +121,15 @@ class S extends b {
121
121
  return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
122
122
  }
123
123
  _renderFields(e, t) {
124
- const i = this.viewModel.formattedAttributes, { values: s, fieldInfoMap: a, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (E(g) || B(g) || g in s)), f = n?.expressionInfos, m = d({
125
- values: s,
126
- fieldInfoMap: a,
124
+ const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: s, sourceLayer: o, popupTemplate: n, globalValues: l, graphic: c } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? n?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (E(g) || B(g) || g in a)), f = n?.expressionInfos, m = d({
125
+ values: a,
126
+ fieldInfoMap: s,
127
127
  globalValues: l,
128
128
  layer: o,
129
129
  text: e.title
130
130
  }), v = d({
131
- values: s,
132
- fieldInfoMap: a,
131
+ values: a,
132
+ fieldInfoMap: s,
133
133
  globalValues: l,
134
134
  layer: o,
135
135
  text: e.description
@@ -140,62 +140,62 @@ class S extends b {
140
140
  }} .fieldInfos=${u} .expressionInfos=${f ?? void 0}></arcgis-feature-fields>`;
141
141
  }
142
142
  _renderMedia(e, t) {
143
- const { values: i, graphic: s, fieldInfoMap: a, sourceLayer: o, popupTemplate: n, globalValues: l } = this, { formattedAttributes: c, relatedInfos: h, expressionAttributes: p } = this.viewModel, u = {
143
+ const { values: i, graphic: a, fieldInfoMap: s, sourceLayer: o, popupTemplate: n, globalValues: l } = this, { formattedAttributes: c, relatedInfos: h, expressionAttributes: p } = this.viewModel, u = {
144
144
  ...c?.global,
145
145
  ...c?.content?.[t]
146
146
  }, f = d({
147
147
  values: i,
148
- fieldInfoMap: a,
148
+ fieldInfoMap: s,
149
149
  globalValues: l,
150
150
  layer: o,
151
151
  text: e.title
152
152
  }), m = d({
153
153
  values: i,
154
- fieldInfoMap: a,
154
+ fieldInfoMap: s,
155
155
  globalValues: l,
156
156
  layer: o,
157
157
  text: e.description
158
158
  });
159
- return r`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${f} class="content-element" .description=${m} .values=${i} .expressionValues=${p} .layer=${o} .graphic=${s ?? void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${n ?? void 0} .relatedInfos=${h} .formattedValues=${u}></arcgis-feature-media>`;
159
+ return r`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${f} class="content-element" .description=${m} .values=${i} .expressionValues=${p} .layer=${o} .graphic=${a ?? void 0} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${n ?? void 0} .relatedInfos=${h} .formattedValues=${u}></arcgis-feature-media>`;
160
160
  }
161
161
  _renderText(e) {
162
- const { values: t, fieldInfoMap: i, sourceLayer: s, globalValues: a } = this;
162
+ const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues: s } = this;
163
163
  return r`<arcgis-feature-content .creator=${d({
164
164
  values: t,
165
165
  fieldInfoMap: i,
166
- globalValues: a,
167
- layer: s,
166
+ globalValues: s,
167
+ layer: a,
168
168
  text: e.text
169
169
  })} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
170
170
  }
171
171
  _renderExpression(e, t) {
172
- const i = this.viewModel.formattedAttributes, { fieldInfoMap: s } = this;
173
- return r`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${s} .values=${{
172
+ const i = this.viewModel.formattedAttributes, { fieldInfoMap: a, popupTemplate: s, sourceLayer: o } = this, n = s?.expressionInfos;
173
+ return r`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .expressionInfos=${n ?? void 0} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .layer=${o} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${a} .values=${{
174
174
  ...i?.global,
175
175
  ...i?.content?.[t]
176
176
  }}></arcgis-feature-expression>`;
177
177
  }
178
178
  _renderRelationship(e, t) {
179
- const { values: i, graphic: s, fieldInfoMap: a, sourceLayer: o, globalValues: n } = this, { displayCount: l, orderByFields: c, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
179
+ const { values: i, graphic: a, fieldInfoMap: s, sourceLayer: o, globalValues: n } = this, { displayCount: l, orderByFields: c, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
180
180
  ...p?.global,
181
181
  ...p?.content?.[t]
182
182
  }, m = d({
183
183
  values: i,
184
- fieldInfoMap: a,
184
+ fieldInfoMap: s,
185
185
  globalValues: n,
186
186
  layer: o,
187
187
  text: e.title
188
188
  }), v = d({
189
189
  values: i,
190
- fieldInfoMap: a,
190
+ fieldInfoMap: s,
191
191
  globalValues: n,
192
192
  layer: o,
193
193
  text: e.description
194
194
  });
195
- return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${o} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${s ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${c ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
195
+ return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${o} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${a ?? void 0} .heading=${m} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${c ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
196
196
  }
197
197
  _renderAssociation(e) {
198
- const { fieldInfoMap: t, globalValues: i, graphic: s, messages: a, sourceLayer: o, values: n } = this, l = d({
198
+ const { fieldInfoMap: t, globalValues: i, graphic: a, messages: s, sourceLayer: o, values: n } = this, l = d({
199
199
  values: n,
200
200
  fieldInfoMap: t,
201
201
  globalValues: i,
@@ -208,7 +208,7 @@ class S extends b {
208
208
  layer: o,
209
209
  text: e.description
210
210
  });
211
- return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${s ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${o} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
211
+ return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${a ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${o} .map=${this.map ?? void 0} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
212
212
  }
213
213
  _renderContentElement(e, t) {
214
214
  switch (e.type) {
@@ -239,30 +239,30 @@ class S extends b {
239
239
  if (Array.isArray(e) && e.length)
240
240
  return e.length ? e.map(this._renderContentElement, this) : null;
241
241
  if (typeof e == "string") {
242
- const { values: i, fieldInfoMap: s, sourceLayer: a, globalValues: o } = this;
242
+ const { values: i, fieldInfoMap: a, sourceLayer: s, globalValues: o } = this;
243
243
  return r`<arcgis-feature-content .creator=${d({
244
244
  values: i,
245
- fieldInfoMap: s,
245
+ fieldInfoMap: a,
246
246
  globalValues: o,
247
- layer: a,
247
+ layer: s,
248
248
  text: e
249
249
  })} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>`;
250
250
  }
251
251
  return e instanceof HTMLElement ? e : null;
252
252
  }
253
253
  _renderContentContainer() {
254
- const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: s, state: a, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
255
- return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${a === "loading"} .headingLevel=${s} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item @calciteFlowItemBack=${(f) => {
254
+ const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: a, state: s, messages: o, heading: n, hideHeading: l } = this, c = t ? null : r`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = o.returnToInitialFeature ?? "";
255
+ return e ? c : r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${s === "loading"} .headingLevel=${a} .heading=${l ? void 0 : P(n)} .selected=${!i.length}>${!l && n ? r`<div slot=heading><div .innerHTML=${A.sanitize(n ?? "") ?? ""}></div></div>` : null}${c}</calcite-flow-item>${i.toArray().map((p, u) => r`<calcite-flow-item @calciteFlowItemBack=${(f) => {
256
256
  f.preventDefault(), this._handleDrillInBackClick();
257
- }} .loading=${a === "loading"} .headingLevel=${s} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
257
+ }} .loading=${s === "loading"} .headingLevel=${a} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
258
258
  }
259
259
  _renderLastEditInfo() {
260
260
  const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
261
261
  if (!i || e)
262
262
  return null;
263
- const { date: s, user: a } = i, o = i.type === "edit" ? a ? t.lastEditedByUser : t.lastEdited : a ? t.lastCreatedByUser : t.lastCreated, n = T(o ?? "", {
264
- date: s,
265
- user: a
263
+ const { date: a, user: s } = i, o = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, n = T(o ?? "", {
264
+ date: a,
265
+ user: s
266
266
  });
267
267
  return r`<div class=${L(M("last-edited-info", "content-element"))}>${n}</div>`;
268
268
  }
@@ -6,7 +6,8 @@ import { html as h } from "lit";
6
6
  import { createRef as o, ref as c } from "lit/directives/ref.js";
7
7
  import { LitElement as u } from "@arcgis/lumina";
8
8
  import * as s from "@arcgis/toolkit/log";
9
- class _ extends u {
9
+ import { renderingSanitizer as _ } from "@arcgis/core/applications/Components/sanitizerUtils.js";
10
+ class d extends u {
10
11
  constructor() {
11
12
  super(...arguments), this._lastRun = 0, this._attempted = !1, this._isCurrentlyInView = !1, this._io = null, this._titleContainerSpan = o(), this._messages = l(), this._generatedTitle = null, this.isNewFeature = !1;
12
13
  }
@@ -62,7 +63,7 @@ class _ extends u {
62
63
  const t = await this._generateTitle();
63
64
  if (this._lastRun !== e || this._generatedTitle === t)
64
65
  return;
65
- this._generatedTitle = t;
66
+ this._generatedTitle = _.sanitize(t ?? "");
66
67
  } finally {
67
68
  this._attempted = !0;
68
69
  }
@@ -77,7 +78,7 @@ class _ extends u {
77
78
  this.isConnected && (this._io = new IntersectionObserver((t) => {
78
79
  let i = !1;
79
80
  t.forEach((r) => {
80
- r.intersectionRatio > 0 && !i ? (i = !0, this._isCurrentlyInView = !0, this._handleTitle().catch((p) => {
81
+ r.intersectionRatio > 0 && !i ? (i = !0, this._isCurrentlyInView = !0, this._handleTitle().catch((g) => {
81
82
  s.log("warn", this, "Failed processing title");
82
83
  })) : this._isCurrentlyInView = !1;
83
84
  });
@@ -88,10 +89,10 @@ class _ extends u {
88
89
  this._io?.disconnect(), this._io = null;
89
90
  }
90
91
  render() {
91
- return h`<span ${c(this._titleContainerSpan)}>${this._generatedTitle ?? ""}</span>`;
92
+ return h`<span .innerHTML=${this._generatedTitle ?? "" ?? ""} ${c(this._titleContainerSpan)}></span>`;
92
93
  }
93
94
  }
94
- a("arcgis-feature-title", _);
95
+ a("arcgis-feature-title", d);
95
96
  export {
96
- _ as ArcgisFeatureTitle
97
+ d as ArcgisFeatureTitle
97
98
  };
@@ -5,7 +5,7 @@ import type SceneView from "@arcgis/core/views/SceneView.js";
5
5
  import type Collection from "@arcgis/core/core/Collection.js";
6
6
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
7
7
  import type { ArcgisReferenceElement } from "../types.js";
8
- import type { ValueChangeEvent, BatchAttributeFormState } from "@arcgis/core/widgets/BatchAttributeForm/types.js";
8
+ import type { BatchAttributeFormState, ValueChangeEvent } from "@arcgis/core/widgets/BatchAttributeForm/types.js";
9
9
  import type { Icon } from "@esri/calcite-components/components/calcite-icon";
10
10
  import type { SubmitEvent } from "@arcgis/core/widgets/FeatureForm/FeatureFormViewModel.js";
11
11
  import type { UIPosition } from "@arcgis/core/views/ui/types.js";
@@ -34,12 +34,14 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
34
34
  /** @default false */
35
35
  accessor disabled: boolean;
36
36
  accessor editType: EditType;
37
+ /** @default false */
38
+ get expressionEvaluationFailed(): boolean;
37
39
  accessor features: Collection<Graphic>;
38
40
  accessor groupDisplay: "all" | "sequential";
39
41
  /** @default false */
40
- accessor hasTooManyComplexFeatures: boolean;
42
+ get hasTooManyComplexFeatures(): boolean;
41
43
  /** @default false */
42
- accessor hasTooManyFeatures: boolean;
44
+ get hasTooManyFeatures(): boolean;
43
45
  /** Indicates the heading level to use for the headings in the component. */
44
46
  accessor headingLevel: HeadingLevel;
45
47
  /**
@@ -65,14 +67,14 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
65
67
  * @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
66
68
  */
67
69
  accessor referenceElement: ArcgisReferenceElement | string | undefined;
68
- accessor status: BatchAttributeFormState;
70
+ get status(): BatchAttributeFormState;
69
71
  /** @default false */
70
72
  accessor submitHasBeenAttempted: boolean;
71
73
  accessor timeZone: string | null | undefined;
72
74
  /** @default false */
73
- accessor updating: boolean;
75
+ get updating(): boolean;
74
76
  /** @default false */
75
- accessor valid: boolean;
77
+ get valid(): boolean;
76
78
  /**
77
79
  * The view associated with the component.
78
80
  * > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-multi-feature-form component will be associated with a map or scene component rather than using the `view` property.
@@ -89,7 +91,7 @@ export abstract class ArcgisMultiFeatureForm extends LitElement {
89
91
  icon?: Icon["icon"];
90
92
  };
91
93
  /** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
92
- readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "status" | "valid" | "updating" | "submitHasBeenAttempted" | "activeFeatureIndex"; }>;
94
+ readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "status" | "valid" | "updating" | "submitHasBeenAttempted" | "activeFeatureIndex" | "hasTooManyFeatures" | "hasTooManyComplexFeatures" | "expressionEvaluationFailed" | "invalidFeatures"; }>;
93
95
  /** Emitted when the component associated with a map or scene view is ready to be interacted with. */
94
96
  readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
95
97
  /** Fires when the [submit()](https://developers.arcgis.com/javascript/latest/references/core/widgets/BatchAttributeForm/#submit) method is called. */
@@ -1,34 +1,53 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as l } from "../../chunks/runtime.js";
3
- import { usePropertyChange as n } from "@arcgis/lumina/controllers";
4
- import { reEmitEvent as a } from "@arcgis/lumina/controllers/accessor";
5
- import s from "@arcgis/core/widgets/BatchAttributeForm.js";
6
- import { LitElement as d, createEvent as m } from "@arcgis/lumina";
7
- import { m as h } from "../../chunks/useWidget.js";
8
- import { css as p } from "lit";
9
- const g = p`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-space-md) var(--calcite-space-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-space-2xl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-3)}.esri-batch-attribute-form__label{white-space:pre-wrap;overflow-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-space-xs);&:last-child{margin-bottom:0}}.esri-batch-attribute-form__label-text-content{white-space:pre-wrap;overflow-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__multiple-choice-input,.esri-batch-attribute-form__multiple-choice-input__other-choice{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__select-all{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-end:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__other-choice--with-select-all{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-start:var(--calcite-space-sm)}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-space-md);.esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}}.esri-batch-attribute-form__input{width:100%;&:not(calcite-checkbox):focus{outline:var(--calcite-space-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-space-2xl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-space-sm);.esri-batch-attribute-form__input{margin-bottom:var(--calcite-space-base)}&:last-child{margin-bottom:0}}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-space-md) 0;background-color:inherit;margin-inline:calc(var(--calcite-space-md) * -1)}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid var(--calcite-color-border-1)}.esri-batch-attribute-form__group--active{border-inline-start-color:var(--calcite-color-brand)}.esri-batch-attribute-form__relationship-element-input{margin-block-end:var(--calcite-space-lg);calcite-notice,.esri-batch-attribute-form__relationship-element-input_list{margin-bottom:var(--calcite-space-md-plus)}}.esri-batch-attribute-form__relationship-element-input_header{color:var(--calcite-color-text-1)}.esri-batch-attribute-form__relationship-element-input_description,.esri-batch-attribute-form__relationship-element-input_header{margin-bottom:var(--calcite-space-md-plus)}.esri-batch-attribute-form__relationship-element-input_list{min-height:var(--calcite-space-2xs)}.esri-batch-attribute-form__relationship-element-input_list-observer{position:relative;bottom:20px;z-index:2;text-align:center}.esri-batch-attribute-form__relationship-element-input_showing-all{.esri-batch-attribute-form__relationship-element-input_add-button{margin-block:var(--calcite-space-md)}}.esri-batch-attribute-form__attachment-element-input{margin-bottom:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-label{white-space:pre-wrap;overflow-wrap:break-word;margin-bottom:var(--calcite-space-2xs);color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-list{margin-block:var(--calcite-space-sm);border-block:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-batch-attribute-form__attachment-element-list-item{--calcite-list-item-border-color: var(--calcite-color-border-3);white-space:pre-wrap;overflow-wrap:break-word;min-block-size:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-list-item-start{display:flex;align-items:center;justify-content:center;border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-3);block-size:var(--calcite-space-3xl);inline-size:var(--calcite-space-3xl);color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-list-item-staged-indicator{display:inline-flex;border-radius:50%;background-color:var(--calcite-color-brand);block-size:var(--calcite-space-xs);inline-size:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-list-item-thumb{border-radius:inherit;block-size:100%;inline-size:100%;object-fit:cover}.esri-batch-attribute-form__attachment-element-list-item-icon{color:inherit}.esri-batch-attribute-form__attachment-element-empty-state{padding-block:var(--calcite-space-sm);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}.esri-batch-attribute-form__attachment-element-add-actions{display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:flex-start;justify-content:flex-start;inline-size:100%}.esri-batch-attribute-form__attachment-element-capture-notice{inline-size:100%}.esri-batch-attribute-form__attachment-element-empty-action-hint{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-empty-action-hint-value{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-all-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-file-input{display:none}.esri-batch-attribute-form__attachment-element-add-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-add-dropzone{box-sizing:border-box;display:flex;flex:1;flex-direction:column;gap:0;align-items:center;justify-content:center;transition:border-color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out;border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-lg) var(--calcite-space-md);min-block-size:10.875rem;inline-size:100%;text-align:center}.esri-batch-attribute-form__attachment-element-add-dropzone-icon{margin-block-end:var(--calcite-space-sm);color:var(--calcite-color-text-3)}.esri-batch-attribute-form__attachment-element-add-dropzone-heading{margin-block-end:var(--calcite-space-xs);line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone-detail{white-space:pre-wrap;overflow-wrap:break-word;margin-block-end:var(--calcite-space-md);max-inline-size:13rem;line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone calcite-button{align-self:center}.esri-batch-attribute-form__attachment-element-validation-criteria{display:flex;flex-direction:column;gap:var(--calcite-space-xs);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail-metadata-group{display:flex;flex-direction:column;gap:var(--calcite-space-2xs)}.esri-batch-attribute-form__attachment-element-detail-file-name-row{display:flex;gap:var(--calcite-space-2xs);align-items:center;inline-size:100%}.esri-batch-attribute-form__attachment-element-detail-file-name-input{flex:1 1 auto;min-inline-size:0}.esri-batch-attribute-form__attachment-element-detail-preview{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);inline-size:100%}.esri-batch-attribute-form__attachment-element-dialog-preview{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);block-size:100%;min-block-size:0;max-block-size:100%;inline-size:100%;overflow:hidden;.esri-batch-attribute-form__attachment-element-detail-preview-image{max-block-size:100%;max-inline-size:100%}}.esri-batch-attribute-form__attachment-element-detail-preview-image{display:block;block-size:auto;max-block-size:min(24rem,50vh);inline-size:100%;object-fit:contain}.esri-batch-attribute-form__attachment-element-detail-preview-icon{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-detail-actions{display:flex;flex-wrap:wrap;gap:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-detail-metadata{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding-block-start:var(--calcite-space-lg)}.esri-batch-attribute-form__attachment-element-detail-metadata-label{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__attachment-element-detail-metadata-value{white-space:pre-wrap;overflow-wrap:break-word;line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-surface-4);padding:var(--calcite-space-2xs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-space-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}strong{font-weight:var(--calcite-font-weight-bold)}}.esri-batch-attribute-form__utility-network-associations-element-input{margin-block-end:var(--calcite-space-md);.esri-feature-utility-network-associations{.esri-feature-element-info__description{color:var(--calcite-color-text-3)}h5{color:var(--calcite-color-text-1);font-size:inherit}}}`;
10
- var o = (t) => {
2
+ import { c as y } from "../../chunks/runtime.js";
3
+ import { usePropertyChange as k, bypassReadOnly as z } from "@arcgis/lumina/controllers";
4
+ import { reEmitEvent as v } from "@arcgis/lumina/controllers/accessor";
5
+ import F from "@arcgis/core/widgets/BatchAttributeForm.js";
6
+ import { LitElement as M, createEvent as C } from "@arcgis/lumina";
7
+ import { m as T } from "../../chunks/useWidget.js";
8
+ import { css as E } from "lit";
9
+ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
10
+ const V = E`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-space-md) var(--calcite-space-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-space-2xl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-3)}.esri-batch-attribute-form__label{white-space:pre-wrap;overflow-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-space-xs);&:last-child{margin-bottom:0}}.esri-batch-attribute-form__label-text-content{white-space:pre-wrap;overflow-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__multiple-choice-input,.esri-batch-attribute-form__multiple-choice-input__other-choice{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__select-all{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-end:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__other-choice--with-select-all{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-start:var(--calcite-space-sm)}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-space-md);.esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}}.esri-batch-attribute-form__input{width:100%;&:not(calcite-checkbox):focus{outline:var(--calcite-space-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-space-2xl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-space-sm);.esri-batch-attribute-form__input{margin-bottom:var(--calcite-space-base)}&:last-child{margin-bottom:0}}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-space-md) 0;background-color:inherit;margin-inline:calc(var(--calcite-space-md) * -1)}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid var(--calcite-color-border-1)}.esri-batch-attribute-form__group--active{border-inline-start-color:var(--calcite-color-brand)}.esri-batch-attribute-form__relationship-element-input{margin-block-end:var(--calcite-space-lg);calcite-notice,.esri-batch-attribute-form__relationship-element-input_list{margin-bottom:var(--calcite-space-md-plus)}}.esri-batch-attribute-form__relationship-element-input_header{color:var(--calcite-color-text-1)}.esri-batch-attribute-form__relationship-element-input_description,.esri-batch-attribute-form__relationship-element-input_header{margin-bottom:var(--calcite-space-md-plus)}.esri-batch-attribute-form__relationship-element-input_list{min-height:var(--calcite-space-2xs)}.esri-batch-attribute-form__relationship-element-input_list-observer{position:relative;bottom:20px;z-index:2;text-align:center}.esri-batch-attribute-form__relationship-element-input_showing-all{.esri-batch-attribute-form__relationship-element-input_add-button{margin-block:var(--calcite-space-md)}}.esri-batch-attribute-form__attachment-element-input{margin-bottom:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-label{white-space:pre-wrap;overflow-wrap:break-word;margin-bottom:var(--calcite-space-2xs);color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-list{margin-block:var(--calcite-space-sm);border-block:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-batch-attribute-form__attachment-element-list-item{--calcite-list-item-border-color: var(--calcite-color-border-3);white-space:pre-wrap;overflow-wrap:break-word;min-block-size:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-list-item-start{display:flex;align-items:center;justify-content:center;border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-3);block-size:var(--calcite-space-3xl);inline-size:var(--calcite-space-3xl);color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-list-item-staged-indicator{display:inline-flex;border-radius:50%;background-color:var(--calcite-color-brand);block-size:var(--calcite-space-xs);inline-size:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-list-item-thumb{border-radius:inherit;block-size:100%;inline-size:100%;object-fit:cover}.esri-batch-attribute-form__attachment-element-list-item-icon{color:inherit}.esri-batch-attribute-form__attachment-element-empty-state{padding-block:var(--calcite-space-sm);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}.esri-batch-attribute-form__attachment-element-add-actions{display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:flex-start;justify-content:flex-start;inline-size:100%}.esri-batch-attribute-form__attachment-element-capture-notice{inline-size:100%}.esri-batch-attribute-form__attachment-element-empty-action-hint{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-empty-action-hint-value{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-all-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-file-input{display:none}.esri-batch-attribute-form__attachment-element-add-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-add-dropzone{box-sizing:border-box;display:flex;flex:1;flex-direction:column;gap:0;align-items:center;justify-content:center;transition:border-color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out;border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-lg) var(--calcite-space-md);min-block-size:10.875rem;inline-size:100%;text-align:center}.esri-batch-attribute-form__attachment-element-add-dropzone-icon{margin-block-end:var(--calcite-space-sm);color:var(--calcite-color-text-3)}.esri-batch-attribute-form__attachment-element-add-dropzone-heading{margin-block-end:var(--calcite-space-xs);line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone-detail{white-space:pre-wrap;overflow-wrap:break-word;margin-block-end:var(--calcite-space-md);max-inline-size:13rem;line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone calcite-button{align-self:center}.esri-batch-attribute-form__attachment-element-validation-criteria{display:flex;flex-direction:column;gap:var(--calcite-space-xs);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail-metadata-group{display:flex;flex-direction:column;gap:var(--calcite-space-2xs)}.esri-batch-attribute-form__attachment-element-detail-file-name-row{display:flex;gap:var(--calcite-space-2xs);align-items:center;inline-size:100%}.esri-batch-attribute-form__attachment-element-detail-file-name-input{flex:1 1 auto;min-inline-size:0}.esri-batch-attribute-form__attachment-element-detail-preview{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);inline-size:100%}.esri-batch-attribute-form__attachment-element-dialog-preview{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);block-size:100%;min-block-size:0;max-block-size:100%;inline-size:100%;overflow:hidden;.esri-batch-attribute-form__attachment-element-detail-preview-image{max-block-size:100%;max-inline-size:100%}}.esri-batch-attribute-form__attachment-element-detail-preview-image{display:block;block-size:auto;max-block-size:min(24rem,50vh);inline-size:100%;object-fit:contain}.esri-batch-attribute-form__attachment-element-detail-preview-icon{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-detail-actions{display:flex;flex-wrap:wrap;gap:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-detail-metadata{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding-block-start:var(--calcite-space-lg)}.esri-batch-attribute-form__attachment-element-detail-metadata-label{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__attachment-element-detail-metadata-value{white-space:pre-wrap;overflow-wrap:break-word;line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-surface-4);padding:var(--calcite-space-2xs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-space-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}strong{font-weight:var(--calcite-font-weight-bold)}}.esri-batch-attribute-form__utility-network-associations-element-input{margin-block-end:var(--calcite-space-md);.esri-feature-utility-network-associations{.esri-feature-element-info__description{color:var(--calcite-color-text-3)}h5{color:var(--calcite-color-text-1);font-size:inherit}}}`;
11
+ var _ = (t) => {
11
12
  throw TypeError(t);
12
- }, c = (t, e, i) => e.has(t) || o("Cannot " + i), u = (t, e, i) => (c(t, e, "read from private field"), i ? i.call(t) : e.get(t)), b = (t, e, i) => e.has(t) ? o("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), f = (t, e, i, x) => (c(t, e, "write to private field"), e.set(t, i), i), r;
13
- const v = h(s);
14
- class _ extends d {
13
+ }, x = (t, e, a) => e.has(t) || _("Cannot " + a), S = (t, e, a) => (x(t, e, "read from private field"), a ? a.call(t) : e.get(t)), I = (t, e, a) => e.has(t) ? _("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), q = (t, e, a, c) => (x(t, e, "write to private field"), e.set(t, a), a), o;
14
+ const A = T(F);
15
+ class H extends M {
15
16
  constructor() {
16
- super(...arguments), b(this, r), this.widget = v(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.editType = this.viewModel.editType, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.status = this.viewModel.status, this.valid = this.viewModel.valid, this.label = this.widget.label, this.features = this.widget.features, this.disabled = this.widget.disabled, this.activeFeatureIndex = this.widget.activeFeatureIndex, this.submitHasBeenAttempted = this.viewModel.submitHasBeenAttempted, this.updating = this.viewModel.updating, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.hasTooManyFeatures = this.viewModel.hasTooManyFeatures, this.hasTooManyComplexFeatures = this.viewModel.hasTooManyComplexFeatures, this.readOnly = this.widget.readOnly, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = n()("status", "valid", "updating", "submitHasBeenAttempted", "activeFeatureIndex"), this.arcgisReady = m(), this.arcgisSubmit = a(() => this.widget, "submit"), this.arcgisValueChange = a(() => this.widget, "value-change");
17
+ super(...arguments), I(this, o), this.widget = A(this), this.viewModel = this.widget.viewModel, this._updating = !1, this._hasTooManyFeatures = !1, this._hasTooManyComplexFeatures = !1, this._status = "not-loaded", this._expressionEvaluationFailed = !1, this._invalidFeatures = [], this._valid = !1, this.autoDestroyDisabled = !1, this.editType = this.viewModel.editType, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.features = this.widget.features, this.disabled = this.widget.disabled, this.activeFeatureIndex = this.widget.activeFeatureIndex, this.submitHasBeenAttempted = this.viewModel.submitHasBeenAttempted, this.maximumFeatureCount = this.viewModel.maximumFeatureCount, this.maximumFeatureCountWithComplexForms = this.viewModel.maximumFeatureCountWithComplexForms, this.readOnly = this.widget.readOnly, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = k()("status", "valid", "updating", "submitHasBeenAttempted", "activeFeatureIndex", "hasTooManyFeatures", "hasTooManyComplexFeatures", "expressionEvaluationFailed", "invalidFeatures"), this.arcgisReady = C(), this.arcgisSubmit = v(() => this.widget, "submit"), this.arcgisValueChange = v(() => this.widget, "value-change");
17
18
  }
18
19
  static {
19
- this.properties = { view: 0, autoDestroyDisabled: 5, editType: 1, groupDisplay: 1, headingLevel: 9, icon: 1, status: 1, valid: 5, label: 1, features: 0, disabled: 5, activeFeatureIndex: 9, submitHasBeenAttempted: 5, updating: 5, maximumFeatureCount: 9, maximumFeatureCountWithComplexForms: 9, hasTooManyFeatures: 5, hasTooManyComplexFeatures: 5, invalidFeatures: 32, position: 1, referenceElement: 1, readOnly: 5, timeZone: 1 };
20
+ this.properties = { view: 0, autoDestroyDisabled: 5, editType: 1, groupDisplay: 1, headingLevel: 9, icon: 1, status: 32, valid: 32, label: 1, features: 0, disabled: 5, activeFeatureIndex: 9, submitHasBeenAttempted: 5, updating: 32, maximumFeatureCount: 9, maximumFeatureCountWithComplexForms: 9, hasTooManyFeatures: 32, hasTooManyComplexFeatures: 32, expressionEvaluationFailed: 32, invalidFeatures: 32, position: 1, referenceElement: 1, readOnly: 5, timeZone: 1 };
20
21
  }
21
22
  static {
22
- this.styles = g;
23
+ this.styles = V;
23
24
  }
24
25
  get layerInfos() {
25
- return u(this, r);
26
+ return S(this, o);
26
27
  }
27
28
  set layerInfos(e) {
28
- f(this, r, e);
29
+ q(this, o, e);
30
+ }
31
+ get status() {
32
+ return this._status;
33
+ }
34
+ get valid() {
35
+ return this._valid;
36
+ }
37
+ get updating() {
38
+ return this._updating;
39
+ }
40
+ get hasTooManyFeatures() {
41
+ return this._hasTooManyFeatures;
42
+ }
43
+ get hasTooManyComplexFeatures() {
44
+ return this._hasTooManyComplexFeatures;
45
+ }
46
+ get expressionEvaluationFailed() {
47
+ return this._expressionEvaluationFailed;
29
48
  }
30
49
  get invalidFeatures() {
31
- return this.viewModel.invalidFeatures;
50
+ return this._invalidFeatures;
32
51
  }
33
52
  async destroy() {
34
53
  await this.manager.destroy();
@@ -42,9 +61,67 @@ class _ extends d {
42
61
  userChangesHaveMadeFeatureInvalid(e) {
43
62
  return this.viewModel.userChangesHaveMadeFeatureInvalid(e);
44
63
  }
64
+ loaded() {
65
+ this._syncTrackedViewModelState(), this.manager.onLifecycle(() => [
66
+ r(() => this.viewModel.status, () => {
67
+ this._syncTrackedViewModelState();
68
+ }),
69
+ r(() => this.viewModel.valid, () => {
70
+ this._syncTrackedViewModelState();
71
+ }),
72
+ r(() => this.viewModel.expressionEvaluationFailed, () => {
73
+ this._syncTrackedViewModelState();
74
+ }),
75
+ r(() => this.viewModel.invalidFeatures, () => {
76
+ this._syncTrackedViewModelState();
77
+ }),
78
+ r(() => this.viewModel.updating, () => {
79
+ this._syncTrackedViewModelState();
80
+ }),
81
+ r(() => this.viewModel.hasTooManyFeatures, () => {
82
+ this._syncTrackedViewModelState();
83
+ }),
84
+ r(() => this.viewModel.hasTooManyComplexFeatures, () => {
85
+ this._syncTrackedViewModelState();
86
+ })
87
+ ]);
88
+ }
89
+ _syncTrackedViewModelState() {
90
+ const e = this.viewModel.status, a = this.viewModel.valid, c = this.viewModel.updating, l = this.viewModel.expressionEvaluationFailed, n = [...this.viewModel.invalidFeatures ?? []], s = this.viewModel.hasTooManyFeatures, d = this.viewModel.hasTooManyComplexFeatures, h = this.status !== e, m = this.valid !== a, u = this.updating !== c, p = this.expressionEvaluationFailed !== l, g = this.hasTooManyFeatures !== s, b = this.hasTooManyComplexFeatures !== d, f = this.invalidFeatures.length !== n.length || this.invalidFeatures.some((i, w) => i !== n[w]);
91
+ !h && !m && !u && !p && !g && !b && !f || z(() => {
92
+ if (h) {
93
+ const i = this._status;
94
+ this._status = e, this.requestUpdate("status", i);
95
+ }
96
+ if (m) {
97
+ const i = this._valid;
98
+ this._valid = a, this.requestUpdate("valid", i);
99
+ }
100
+ if (u) {
101
+ const i = this._updating;
102
+ this._updating = c, this.requestUpdate("updating", i);
103
+ }
104
+ if (p) {
105
+ const i = this._expressionEvaluationFailed;
106
+ this._expressionEvaluationFailed = l, this.requestUpdate("expressionEvaluationFailed", i);
107
+ }
108
+ if (g) {
109
+ const i = this._hasTooManyFeatures;
110
+ this._hasTooManyFeatures = s, this.requestUpdate("hasTooManyFeatures", i);
111
+ }
112
+ if (b) {
113
+ const i = this._hasTooManyComplexFeatures;
114
+ this._hasTooManyComplexFeatures = d, this.requestUpdate("hasTooManyComplexFeatures", i);
115
+ }
116
+ if (f) {
117
+ const i = this._invalidFeatures;
118
+ this._invalidFeatures = n, this.requestUpdate("invalidFeatures", i);
119
+ }
120
+ });
121
+ }
45
122
  }
46
- r = /* @__PURE__ */ new WeakMap();
47
- l("arcgis-multi-feature-form", _);
123
+ o = /* @__PURE__ */ new WeakMap();
124
+ y("arcgis-multi-feature-form", H);
48
125
  export {
49
- _ as ArcgisMultiFeatureForm
126
+ H as ArcgisMultiFeatureForm
50
127
  };
@@ -1774,7 +1774,7 @@ class rt extends he {
1774
1774
  this.viewModel.activeFlowPage = "merge-page";
1775
1775
  }} title=${this._messages.seeMergeOptions ?? ue}>${this._messages.seeMergeOptions}</calcite-link>` : null}</calcite-notice></div>` : null}${this.viewModel.clipboardAndTemplateSupportAttributes && this.viewModel.pasteTemplate ? this._renderAttributeCheckbox(!this.viewModel.clipboardAndTemplateSupportAttributes) : null}${this.viewModel.clipboardAndTemplateSupportAttributes ? null : this._renderAttributeCheckbox(!1)}</div><calcite-list .hidden=${this.viewModel.activeCommand !== "paste-merge"} .label=${this._messages.pasteCommandChoices ?? ""} selection-mode=none selection-appearance=border><calcite-list-item .label=${this._messages.mergeOptionsTitle} .description=${this._messages.mergeOptionsDesc} .disabled=${this.viewModel.updating} @click=${() => {
1776
1776
  this.viewModel.activeFlowPage = "merge-page";
1777
- }}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length > 0 ? d`<arcgis-feature-templates show-filter .disableTemplatesMode=${this.disableTemplatesMode} .applicationDisabledFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} @arcgisTemplatesChanged=${() => {
1777
+ }}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length > 0 ? d`<arcgis-feature-templates show-filter template-sort-by=system .disableTemplatesMode=${this.disableTemplatesMode} .applicationDisabledFunction=${(i) => !!(i.template && ie(i.template) && i.template.type !== "feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} @arcgisTemplatesChanged=${() => {
1778
1778
  this._checkAndUpdateInitialPasteTemplate();
1779
1779
  }} @arcgisSelectTemplate=${(i) => {
1780
1780
  this.viewModel.pasteTemplate = i.detail.template;
@@ -10,7 +10,7 @@ import { createRef as b, ref as u } from "lit/directives/ref.js";
10
10
  import { u as R } from "../../chunks/useT9n.js";
11
11
  import { l as $ } from "../../chunks/async-utils.js";
12
12
  import { q as C, c as w } from "../../chunks/layer-utils.js";
13
- const E = v`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;margin:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, g = {
13
+ const E = v`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features-next{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;margin:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, g = {
14
14
  dirtyAreasDiscovered: -2147208511,
15
15
  noValidControllers: -2147208935,
16
16
  pathNotFound: -2147208444