@arcgis/map-components 4.34.0-next.72 → 4.34.0-next.74

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 (317) hide show
  1. package/dist/cdn/{YG2RAVS4.js → 23QS5PJA.js} +2 -2
  2. package/dist/cdn/{NMSEOA6T.js → 2D5L3ILJ.js} +2 -2
  3. package/dist/cdn/{DELNZBXB.js → 2FE33NAS.js} +2 -2
  4. package/dist/cdn/{4CJ5FCGA.js → 2IBRSDZO.js} +2 -2
  5. package/dist/cdn/{JTU2EC3X.js → 2OORNKL4.js} +2 -2
  6. package/dist/cdn/{BCRUXZPJ.js → 2RIV6V54.js} +2 -2
  7. package/dist/cdn/{IVXXOKXQ.js → 2TRLZJ2X.js} +2 -2
  8. package/dist/cdn/{WFQGGPQD.js → 2UXKNYX2.js} +2 -2
  9. package/dist/cdn/{CALCAUGN.js → 2WUQB62Q.js} +2 -2
  10. package/dist/cdn/{GOGRYHAS.js → 2XZE5LWW.js} +2 -2
  11. package/dist/cdn/{675L7SYK.js → 3BOPJXUK.js} +2 -2
  12. package/dist/cdn/{QMRKKDNR.js → 3KAMKJWR.js} +2 -2
  13. package/dist/cdn/{RYNHJD2S.js → 3TCLPSMC.js} +2 -2
  14. package/dist/cdn/{6JBHI5ZS.js → 3TFNH7U2.js} +2 -2
  15. package/dist/cdn/{6POA4C33.js → 432SPPDE.js} +2 -2
  16. package/dist/cdn/{3ZWERC7R.js → 46AZOTOX.js} +2 -2
  17. package/dist/cdn/{ZN2VC52Z.js → 4A44SLI6.js} +2 -2
  18. package/dist/cdn/{B3DTUFPV.js → 4EW3CSL6.js} +2 -2
  19. package/dist/cdn/{BP4JIEPT.js → 4HNO5YSC.js} +2 -2
  20. package/dist/cdn/{MNJY5ABO.js → 4KAENN3L.js} +2 -2
  21. package/dist/cdn/{FA45UB7L.js → 4PE6YTRV.js} +2 -2
  22. package/dist/cdn/{YIEYXAAC.js → 52MXAN6M.js} +2 -2
  23. package/dist/cdn/{QADQUXAE.js → 5TW3BAL4.js} +2 -2
  24. package/dist/cdn/{PHMNUSQS.js → 5VDTEBFK.js} +2 -2
  25. package/dist/cdn/{JE2XWTM2.js → 5VHZWIE3.js} +3 -3
  26. package/dist/cdn/{TS6BYUYP.js → 5XU72LP5.js} +2 -2
  27. package/dist/cdn/{RCR5E7K6.js → 5ZFHHEVG.js} +1 -1
  28. package/dist/cdn/{DAI6MIXP.js → 6C6JHYA3.js} +2 -2
  29. package/dist/cdn/{EOKGI52B.js → 6DK227IT.js} +2 -2
  30. package/dist/cdn/{TA7VG746.js → 6FTESS3U.js} +2 -2
  31. package/dist/cdn/{GFLUNLOJ.js → 6IPVE4M7.js} +2 -2
  32. package/dist/cdn/{4R4OXLTB.js → 6LP5FCHH.js} +2 -2
  33. package/dist/cdn/{NE3ODVZC.js → 76UPGQ7H.js} +1 -1
  34. package/dist/cdn/{5UYU2ASX.js → 77WBWIGL.js} +2 -2
  35. package/dist/cdn/{NAIZ3KY2.js → 7JOLJKOY.js} +2 -2
  36. package/dist/cdn/{UR5MJQXE.js → 7MYV4SAA.js} +2 -2
  37. package/dist/cdn/{DZPDCL6V.js → 7UZLHJ7K.js} +2 -2
  38. package/dist/cdn/{6HDDP4VG.js → AGBEBQHV.js} +2 -2
  39. package/dist/cdn/{6E5SQWVG.js → AHEUGYOW.js} +2 -2
  40. package/dist/cdn/{O3JVN77O.js → AHPDRVXP.js} +2 -2
  41. package/dist/cdn/AJAWKHWA.js +4 -0
  42. package/dist/cdn/{CTYEHVAN.js → AQITH2EU.js} +1 -1
  43. package/dist/cdn/{BOXJMP2R.js → AV63O4OA.js} +2 -2
  44. package/dist/cdn/{KOUDQGU6.js → AWJXEERO.js} +2 -2
  45. package/dist/cdn/{HAX3SSVJ.js → AXZJSUWV.js} +2 -2
  46. package/dist/cdn/{NUY5SIDB.js → B2H4PCDL.js} +2 -2
  47. package/dist/cdn/{FG35G3NL.js → BNY257PV.js} +1 -1
  48. package/dist/cdn/{BIV24LET.js → BQ5CLTVX.js} +2 -2
  49. package/dist/cdn/{F5YTQDDB.js → C4L24GMT.js} +2 -2
  50. package/dist/cdn/{3JXBLAK2.js → C54EYPBD.js} +2 -2
  51. package/dist/cdn/{6AQ57OYU.js → C6J3QWXW.js} +2 -2
  52. package/dist/cdn/{FAZVIKHI.js → C7MZWCJD.js} +2 -2
  53. package/dist/cdn/{2QCQHBJG.js → CGDSYDJO.js} +2 -2
  54. package/dist/cdn/{EU2WXK72.js → CLV2OIYL.js} +2 -2
  55. package/dist/cdn/{EEI6U7DE.js → CQSTJHN6.js} +2 -2
  56. package/dist/cdn/{XA6DUCSU.js → CS57MRNL.js} +2 -2
  57. package/dist/cdn/{WZ4CYJYV.js → CTUP62LA.js} +2 -2
  58. package/dist/cdn/{NG6G6TYO.js → CU2NQJRX.js} +1 -1
  59. package/dist/cdn/{3LWEBYH6.js → CXCJQR4M.js} +2 -2
  60. package/dist/cdn/{3GOOUAGJ.js → CYTRO326.js} +2 -2
  61. package/dist/cdn/{XVX4EEIT.js → D2CFAZGI.js} +2 -2
  62. package/dist/cdn/{42R2JCUL.js → D5HF57YA.js} +2 -2
  63. package/dist/cdn/{X4NKR3TS.js → DDCY2CCR.js} +2 -2
  64. package/dist/cdn/{LAE2G5XF.js → DEL6QEQK.js} +2 -2
  65. package/dist/cdn/{NZWGMVUJ.js → DNR2LAEZ.js} +2 -2
  66. package/dist/cdn/{UXOPBOVY.js → DXQNKJ6U.js} +2 -2
  67. package/dist/cdn/{T5WMFWQF.js → EAHH6CJ6.js} +2 -2
  68. package/dist/cdn/{OMOIN5OL.js → EE7WKTJS.js} +2 -2
  69. package/dist/cdn/{VQK5K7ZG.js → EF4HDMEO.js} +3 -3
  70. package/dist/cdn/{WQH2EE4D.js → EGYLFUBG.js} +2 -2
  71. package/dist/cdn/{TMZLGX2U.js → ELKCV74C.js} +1 -1
  72. package/dist/cdn/{RFB2A7NC.js → EOYSUX3O.js} +2 -2
  73. package/dist/cdn/{WICBMYFM.js → ERI6BBP5.js} +2 -2
  74. package/dist/cdn/{PQG3BUYD.js → EXTCKJ3Q.js} +2 -2
  75. package/dist/cdn/{RUL5LL7B.js → EZ7PNOAM.js} +2 -2
  76. package/dist/cdn/{47VNTMA2.js → FCQFGUMO.js} +2 -2
  77. package/dist/cdn/{TRDLVC5E.js → FFWQLSMK.js} +2 -2
  78. package/dist/cdn/{YHJU3NAI.js → FHNQT67F.js} +2 -2
  79. package/dist/cdn/{4B7BGUBY.js → FRHOLR7U.js} +2 -2
  80. package/dist/cdn/{KNKBXPGG.js → FXPZ7XYP.js} +2 -2
  81. package/dist/cdn/{DLKTZBLF.js → GA4XJMQG.js} +2 -2
  82. package/dist/cdn/{CU7ZL4YU.js → GH5CJ3TZ.js} +2 -2
  83. package/dist/cdn/{NFARJ5PX.js → GHY5UHBU.js} +2 -2
  84. package/dist/cdn/{ZFJMJ5HC.js → GLD766GG.js} +2 -2
  85. package/dist/cdn/{Z3W5H4FK.js → GNBULI3P.js} +2 -2
  86. package/dist/cdn/{NK6WKWWD.js → GNQVHAFH.js} +2 -2
  87. package/dist/cdn/{UQNQSDUA.js → GYJOTIHB.js} +2 -2
  88. package/dist/cdn/{AE74BVGB.js → H5EEUDFI.js} +2 -2
  89. package/dist/cdn/{BONH4AMO.js → HAPGEQMC.js} +1 -1
  90. package/dist/cdn/{NL3QHBYU.js → HAWKHU33.js} +2 -2
  91. package/dist/cdn/{YNTH26ZE.js → HEIQ7FXP.js} +2 -2
  92. package/dist/cdn/{PGAUKOOQ.js → HGSPOIPZ.js} +2 -2
  93. package/dist/cdn/{TU2UKVON.js → HUSUU2LQ.js} +2 -2
  94. package/dist/cdn/{VOJMU6VB.js → I6MBRRDT.js} +2 -2
  95. package/dist/cdn/{W7UE523D.js → IRK7G7DU.js} +2 -2
  96. package/dist/cdn/{OSYSVFTL.js → IZAFSRN2.js} +2 -2
  97. package/dist/cdn/{NPQAN3TX.js → JATHMF4T.js} +2 -2
  98. package/dist/cdn/{DTRTTO6X.js → JE7YZKS3.js} +2 -2
  99. package/dist/cdn/{WY5Y3JXL.js → JFBTHVO7.js} +2 -2
  100. package/dist/cdn/{KNNECMHT.js → JLR2MUHO.js} +2 -2
  101. package/dist/cdn/{XUAWEPO6.js → JNNXEGKN.js} +2 -2
  102. package/dist/cdn/{RIKVRJHO.js → JQSHSD7C.js} +2 -2
  103. package/dist/cdn/{NNWOX2CV.js → K4NM46D7.js} +2 -2
  104. package/dist/cdn/{6FTZZI3K.js → KK5EAOLQ.js} +2 -2
  105. package/dist/cdn/{5REN455Y.js → KLIACE5R.js} +2 -2
  106. package/dist/cdn/{3QBL7R7R.js → KSGKJVPR.js} +2 -2
  107. package/dist/cdn/{E4V7TCNB.js → KW4GDKMY.js} +2 -2
  108. package/dist/cdn/{6F33QNJ6.js → LAQQAO47.js} +2 -2
  109. package/dist/cdn/{7RBWGIRA.js → LREZ6PEY.js} +2 -2
  110. package/dist/cdn/{6MRZI46W.js → LTQQSBXA.js} +2 -2
  111. package/dist/cdn/{DQIAP73G.js → MHKKZDQ4.js} +2 -2
  112. package/dist/cdn/{2ICZ5ES6.js → MKI6VTAK.js} +2 -2
  113. package/dist/cdn/{3CFJEROO.js → MX5K5HY3.js} +2 -2
  114. package/dist/cdn/{MTUMDY5Z.js → N24JMYUU.js} +2 -2
  115. package/dist/cdn/{EK3UV6O3.js → NJZ2YMSW.js} +2 -2
  116. package/dist/cdn/{DK3MAYFM.js → O5LGOCYW.js} +2 -2
  117. package/dist/cdn/{CG3QR23J.js → OBMOIHWF.js} +2 -2
  118. package/dist/cdn/{DR3BHZPL.js → OKYIBLEY.js} +1 -1
  119. package/dist/cdn/{AJQBVXMT.js → ONXLKRLY.js} +2 -2
  120. package/dist/cdn/{TQEF2T2R.js → OWLIJS4G.js} +1 -1
  121. package/dist/cdn/{2DFW4IBP.js → OZH6PHKA.js} +2 -2
  122. package/dist/cdn/{TDFS4E76.js → PDX72N6L.js} +2 -2
  123. package/dist/cdn/{DOUFSK7F.js → PEZEGZPW.js} +2 -2
  124. package/dist/cdn/{UOQRJMHY.js → PK4XXA4A.js} +2 -2
  125. package/dist/cdn/{LEAX7CIF.js → PQXJPLFW.js} +2 -2
  126. package/dist/cdn/{BUQWC7SM.js → Q65IZHIF.js} +2 -2
  127. package/dist/cdn/{HNCVHNQR.js → QNY37Q7T.js} +2 -2
  128. package/dist/cdn/{AWS4Y55W.js → QPQ7XX2T.js} +2 -2
  129. package/dist/cdn/{AJQJM5BB.js → QVVOXK3J.js} +2 -2
  130. package/dist/cdn/{CCK6CMWB.js → QYD3SCDJ.js} +2 -2
  131. package/dist/cdn/{7UCY4YAG.js → QYNBKRC4.js} +2 -2
  132. package/dist/cdn/{PZN7ZZJ4.js → R72LON3B.js} +2 -2
  133. package/dist/cdn/{NSQY4WFT.js → RGG3NKVM.js} +2 -2
  134. package/dist/cdn/{2KYNZ3WY.js → RHXZKFQT.js} +2 -2
  135. package/dist/cdn/{ZK6DGZMB.js → RLVJNESL.js} +2 -2
  136. package/dist/cdn/{ZUTFMD26.js → RQJM6NSH.js} +2 -2
  137. package/dist/cdn/{GODFTSN6.js → RTMA3BWX.js} +1 -1
  138. package/dist/cdn/{OK6G4NZ6.js → RVAPQPCU.js} +2 -2
  139. package/dist/cdn/{COE2T3IC.js → RZLIKUZD.js} +2 -2
  140. package/dist/cdn/{MJMLDDP6.js → S554OZSO.js} +2 -2
  141. package/dist/cdn/{PIM3HE4W.js → SAFY5NXN.js} +2 -2
  142. package/dist/cdn/{S3XPRRLH.js → SM6INYHU.js} +2 -2
  143. package/dist/cdn/{NGYUIQ2F.js → SNTNU6YF.js} +2 -2
  144. package/dist/cdn/{O3YT7CCY.js → SOAGMW2W.js} +2 -2
  145. package/dist/cdn/{CBXBYR2T.js → SPLWJBOQ.js} +2 -2
  146. package/dist/cdn/{GZXKV3FK.js → SSGN2BHU.js} +2 -2
  147. package/dist/cdn/{53O72YQZ.js → STV6E3Q2.js} +2 -2
  148. package/dist/cdn/{BSYFMVXB.js → TB5IWWY7.js} +2 -2
  149. package/dist/cdn/{FEQ3ABLM.js → TUXSXAD5.js} +2 -2
  150. package/dist/cdn/{M2HPX57Z.js → TX3DMTPT.js} +2 -2
  151. package/dist/cdn/{25MZ7OFR.js → TXJMIQYF.js} +2 -2
  152. package/dist/cdn/{MJ7EXWI3.js → UCA2YLIS.js} +2 -2
  153. package/dist/cdn/{U3B2M2J5.js → UKKXXPM3.js} +2 -2
  154. package/dist/cdn/{6BIWNRTF.js → UXK22VWJ.js} +2 -2
  155. package/dist/cdn/{XNSR3EEW.js → UXVLNFNY.js} +2 -2
  156. package/dist/cdn/{RSSY46VF.js → VFBYNRDU.js} +2 -2
  157. package/dist/cdn/{3RE5N2YX.js → VFNW5F6Y.js} +2 -2
  158. package/dist/cdn/{ESEQ5ZDU.js → VUCPRK7G.js} +2 -2
  159. package/dist/cdn/{IPK6HHPB.js → VWM34ZA7.js} +2 -2
  160. package/dist/cdn/{XQMUMIDN.js → W4NSQQMA.js} +2 -2
  161. package/dist/cdn/{UEWQTNI5.js → W5RGWDZB.js} +2 -2
  162. package/dist/cdn/{XD3QBPEP.js → W5W47VDT.js} +2 -2
  163. package/dist/cdn/{3RKSYYQV.js → W7INKH4Q.js} +2 -2
  164. package/dist/cdn/{WFL5CUPR.js → WBIVO4CY.js} +2 -2
  165. package/dist/cdn/{X2WUSWGF.js → WDIWQ5UO.js} +2 -2
  166. package/dist/cdn/{NLKESODZ.js → WGA7DAM2.js} +2 -2
  167. package/dist/cdn/{EKBCZB3K.js → WOT6YJOO.js} +2 -2
  168. package/dist/cdn/{MFFQDW4H.js → WSFAPIVD.js} +2 -2
  169. package/dist/cdn/{ANZE43BL.js → WSTK6HSE.js} +1 -1
  170. package/dist/cdn/{OTLOERXQ.js → WZ3QQV7X.js} +2 -2
  171. package/dist/cdn/{BRO76FBO.js → WZBCZVM4.js} +2 -2
  172. package/dist/cdn/{ZQHJJUMX.js → WZLWKYHY.js} +2 -2
  173. package/dist/cdn/{U2LU6ZKF.js → XG763ISG.js} +2 -2
  174. package/dist/cdn/{YNJ4AXDW.js → XIWWAC6A.js} +2 -2
  175. package/dist/cdn/{SF5X4TOP.js → XMMDYJOU.js} +2 -2
  176. package/dist/cdn/{RZGM2L2T.js → XN64M3EM.js} +2 -2
  177. package/dist/cdn/{DL672OWD.js → XQMZ3EN6.js} +2 -2
  178. package/dist/cdn/{EJIOXFGS.js → XW6KMOMV.js} +2 -2
  179. package/dist/cdn/{MWRYENO6.js → XYQ67ZDZ.js} +1 -1
  180. package/dist/cdn/{QWLQRCZD.js → Y634P5EG.js} +2 -2
  181. package/dist/cdn/{PWBRIFTZ.js → Y6TZ7MXK.js} +2 -2
  182. package/dist/cdn/{EQPJWNRD.js → YZ5RJUGJ.js} +2 -2
  183. package/dist/cdn/{6GY3NIJF.js → ZDZCZAXB.js} +2 -2
  184. package/dist/cdn/{EDC33DH5.js → ZEQMS4D7.js} +2 -2
  185. package/dist/cdn/{Q5CIDLHE.js → ZORYRGP3.js} +2 -2
  186. package/dist/cdn/{BX2ANB7O.js → ZQC76BMD.js} +2 -2
  187. package/dist/cdn/index.js +2 -2
  188. package/dist/chunks/AnalysisViewModel.js +1 -1
  189. package/dist/chunks/async-utils.js +1 -1
  190. package/dist/chunks/basemap-gallery-resources.js +1 -1
  191. package/dist/chunks/chart-utils.js +1 -1
  192. package/dist/chunks/chartCommon.js +1 -1
  193. package/dist/chunks/component-utils.js +1 -1
  194. package/dist/chunks/createCloseEvent.js +1 -1
  195. package/dist/chunks/feature-utils.js +1 -1
  196. package/dist/chunks/globalCss.js +1 -1
  197. package/dist/chunks/heading.js +1 -1
  198. package/dist/chunks/layer-list.js +1 -1
  199. package/dist/chunks/legacyIcon.js +1 -1
  200. package/dist/chunks/maybe.js +1 -1
  201. package/dist/chunks/measurementUtils.js +1 -1
  202. package/dist/chunks/runtime.js +1 -1
  203. package/dist/chunks/useHandles.js +1 -1
  204. package/dist/chunks/useT9n.js +1 -1
  205. package/dist/chunks/useView.js +1 -1
  206. package/dist/chunks/useViewModel.js +1 -1
  207. package/dist/chunks/useWidget.js +1 -1
  208. package/dist/chunks/utils.js +1 -1
  209. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  210. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  211. package/dist/components/arcgis-attachments/customElement.js +1 -1
  212. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  213. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  214. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  215. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  216. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  217. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  218. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  219. package/dist/components/arcgis-compass/customElement.js +1 -1
  220. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  221. package/dist/components/arcgis-daylight/customElement.js +1 -1
  222. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  223. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  224. package/dist/components/arcgis-directions/customElement.js +1 -1
  225. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  226. package/dist/components/arcgis-editor/customElement.js +1 -1
  227. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  228. package/dist/components/arcgis-expand/customElement.js +1 -1
  229. package/dist/components/arcgis-feature/customElement.js +1 -1
  230. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  231. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  232. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  233. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  234. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  235. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  236. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  237. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  238. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  239. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  240. package/dist/components/arcgis-features/customElement.js +1 -1
  241. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  242. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  243. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  244. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  245. package/dist/components/arcgis-home/customElement.js +1 -1
  246. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  247. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  248. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  249. package/dist/components/arcgis-legend/customElement.js +1 -1
  250. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  251. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  252. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  253. package/dist/components/arcgis-locate/customElement.js +1 -1
  254. package/dist/components/arcgis-map/customElement.js +1 -1
  255. package/dist/components/arcgis-measurement/customElement.js +1 -1
  256. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  257. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  258. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  259. package/dist/components/arcgis-placement/customElement.js +1 -1
  260. package/dist/components/arcgis-print/customElement.js +1 -1
  261. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  262. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  263. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  264. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  265. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  266. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  267. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  268. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  269. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  270. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  271. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  272. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  273. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  274. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  275. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  276. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  277. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  278. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  279. package/dist/components/arcgis-scene/customElement.js +1 -1
  280. package/dist/components/arcgis-search/customElement.js +1 -1
  281. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  282. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  283. package/dist/components/arcgis-sketch/customElement.js +1 -1
  284. package/dist/components/arcgis-slice/customElement.js +1 -1
  285. package/dist/components/arcgis-slider/customElement.js +1 -1
  286. package/dist/components/arcgis-swipe/customElement.js +1 -1
  287. package/dist/components/arcgis-table-list/customElement.js +1 -1
  288. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  289. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  290. package/dist/components/arcgis-track/customElement.js +1 -1
  291. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  292. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  293. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  294. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  295. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  296. package/dist/components/arcgis-version-management/customElement.js +1 -1
  297. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  298. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  299. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  300. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  301. package/dist/components/arcgis-video/customElement.js +1 -1
  302. package/dist/components/arcgis-video-player/customElement.js +1 -1
  303. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  304. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  305. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  306. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  307. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  308. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  309. package/dist/components/arcgis-weather/customElement.js +1 -1
  310. package/dist/components/arcgis-zoom/customElement.js +1 -1
  311. package/dist/docs/api.json +2 -2
  312. package/dist/docs/docs.json +2 -2
  313. package/dist/docs/web-types.json +1 -1
  314. package/dist/index.js +1 -1
  315. package/dist/loader.js +1 -1
  316. package/package.json +3 -3
  317. package/dist/cdn/UQLSJQ4B.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{a as L}from"./WFL5CUPR.js";import"./NGYUIQ2F.js";import{a as S}from"./E4V7TCNB.js";import"./MJMLDDP6.js";import"./MJ7EXWI3.js";import"./FAZVIKHI.js";import{j as M}from"./MWRYENO6.js";import{a as y}from"./NE3ODVZC.js";import{H as v,I as f,J as T,K as h,L as A,M as o,O as w,j as r,x as C}from"./JE2XWTM2.js";import"./RCR5E7K6.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
