@arcgis/map-components 5.2.0-next.62 → 5.2.0-next.63

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 (291) hide show
  1. package/dist/cdn/2CRPXLAY.js +2 -0
  2. package/dist/cdn/2CUYHI36.js +2 -0
  3. package/dist/cdn/{7HLWU5PX.js → 2DCEODPQ.js} +1 -1
  4. package/dist/cdn/{4BFCBXCA.js → 2N34V44S.js} +1 -1
  5. package/dist/cdn/{5W7XCJ5B.js → 2WLXD7OI.js} +1 -1
  6. package/dist/cdn/{X2QNONZE.js → 2XFBIC3F.js} +1 -1
  7. package/dist/cdn/2XJT2TPM.js +2 -0
  8. package/dist/cdn/35HJTZDP.js +2 -0
  9. package/dist/cdn/{UI32UC33.js → 36ZK37RS.js} +1 -1
  10. package/dist/cdn/{QKCBSK73.js → 3EYX5DTH.js} +1 -1
  11. package/dist/cdn/3H2WSSI4.js +2 -0
  12. package/dist/cdn/{XQP3UJJB.js → 3K5L7C4B.js} +1 -1
  13. package/dist/cdn/{6KHHCJ5X.js → 3RQ3RPYE.js} +1 -1
  14. package/dist/cdn/{XFH2TUXK.js → 3TZJEZDM.js} +1 -1
  15. package/dist/cdn/{RYXTEZZH.js → 3VRGZ2CJ.js} +1 -1
  16. package/dist/cdn/{JLO3FL27.js → 3Y4QI3WS.js} +1 -1
  17. package/dist/cdn/{APOCPBJG.js → 3Y5SDD5P.js} +1 -1
  18. package/dist/cdn/46OBBNLU.js +2 -0
  19. package/dist/cdn/{HWDZDKDX.js → 4B63G73N.js} +1 -1
  20. package/dist/cdn/{RONABERI.js → 4BYHEBLT.js} +1 -1
  21. package/dist/cdn/{OANCY5SX.js → 4ZPF4DPX.js} +1 -1
  22. package/dist/cdn/{AC43TA2Y.js → 54O3XEKS.js} +1 -1
  23. package/dist/cdn/{AX6GSVZL.js → 5AO4WCMO.js} +1 -1
  24. package/dist/cdn/{3YGZGNIG.js → 5O7NTWBV.js} +1 -1
  25. package/dist/cdn/{2ZETLPCO.js → 5OBZQUJE.js} +1 -1
  26. package/dist/cdn/{SWAX3RUB.js → 5OQPKSGX.js} +1 -1
  27. package/dist/cdn/{HCEP3NVU.js → 6BD3TWBH.js} +1 -1
  28. package/dist/cdn/{M5BID47D.js → 6GIDI7Z2.js} +1 -1
  29. package/dist/cdn/{DFLF2GHB.js → 6JYLZLVD.js} +1 -1
  30. package/dist/cdn/{YQ2OS5PW.js → 6N5H4GYH.js} +1 -1
  31. package/dist/cdn/{VVLDHLAY.js → 6OVA7KIZ.js} +1 -1
  32. package/dist/cdn/{HFPQ7CSJ.js → 6UESIAYD.js} +1 -1
  33. package/dist/cdn/{RLA7OC3V.js → 6W3RHVL6.js} +1 -1
  34. package/dist/cdn/{CZ35ZBQO.js → 6YLBLUPL.js} +1 -1
  35. package/dist/cdn/74IVEAEO.js +2 -0
  36. package/dist/cdn/{M6WSCBQP.js → 7BQONNCF.js} +1 -1
  37. package/dist/cdn/{2DHPGACO.js → 7GGF4VK3.js} +1 -1
  38. package/dist/cdn/AACRVMCQ.js +2 -0
  39. package/dist/cdn/{6NNRGJYB.js → AATMBHJB.js} +1 -1
  40. package/dist/cdn/{XB7KKTY6.js → ACHF5ALD.js} +1 -1
  41. package/dist/cdn/{QZLVTEOQ.js → AIUZUNQB.js} +1 -1
  42. package/dist/cdn/{J2AISQHP.js → ALID7JW4.js} +1 -1
  43. package/dist/cdn/{7ICJOTUR.js → AM3UJO3A.js} +1 -1
  44. package/dist/cdn/{OWAKPT2D.js → AOZTFK3U.js} +1 -1
  45. package/dist/cdn/{GHTQIXMG.js → APBDKO3B.js} +1 -1
  46. package/dist/cdn/{HFKN54XG.js → AVFYZ2BD.js} +1 -1
  47. package/dist/cdn/{BU6JMSUW.js → AVHHBQZF.js} +1 -1
  48. package/dist/cdn/{L7AWHKQN.js → B2EZWEK5.js} +1 -1
  49. package/dist/cdn/{VPXMBT5B.js → BE273TAF.js} +1 -1
  50. package/dist/cdn/BEEFONS5.js +2 -0
  51. package/dist/cdn/{EFUM5T3J.js → BEOMWPHI.js} +1 -1
  52. package/dist/cdn/{4T4GCBM3.js → BL743E5J.js} +1 -1
  53. package/dist/cdn/{VFLELQHU.js → BLEHZ6OK.js} +1 -1
  54. package/dist/cdn/BLKRIIHC.js +2 -0
  55. package/dist/cdn/{FYNG6CYN.js → BNRS5ISC.js} +1 -1
  56. package/dist/cdn/{AR56PQPF.js → BOHA6O3E.js} +1 -1
  57. package/dist/cdn/{YAXMVCUT.js → BOVVMQMM.js} +1 -1
  58. package/dist/cdn/{R3DTZBMN.js → BSI2WP7F.js} +1 -1
  59. package/dist/cdn/{CLOJ3UVQ.js → BWECC664.js} +1 -1
  60. package/dist/cdn/{5N7BVEJM.js → C37ZD43S.js} +1 -1
  61. package/dist/cdn/{AZFN3LR3.js → C6GVSQON.js} +1 -1
  62. package/dist/cdn/{ITYCDXB3.js → C7NIEQKO.js} +1 -1
  63. package/dist/cdn/{KAAQWUI6.js → CE7BKSHD.js} +1 -1
  64. package/dist/cdn/{I3WV6OM4.js → CL6JXK4J.js} +1 -1
  65. package/dist/cdn/{2AASXHQF.js → CMNJTTHD.js} +1 -1
  66. package/dist/cdn/CNA7TDZN.js +2 -0
  67. package/dist/cdn/COI7ESYH.js +2 -0
  68. package/dist/cdn/{QU6ARDF6.js → COLRADFQ.js} +1 -1
  69. package/dist/cdn/{GFG5O7YM.js → COUGJ3JE.js} +1 -1
  70. package/dist/cdn/{EJ3X446I.js → CPHT7EKR.js} +1 -1
  71. package/dist/cdn/CRQRQION.js +2 -0
  72. package/dist/cdn/{AEIJFBBW.js → CSXSF4DA.js} +1 -1
  73. package/dist/cdn/{Q5ACGCP3.js → DBQPOOGQ.js} +1 -1
  74. package/dist/cdn/{VZD4UCKC.js → DMDH2HX6.js} +1 -1
  75. package/dist/cdn/{FTO3BR3P.js → DTB572CE.js} +1 -1
  76. package/dist/cdn/{P25T7SEL.js → DVDREAS2.js} +1 -1
  77. package/dist/cdn/{E7MAE44R.js → DYE5BE43.js} +1 -1
  78. package/dist/cdn/{STU7FJ5Z.js → EBOBXBZK.js} +1 -1
  79. package/dist/cdn/{A2T36WPR.js → EF7LH4GQ.js} +1 -1
  80. package/dist/cdn/{447CU6QV.js → EIYWFIVH.js} +1 -1
  81. package/dist/cdn/{RUI2QLEM.js → EKJMDF7F.js} +1 -1
  82. package/dist/cdn/EO2XFNMR.js +2 -0
  83. package/dist/cdn/EOUNEK6M.js +2 -0
  84. package/dist/cdn/{ZA2AHCVY.js → EVKE3MXB.js} +1 -1
  85. package/dist/cdn/EYVFMVPE.js +2 -0
  86. package/dist/cdn/{EHI4E3OA.js → FG4BZ3AS.js} +1 -1
  87. package/dist/cdn/{2SZEQV37.js → FPBIHRY5.js} +1 -1
  88. package/dist/cdn/{JUAJIR4N.js → FVNPR5KH.js} +1 -1
  89. package/dist/cdn/{IYLOUQFV.js → G3BAPTZZ.js} +1 -1
  90. package/dist/cdn/{2BCD2J5T.js → G5IFQKFE.js} +1 -1
  91. package/dist/cdn/GBLPYWL2.js +2 -0
  92. package/dist/cdn/{O6YIIKVP.js → GCPF5PAX.js} +1 -1
  93. package/dist/cdn/{AGEFGOQ4.js → GKOH4UXJ.js} +1 -1
  94. package/dist/cdn/GRALXE5Q.js +2 -0
  95. package/dist/cdn/{GXGBUAE7.js → GRVMJD2H.js} +1 -1
  96. package/dist/cdn/{KS6PL4CM.js → GTSPZDUD.js} +1 -1
  97. package/dist/cdn/{RWVY76K4.js → GZUBRPJC.js} +1 -1
  98. package/dist/cdn/{CAGM7ZNR.js → HEOLO6IC.js} +1 -1
  99. package/dist/cdn/{XCUAPJNZ.js → HKAQY5N7.js} +1 -1
  100. package/dist/cdn/{IJIN5G4N.js → HQBA7OPQ.js} +1 -1
  101. package/dist/cdn/{BPGR7WZ3.js → HRJIMMTW.js} +1 -1
  102. package/dist/cdn/{ZSLANXPZ.js → HROETYFU.js} +1 -1
  103. package/dist/cdn/{QMYYA3S6.js → HTTHJG2D.js} +1 -1
  104. package/dist/cdn/{BF42UPF6.js → HVYQFEOR.js} +1 -1
  105. package/dist/cdn/{SRTPZO5Z.js → HX5ZGPW4.js} +1 -1
  106. package/dist/cdn/{OKC5OJJS.js → I25PKHLU.js} +1 -1
  107. package/dist/cdn/{P5HQL37E.js → IC33XDTT.js} +1 -1
  108. package/dist/cdn/{CYNVIPKG.js → ID7AG4JH.js} +1 -1
  109. package/dist/cdn/ILAKSMYE.js +2 -0
  110. package/dist/cdn/{ISAKFCBN.js → IPS6PJBP.js} +1 -1
  111. package/dist/cdn/{FCEB7HIL.js → IR3EJA2Q.js} +1 -1
  112. package/dist/cdn/{CYBCFSSA.js → IYBQ72KJ.js} +1 -1
  113. package/dist/cdn/JA3PSEUL.js +2 -0
  114. package/dist/cdn/{TAZWQ7EC.js → JBKFFPLV.js} +1 -1
  115. package/dist/cdn/{4ZHTGN7K.js → JE3VXBIT.js} +1 -1
  116. package/dist/cdn/{PPIFGJX4.js → JEYAZUI2.js} +1 -1
  117. package/dist/cdn/{JDVBEPJQ.js → JHNUTIAE.js} +1 -1
  118. package/dist/cdn/{UOHCNL3F.js → JJUKCRBV.js} +1 -1
  119. package/dist/cdn/{JYAIIIMS.js → JP4O5WU5.js} +1 -1
  120. package/dist/cdn/JRY4Y7OA.js +2 -0
  121. package/dist/cdn/{TH7SCVOQ.js → JTNXXFZB.js} +1 -1
  122. package/dist/cdn/{U25QRAQN.js → JUB5EAFV.js} +1 -1
  123. package/dist/cdn/{ZEHQXP4U.js → KAXVBIZ7.js} +1 -1
  124. package/dist/cdn/{2FJWRTFE.js → KCLELCOU.js} +1 -1
  125. package/dist/cdn/{PFPOP2U4.js → KWY2WPOP.js} +1 -1
  126. package/dist/cdn/L4UVDZFM.js +2 -0
  127. package/dist/cdn/{U3L7RZL4.js → LEH4MQJ4.js} +1 -1
  128. package/dist/cdn/{V63SHRQJ.js → LFK5PEIC.js} +1 -1
  129. package/dist/cdn/LG7BOXTO.js +2 -0
  130. package/dist/cdn/{OIT4E6K2.js → LH246IIL.js} +1 -1
  131. package/dist/cdn/{TWMQVARD.js → LIBO3YUY.js} +1 -1
  132. package/dist/cdn/{SJRSZW3M.js → LXTI5SZB.js} +1 -1
  133. package/dist/cdn/LYBMSSWT.js +2 -0
  134. package/dist/cdn/{XUSIBTEV.js → M3DP7XNI.js} +1 -1
  135. package/dist/cdn/M3E7HDLV.js +2 -0
  136. package/dist/cdn/{DCNNPWXR.js → M47KXCDY.js} +1 -1
  137. package/dist/cdn/{HEGMKLJO.js → MAYBKX24.js} +1 -1
  138. package/dist/cdn/{D3U2ST6B.js → MGVKXR2F.js} +1 -1
  139. package/dist/cdn/{GY2CXLXB.js → MT2XDN52.js} +1 -1
  140. package/dist/cdn/{XD4EGOJ3.js → MWAV3XSL.js} +1 -1
  141. package/dist/cdn/{JL3C3PJK.js → N2H3FZDY.js} +1 -1
  142. package/dist/cdn/N3DNKKJG.js +2 -0
  143. package/dist/cdn/{635CQLYS.js → N4AIZK72.js} +1 -1
  144. package/dist/cdn/{4YOX2SCZ.js → N4PYAXDZ.js} +1 -1
  145. package/dist/cdn/N5NWRDVD.js +2 -0
  146. package/dist/cdn/{MBZPYZX2.js → ND64EMQB.js} +1 -1
  147. package/dist/cdn/{OZTQXCFB.js → NE62OHLY.js} +1 -1
  148. package/dist/cdn/NEEJOYOU.js +2 -0
  149. package/dist/cdn/{OXANZYRI.js → NKK2XLSQ.js} +1 -1
  150. package/dist/cdn/{VN4DKI5B.js → NMQUDSWT.js} +1 -1
  151. package/dist/cdn/{SRBEW7NV.js → OBWR4UBY.js} +1 -1
  152. package/dist/cdn/OCXHXWGB.js +2 -0
  153. package/dist/cdn/{V2N7V36Y.js → OE6LEA2U.js} +1 -1
  154. package/dist/cdn/{PIRTG67V.js → OGALSAFL.js} +1 -1
  155. package/dist/cdn/{5YORAY7J.js → OKBDQ3G2.js} +1 -1
  156. package/dist/cdn/{EIUWI6SJ.js → OPU3AHDF.js} +1 -1
  157. package/dist/cdn/PCH6Y2RV.js +2 -0
  158. package/dist/cdn/{OIYQ43VS.js → PG4VOR7W.js} +1 -1
  159. package/dist/cdn/{A636G66O.js → PHBSNX42.js} +1 -1
  160. package/dist/cdn/PNZO7PJX.js +2 -0
  161. package/dist/cdn/{Z2PS3LGI.js → PPP32ZQ6.js} +1 -1
  162. package/dist/cdn/{XD52OHCM.js → PT7XD6RE.js} +1 -1
  163. package/dist/cdn/{PUAXDNBG.js → PTHSNQL2.js} +1 -1
  164. package/dist/cdn/{OFW7MIOM.js → PW62476X.js} +1 -1
  165. package/dist/cdn/PZLLNFJO.js +2 -0
  166. package/dist/cdn/{IIPETVIW.js → QBTMCEFA.js} +1 -1
  167. package/dist/cdn/{XRPUXUOQ.js → QL3M4ZI7.js} +1 -1
  168. package/dist/cdn/QNQQA4BU.js +2 -0
  169. package/dist/cdn/{NNBWJV4O.js → QT2LSBKF.js} +1 -1
  170. package/dist/cdn/{CPVH7W2O.js → R4QRHWKF.js} +1 -1
  171. package/dist/cdn/{VIAVQT2D.js → R5TL5I6S.js} +1 -1
  172. package/dist/cdn/{RY3HMV3O.js → R6HFI3H6.js} +1 -1
  173. package/dist/cdn/{6E7OZHUN.js → R6NLZOD6.js} +1 -1
  174. package/dist/cdn/{U4S4PHBB.js → RCGWBUTM.js} +1 -1
  175. package/dist/cdn/{MZBHKC3U.js → RITUH7JT.js} +1 -1
  176. package/dist/cdn/{M5DTOYQQ.js → RMKRRXJS.js} +1 -1
  177. package/dist/cdn/RTXRLIYL.js +2 -0
  178. package/dist/cdn/{JIALAMBB.js → RWDCU2CO.js} +1 -1
  179. package/dist/cdn/{MBJ27YMN.js → SHNSCLFF.js} +1 -1
  180. package/dist/cdn/{47SFVJQS.js → T27FCYV7.js} +1 -1
  181. package/dist/cdn/{ALIKGBJJ.js → THM67RBC.js} +1 -1
  182. package/dist/cdn/{5AUIH5PW.js → TIHHIJTK.js} +1 -1
  183. package/dist/cdn/{F35ORGGB.js → TIIFMOFF.js} +1 -1
  184. package/dist/cdn/{FURSVK7Y.js → TMO4U4HG.js} +1 -1
  185. package/dist/cdn/{KXUS2Z2Z.js → TWW6WTPJ.js} +1 -1
  186. package/dist/cdn/{BWKADIQY.js → TYQO3UPC.js} +1 -1
  187. package/dist/cdn/{LQCHLWS5.js → U7PLIM7D.js} +1 -1
  188. package/dist/cdn/{ZHW7XZUM.js → UBUAQKOP.js} +1 -1
  189. package/dist/cdn/{2F546CPM.js → UI2M6TYH.js} +1 -1
  190. package/dist/cdn/{UAA66BVA.js → V3SICJ32.js} +1 -1
  191. package/dist/cdn/{MRRTS5P6.js → VAISR7CN.js} +1 -1
  192. package/dist/cdn/{MZQT7KZP.js → VJMC3CMB.js} +1 -1
  193. package/dist/cdn/{6BYE6FYG.js → VJNK2ZS5.js} +1 -1
  194. package/dist/cdn/VV6AUGJZ.js +2 -0
  195. package/dist/cdn/{E2NYZWXE.js → VVC4QG6F.js} +1 -1
  196. package/dist/cdn/VVRTT47C.js +2 -0
  197. package/dist/cdn/{CIC5ZUY7.js → VYS45ONH.js} +1 -1
  198. package/dist/cdn/{KXLECJE4.js → VZ3LSB3Z.js} +1 -1
  199. package/dist/cdn/{UXREMHTR.js → WP6ZYNAK.js} +1 -1
  200. package/dist/cdn/{ND6OMAWU.js → WRRFKLB6.js} +1 -1
  201. package/dist/cdn/{BPJIXO5J.js → WTEY2GUR.js} +1 -1
  202. package/dist/cdn/{T2KDO5HD.js → WTNO7O72.js} +1 -1
  203. package/dist/cdn/{22FLXX55.js → WZWVAXA2.js} +1 -1
  204. package/dist/cdn/{DMA5N4U3.js → XCDWWNUJ.js} +1 -1
  205. package/dist/cdn/{J2R2J6UR.js → XEP6CP26.js} +1 -1
  206. package/dist/cdn/{JNXAPZOG.js → XHT2V7M3.js} +1 -1
  207. package/dist/cdn/{ZUNHOHIR.js → XYV2ZB6J.js} +1 -1
  208. package/dist/cdn/{2YCUXNZC.js → Y6AJ3R7J.js} +1 -1
  209. package/dist/cdn/{JGOVELNR.js → Y6OCHJCV.js} +1 -1
  210. package/dist/cdn/{YTL7TRUR.js → YB4MKEGG.js} +1 -1
  211. package/dist/cdn/{SSGPECUS.js → YGC3D43Q.js} +1 -1
  212. package/dist/cdn/{QTYBVQMT.js → YI4GBTAA.js} +1 -1
  213. package/dist/cdn/{VQR2HIW2.js → YJ36H7AG.js} +1 -1
  214. package/dist/cdn/{27DFVIVV.js → YKJYY74T.js} +1 -1
  215. package/dist/cdn/{55DP6FNP.js → YLDF7U5D.js} +1 -1
  216. package/dist/cdn/{AX4YVQW5.js → YO6Z5FD4.js} +1 -1
  217. package/dist/cdn/{YNKKNHTQ.js → YZQG6WS5.js} +1 -1
  218. package/dist/cdn/{QHILZ2NJ.js → Z63PHR6E.js} +1 -1
  219. package/dist/cdn/{VFAQKJXX.js → Z7ULZVXI.js} +1 -1
  220. package/dist/cdn/{KQKQJVFM.js → ZAJLG5HP.js} +1 -1
  221. package/dist/cdn/{Z6MJ3CFF.js → ZE6S2MJB.js} +1 -1
  222. package/dist/cdn/ZNQZFSHJ.js +2 -0
  223. package/dist/cdn/{A4USUD2G.js → ZOP2TIVZ.js} +1 -1
  224. package/dist/cdn/{KX7Y7MML.js → ZVPFP6UF.js} +1 -1
  225. package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
  226. package/dist/cdn/index.js +1 -1
  227. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +14 -0
  228. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +11 -11
  229. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +14 -0
  230. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +31 -31
  231. package/dist/components/arcgis-layer-list-next/customElement.d.ts +14 -0
  232. package/dist/components/arcgis-layer-list-next/customElement.js +21 -21
  233. package/dist/components/arcgis-table-list-next/customElement.d.ts +14 -0
  234. package/dist/components/arcgis-table-list-next/customElement.js +17 -17
  235. package/dist/components/arcgis-version-management/customElement.d.ts +114 -94
  236. package/dist/components/arcgis-version-management/customElement.js +164 -176
  237. package/dist/components/arcgis-version-management/index.js +3 -4
  238. package/dist/components/arcgis-version-management-service-item/customElement.js +25 -39
  239. package/dist/components/arcgis-version-management-service-item/index.js +0 -1
  240. package/dist/components/arcgis-version-management-version-list/customElement.js +43 -70
  241. package/dist/components/arcgis-version-management-version-list/index.js +5 -6
  242. package/dist/components/arcgis-version-management-version-list-item/customElement.js +44 -0
  243. package/dist/components/arcgis-version-management-version-list-item/index.js +5 -0
  244. package/dist/components/arcgis-version-management-version-properties/customElement.js +80 -70
  245. package/dist/components/arcgis-version-management-version-properties/index.js +3 -4
  246. package/dist/docs/api.json +1 -1
  247. package/dist/docs/docs.json +1 -1
  248. package/dist/docs/vscode.html-custom-data.json +1 -1
  249. package/dist/docs/web-types.json +1 -1
  250. package/dist/loader.js +9 -8
  251. package/dist/types/lumina.d.ts +4 -4
  252. package/dist/types/preact.d.ts +4 -4
  253. package/dist/types/react.d.ts +4 -4
  254. package/dist/types/stencil.d.ts +4 -4
  255. package/package.json +4 -4
  256. package/dist/cdn/26W2NMYE.js +0 -2
  257. package/dist/cdn/3N7DHHCP.js +0 -2
  258. package/dist/cdn/44SYZMRA.js +0 -2
  259. package/dist/cdn/4LHBEGTU.js +0 -2
  260. package/dist/cdn/54FMWJL7.js +0 -2
  261. package/dist/cdn/5IYDETJ3.js +0 -2
  262. package/dist/cdn/5JXXMDY6.js +0 -2
  263. package/dist/cdn/7MH3SB7P.js +0 -2
  264. package/dist/cdn/A22AUGYH.js +0 -2
  265. package/dist/cdn/B4IHQKAA.js +0 -2
  266. package/dist/cdn/BC7EPFWD.js +0 -2
  267. package/dist/cdn/DJ5IUHJS.js +0 -2
  268. package/dist/cdn/DZWUKLIN.js +0 -2
  269. package/dist/cdn/EI6T7BKN.js +0 -2
  270. package/dist/cdn/EIKXN526.js +0 -2
  271. package/dist/cdn/HR3OA66U.js +0 -2
  272. package/dist/cdn/JJFLMGAX.js +0 -2
  273. package/dist/cdn/JOJQC6AF.js +0 -2
  274. package/dist/cdn/LB4H4S5X.js +0 -2
  275. package/dist/cdn/LP6TTSIT.js +0 -2
  276. package/dist/cdn/MGS4P6UC.js +0 -2
  277. package/dist/cdn/NEQT2ZY6.js +0 -2
  278. package/dist/cdn/OPQJE7BZ.js +0 -2
  279. package/dist/cdn/ORL32J3S.js +0 -2
  280. package/dist/cdn/RAH7WYLV.js +0 -2
  281. package/dist/cdn/S3XR7KRN.js +0 -2
  282. package/dist/cdn/SADIYG5D.js +0 -2
  283. package/dist/cdn/SSK7OVMF.js +0 -2
  284. package/dist/cdn/TM6LGP6D.js +0 -2
  285. package/dist/cdn/U4S4I3VD.js +0 -2
  286. package/dist/cdn/UU2VWYLI.js +0 -2
  287. package/dist/cdn/XCIYLNTM.js +0 -2
  288. package/dist/cdn/XTK3DMAO.js +0 -2
  289. package/dist/cdn/XWJQBDNW.js +0 -2
  290. package/dist/cdn/ZKQKAXTB.js +0 -2
  291. package/dist/cdn/ZV5BQFVT.js +0 -2