3
+ v4.34.0-next.74 */
4
+ import{a as L}from"./WBIVO4CY.js";import"./SNTNU6YF.js";import{a as S}from"./KW4GDKMY.js";import"./S554OZSO.js";import"./UCA2YLIS.js";import"./C7MZWCJD.js";import{j as M}from"./XYQ67ZDZ.js";import{a as y}from"./76UPGQ7H.js";import{H as v,I as f,J as T,K as h,L as A,M as o,O as w,j as r,x as C}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import"./RCR5E7K6.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
3
+ v4.34.0-next.74 */
4
+ import"./5ZFHHEVG.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{J as o,O as l,j as i,x as n}from"./JE2XWTM2.js";import"./RCR5E7K6.js";export default $arcgis.t(([{watch:d}])=>{var s=class extends o{static{this.properties={viewModel:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.customTextElements,()=>this.requestUpdate(),{initial:!0})])}render(){let e=this.viewModel.templateOptions.customTextElements;return e?i`<div>${e.map(c=>{let[t,r]=Object.entries(c)[0];return t==="date"?null:i`<calcite-label>${t}<calcite-input .value=${r??""} @calciteInputInput=${m=>{let a=e.find(p=>{let[u]=Object.entries(p)[0];return u===t});a&&(a[t]=m.target.value)}}></calcite-input></calcite-label>`})}</div>`:null}};l("arcgis-print-custom-text-elements",s);return s},"core/reactiveUtils")
3
+ v4.34.0-next.74 */
4
+ import{J as o,O as l,j as i,x as n}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";export default $arcgis.t(([{watch:d}])=>{var s=class extends o{static{this.properties={viewModel:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.customTextElements,()=>this.requestUpdate(),{initial:!0})])}render(){let e=this.viewModel.templateOptions.customTextElements;return e?i`<div>${e.map(c=>{let[t,r]=Object.entries(c)[0];return t==="date"?null:i`<calcite-label>${t}<calcite-input .value=${r??""} @calciteInputInput=${m=>{let a=e.find(p=>{let[u]=Object.entries(p)[0];return u===t});a&&(a[t]=m.target.value)}}></calcite-input></calcite-label>`})}</div>`:null}};l("arcgis-print-custom-text-elements",s);return s},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{J as g,M as v,O as h,j as a,s as m,x as p}from"./JE2XWTM2.js";import"./RCR5E7K6.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=p}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,isVersionAdministrator:f,isVersioningApiAvailable:b,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,u=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&b||f,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,I=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${u} .value=${l}>${x}${I}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
3
+ v4.34.0-next.74 */
4
+ import{J as g,M as v,O as h,j as a,s as m,x as p}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=p}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,isVersionAdministrator:f,isVersioningApiAvailable:b,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,u=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&b||f,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,I=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${u} .value=${l}>${x}${I}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{C as R,D,K as w,h as T}from"./6F33QNJ6.js";import{N as y,o as P,u as v}from"./IVXXOKXQ.js";import{g as _}from"./YHJU3NAI.js";var m=class extends D{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let t=this.width(),s=this.height(),r=t/Math.abs(t),n=s/Math.abs(s),e=0,i=0,o=this.get("strokeWidth",0);this.get("containStroke",!1)&&(t-=r*o,s-=n*o,e+=r*o/2,i+=n*o/2);let a=t,h=s;if(_(a)&&_(h)){let u=Math.min(a,h)/2,l=v(this.get("cornerRadiusTL",8),u),d=v(this.get("cornerRadiusTR",8),u),c=v(this.get("cornerRadiusBR",8),u),g=v(this.get("cornerRadiusBL",8),u),b=Math.min(Math.abs(a/2),Math.abs(h/2));l=T(l,0,b),d=T(d,0,b),c=T(c,0,b),g=T(g,0,b);let p=this._display;p.moveTo(e+l*r,i),p.lineTo(e+a-d*r,i),d>0&&p.arcTo(e+a,i,e+a,i+d*n,d),p.lineTo(e+a,i+h-c*n),c>0&&p.arcTo(e+a,i+h,e+a-c*r,i+h,c),p.lineTo(e+g*r,i+h),g>0&&p.arcTo(e,i+h,e,i+h-g*n,g),p.lineTo(e,i+l*n),l>0&&p.arcTo(e,i,e+l*r,i,l),p.closePath()}}};Object.defineProperty(m,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(m,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:D.classNames.concat([m.className])});var f=class extends w{_afterNew(){this._settings.themeTags=y(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",m.new(this._root,{themeTags:y(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let t=this._prevSettings.icon,s=this.get("icon");s!==t&&(this._disposeProperty("icon"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.icon=s)}if(this.isDirty("label")){let t=this._prevSettings.label,s=this.get("label");s!==t&&(this._disposeProperty("label"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.label=s)}}};Object.defineProperty(f,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(f,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([f.className])});var x=class extends w{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=y(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=m.new(this._root,{themeTags:y(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(f.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:R.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(m.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(t){t&&this._disposers.push(t.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let t=this.startGrip,s=this.endGrip,r=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",e=>{this.setPrivateRaw("isBusy",!0);let i=this._display.toLocal(e.point),o=this.width(),a=this.height(),h=this.get("orientation"),u;h=="vertical"?u=(i.y-r.height()/2)/a:u=(i.x-r.width()/2)/o;let l,d;h=="vertical"?(l=u*a,d="y"):(l=u*o,d="x");let c=this.get("animationDuration",0);c>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:d,to:l,duration:c,easing:this.get("animationEasing")}))):(this.thumb.set(d,l),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(r.events.on("dblclick",e=>{if(!P(e.originalEvent,this))return;let i=this.get("animationDuration",0),o=this.get("animationEasing");this.animate({key:"start",to:0,duration:i,easing:o}),this.animate({key:"end",to:1,duration:i,easing:o})})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(s.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(r.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(t.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(s.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(r.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(s.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(s.on("y",()=>{this._updateThumb()})),this._disposers.push(r.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(t.set("x",0),s.set("x",0),this._disposers.push(r.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()-r.height()),0))),this._disposers.push(r.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("x",e=>this.width()/2)),this._disposers.push(s.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0))),this._disposers.push(s.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0)))):(t.set("y",0),s.set("y",0),this._disposers.push(r.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()-r.width()),0))),this._disposers.push(r.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("y",e=>this.height()/2)),this._disposers.push(s.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))),this._disposers.push(s.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let t="rangechanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let t="released";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}updateGrips(){let t=this.startGrip,s=this.endGrip,r=this.get("orientation"),n=this.height(),e=this.width();r=="vertical"?(t.set("y",n*this.get("start",0)),s.set("y",n*this.get("end",1))):(t.set("x",e*this.get("start",0)),s.set("x",e*this.get("end",1)));let i=this.getPrivate("positionTextFunction"),o=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,u;i?(h=i.call(this,this.get("start",0)),u=i.call(this,this.get("end",0))):(h=o+"%",u=a+"%"),t.set("ariaLabel",this._t("From %1",void 0,h)),t.set("ariaValueNow",""+o),t.set("ariaValueText",o+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100"),s.set("ariaLabel",this._t("To %1",void 0,u)),s.set("ariaValueNow",""+a),s.set("ariaValueText",a+"%"),s.set("ariaValueMin","0"),s.set("ariaValueMax","100")}_updateThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip,n=this.height(),e=this.width(),i=s.x(),o=r.x(),a=s.y(),h=r.y(),u=0,l=1;this.get("orientation")=="vertical"?_(a)&&_(h)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("height",h-a),t.set("y",a)),u=a/n,l=h/n):_(i)&&_(o)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("width",o-i),t.set("x",i)),u=i/e,l=o/e),this.getPrivate("isBusy")&&(this.get("start")!=u||this.get("end")!=l)&&(this.set("start",u),this.set("end",l));let d=this.getPrivate("positionTextFunction"),c=Math.round(this.get("start",0)*100),g=Math.round(this.get("end",0)*100),b,p;d?(b=d.call(this,this.get("start",0)),p=d.call(this,this.get("end",0))):(b=c+"%",p=g+"%"),t.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),t.set("ariaValueNow",""+c),t.set("ariaValueText",c+"%")}_updateGripsByThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip;if(this.get("orientation")=="vertical"){let n=t.height();s.set("y",t.y()),r.set("y",t.y()+n)}else{let n=t.width();s.set("x",t.x()),r.set("x",t.x()+n)}}};Object.defineProperty(x,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(x,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([x.className])});export{m as a,f as b,x as c};
3
+ v4.34.0-next.74 */
4
+ import{C as R,D,K as w,h as T}from"./LAQQAO47.js";import{N as y,o as P,u as v}from"./2TRLZJ2X.js";import{g as _}from"./FHNQT67F.js";var m=class extends D{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let t=this.width(),s=this.height(),r=t/Math.abs(t),n=s/Math.abs(s),e=0,i=0,o=this.get("strokeWidth",0);this.get("containStroke",!1)&&(t-=r*o,s-=n*o,e+=r*o/2,i+=n*o/2);let a=t,h=s;if(_(a)&&_(h)){let u=Math.min(a,h)/2,l=v(this.get("cornerRadiusTL",8),u),d=v(this.get("cornerRadiusTR",8),u),c=v(this.get("cornerRadiusBR",8),u),g=v(this.get("cornerRadiusBL",8),u),b=Math.min(Math.abs(a/2),Math.abs(h/2));l=T(l,0,b),d=T(d,0,b),c=T(c,0,b),g=T(g,0,b);let p=this._display;p.moveTo(e+l*r,i),p.lineTo(e+a-d*r,i),d>0&&p.arcTo(e+a,i,e+a,i+d*n,d),p.lineTo(e+a,i+h-c*n),c>0&&p.arcTo(e+a,i+h,e+a-c*r,i+h,c),p.lineTo(e+g*r,i+h),g>0&&p.arcTo(e,i+h,e,i+h-g*n,g),p.lineTo(e,i+l*n),l>0&&p.arcTo(e,i,e+l*r,i,l),p.closePath()}}};Object.defineProperty(m,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(m,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:D.classNames.concat([m.className])});var f=class extends w{_afterNew(){this._settings.themeTags=y(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",m.new(this._root,{themeTags:y(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let t=this._prevSettings.icon,s=this.get("icon");s!==t&&(this._disposeProperty("icon"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.icon=s)}if(this.isDirty("label")){let t=this._prevSettings.label,s=this.get("label");s!==t&&(this._disposeProperty("label"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.label=s)}}};Object.defineProperty(f,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(f,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([f.className])});var x=class extends w{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=y(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=m.new(this._root,{themeTags:y(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(f.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:R.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(m.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(t){t&&this._disposers.push(t.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let t=this.startGrip,s=this.endGrip,r=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",e=>{this.setPrivateRaw("isBusy",!0);let i=this._display.toLocal(e.point),o=this.width(),a=this.height(),h=this.get("orientation"),u;h=="vertical"?u=(i.y-r.height()/2)/a:u=(i.x-r.width()/2)/o;let l,d;h=="vertical"?(l=u*a,d="y"):(l=u*o,d="x");let c=this.get("animationDuration",0);c>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:d,to:l,duration:c,easing:this.get("animationEasing")}))):(this.thumb.set(d,l),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(r.events.on("dblclick",e=>{if(!P(e.originalEvent,this))return;let i=this.get("animationDuration",0),o=this.get("animationEasing");this.animate({key:"start",to:0,duration:i,easing:o}),this.animate({key:"end",to:1,duration:i,easing:o})})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(s.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(r.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(t.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(s.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(r.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(s.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(s.on("y",()=>{this._updateThumb()})),this._disposers.push(r.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(t.set("x",0),s.set("x",0),this._disposers.push(r.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()-r.height()),0))),this._disposers.push(r.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("x",e=>this.width()/2)),this._disposers.push(s.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0))),this._disposers.push(s.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0)))):(t.set("y",0),s.set("y",0),this._disposers.push(r.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()-r.width()),0))),this._disposers.push(r.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("y",e=>this.height()/2)),this._disposers.push(s.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))),this._disposers.push(s.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let t="rangechanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let t="released";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}updateGrips(){let t=this.startGrip,s=this.endGrip,r=this.get("orientation"),n=this.height(),e=this.width();r=="vertical"?(t.set("y",n*this.get("start",0)),s.set("y",n*this.get("end",1))):(t.set("x",e*this.get("start",0)),s.set("x",e*this.get("end",1)));let i=this.getPrivate("positionTextFunction"),o=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,u;i?(h=i.call(this,this.get("start",0)),u=i.call(this,this.get("end",0))):(h=o+"%",u=a+"%"),t.set("ariaLabel",this._t("From %1",void 0,h)),t.set("ariaValueNow",""+o),t.set("ariaValueText",o+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100"),s.set("ariaLabel",this._t("To %1",void 0,u)),s.set("ariaValueNow",""+a),s.set("ariaValueText",a+"%"),s.set("ariaValueMin","0"),s.set("ariaValueMax","100")}_updateThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip,n=this.height(),e=this.width(),i=s.x(),o=r.x(),a=s.y(),h=r.y(),u=0,l=1;this.get("orientation")=="vertical"?_(a)&&_(h)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("height",h-a),t.set("y",a)),u=a/n,l=h/n):_(i)&&_(o)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("width",o-i),t.set("x",i)),u=i/e,l=o/e),this.getPrivate("isBusy")&&(this.get("start")!=u||this.get("end")!=l)&&(this.set("start",u),this.set("end",l));let d=this.getPrivate("positionTextFunction"),c=Math.round(this.get("start",0)*100),g=Math.round(this.get("end",0)*100),b,p;d?(b=d.call(this,this.get("start",0)),p=d.call(this,this.get("end",0))):(b=c+"%",p=g+"%"),t.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),t.set("ariaValueNow",""+c),t.set("ariaValueText",c+"%")}_updateGripsByThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip;if(this.get("orientation")=="vertical"){let n=t.height();s.set("y",t.y()),r.set("y",t.y()+n)}else{let n=t.width();s.set("x",t.x()),r.set("x",t.x()+n)}}};Object.defineProperty(x,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(x,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([x.className])});export{m as a,f as b,x as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{J as r,O as l,j as a,x as o}from"./JE2XWTM2.js";import"./RCR5E7K6.js";var t=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:s,layoutItem:i,format:n}=this.viewModel.templateOptions,d=this.viewModel.state!=="ready"||!(s||i);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${d||!(s||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};l("arcgis-print-export-button",t);export{t as PrintExportButton};
3
+ v4.34.0-next.74 */
4
+ import{J as r,O as l,j as a,x as o}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";var t=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:s,layoutItem:i,format:n}=this.viewModel.templateOptions,d=this.viewModel.state!=="ready"||!(s||i);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${d||!(s||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};l("arcgis-print-export-button",t);export{t as PrintExportButton};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{H as l,I as c,J as u,O as v,i as p,j as s,s as o}from"./JE2XWTM2.js";import"./RCR5E7K6.js";var N=p`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends u{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=o(),this.arcgisFlowItemClose=o(),this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:I,currentUser:V,currentVersionIdentifier:d,executionError:g,heading:$,isVersionAdministrator:_,isVersioningApiAvailable:f,pageSize:r,serviceName:E,serviceUrl:a,state:w,strings:{headers:m},strings:n,versionInfos:b}}=this,P=s`<calcite-block .heading=${m.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:a})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let x=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,r,1).map(y=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:V,currentVersionIdentifier:d,isCurrentVersionCard:!1,isVersionAdministrator:_,isVersioningApiAvailable:f,serviceUrl:a,strings:n,versionInfo:y}}></arcgis-version-management-version-item>`),F=b.length>r?s`<calcite-block heading .label=${m.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=s`<calcite-list .label=${n.labels.versionList}>${C}</calcite-list>`,B=f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:a})}></calcite-fab>`:void 0,U=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${I} .description=${E} .heading=${$} .selected=${i} .showBackButton=${t} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${c(this._flowItemElement)}><calcite-panel .loading=${w==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${F}${L}${B}</calcite-panel>${x}${U}</calcite-panel></calcite-flow-item>`}};v("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
3
+ v4.34.0-next.74 */
4
+ import{H as l,I as c,J as u,O as v,i as p,j as s,s as o}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";var N=p`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends u{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=o(),this.arcgisFlowItemClose=o(),this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:I,currentUser:V,currentVersionIdentifier:d,executionError:g,heading:$,isVersionAdministrator:_,isVersioningApiAvailable:f,pageSize:r,serviceName:E,serviceUrl:a,state:w,strings:{headers:m},strings:n,versionInfos:b}}=this,P=s`<calcite-block .heading=${m.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:a})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let x=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,r,1).map(y=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:V,currentVersionIdentifier:d,isCurrentVersionCard:!1,isVersionAdministrator:_,isVersioningApiAvailable:f,serviceUrl:a,strings:n,versionInfo:y}}></arcgis-version-management-version-item>`),F=b.length>r?s`<calcite-block heading .label=${m.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=s`<calcite-list .label=${n.labels.versionList}>${C}</calcite-list>`,B=f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:a})}></calcite-fab>`:void 0,U=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${I} .description=${E} .heading=${$} .selected=${i} .showBackButton=${t} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${c(this._flowItemElement)}><calcite-panel .loading=${w==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${F}${L}${B}</calcite-panel>${x}${U}</calcite-panel></calcite-flow-item>`}};v("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import"./RCR5E7K6.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - d MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - d MMM",_date_day:"d MMM",_date_day_full:"d MMM",_date_week:"ww",_date_week_full:"d MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"v.C.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"a.m.","P.M.":"p.m.",January:"januari",February:"februari",March:"maart",April:"april",May:"mei",June:"juni",July:"juli",August:"augustus",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan",Feb:"feb",Mar:"mrt",Apr:"apr","May(short)":"mei",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"zondag",Monday:"maandag",Tuesday:"dinsdag",Wednesday:"woensdag",Thursday:"donderdag",Friday:"vrijdag",Saturday:"zaterdag",Sun:"Zo",Mon:"Ma",Tue:"Di",Wed:"Wo",Thu:"Do",Fri:"Vr",Sat:"Za",_dateOrd:function(e){let t="de";return(e==1||e==8||e>19)&&(t="ste"),t},"Zoom Out":"Uitzoomen",Play:"Afspelen",Stop:"Stoppen",Legend:"Legenda","Press ENTER to toggle":"Klik, tik of druk op Enter om aan of uit te zetten",Loading:"Laden",Home:"Home",Chart:"Grafiek","Serial chart":"Periodieke grafiek","X/Y chart":"X-Y grafiek","Pie chart":"Taartdiagram","Gauge chart":"Meterdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankey-diagram","Chord diagram":"Chord-diagram","Flow diagram":"Flow-diagram","TreeMap chart":"Treemap-grafiek",Series:"Reeks","Candlestick Series":"Candlestick-reeks","Column Series":"Kolomreeks","Line Series":"Lijnreeks","Pie Slice Series":"Taartpuntreeks","X/Y Series":"XY reeks",Map:"Kaart","Press ENTER to zoom in":"Druk op Enter om in te zoomen","Press ENTER to zoom out":"Druk op Enter om uit te zoomen","Use arrow keys to zoom in and out":"Zoom in of uit met de pijltjestoetsen","Use plus and minus keys on your keyboard to zoom in and out":"Zoom in of uit met de plus- en minustoetsen",Export:"Exporteren",Image:"Afbeelding",Data:"Data",Print:"Printen","Press ENTER to open":"Klik, tik of druk op Enter om te openen","Press ENTER to print.":"Klik, tik of druk op Enter om te printen","Press ENTER to export as %1.":"Klik, tik of druk op Enter om te exporteren als %1","(Press ESC to close this message)":"(Druk op ESC om dit bericht te sluiten)","Image Export Complete":"Afbeelding exporteren gereed","Export operation took longer than expected. Something might have gone wrong.":"Exportproces duurt langer dan verwacht. Er is misschien iets fout gegaan.","Saved from":"Opgeslagen via:",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Gebruik Tab om de hendels te selecteren of linker- en rechterpijltje om de selectie te veranderen","Use left and right arrows to move selection":"Gebruik linker- en rechterpijltje om de selectie te verplaatsen","Use left and right arrows to move left selection":"Gebruik linker- en rechterpijltje om de linkerselectie te verplaatsen","Use left and right arrows to move right selection":"Gebruik linker- en rechterpijltje om de rechterselectie te verplaatsen","Use TAB select grip buttons or up and down arrows to change selection":"Gebruik Tab om de hendels te selecteren of pijltje omhoog en omlaag om de selectie te veranderen","Use up and down arrows to move selection":"Gebruik pijltje omhoog en omlaag om de selectie te verplaatsen","Use up and down arrows to move lower selection":"Gebruik pijltje omhoog en omlaag om de onderste selectie te verplaatsen","Use up and down arrows to move upper selection":"Gebruik pijltje omhoog en omlaag om de bovenste selectie te verplaatsen","From %1 to %2":"Van %1 tot %2","From %1":"Van %1","To %1":"Tot %1","No parser available for file: %1":"Geen data-parser beschikbaar voor dit bestand: %1","Error parsing file: %1":"Fout tijdens parsen van bestand: %1","Unable to load file: %1":"Kan bestand niet laden: %1","Invalid date":"Ongeldige datum"};export{r as default};
3
+ v4.34.0-next.74 */
4
+ import"./5ZFHHEVG.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - d MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - d MMM",_date_day:"d MMM",_date_day_full:"d MMM",_date_week:"ww",_date_week_full:"d MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"v.C.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"a.m.","P.M.":"p.m.",January:"januari",February:"februari",March:"maart",April:"april",May:"mei",June:"juni",July:"juli",August:"augustus",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan",Feb:"feb",Mar:"mrt",Apr:"apr","May(short)":"mei",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"zondag",Monday:"maandag",Tuesday:"dinsdag",Wednesday:"woensdag",Thursday:"donderdag",Friday:"vrijdag",Saturday:"zaterdag",Sun:"Zo",Mon:"Ma",Tue:"Di",Wed:"Wo",Thu:"Do",Fri:"Vr",Sat:"Za",_dateOrd:function(e){let t="de";return(e==1||e==8||e>19)&&(t="ste"),t},"Zoom Out":"Uitzoomen",Play:"Afspelen",Stop:"Stoppen",Legend:"Legenda","Press ENTER to toggle":"Klik, tik of druk op Enter om aan of uit te zetten",Loading:"Laden",Home:"Home",Chart:"Grafiek","Serial chart":"Periodieke grafiek","X/Y chart":"X-Y grafiek","Pie chart":"Taartdiagram","Gauge chart":"Meterdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankey-diagram","Chord diagram":"Chord-diagram","Flow diagram":"Flow-diagram","TreeMap chart":"Treemap-grafiek",Series:"Reeks","Candlestick Series":"Candlestick-reeks","Column Series":"Kolomreeks","Line Series":"Lijnreeks","Pie Slice Series":"Taartpuntreeks","X/Y Series":"XY reeks",Map:"Kaart","Press ENTER to zoom in":"Druk op Enter om in te zoomen","Press ENTER to zoom out":"Druk op Enter om uit te zoomen","Use arrow keys to zoom in and out":"Zoom in of uit met de pijltjestoetsen","Use plus and minus keys on your keyboard to zoom in and out":"Zoom in of uit met de plus- en minustoetsen",Export:"Exporteren",Image:"Afbeelding",Data:"Data",Print:"Printen","Press ENTER to open":"Klik, tik of druk op Enter om te openen","Press ENTER to print.":"Klik, tik of druk op Enter om te printen","Press ENTER to export as %1.":"Klik, tik of druk op Enter om te exporteren als %1","(Press ESC to close this message)":"(Druk op ESC om dit bericht te sluiten)","Image Export Complete":"Afbeelding exporteren gereed","Export operation took longer than expected. Something might have gone wrong.":"Exportproces duurt langer dan verwacht. Er is misschien iets fout gegaan.","Saved from":"Opgeslagen via:",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Gebruik Tab om de hendels te selecteren of linker- en rechterpijltje om de selectie te veranderen","Use left and right arrows to move selection":"Gebruik linker- en rechterpijltje om de selectie te verplaatsen","Use left and right arrows to move left selection":"Gebruik linker- en rechterpijltje om de linkerselectie te verplaatsen","Use left and right arrows to move right selection":"Gebruik linker- en rechterpijltje om de rechterselectie te verplaatsen","Use TAB select grip buttons or up and down arrows to change selection":"Gebruik Tab om de hendels te selecteren of pijltje omhoog en omlaag om de selectie te veranderen","Use up and down arrows to move selection":"Gebruik pijltje omhoog en omlaag om de selectie te verplaatsen","Use up and down arrows to move lower selection":"Gebruik pijltje omhoog en omlaag om de onderste selectie te verplaatsen","Use up and down arrows to move upper selection":"Gebruik pijltje omhoog en omlaag om de bovenste selectie te verplaatsen","From %1 to %2":"Van %1 tot %2","From %1":"Van %1","To %1":"Tot %1","No parser available for file: %1":"Geen data-parser beschikbaar voor dit bestand: %1","Error parsing file: %1":"Fout tijdens parsen van bestand: %1","Unable to load file: %1":"Kan bestand niet laden: %1","Invalid date":"Ongeldige datum"};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import{a as q}from"./KNKBXPGG.js";import{a as R}from"./XQMUMIDN.js";import"./NGYUIQ2F.js";import c from"./NZWGMVUJ.js";import{a as O}from"./E4V7TCNB.js";import{a as T}from"./CTYEHVAN.js";import b from"./YG2RAVS4.js";import a from"./NMSEOA6T.js";import{f as N}from"./MJMLDDP6.js";import"./MJ7EXWI3.js";import"./FAZVIKHI.js";import"./MWRYENO6.js";import{a as E}from"./NE3ODVZC.js";import{I as p,J as M,K as l,M as v,O as L,i as D,j as r,s as w,w as U,x as A}from"./JE2XWTM2.js";import"./RCR5E7K6.js";export default $arcgis.t(([Z,{formatDate:V,convertDateFormatToIntlOptions:H},{isHTTPSProtocol:$,isDataProtocol:x},{watch:S},z,{property:g,subclass:j},,,P])=>{var m="arcgis-bookmarks",y=`${m}__authoring`,C=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${C}-image-container`,bookmarkContent:`${C}-content`,bookmarkContentLabel:`${C}-content-label`,authoring:y,authoringImageContainer:`${y}-image-container`,authoringRefreshThumbnailButton:`${y}-refresh-thumbnail-button`},G=D`@layer{arcgis-bookmarks{display:block}.arcgis-bookmarks{display:flex;background-color:transparent}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:16px;font-weight:400}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--2)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}}`,J=Object.defineProperty,K=Object.getOwnPropertyDescriptor,h=(n,e,t,i)=>{for(var a=i>1?void 0:i?K(e,t):e,o=n.length-1,s;o>=0;o--)(s=n[o])&&(a=(i?s(e,t,a):s(a))||a);return i&&a&&J(e,t,a),a},u=class extends z{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??($(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(x(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?$(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};h([g()],u.prototype,"bookmark",2);h([g({readOnly:!0})],u.prototype,"editedBookmark",1);h([g()],u.prototype,"_customUrl",2);h([g()],u.prototype,"customUrl",1);h([g()],u.prototype,"_screenshotUrl",2);h([g()],u.prototype,"screenshotUrl",1);h([g()],u.prototype,"state",1);h([g()],u.prototype,"_thumbnailState",2);h([g()],u.prototype,"thumbnailState",1);h([g()],u.prototype,"validationState",2);h([g()],u.prototype,"creatingBookmark",2);u=h([j("UserState")],u);var Q=P(Z),F=class extends M{constructor(){super(...arguments),this._guid=U(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=O({}),this.viewModel=Q(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this.position="top-left",this.icon="icon",this.closed=!1,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultEditOptions=this.viewModel.defaultEditOptions,this.bookmarks=this.viewModel.bookmarks,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.goToOverride=this.viewModel.goToOverride,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=this.viewModel.capabilities.time,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisBookmarkEdit=w(),this.arcgisBookmarkSelect=w(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=w()}static{this.properties={_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,referenceElement:1,position:3,icon:1,closed:5,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:0,disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,hideFlow:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=G}static{this.shadowRootOptions=A}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),S(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),S(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),S(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),S(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}startAddBookmark(){this._userState=new u({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:a,end:o}=i,s=o!=null&&(a==null||a.getTime()!==o.getTime()),d=a?this._formatDate(a):"",b=a&&!t?this._formatTime(a):"";if(!s)return{startDate:d,startTime:b};let f=this._formatDate(o),k=t?"":this._formatTime(o);return{startDate:d,startTime:b,endDate:f,endTime:k}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,x(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let a={url:i};$(a.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=a)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return V(e,{...H("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return V(e,{...H("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:a,fromEl:o,dragEl:s,newIndex:d}=e;if(!i.length)return;let b=t?.newIndex===d&&t?.dragEl===s&&t?.toEl===a&&t?.fromEl===o;if(!o||!a||b)return;this._lastDragDetail=e;let f=Array.from(o.children).filter(k=>k?.matches("calcite-list-item")).map(k=>k.value);i.sort((k,I)=>{let B=f.indexOf(k.uid),_=f.indexOf(I.uid);return B>_?1:B<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new u({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&($(t)?e.customUrl=t:x(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:a,editedBookmark:o}=t,s=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&a?a:null;this._storeCurrentUrl(),o&&s&&(o.thumbnail={url:s}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:a}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let s=await i.createBookmark();s.name=o,a.add(s),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:a}}=this;await i.editBookmark(e,{...a,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:a,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let s=i?.value.trim();if(!s){t.validationState="name-required";return}if(t.bookmark.name=s,t.bookmark.thumbnail=t.editedBookmark.thumbnail,a||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!$(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:a})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:a}=e;t.insertBefore(i,t.children[a])}render(){return r`<div class=${l(E(c.base,T.widget,{[T.panel]:!this.closed}))}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?r`<div class=${l(c.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${R({class:E(T.heading,c.noBookmarksHeader),level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${l(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:a,disabled:o,filterPlaceholder:s,filterText:d,closed:b,headingLevel:f}=this,k=t.filter(_=>_!=null),I=k.length?r`<calcite-list class=${l(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${s} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${a.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(k)}${this.showFilter?r`<div class=${l(c.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${a.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,B=[r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${b} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?a.componentLabel:void 0} .headingLevel=${f} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${()=>this.closed=!0} ${p(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(k)}${I}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return b?null:this.hideFlow?B:r`<calcite-flow>${B}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:a}}=this,o=this._userCreatingBookmark;return i&&a!=="loading"&&this.showAddBookmarkButton?r`<calcite-fab appearance=outline-fill class=${l(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??v}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?r`<calcite-action appearance=transparent icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??v}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?r`<img alt class=${l(c.bookmarkImage)} src=${e.thumbnail?.url??v}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:a}=e;return i?.timeExtent??a?r`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!a} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:a,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let s=`${t} ${i}`,d=`${a} ${o}`;return a?`${s} - ${d}`:s}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:a,startTime:o,endDate:s,endTime:d}=this._getTimeExtentStrings(e),b=t?null:r`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${s?r`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return a?r`<calcite-table .caption=${i.timeExtent??""} scale=s>${b}<calcite-table-row><calcite-table-cell>${a} ${o?[r`<br>`,o]:null}</calcite-table-cell>${s?r`<calcite-table-cell>${s}${d?[r`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?r`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?r`<calcite-loader class=${l(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?r`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return r`<div class=${l(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return q(e.uid,r`<calcite-list-item class=${l(E({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return r`<div class=${l(c.bookmarkContent)} slot=content><span class=${l(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return r`<calcite-label>${t.title}<calcite-input class=${l(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${p(this._storeEditInput)}></calcite-input>${i?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[r`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,r`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,r`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:a}=e;return t.time&&(i?.timeExtent??a)?r`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",a=$(i)?t==="url":x(i)?t==="screenshot":null;if(a)return this._renderBookmarkImage(e,a)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?r`<div class=${l(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?r`<calcite-button appearance=outline class=${l(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:a}=this,o=e.thumbnail?.url??"",s=$(o)?o:void 0,d=o&&i==="absolute-url-required";return a==="url"?r`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??v} type=text .value=${s} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${p(this._storeUrlEditInput)}></calcite-input>${d?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:r`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${a=>this._handleThumbnailTypeSelect(a.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:a}=this;return e?r`<form class=${l(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${a} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${p(this._storeEditFlowItemNode)}><div class=${l(c.formContent)}><div class=${l(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return r`<calcite-label>${e.title}<calcite-input class=${l(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${p(this._storeAddInput)}></calcite-input>${t?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[r`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,r`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:a}=this;return a==="add"?r`<form class=${l(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${p(this._storeAddFlowItemNode)}><div class=${l(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};L("arcgis-bookmarks",F);return F},"widgets/Bookmarks/BookmarksViewModel","intl","core/urlUtils","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",a,b,c)
3
+ v4.34.0-next.74 */
4
+ import{a as q}from"./FXPZ7XYP.js";import{a as R}from"./W4NSQQMA.js";import"./SNTNU6YF.js";import c from"./DNR2LAEZ.js";import{a as O}from"./KW4GDKMY.js";import{a as T}from"./AQITH2EU.js";import b from"./23QS5PJA.js";import a from"./2D5L3ILJ.js";import{f as N}from"./S554OZSO.js";import"./UCA2YLIS.js";import"./C7MZWCJD.js";import"./XYQ67ZDZ.js";import{a as E}from"./76UPGQ7H.js";import{I as p,J as M,K as l,M as v,O as L,i as D,j as r,s as w,w as U,x as A}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";export default $arcgis.t(([Z,{formatDate:V,convertDateFormatToIntlOptions:H},{isHTTPSProtocol:$,isDataProtocol:x},{watch:S},z,{property:g,subclass:j},,,P])=>{var m="arcgis-bookmarks",y=`${m}__authoring`,C=`${m}__bookmark`,c={base:m,empty:`${m}__empty`,noBookmarksHeader:`${m}__no-bookmarks-heading`,noBookmarksDescription:`${m}__no-bookmarks-description`,form:`${m}__form`,list:`${m}__list`,loader:`${m}__loader`,filterNoResults:`${m}__filter-no-results`,formContent:`${m}__form-content`,addBookmarkButton:`${m}__add-bookmark-button`,editBookmarkInput:`${m}__edit-bookmark-input`,addBookmarkInput:`${m}__add-bookmark-input`,dragEnabled:`${m}--drag-enabled`,bookmarkImage:`${m}__image`,bookmarkImageContainer:`${C}-image-container`,bookmarkContent:`${C}-content`,bookmarkContentLabel:`${C}-content-label`,authoring:y,authoringImageContainer:`${y}-image-container`,authoringRefreshThumbnailButton:`${y}-refresh-thumbnail-button`},G=D`@layer{arcgis-bookmarks{display:block}.arcgis-bookmarks{display:flex;background-color:transparent}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:16px;font-weight:400}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--2)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}}`,J=Object.defineProperty,K=Object.getOwnPropertyDescriptor,h=(n,e,t,i)=>{for(var a=i>1?void 0:i?K(e,t):e,o=n.length-1,s;o>=0;o--)(s=n[o])&&(a=(i?s(e,t,a):s(a))||a);return i&&a&&J(e,t,a),a},u=class extends z{constructor(n){super(n)}get editedBookmark(){let{bookmark:n}=this;return n?this._get("editedBookmark")||n.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??($(n)?n:null)}set customUrl(n){this._customUrl=n}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let n=this.editedBookmark?.thumbnail?.url??"";return n??(x(n)?n:null)}set screenshotUrl(n){this._screenshotUrl=n}get state(){return this._get("state")}set state(n){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",n)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let n=this.editedBookmark?.thumbnail?.url;return n?$(n)?"url":"screenshot":"none"}set thumbnailState(n){this._thumbnailState=n}};h([g()],u.prototype,"bookmark",2);h([g({readOnly:!0})],u.prototype,"editedBookmark",1);h([g()],u.prototype,"_customUrl",2);h([g()],u.prototype,"customUrl",1);h([g()],u.prototype,"_screenshotUrl",2);h([g()],u.prototype,"screenshotUrl",1);h([g()],u.prototype,"state",1);h([g()],u.prototype,"_thumbnailState",2);h([g()],u.prototype,"thumbnailState",1);h([g()],u.prototype,"validationState",2);h([g()],u.prototype,"creatingBookmark",2);u=h([j("UserState")],u);var Q=P(Z),F=class extends M{constructor(){super(...arguments),this._guid=U(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=O({}),this.viewModel=Q(this),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this.position="top-left",this.icon="icon",this.closed=!1,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultEditOptions=this.viewModel.defaultEditOptions,this.bookmarks=this.viewModel.bookmarks,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.goToOverride=this.viewModel.goToOverride,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=this.viewModel.capabilities.time,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisBookmarkEdit=w(),this.arcgisBookmarkSelect=w(),this.arcgisPropertyChange=N()("state"),this.arcgisReady=w()}static{this.properties={_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,referenceElement:1,position:3,icon:1,closed:5,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:0,disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,hideFlow:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=G}static{this.shadowRootOptions=A}async destroy(){await this.manager.destroy()}goTo(e){return this.viewModel.goTo(e)}loaded(){this.manager.onLifecycle(()=>[this.viewModel.on("bookmark-select",this.arcgisBookmarkSelect.emit),this.viewModel.on("bookmark-edit",this.arcgisBookmarkEdit.emit),S(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),S(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),S(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),S(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}startAddBookmark(){this._userState=new u({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:a,end:o}=i,s=o!=null&&(a==null||a.getTime()!==o.getTime()),d=a?this._formatDate(a):"",b=a&&!t?this._formatTime(a):"";if(!s)return{startDate:d,startTime:b};let f=this._formatDate(o),k=t?"":this._formatTime(o);return{startDate:d,startTime:b,endDate:f,endTime:k}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,x(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let a={url:i};$(a.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=a)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return V(e,{...H("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.viewModel.view,i=t&&"timeZone"in t?t.timeZone:"system";return V(e,{...H("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:a,fromEl:o,dragEl:s,newIndex:d}=e;if(!i.length)return;let b=t?.newIndex===d&&t?.dragEl===s&&t?.toEl===a&&t?.fromEl===o;if(!o||!a||b)return;this._lastDragDetail=e;let f=Array.from(o.children).filter(k=>k?.matches("calcite-list-item")).map(k=>k.value);i.sort((k,I)=>{let B=f.indexOf(k.uid),_=f.indexOf(I.uid);return B>_?1:B<_?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new u({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.viewModel.goTo(e))}async _createNewScreenshotUrl(){return(await this.viewModel.createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&($(t)?e.customUrl=t:x(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:a,editedBookmark:o}=t,s=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&a?a:null;this._storeCurrentUrl(),o&&s&&(o.thumbnail={url:s}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,viewModel:i,viewModel:{bookmarks:a}}=this;if(!t)return;let o=e?e.value.trim():null;if(!o){t.validationState="name-required";return}t.creatingBookmark=!0;let s=await i.createBookmark();s.name=o,a.add(s),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{viewModel:i,viewModel:{defaultEditOptions:a}}=this;await i.editBookmark(e,{...a,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:a,_urlEditInputNode:o}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let s=i?.value.trim();if(!s){t.validationState="name-required";return}if(t.bookmark.name=s,t.bookmark.thumbnail=t.editedBookmark.thumbnail,a||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&o){let d={url:o.value};if(!$(d.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=d}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:a})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.viewModel.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.viewModel.goTo(e)}async _updateThumbnail(){let{_userState:e,viewModel:t}=this;e&&(e.validationState=void 0,await t.editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:a}=e;t.insertBefore(i,t.children[a])}render(){return r`<div class=${l(E(c.base,T.widget,{[T.panel]:!this.closed}))}>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,viewModel:{state:i}}=this;return!e.length&&i!=="loading"?r`<div class=${l(c.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${R({class:E(T.heading,c.noBookmarksHeader),level:this.headingLevel,children:t.noBookmarksHeading})}<p class=${l(c.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{viewModel:{state:e,bookmarks:t},dragEnabled:i,messages:a,disabled:o,filterPlaceholder:s,filterText:d,closed:b,headingLevel:f}=this,k=t.filter(_=>_!=null),I=k.length?r`<calcite-list class=${l(c.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${s} .filterProps=${["label","description","metadata"]} .filterText=${d} .group=${`bookmarks-${this._guid}`} .label=${a.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${_=>this._handleCalciteListDragEnd(_.detail)} @calciteListFilter=${_=>this.filterText=_.currentTarget?.filterText??""} @calciteListOrderChange=${_=>this._onCalciteListOrderChange(_.detail)}>${this._renderBookmarkItems(k)}${this.showFilter?r`<div class=${l(c.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${a.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,B=[r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${b} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading?a.componentLabel:void 0} .headingLevel=${f} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${()=>this.closed=!0} ${p(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(k)}${I}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return b?null:this.hideFlow?B:r`<calcite-flow>${B}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,viewModel:{view:i,state:a}}=this,o=this._userCreatingBookmark;return i&&a!=="loading"&&this.showAddBookmarkButton?r`<calcite-fab appearance=outline-fill class=${l(c.addBookmarkButton)} .disabled=${t||o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??v}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?r`<calcite-action appearance=transparent icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??v}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?r`<img alt class=${l(c.bookmarkImage)} src=${e.thumbnail?.url??v}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,viewModel:{view:i}}=this,{timeExtent:a}=e;return i?.timeExtent??a?r`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!a} @calciteSwitchChange=${o=>{this.editIncludeTimeExtent=!!o.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:a,endTime:o}=this._getTimeExtentStrings(e);if(!t)return"";let s=`${t} ${i}`,d=`${a} ${o}`;return a?`${s} - ${d}`:s}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:a,startTime:o,endDate:s,endTime:d}=this._getTimeExtentStrings(e),b=t?null:r`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${s?r`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`;return a?r`<calcite-table .caption=${i.timeExtent??""} scale=s>${b}<calcite-table-row><calcite-table-cell>${a} ${o?[r`<br>`,o]:null}</calcite-table-cell>${s?r`<calcite-table-cell>${s}${d?[r`<br>`,d]:null}</calcite-table-cell>`:null}</calcite-table-row></calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this.viewModel.activeBookmark===e&&t?r`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this.viewModel.activeBookmark===e&&!t?r`<calcite-loader class=${l(c.loader)} inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this.viewModel.activeBookmark!==e&&!t?r`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return r`<div class=${l(c.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return q(e.uid,r`<calcite-list-item class=${l(E({[c.dragEnabled]:this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return r`<div class=${l(c.bookmarkContent)} slot=content><span class=${l(c.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return r`<calcite-label>${t.title}<calcite-input class=${l(c.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${p(this._storeEditInput)}></calcite-input>${i?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[r`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,r`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,r`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{capabilities:t,view:i}=this.viewModel,{timeExtent:a}=e;return t.time&&(i?.timeExtent??a)?r`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",a=$(i)?t==="url":x(i)?t==="screenshot":null;if(a)return this._renderBookmarkImage(e,a)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?r`<div class=${l(c.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?r`<calcite-button appearance=outline class=${l(c.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${()=>void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:a}=this,o=e.thumbnail?.url??"",s=$(o)?o:void 0,d=o&&i==="absolute-url-required";return a==="url"?r`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??v} type=text .value=${s} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${p(this._storeUrlEditInput)}></calcite-input>${d?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:r`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${a=>this._handleThumbnailTypeSelect(a.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:a}=this;return e?r`<form class=${l(c.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${a} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${o=>{o.preventDefault(),this._closeEditBookmarkForm()}} ${p(this._storeEditFlowItemNode)}><div class=${l(c.formContent)}><div class=${l(c.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return r`<calcite-label>${e.title}<calcite-input class=${l(c.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${p(this._storeAddInput)}></calcite-input>${t?r`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[r`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,r`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:a}=this;return a==="add"?r`<form class=${l(c.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${o=>{o.preventDefault(),this._endAddBookmark()}} ${p(this._storeAddFlowItemNode)}><div class=${l(c.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};L("arcgis-bookmarks",F);return F},"widgets/Bookmarks/BookmarksViewModel","intl","core/urlUtils","core/reactiveUtils","core/Accessor","core/accessorSupport/decorators",a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import"./GODFTSN6.js";import a from"./FG35G3NL.js";import{a as O}from"./KNKBXPGG.js";import"./FAZVIKHI.js";import{a as V}from"./NE3ODVZC.js";import{I as f,J as k,K as h,O as B,i as Q,j as l,o as E,x as j}from"./JE2XWTM2.js";import"./RCR5E7K6.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:Z},{isRelatableFeatureSupportedLayer:ee,findRelatedLayer:te},{substitute:re,formatNumber:W},{watch:F,on:ie},z,G,{ignoreAbortErrors:M},se,{g:H}])=>{var T=(y,e=100)=>{let t;return(...r)=>{let i=()=>{clearTimeout(t),y(...r)};clearTimeout(t),t=setTimeout(i,e)}};var J=V,N=T,ae=Q`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,le=y=>{let e=[];if(y.formTemplate){let{description:t,title:r}=y.formTemplate;y.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},S=100,w="arcgis-feature",m=`${w}-relationship`,u={base:m,listContainer:`${m}__list`,listItem:`${m}__list-item`,listItemHidden:`${m}__list-item--hidden`,listContainerQuerying:`${m}__list--querying`,featureObserver:`${w}__feature-observer`,stickySpinnerContainer:`${w}__sticky-loading-container`,loadingSpinnerContainer:`${w}__loading-container`},x=class extends k{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await M(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await M(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await M(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=N(this._queryController,S),this._queryFeatureCountDebounced=N(this._queryFeatureCountController,S),this._queryPageDebounced=N(this._queryPageController,S),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ae}static{this.shadowRootOptions=j}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&ee(e.parent)?e.parent:e;return te(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return re(e?.numberRecords??"",{number:W(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ie(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:A}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:q}=await A({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),R=q.map(({count:c,value:g})=>{let C=t.subtypes?.find(L=>L.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=R}return}let{historicMoment:b,gdbVersion:I}=e,$=new G({cacheHint:v,gdbVersion:I,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount($,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:v,showAllEnabled:b,supportsCacheHint:I}=this,{canQuery:$,objectId:p}=this;if(!$||!a||!o||p==null)return[];let A=b?((i-1)*s+r)%r:0,q=b?s:t,R=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...le(o),..._,R,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:U}=a,X=new G({orderByFields:C,start:A,num:q,outFields:g,cacheHint:I,historicMoment:L,gdbVersion:U,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(o)}),P=(await a.queryRelatedFeatures(X,{signal:e?.signal}))[p]?.features||[];return o.type==="subtype-group"&&c?P.forEach(d=>{let Y=d.attributes[c],D=o.findSublayerForSubtypeCode?.(Y);d.sourceLayer=D,d.layer=D}):P.forEach(d=>{d.sourceLayer=o,d.layer=o}),P}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&E(O(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){E(O(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new se({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=W(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(J(u.listItem,{[u.listItemHidden]:a}))} .description=${Z(s.toString())} .label=${Z(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(J(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
3
+ v4.34.0-next.74 */
4
+ import"./RTMA3BWX.js";import a from"./BNY257PV.js";import{a as O}from"./FXPZ7XYP.js";import"./C7MZWCJD.js";import{a as V}from"./76UPGQ7H.js";import{I as f,J as k,K as h,O as B,i as Q,j as l,o as E,x as j}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:Z},{isRelatableFeatureSupportedLayer:ee,findRelatedLayer:te},{substitute:re,formatNumber:W},{watch:F,on:ie},z,G,{ignoreAbortErrors:M},se,{g:H}])=>{var T=(y,e=100)=>{let t;return(...r)=>{let i=()=>{clearTimeout(t),y(...r)};clearTimeout(t),t=setTimeout(i,e)}};var J=V,N=T,ae=Q`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,le=y=>{let e=[];if(y.formTemplate){let{description:t,title:r}=y.formTemplate;y.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},S=100,w="arcgis-feature",m=`${w}-relationship`,u={base:m,listContainer:`${m}__list`,listItem:`${m}__list-item`,listItemHidden:`${m}__list-item--hidden`,listContainerQuerying:`${m}__list--querying`,featureObserver:`${w}__feature-observer`,stickySpinnerContainer:`${w}__sticky-loading-container`,loadingSpinnerContainer:`${w}__loading-container`},x=class extends k{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await M(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await M(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await M(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=N(this._queryController,S),this._queryFeatureCountDebounced=N(this._queryFeatureCountController,S),this._queryPageDebounced=N(this._queryPageController,S),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new z,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new z,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ae}static{this.shadowRootOptions=j}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&ee(e.parent)?e.parent:e;return te(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return re(e?.numberRecords??"",{number:W(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[F(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),F(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),F(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),F(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),ie(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:v}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:A}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:q}=await A({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),R=q.map(({count:c,value:g})=>{let C=t.subtypes?.find(L=>L.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=R}return}let{historicMoment:b,gdbVersion:I}=e,$=new G({cacheHint:v,gdbVersion:I,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),p=await e.queryRelatedFeaturesCount($,{signal:r?.signal});this.allCategories=void 0,this.featureCount=p[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:v,showAllEnabled:b,supportsCacheHint:I}=this,{canQuery:$,objectId:p}=this;if(!$||!a||!o||p==null)return[];let A=b?((i-1)*s+r)%r:0,q=b?s:t,R=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...le(o),..._,R,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:L,gdbVersion:U}=a,X=new G({orderByFields:C,start:A,num:q,outFields:g,cacheHint:I,historicMoment:L,gdbVersion:U,relationshipId:v,returnGeometry:!1,objectIds:[p],where:this._getRelationshipWhereClause(o)}),P=(await a.queryRelatedFeatures(X,{signal:e?.signal}))[p]?.features||[];return o.type==="subtype-group"&&c?P.forEach(d=>{let Y=d.attributes[c],D=o.findSublayerForSubtypeCode?.(Y);d.sourceLayer=D,d.layer=D}):P.forEach(d=>{d.sourceLayer=o,d.layer=o}),P}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&E(O(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){E(O(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new se({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=W(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(J(u.listItem,{[u.listItemHidden]:a}))} .description=${Z(s.toString())} .label=${Z(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(J(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};B("arcgis-feature-relationship",x);return x},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.72 */
4
- import i from"./NZWGMVUJ.js";import{a as p}from"./E4V7TCNB.js";import{a as f}from"./CTYEHVAN.js";import d from"./YG2RAVS4.js";import b from"./NMSEOA6T.js";import{f as m}from"./MJMLDDP6.js";import"./MJ7EXWI3.js";import"./FAZVIKHI.js";import"./MWRYENO6.js";import{a as g}from"./NE3ODVZC.js";import{H as h,I as c,J as v,K as a,O as u,i as l,j as e,s,x as n}from"./JE2XWTM2.js";import"./RCR5E7K6.js";export default $arcgis.t(([M,{watch:t},,,_])=>{var $=l`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,y="arcgis-video-player",w={base:y,videoView:`${y}__video-view`},b=_(M),o=class extends v{constructor(){super(...arguments),this.messages=p({blocking:!0}),this.viewModel=b(this),this._videoViewRef=h(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=$}static{this.shadowRootOptions=n}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),t(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return e`<div class=${a(g(w.base,f.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${c(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,i)
3
+ v4.34.0-next.74 */
4
+ import i from"./DNR2LAEZ.js";import{a as p}from"./KW4GDKMY.js";import{a as f}from"./AQITH2EU.js";import d from"./23QS5PJA.js";import b from"./2D5L3ILJ.js";import{f as m}from"./S554OZSO.js";import"./UCA2YLIS.js";import"./C7MZWCJD.js";import"./XYQ67ZDZ.js";import{a as g}from"./76UPGQ7H.js";import{H as h,I as c,J as v,K as a,O as u,i as l,j as e,s,x as n}from"./5VHZWIE3.js";import"./5ZFHHEVG.js";export default $arcgis.t(([M,{watch:t},,,_])=>{var $=l`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,y="arcgis-video-player",w={base:y,videoView:`${y}__video-view`},b=_(M),o=class extends v{constructor(){super(...arguments),this.messages=p({blocking:!0}),this.viewModel=b(this),this._videoViewRef=h(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=m()("state","layer"),this.arcgisReady=s(),this.arcgisVideoReady=s()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=$}static{this.shadowRootOptions=n}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[t(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),t(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),t(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0}),t(()=>this.viewModel.view?.map,()=>this.requestUpdate())])}render(){return e`<div class=${a(g(w.base,f.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${c(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};u("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,i)