@@ -1,94 +1,67 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as y } from "../../chunks/runtime.js";
3
- import { css as B, html as i, nothing as U } from "lit";
4
- import { createRef as w, ref as x } from "lit/directives/ref.js";
5
- import { LitElement as A, createEvent as p } from "@arcgis/lumina";
6
- const M = B`:host{min-height:var(--arcgis-internal-panel-height-md, 420px);height:100%}calcite-block{margin-block:0;width:100%}calcite-pagination{justify-content:center;background-color:var(--calcite-color-surface-2)}.filter-container{width:100%}.fab-container{background-color:var(--calcite-color-surface-2);display:flex;justify-content:center}`;
7
- class T extends A {
2
+ import { c as P } from "../../chunks/runtime.js";
3
+ import { css as A, html as i } from "lit";
4
+ import { LitElement as U, createEvent as s } from "@arcgis/lumina";
5
+ const k = A`calcite-input-text,calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}calcite-pagination{background-color:var(--calcite-color-surface-2);justify-content:center}calcite-panel{height:fit-content;max-height:var(--arcgis-internal-panel-height-sm, 240px)}.current-version-div{background-color:var(--calcite-color-surface-2);border-color:var(--calcite-block-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0 0 1px;padding:var(--calcite-space-2xs) 0}.current-version-div .current-version-description-label,.current-version-div .current-version-header-label{height:var(--calcite-font-size);margin:var(--calcite-space-2xs) var(--calcite-space-md)}.current-version-div .current-version-header-label{font-weight:var(--calcite-font-weight-medium)}`;
6
+ class F extends U {
8
7
  constructor() {
9
- super(...arguments), this._filterInputElement = w(), this._flowItemElement = w(), this.currentPage = 1, this.selected = !1, this.showBackButton = !1, this.arcgisFlowItemBack = p(), this.arcgisFlowItemClose = p(), this.arcgisGetVersions = p(), this.arcgisManageVersion = p(), this.arcgisNewVersion = p();
8
+ super(...arguments), this.#e = 1, this.hideFilter = !1, this.mode = "browse-versions", this.totalPages = 0, this.totalVersions = 0, this.arcgisInternalFilterVersions = s(), this.arcgisInternalGetVersions = s(), this.arcgisInternalManageVersion = s(), this.arcgisInternalNewVersion = s(), this.arcgisInternalPageChange = s();
10
9
  }
11
10
  static {
12
- this.properties = { _filteredVersionInfos: 16, currentPage: 11, selected: 7, showBackButton: 7, versionListElementProps: 0 };
11
+ this.properties = { currentPage: 9, currentUser: 1, currentVersionInfo: 0, executionError: 1, featureServiceName: 1, featureServiceUrl: 1, hideFilter: 5, isVersionAdministrator: 5, isVersioningApiAvailable: 5, messages: 0, mode: 1, totalPages: 9, totalVersions: 9, versionInfos: 0 };
13
12
  }
14
13
  static {
15
- this.styles = M;
16
- }
17
- load() {
18
- this._filteredVersionInfos = this.versionListElementProps.versionInfos;
14
+ this.styles = k;
19
15
  }
16
+ #e;
20
17
  willUpdate(e) {
21
- if (e.has("versionListElementProps")) {
22
- const t = e.get("versionListElementProps"), n = this.versionListElementProps;
23
- t?.versionInfos !== n.versionInfos && (this._filteredVersionInfos = n.versionInfos, this._filterInputElement.value && this._handleFilterChange());
18
+ if (e.has("mode")) {
19
+ const t = e.get("mode"), n = t === "browse-services" && this.mode === "browse-versions", a = t === "browse-versions" && (this.mode === "create-version" || this.mode === "edit-version");
20
+ (n || a) && this.executionError && (this.executionError = void 0);
24
21
  }
25
22
  }
26
- updated() {
27
- this._filterInputElement.value?.setFocus();
28
- }
29
- async setFocus() {
30
- this._flowItemElement.value?.setFocus();
31
- }
32
- goBack() {
33
- }
34
- _handleFilterChange() {
35
- const { versionListElementProps: { versionInfos: e } } = this, t = this._filterInputElement.value.value.toUpperCase();
36
- this._filteredVersionInfos = t === "" ? e : e.filter((n) => n.versionIdentifier.name.toUpperCase().includes(t) || n.versionIdentifier.guid.toUpperCase().includes(t)), this._filteredVersionInfos.length && (this.currentPage = 1);
37
- }
38
- _handleNoticeClosed() {
39
- this.versionListElementProps = { ...this.versionListElementProps, executionError: void 0 };
40
- }
41
- _handlePaginationChange(e) {
42
- this.currentPage = e.target.startItem;
43
- }
44
- _getExecutionError(e) {
45
- const { versionListElementProps: { strings: { executionErrors: t } } } = this;
23
+ #i(e) {
24
+ const { messages: t } = this;
46
25
  switch (e) {
47
26
  case "no-feature-service-found":
48
- return t.noFeatureServiceFound;
27
+ return t?.executionErrors.noFeatureServiceFound ?? "";
49
28
  case "no-valid-enterprise-version":
50
- return t.notValidEnterpriseVersion;
29
+ return t?.executionErrors.notValidEnterpriseVersion ?? "";
51
30
  case "no-valid-version-name":
52
- return t.invalidVersionName;
31
+ return t?.executionErrors.invalidVersionName ?? "";
53
32
  default:
54
33
  return e;
55
34
  }
56
35
  }
57
- _paginate(e, t, n) {
58
- return e.slice((n - 1) * t, n * t);
36
+ #r() {
37
+ this.executionError = void 0;
59
38
  }
60
- render() {
61
- const { currentPage: e, selected: t, showBackButton: n, versionListElementProps: { closable: m, currentUser: v, currentVersionIdentifier: d, executionError: h, heading: o, isVersionAdministrator: f, isVersioningApiAvailable: u, pageSize: r, serviceName: s, serviceUrl: c, state: g, strings: { headers: l }, strings: a, versionInfos: $ } } = this, V = i`<calcite-block .description=${d.name} .heading=${l.currentVersion} overlay-positioning=fixed scale=s></calcite-block>`, I = i`<calcite-action icon=refresh .id=${`action-refresh-versions-${s}`} .label=${`action-refresh-versions-${s}`} slot=header-actions-end text @click=${() => this.arcgisGetVersions.emit({ serviceUrl: c })}><calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-refresh-versions-${s}`}><span>${a.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;
62
- this._paginatedVersionInfos = this._filteredVersionInfos.length > r ? this._paginate(this._filteredVersionInfos, r, e) : this._filteredVersionInfos;
63
- const b = this._filteredVersionInfos.length > r ? i`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length / r)}></calcite-pagination>` : void 0, E = this._paginate(this._paginatedVersionInfos, r, 1).map((L) => {
64
- const F = {
65
- currentUser: v,
66
- currentVersionIdentifier: d,
67
- isCurrentVersionCard: !1,
68
- isVersionAdministrator: f,
69
- isVersioningApiAvailable: u,
70
- serviceUrl: c,
71
- strings: a,
72
- versionInfo: L
73
- };
74
- return this._renderListItem(F);
75
- }), _ = $.length > r ? i`<div class="filter-container" slot=content-top><calcite-input-text clearable icon=search .label=${l.filterVersions} @calciteInputTextInput=${this._handleFilterChange} .placeholder=${a.actions.searchVersions} ${x(this._filterInputElement)}></calcite-input-text></div>` : void 0, C = i`<calcite-list .label=${a.labels.versionList}>${E}</calcite-list>`, k = u ? i`<div class="fab-container"><calcite-fab appearance=outline-fill text-enabled .text=${a.actions.newVersion} @click=${() => this.arcgisNewVersion.emit({ serviceUrl: c })}></calcite-fab></div>` : void 0, P = h ? i`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} closable kind=warning open scale=s width=full><div slot=message>${this._getExecutionError(h)}</div></calcite-notice>` : void 0;
76
- return i`<calcite-flow-item .closable=${m} .description=${s} .heading=${o} .selected=${t} .showBackButton=${n} @calciteFlowItemBack=${() => this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${() => this.arcgisFlowItemClose.emit()} ${x(this._flowItemElement)}><calcite-panel .loading=${g === "executing"}>${V}<calcite-panel .heading=${this._filteredVersionInfos.length ? `${a.headers.manageVersions} (${this._filteredVersionInfos.length})` : a.headers.manageVersions} scale=s>${I}${_}${C}${k}${b}</calcite-panel>${P}</calcite-panel></calcite-flow-item>`;
39
+ #t(e) {
40
+ this.arcgisInternalPageChange.emit({ currentPage: e.target.startItem });
77
41
  }
78
- _renderListItem(e) {
79
- const { currentUser: t, currentVersionIdentifier: n, isVersionAdministrator: m, isVersioningApiAvailable: v, serviceUrl: d, strings: { actions: h }, versionInfo: o } = e, f = o.versionIdentifier.name, u = f.substring(f.lastIndexOf(".") + 1), r = f.substring(0, f.lastIndexOf(".")), s = o.versionIdentifier.guid, c = `action-start-switch-to-version-${s}`, g = r.toUpperCase() === t.toUpperCase() && v || m, l = n.guid === o.versionIdentifier.guid, a = f.toUpperCase() === "SDE.DEFAULT", $ = i`<calcite-action .disabled=${l} icon=code-branch .label=${`action-switch-to-version-${s}`} scale=s .text=${h.switchToVersion} text-enabled @click=${() => {
80
- this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: d, versionInfo: o });
81
- }}></calcite-action>`, V = a ? void 0 : i`<calcite-action .disabled=${!g || g && l} icon=trash .label=${`action-delete-version-${s}`} scale=s .text=${h.deleteVersion} text-enabled @click=${() => {
82
- this.arcgisManageVersion.emit({ actionType: "deleteVersion", serviceUrl: d, versionInfo: o });
83
- }}></calcite-action>`, I = i`<calcite-action .disabled=${!g || l} icon=code-branch-edit .label=${`action-edit-version-${s}`} scale=s .text=${h.editVersion} text-enabled @click=${() => {
84
- this.arcgisManageVersion.emit({ actionType: "editVersion", serviceUrl: d, versionInfo: o });
85
- }}></calcite-action>`, b = i`<calcite-action-menu .label=${`action-version-menu-${s}`} overlay-positioning=fixed slot=actions-end>${$}${I}${V}</calcite-action-menu>`, E = l ? void 0 : i`<calcite-tooltip overlay-positioning=fixed .referenceElement=${c}><span>${h.switchToVersion}</span></calcite-tooltip>`, _ = i`<div slot=actions-start><calcite-action .disabled=${l} icon=code-branch id=${c ?? U} .label=${c} .text=${c} @click=${() => {
86
- this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: d, versionInfo: o });
87
- }}></calcite-action>${E}</div>`;
88
- return i`<calcite-list-item .description=${r} .label=${u} .value=${s}>${_}${b}</calcite-list-item>`;
42
+ #s(e) {
43
+ e.stopPropagation(), this.arcgisInternalManageVersion.emit({
44
+ actionType: e.detail.actionType,
45
+ serviceUrl: e.detail.serviceUrl,
46
+ versionInfo: e.detail.versionInfo
47
+ });
48
+ }
49
+ render() {
50
+ const { currentUser: e, currentPage: t, currentVersionInfo: n, executionError: a, featureServiceName: o, featureServiceUrl: c, hideFilter: h, isVersionAdministrator: u, isVersioningApiAvailable: v, messages: r, totalPages: d, totalVersions: m, versionInfos: g } = this, p = g?.map((l) => i`<arcgis-version-management-version-list-item .currentUser=${e} .currentVersionInfo=${n} .featureServiceUrl=${c} .isVersionAdministrator=${u} .isVersioningApiAvailable=${v} .messages=${r} .versionInfo=${l} @arcgisInternalManageVersion=${this.#s}></arcgis-version-management-version-list-item>`), f = i`<div class="current-version-div"><calcite-label scale=m class="current-version-header-label">${r?.headers.currentVersion}</calcite-label><calcite-label scale=s class="current-version-description-label">${n?.versionIdentifier.name}</calcite-label></div>`, $ = i`<calcite-action icon=refresh .id=${`action-refresh-versions-${o}`} .label=${`action-refresh-versions-${o}`} slot=actions-end text @click=${() => {
51
+ this.arcgisInternalGetVersions.emit({
52
+ serviceUrl: c
53
+ });
54
+ }}><calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-refresh-versions-${o}`}><span>${r?.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`, V = i`<calcite-block .heading=${g?.length ? `${r?.headers.manageVersions} (${m})` : r?.headers.manageVersions}>${$}</calcite-block>`, b = h ? void 0 : i`<calcite-input-text clearable icon=search .label=${r?.headers.filterVersions} .placeholder=${r?.actions.searchVersions} @calciteInputTextInput=${(l) => {
55
+ this.arcgisInternalFilterVersions.emit({ filterText: l.target.value });
56
+ }}></calcite-input-text>`, I = v ? i`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r?.actions.newVersion} @click=${() => {
57
+ this.arcgisInternalNewVersion.emit({
58
+ serviceUrl: c ?? ""
59
+ });
60
+ }}></calcite-fab>` : void 0, x = d > 1 ? i`<calcite-pagination .pageSize=${this.#e} .startItem=${t} .totalItems=${d} @calcitePaginationChange=${this.#t}></calcite-pagination>` : void 0, w = a ? i`<calcite-notice closable icon kind=warning open scale=s width=full @calciteNoticeClose=${this.#r}><div slot=message>${this.#i(a)}</div></calcite-notice>` : void 0, E = i`<calcite-panel>${I}<calcite-list .label=${r?.labels.versionList ?? ""}>${p}</calcite-list></calcite-panel>`;
61
+ return i`${f}${V}${b}${E}${x}${w}`;
89
62
  }
90
63
  }
91
- y("arcgis-version-management-version-list", T);
64
+ P("arcgis-version-management-version-list", F);
92
65
  export {
93
- T as ArcgisVersionManagementVersionList
66
+ F as ArcgisVersionManagementVersionList
94
67
  };
@@ -1,13 +1,12 @@
1
- import "@esri/calcite-components/components/calcite-block";
1
+ import "../arcgis-version-management-version-list-item/index.js";
2
+ import "@esri/calcite-components/components/calcite-label";
2
3
  import "@esri/calcite-components/components/calcite-action";
3
4
  import "@esri/calcite-components/components/calcite-tooltip";
4
- import "@esri/calcite-components/components/calcite-pagination";
5
+ import "@esri/calcite-components/components/calcite-block";
5
6
  import "@esri/calcite-components/components/calcite-input-text";
6
- import "@esri/calcite-components/components/calcite-list";
7
7
  import "@esri/calcite-components/components/calcite-fab";
8
+ import "@esri/calcite-components/components/calcite-pagination";
8
9
  import "@esri/calcite-components/components/calcite-notice";
9
- import "@esri/calcite-components/components/calcite-flow-item";
10
10
  import "@esri/calcite-components/components/calcite-panel";
11
- import "@esri/calcite-components/components/calcite-action-menu";
12
- import "@esri/calcite-components/components/calcite-list-item";
11
+ import "@esri/calcite-components/components/calcite-list";
13
12
  export * from "./customElement.js";
@@ -0,0 +1,44 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { c as A } from "../../chunks/runtime.js";
3
+ import { html as i } from "lit";
4
+ import { LitElement as x, createEvent as U, nothing as E } from "@arcgis/lumina";
5
+ class T extends x {
6
+ constructor() {
7
+ super(...arguments), this.arcgisInternalManageVersion = U();
8
+ }
9
+ static {
10
+ this.properties = { currentUser: 1, currentVersionInfo: 0, featureServiceUrl: 1, isVersionAdministrator: 5, isVersioningApiAvailable: 5, messages: 0, versionInfo: 0 };
11
+ }
12
+ render() {
13
+ const { currentUser: d, currentVersionInfo: m, featureServiceUrl: o, isVersionAdministrator: g, isVersioningApiAvailable: $, messages: c, versionInfo: e } = this, n = e?.versionIdentifier.name ?? "", v = n.substring(n.lastIndexOf(".") + 1), l = n.substring(0, n.lastIndexOf(".")), t = e?.versionIdentifier.guid ?? "", s = m?.versionIdentifier.guid === e?.versionIdentifier.guid, V = n.toUpperCase() === "SDE.DEFAULT", a = l.toUpperCase() === d?.toUpperCase() && $ || g, r = `action-start-switch-to-version-${t}`, p = s ? void 0 : i`<calcite-tooltip overlay-positioning=fixed .referenceElement=${r}><span>${c?.actions.switchToVersion}</span></calcite-tooltip>`, u = i`<div slot=actions-start><calcite-action .disabled=${s} icon=code-branch id=${r ?? E} .label=${r} .text=${r} @click=${() => {
14
+ this.arcgisInternalManageVersion.emit({
15
+ actionType: "changeVersion",
16
+ serviceUrl: o,
17
+ versionInfo: e
18
+ });
19
+ }}></calcite-action>${p}</div>`, h = i`<calcite-action .disabled=${s} icon=code-branch .label=${`action-switch-to-version-${t}`} scale=s .text=${c?.actions.switchToVersion ?? ""} text-enabled @click=${() => {
20
+ this.arcgisInternalManageVersion.emit({
21
+ actionType: "changeVersion",
22
+ serviceUrl: o,
23
+ versionInfo: e
24
+ });
25
+ }}></calcite-action>`, b = i`<calcite-action .disabled=${!a || s} icon=code-branch-edit .label=${`action-edit-version-${t}`} scale=s .text=${c?.actions.editVersion ?? ""} text-enabled @click=${() => {
26
+ this.arcgisInternalManageVersion.emit({
27
+ actionType: "editVersion",
28
+ serviceUrl: o,
29
+ versionInfo: e
30
+ });
31
+ }}></calcite-action>`, f = V ? void 0 : i`<calcite-action .disabled=${!a || a && s} icon=trash .label=${`action-delete-version-${t}`} scale=s .text=${c?.actions.deleteVersion ?? ""} text-enabled @click=${() => {
32
+ this.arcgisInternalManageVersion.emit({
33
+ actionType: "deleteVersion",
34
+ serviceUrl: o,
35
+ versionInfo: e
36
+ });
37
+ }}></calcite-action>`, I = i`<calcite-action-menu .label=${`action-version-menu-${t}`} overlay-positioning=fixed slot=actions-end>${h}${b}${f}</calcite-action-menu>`;
38
+ return i`<calcite-list-item .description=${l} .label=${v} .value=${t}>${u}${I}</calcite-list-item>`;
39
+ }
40
+ }
41
+ A("arcgis-version-management-version-list-item", T);
42
+ export {
43
+ T as ArcgisVersionManagementVersionListItem
44
+ };
@@ -0,0 +1,5 @@
1
+ import "@esri/calcite-components/components/calcite-tooltip";
2
+ import "@esri/calcite-components/components/calcite-action";
3
+ import "@esri/calcite-components/components/calcite-action-menu";
4
+ import "@esri/calcite-components/components/calcite-list-item";
5
+ export * from "./customElement.js";
@@ -1,97 +1,107 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as $ } from "../../chunks/runtime.js";
3
- import { css as V, html as l } from "lit";
4
- import { LitElement as C, createEvent as p } from "@arcgis/lumina";
5
- import { createRef as u, ref as v } from "lit/directives/ref.js";
6
- const I = V`:host{min-height:var(--arcgis-internal-panel-height-md, 420px);height:100%}`;
7
- class x extends C {
2
+ import { c as p } from "../../chunks/runtime.js";
3
+ import { html as r } from "lit";
4
+ import { LitElement as m, createEvent as o } from "@arcgis/lumina";
5
+ import { d as u } from "../../chunks/component-utils.js";
6
+ class f extends m {
8
7
  constructor() {
9
- super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion = p(), this.arcgisCreateVersion = p(), this.arcgisFlowItemBack = p(), this.arcgisFlowItemClose = p();
10
- }
11
- static {
12
- this.properties = { _validationError: 16, selected: 7, showBackButton: 7, versionPropertiesElementProps: 0 };
8
+ super(...arguments), this.#e = {
9
+ access: void 0,
10
+ description: void 0,
11
+ featureServerUrl: "",
12
+ ownerName: void 0,
13
+ versionName: void 0,
14
+ versionIdentifier: { name: "", guid: "" }
15
+ }, this.#i = {
16
+ access: "public",
17
+ description: "",
18
+ featureServerUrl: "",
19
+ ownerName: "",
20
+ versionName: ""
21
+ }, this.#t = !0, this.mode = "browse-versions", this.arcgisInternalAlterVersion = o(), this.arcgisInternalCreateVersion = o(), this.arcgisInternalDiscardEdits = o();
13
22
  }
14
23
  static {
15
- this.styles = I;
24
+ this.properties = { _validationError: 16, currentUser: 1, editVersionInfo: 0, featureServiceUrl: 1, messages: 0, mode: 1 };
16
25
  }
17
- load() {
18
- const { versionPropertiesElementProps: { versionInfo: t } } = this;
19
- t ? (this._mode = "edit", this._fullVersionName = t.versionIdentifier.name, this._ownerName = this._fullVersionName.substring(0, this._fullVersionName.lastIndexOf(".")), this._versionName = this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".") + 1)) : this._mode = "create";
20
- }
21
- updated() {
22
- this._mode === "create" && this._versionNameInputElement.value?.setFocus();
23
- }
24
- async setFocus() {
25
- this._flowItemElement.value?.setFocus();
26
- }
27
- goBack() {
26
+ #e;
27
+ #i;
28
+ #t;
29
+ willUpdate(i) {
30
+ const { editVersionInfo: t, featureServiceUrl: e } = this;
31
+ if (i.has("currentUser") && (this.#i.ownerName = this.currentUser ?? ""), i.has("featureServiceUrl") && (this.#i.featureServerUrl = e ?? ""), i.has("editVersionInfo")) {
32
+ const s = t?.versionIdentifier.name, c = s?.substring(0, s.lastIndexOf(".")), a = s?.substring(s.lastIndexOf(".") + 1);
33
+ this.#e = {
34
+ ...this.#e,
35
+ access: t?.access,
36
+ description: t?.description,
37
+ featureServerUrl: e ?? "",
38
+ ownerName: c,
39
+ versionName: a,
40
+ versionIdentifier: t?.versionIdentifier ?? { name: "", guid: "" }
41
+ };
42
+ }
43
+ i.has("mode") && this.#r();
28
44
  }
29
- _handleCancel() {
30
- this.arcgisFlowItemBack.emit();
45
+ #a() {
46
+ this.arcgisInternalDiscardEdits.emit(), this.#r();
31
47
  }
32
- _handleChange(t) {
33
- const { _mode: s, _ownerName: h, _versionName: d, versionPropertiesElementProps: { currentUser: m, isVersionAdministrator: e, serviceUrl: c, versionInfo: i } } = this;
34
- let { _alterVersionParameters: r, _createVersionParameters: a } = this;
35
- switch (s === "create" && (a || (a = {
36
- access: "public",
37
- description: "",
38
- featureServerUrl: c,
39
- ownerName: m,
40
- versionName: ""
41
- })), s === "edit" && (r || (r = {
42
- featureServerUrl: c,
43
- versionIdentifier: i.versionIdentifier,
44
- ownerName: h,
45
- versionName: d,
46
- access: i.access,
47
- description: i.description
48
- })), t.type) {
48
+ #s(i) {
49
+ const { mode: t } = this;
50
+ switch (i.type) {
49
51
  case "calciteChipGroupSelect": {
50
- const o = t.target.label, n = t.target.selectedItems[0].label;
51
- s === "create" && (a = { ...a, [o]: n }), s === "edit" && (r = { ...r, [o]: n });
52
+ const e = i.target.selectedItems[0].label;
53
+ t === "create-version" && (this.#i.access = e), t === "edit-version" && (this.#e.access = e);
52
54
  break;
53
55
  }
54
56
  case "calciteInputTextInput": {
55
- const o = t.target.name, n = t.target.value;
56
- s === "create" && (a = { ...a, [o]: n }), s === "edit" && (r = { ...r, [o]: n });
57
+ const e = i.target.name, s = i.target.value;
58
+ t === "create-version" && (e === "versionName" || e === "ownerName") && (this.#i[e] = s), t === "edit-version" && (e === "versionName" || e === "ownerName") && (this.#e[e] = s);
57
59
  break;
58
60
  }
59
61
  case "calciteTextAreaInput": {
60
- const o = t.target.name;
61
- if (o != null) {
62
- const n = t.target.value;
63
- s === "create" && (a = { ...a, [o]: n }), s === "edit" && (r = { ...r, [o]: n });
64
- }
62
+ const e = i.target.value;
63
+ t === "create-version" && (this.#i.description = e), t === "edit-version" && (this.#e.description = e);
65
64
  break;
66
65
  }
67
66
  }
68
- s === "create" && (a.access !== "public" && m.toUpperCase() !== a.ownerName?.toUpperCase() && !e ? (this._switchToVersionCheckboxElement.value.checked = !1, this._switchToVersionCheckboxElement.value.disabled = !0, this._switchToVersion = !1) : this._switchToVersionCheckboxElement.value.disabled = !1, this._createVersionParameters = a), s === "edit" && (this._alterVersionParameters = r);
69
- }
70
- _handleClose() {
71
- this.arcgisFlowItemClose.emit();
72
67
  }
73
- _handleSave() {
74
- const { _alterVersionParameters: t, _createVersionParameters: s, _mode: h, _switchToVersion: d, versionPropertiesElementProps: { strings: m } } = this, e = [".", ";", "'", '"'];
75
- if (e.some((i) => s?.versionName?.includes(i)) || e.some((i) => t?.versionName?.includes(i))) {
76
- this._validationError = m.validationErrors.invalidCharacters;
68
+ #c() {
69
+ const { messages: i, mode: t } = this, e = t === "create-version" ? this.#i?.versionName?.trim() ?? "" : this.#e?.versionName?.trim() ?? "", s = u(e), a = [".", ";", "'", '"'].some((n) => e.includes(n));
70
+ if (s) {
71
+ this._validationError = i?.validationErrors.emptyVersionName;
72
+ return;
73
+ }
74
+ if (a) {
75
+ this._validationError = i?.validationErrors.invalidCharacters;
77
76
  return;
78
77
  }
79
- h === "create" && this.arcgisCreateVersion.emit({
80
- createVersionParameters: s,
81
- switchToVersion: d
82
- }), h === "edit" && this.arcgisAlterVersion.emit({
83
- alterVersionParameters: t
84
- });
78
+ t === "create-version" && this.arcgisInternalCreateVersion.emit({
79
+ createVersionParameters: this.#i,
80
+ switchToVersion: this.#t
81
+ }), t === "edit-version" && this.arcgisInternalAlterVersion.emit({
82
+ alterVersionParameters: this.#e
83
+ }), this.#r();
85
84
  }
86
- _handleSwitchToVersionChange(t) {
87
- this._switchToVersion = t.target.checked;
85
+ #n(i) {
86
+ this.#t = i.target.checked;
87
+ }
88
+ #r() {
89
+ this.#i = {
90
+ ...this.#i,
91
+ access: "public",
92
+ description: "",
93
+ ownerName: this.currentUser,
94
+ versionName: ""
95
+ }, this.editVersionInfo = void 0, this.#t = !0, this._validationError = void 0;
88
96
  }
89
97
  render() {
90
- const { selected: t, showBackButton: s, versionPropertiesElementProps: { closable: h, currentUser: d, state: m, strings: e, versionInfo: c }, _mode: i, _ownerName: r, _versionName: a } = this, o = l`<calcite-button appearance=outline slot=footer width=full @click=${this._handleCancel}>${e.actions.cancelSave}</calcite-button><calcite-button appearance=solid slot=footer width=full @click=${this._handleSave}>${e.actions.saveVersion}</calcite-button>`, n = l`<calcite-label>${e.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${i === "edit" && c.access === "public" || i === "create"} label=public>${e.accessLevels.public}</calcite-chip><calcite-chip .selected=${i === "edit" && c.access === "protected"} label=protected>${e.accessLevels.protected}</calcite-chip><calcite-chip .selected=${i === "edit" && c.access === "private"} label=private>${e.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, f = l`<calcite-label>${e.input.versionDescription}<calcite-text-area limit-text max-length=64 name=description resize=none rows=2 scale=s .value=${i === "edit" ? c.description : ""} @calciteTextAreaInput=${this._handleChange}></calcite-text-area></calcite-label>`, _ = l`<calcite-label>${e.input.versionName}<calcite-input-text max-length=62 name=versionName .value=${i === "edit" ? a : ""} @calciteInputTextInput=${this._handleChange} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`, b = l`<calcite-label>${e.input.versionOwner}<calcite-input-text name=ownerName .value=${i === "edit" ? r : d} @calciteInputTextInput=${this._handleChange}></calcite-input-text></calcite-label>`, g = i === "create" ? l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${e.actions.switchToVersion}</calcite-label>` : void 0, w = this._validationError ? l`<calcite-notice closable kind=warning open scale=s width=full @calciteNoticeClose=${() => this._validationError = void 0}><div slot=message>${this._validationError}</div></calcite-notice>` : void 0;
91
- return l`<calcite-flow-item .closable=${h} .description=${c ? c.versionIdentifier.name : ""} .heading=${c ? e.actions.editVersion : e.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${v(this._flowItemElement)}><calcite-panel .loading=${m === "executing"}><calcite-block expanded .label=${e.headers.versionProperties}>${_}${f}${n}${b}${g}${w}</calcite-block>${o}</calcite-panel></calcite-flow-item>`;
98
+ const { _validationError: i, currentUser: t, messages: e, mode: s } = this, c = r`<calcite-label>${e?.input.versionName}<calcite-input-text max-length=62 name=versionName .value=${s === "create-version" ? this.#i?.versionName : this.#e?.versionName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`, a = r`<calcite-label>${e?.input.versionDescription}<calcite-text-area limit-text max-length=64 name=description resize=none rows=2 scale=s .value=${s === "create-version" ? this.#i?.description : this.#e?.description} @calciteTextAreaInput=${this.#s}></calcite-text-area></calcite-label>`, n = r`<calcite-label>${e?.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this.#s} selection-mode=single-persist><calcite-chip .selected=${this.#e.access === "public" || s === "create-version"} label=public>${e?.accessLevels.public}</calcite-chip><calcite-chip .selected=${this.#e.access === "protected"} label=protected>${e?.accessLevels.protected}</calcite-chip><calcite-chip .selected=${this.#e.access === "private"} label=private>${e?.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, l = r`<calcite-label>${e?.input.versionOwner}<calcite-input-text name=ownerName .value=${s === "create-version" ? t : this.#e.ownerName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`, h = s === "create-version" ? r`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this.#n}></calcite-checkbox>${e?.actions.switchToVersion}</calcite-label>` : void 0, v = i ? r`<calcite-notice closable kind=warning open scale=s width=full @calciteNoticeClose=${() => {
99
+ this._validationError = void 0;
100
+ }}><div slot=message>${i}</div></calcite-notice>` : void 0, d = r`<calcite-button appearance=outline slot=footer width=full @click=${this.#a}>${e?.actions.cancelSave}</calcite-button><calcite-button appearance=solid slot=footer width=full @click=${this.#c}>${e?.actions.saveVersion}</calcite-button>`;
101
+ return r`<calcite-panel><calcite-block expanded .label=${e?.headers.versionProperties}>${c}${a}${n}${l}${h}${v}</calcite-block>${d}</calcite-panel>`;
92
102
  }
93
103
  }
94
- $("arcgis-version-management-version-properties", x);
104
+ p("arcgis-version-management-version-properties", f);
95
105
  export {
96
- x as ArcgisVersionManagementVersionProperties
106
+ f as ArcgisVersionManagementVersionProperties
97
107
  };
@@ -1,12 +1,11 @@
1
- import "@esri/calcite-components/components/calcite-button";
2
1
  import "@esri/calcite-components/components/calcite-label";
2
+ import "@esri/calcite-components/components/calcite-input-text";
3
+ import "@esri/calcite-components/components/calcite-text-area";
3
4
  import "@esri/calcite-components/components/calcite-chip-group";
4
5
  import "@esri/calcite-components/components/calcite-chip";
5
- import "@esri/calcite-components/components/calcite-text-area";
6
- import "@esri/calcite-components/components/calcite-input-text";
7
6
  import "@esri/calcite-components/components/calcite-checkbox";
8
7
  import "@esri/calcite-components/components/calcite-notice";
9
- import "@esri/calcite-components/components/calcite-flow-item";
8
+ import "@esri/calcite-components/components/calcite-button";
10
9
  import "@esri/calcite-components/components/calcite-panel";
11
10
  import "@esri/calcite-components/components/calcite-block";
12
11
  export * from "./customElement.js";