@esri/solutions-components 1.2.0-next.18 → 1.2.0-next.19

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 (462) hide show
  1. package/dist/cdn/{3UZ47UMG.js → 22YHU4MM.js} +2 -2
  2. package/dist/cdn/{QW5NAIQM.js → 2576ZCZN.js} +1 -1
  3. package/dist/cdn/{6QOGIQ3D.js → 26TS43IE.js} +1 -1
  4. package/dist/cdn/{I77T374J.js → 2B7IWOYW.js} +2 -2
  5. package/dist/cdn/2LOQHPQH.js +4 -0
  6. package/dist/cdn/{XMARN6GC.js → 2M3BHAXW.js} +1 -1
  7. package/dist/cdn/{6LIWYTI3.js → 2M722VOP.js} +2 -2
  8. package/dist/cdn/{KOD5SAAY.js → 2NSLOQ7Y.js} +2 -2
  9. package/dist/cdn/{UBCSUCUI.js → 2OCLY2I7.js} +2 -2
  10. package/dist/cdn/{EWWCCZSW.js → 2OIJ33BN.js} +2 -2
  11. package/dist/cdn/{BRY2Y4EC.js → 2QGKL2NV.js} +1 -1
  12. package/dist/cdn/{76X2PLPU.js → 2QQ5JFWO.js} +2 -2
  13. package/dist/cdn/{VMSWNUGP.js → 2SXODEUR.js} +2 -2
  14. package/dist/cdn/2TM6KFIN.js +4 -0
  15. package/dist/cdn/{TGPTISCS.js → 2VDO6IK7.js} +2 -2
  16. package/dist/cdn/{SNVBNGNK.js → 2ZQ3LJ7W.js} +2 -2
  17. package/dist/cdn/{KIMRX6JB.js → 32HZNJKT.js} +1 -1
  18. package/dist/cdn/{YLRKYGCH.js → 3CK3DE5X.js} +2 -2
  19. package/dist/cdn/{CLEKCDAY.js → 3HSC4RCW.js} +2 -2
  20. package/dist/cdn/{VURMUJXX.js → 3IMSKKHE.js} +2 -2
  21. package/dist/cdn/{MA6IIDKI.js → 3LSSG7JR.js} +1 -1
  22. package/dist/cdn/{3RKBQ6TF.js → 3TGDEX7S.js} +2 -2
  23. package/dist/cdn/{76L32TUJ.js → 3UU33BCC.js} +2 -2
  24. package/dist/cdn/{DIFYD4NS.js → 3VTSOF6Z.js} +2 -2
  25. package/dist/cdn/{IAKNKKA4.js → 42XPJ675.js} +2 -2
  26. package/dist/cdn/{GQ4QWPK6.js → 42Y4G657.js} +2 -2
  27. package/dist/cdn/{WWYRGPHM.js → 45NCUYXN.js} +2 -2
  28. package/dist/cdn/{7BZCK4ZO.js → 47G6QCQA.js} +2 -2
  29. package/dist/cdn/{7K3CNHWR.js → 4BIIN2YL.js} +2 -2
  30. package/dist/cdn/{NQPBPMSQ.js → 4CXECAN4.js} +2 -2
  31. package/dist/cdn/{LX72EG6Q.js → 4EWNJTNA.js} +2 -2
  32. package/dist/cdn/{YDWQASOW.js → 4PCQB2SX.js} +2 -2
  33. package/dist/cdn/{4MLIZNFM.js → 4SU4K6SE.js} +1 -1
  34. package/dist/cdn/{NA745NQD.js → 4WVWZ6W6.js} +2 -2
  35. package/dist/cdn/{KBZA2YIM.js → 5253NLNG.js} +2 -2
  36. package/dist/cdn/{344U36HQ.js → 57KNNAXU.js} +2 -2
  37. package/dist/cdn/{NDLQNYFG.js → 5ECSXH66.js} +2 -2
  38. package/dist/cdn/{M6IKYF3D.js → 5EDZ4O3G.js} +2 -2
  39. package/dist/cdn/{UZBGG5NO.js → 5EWUECGS.js} +2 -2
  40. package/dist/cdn/{XIAYTTCE.js → 5FTIKHT4.js} +2 -2
  41. package/dist/cdn/{PADEPTJM.js → 5GHOR5KN.js} +2 -2
  42. package/dist/cdn/5IEADAUB.js +18 -0
  43. package/dist/cdn/{2UKGBQ3D.js → 5JHEYLIC.js} +2 -2
  44. package/dist/cdn/{3JWRLQWB.js → 5MLZQBRJ.js} +2 -2
  45. package/dist/cdn/{7KLNMM3S.js → 5QCO4M3Y.js} +2 -2
  46. package/dist/cdn/{VXS5JOJ2.js → 5QP4XR45.js} +2 -2
  47. package/dist/cdn/{VGOCCLQ2.js → 5RMK2TPE.js} +2 -2
  48. package/dist/cdn/{CECLSYHO.js → 5SGCUMSX.js} +2 -2
  49. package/dist/cdn/{RLCIS2WQ.js → 62OQYOHS.js} +2 -2
  50. package/dist/cdn/{DHTPUGNQ.js → 62QMVKPB.js} +2 -2
  51. package/dist/cdn/{KPS53SUR.js → 64NX5JRM.js} +2 -2
  52. package/dist/cdn/{WSMZP3J5.js → 64RPCBV6.js} +2 -2
  53. package/dist/cdn/{VIP5DMMF.js → 6M6BNRWC.js} +1 -1
  54. package/dist/cdn/{SBIRMBVO.js → 6MDGO4CM.js} +2 -2
  55. package/dist/cdn/{3WEHXGE6.js → 6N5BPACU.js} +2 -2
  56. package/dist/cdn/{4GPQPGQN.js → 6SLVFYJ5.js} +1 -1
  57. package/dist/cdn/{QNJJJQHG.js → 7C7QW5XP.js} +1 -1
  58. package/dist/cdn/{UGZ4O4TO.js → 7FNTRIO4.js} +2 -2
  59. package/dist/cdn/{RC34STOK.js → 7GSGM4S7.js} +2 -2
  60. package/dist/cdn/{5NA4WDWQ.js → 7MB3WJLH.js} +2 -2
  61. package/dist/cdn/{FEKROEH2.js → 7PBHYP7W.js} +2 -2
  62. package/dist/cdn/{OPGICQN4.js → 7PQKGV3H.js} +2 -2
  63. package/dist/cdn/{73KVP23D.js → 7QB5JEVK.js} +2 -2
  64. package/dist/cdn/{Z3HHWA4E.js → 7QSRD5GC.js} +2 -2
  65. package/dist/cdn/{QWFP2WVG.js → 7S6NIOJD.js} +2 -2
  66. package/dist/cdn/{BFT6BOOK.js → 7TFQXOUF.js} +2 -2
  67. package/dist/cdn/{OPNCDPSG.js → A24JYHMG.js} +2 -2
  68. package/dist/cdn/{W34TAZFZ.js → A24YML76.js} +2 -2
  69. package/dist/cdn/{44NSVFKY.js → AA4JO44X.js} +2 -2
  70. package/dist/cdn/{TWAITYNQ.js → AB6ISD3T.js} +1 -1
  71. package/dist/cdn/{DG4ZHO45.js → ADIMNSJJ.js} +2 -2
  72. package/dist/cdn/{I6YG7HGG.js → AEVGTVHH.js} +2 -2
  73. package/dist/cdn/AFBLGS6R.js +18 -0
  74. package/dist/cdn/{KIA7HKQH.js → AFHCFB4W.js} +2 -2
  75. package/dist/cdn/{USTDT6WJ.js → ANF7GU3J.js} +2 -2
  76. package/dist/cdn/{IQFJKEGU.js → AOZBBKJW.js} +1 -1
  77. package/dist/cdn/{MJN43LIR.js → AVDJTXAO.js} +2 -2
  78. package/dist/cdn/{RSXBQNEK.js → BBIEKJEB.js} +1 -1
  79. package/dist/cdn/{AYJXUJ2I.js → BEU7NDLE.js} +1 -1
  80. package/dist/cdn/{5XCKQDXQ.js → BF3RSCPH.js} +2 -2
  81. package/dist/cdn/{O7UHCVT7.js → BGMQHNZJ.js} +2 -2
  82. package/dist/cdn/{JLEFYSZX.js → BJFC7I5X.js} +2 -2
  83. package/dist/cdn/{V6GT3HO2.js → BLM4UCNC.js} +2 -2
  84. package/dist/cdn/BV7JJC64.js +4 -0
  85. package/dist/cdn/{FFNU5BX3.js → BWHRBHOE.js} +2 -2
  86. package/dist/cdn/{SXVLN3BW.js → BWRYLT4L.js} +2 -2
  87. package/dist/cdn/{4ZAEFJET.js → BXNPSTRH.js} +2 -2
  88. package/dist/cdn/{VBPXBPO4.js → BYA7FCQQ.js} +2 -2
  89. package/dist/cdn/{GFJTHAWX.js → C2722TDJ.js} +2 -2
  90. package/dist/cdn/{47BDU5QQ.js → C36CLENN.js} +2 -2
  91. package/dist/cdn/{CUDOCXEY.js → CBB4KKT3.js} +2 -2
  92. package/dist/cdn/{BPOFWV6A.js → CI3O4ZCO.js} +2 -2
  93. package/dist/cdn/{GJTUA3YE.js → CIRZXCBS.js} +2 -2
  94. package/dist/cdn/{5G2LT64X.js → CQURVLDF.js} +2 -2
  95. package/dist/cdn/{A56T26YX.js → CUB5BLED.js} +2 -2
  96. package/dist/cdn/{3K43WB3E.js → CV7VQEA6.js} +2 -2
  97. package/dist/cdn/{LUELY7JV.js → CXQT5S7B.js} +2 -2
  98. package/dist/cdn/{37JPSHAS.js → CZV7AL35.js} +2 -2
  99. package/dist/cdn/{ISBWHDFD.js → DEURRL3K.js} +2 -2
  100. package/dist/cdn/{WHAD4AEN.js → DM3SAT6X.js} +2 -2
  101. package/dist/cdn/{7NMS7NYL.js → DMDVHEWT.js} +1 -1
  102. package/dist/cdn/{YYN4ABFE.js → DRKJZ2NM.js} +2 -2
  103. package/dist/cdn/{WZ4W4SAR.js → DRZ5PBYX.js} +2 -2
  104. package/dist/cdn/{RSBNC6LV.js → DVJIQDTF.js} +2 -2
  105. package/dist/cdn/{ID6GZJDC.js → DW5UP2DJ.js} +2 -2
  106. package/dist/cdn/{RAEAEX6X.js → DW67BQ5Z.js} +2 -2
  107. package/dist/cdn/{XPPBBD3E.js → DYKMS2XI.js} +2 -2
  108. package/dist/cdn/{2UQ4DMB6.js → DZRORQOM.js} +2 -2
  109. package/dist/cdn/{4LNHJLGD.js → E7DQ2ATA.js} +2 -2
  110. package/dist/cdn/{HQSSAV6L.js → EACE7I2L.js} +2 -2
  111. package/dist/cdn/{BGTI2K4E.js → EGG7YFYN.js} +2 -2
  112. package/dist/cdn/{HIJABCCI.js → EISSLOWS.js} +2 -2
  113. package/dist/cdn/{CN4PHBV2.js → EL2G5RIM.js} +2 -2
  114. package/dist/cdn/{74VQPMLL.js → ELWWVPQG.js} +2 -2
  115. package/dist/cdn/{CLQGSLFP.js → EMXMINVH.js} +2 -2
  116. package/dist/cdn/{V6DSXP7L.js → EORB44LC.js} +2 -2
  117. package/dist/cdn/{ZZIVECS4.js → EPANBM4J.js} +2 -2
  118. package/dist/cdn/{AOQWAQH2.js → EPPBVHFH.js} +1 -1
  119. package/dist/cdn/{FD2NN7EC.js → ETBL7HUF.js} +2 -2
  120. package/dist/cdn/{5KXODXYU.js → EWFLBOIN.js} +2 -2
  121. package/dist/cdn/{WQ3JIIRM.js → EXKSSYFW.js} +2 -2
  122. package/dist/cdn/{T4AEBJNN.js → EZATJTGX.js} +2 -2
  123. package/dist/cdn/{6SFBTMCG.js → F5E4YCCM.js} +2 -2
  124. package/dist/cdn/{M3F3DEUQ.js → F5K5DYFE.js} +2 -2
  125. package/dist/cdn/{AURWDTB5.js → FC2Q6NSN.js} +2 -2
  126. package/dist/cdn/{FHSTB5IS.js → FJ7BYQC5.js} +1 -1
  127. package/dist/cdn/{GDYLDF7A.js → FJQM5C5E.js} +2 -2
  128. package/dist/cdn/{KDYFOSCD.js → FNJIBNIH.js} +2 -2
  129. package/dist/cdn/{XBCKJYHX.js → FNJQTTAG.js} +2 -2
  130. package/dist/cdn/{COHBNG2A.js → FWLOWUEP.js} +2 -2
  131. package/dist/cdn/{QXW2O3K2.js → FZFRJKJE.js} +1 -1
  132. package/dist/cdn/{HNR7YRPS.js → GCECONXT.js} +2 -2
  133. package/dist/cdn/{2RSIGGBK.js → GDUU2E4P.js} +1 -1
  134. package/dist/cdn/{T4M2BIVX.js → GLY5CFA6.js} +2 -2
  135. package/dist/cdn/{V4OX5KXS.js → GNGB3JRT.js} +2 -2
  136. package/dist/cdn/{LRFUMSIF.js → GPHKYNKJ.js} +2 -2
  137. package/dist/cdn/{D23MM6QC.js → GVHN6EQR.js} +2 -2
  138. package/dist/cdn/{DP7PQ4DJ.js → GWM4V2YL.js} +2 -2
  139. package/dist/cdn/{DVWTXRCL.js → GYTBU56V.js} +2 -2
  140. package/dist/cdn/{5LWYHIHX.js → GZCH2X3O.js} +2 -2
  141. package/dist/cdn/{R6E5HDXB.js → H2DVZMMG.js} +2 -2
  142. package/dist/cdn/{3C7XY7JZ.js → H2TW2R3F.js} +2 -2
  143. package/dist/cdn/{GJMICEJY.js → H3MLGADV.js} +2 -2
  144. package/dist/cdn/H3NSEOBR.js +4 -0
  145. package/dist/cdn/{RDZUI3Q4.js → HFIZKZJV.js} +2 -2
  146. package/dist/cdn/{ERST6PKB.js → HFUH7OSY.js} +2 -2
  147. package/dist/cdn/{KZPIZJYS.js → HKEQ6M54.js} +2 -2
  148. package/dist/cdn/{GPOB3C3N.js → HLEEHPJY.js} +2 -2
  149. package/dist/cdn/{FI4MPPVB.js → HOR4ATTM.js} +2 -2
  150. package/dist/cdn/{HNXOAHKU.js → HSLTEBVT.js} +2 -2
  151. package/dist/cdn/{UJ3NF4ZH.js → I5B5F6TU.js} +2 -2
  152. package/dist/cdn/{2BJQZQDS.js → I7YC7OVR.js} +2 -2
  153. package/dist/cdn/{NKHXT4TS.js → IDEUYY54.js} +2 -2
  154. package/dist/cdn/{VOEF4C62.js → IDGY7DEQ.js} +2 -2
  155. package/dist/cdn/{GZSV26RT.js → IHUCCZRI.js} +1 -1
  156. package/dist/cdn/{YUYZ5LVI.js → IJS27HID.js} +2 -2
  157. package/dist/cdn/{3ZXNVGWA.js → ILO7DRWW.js} +2 -2
  158. package/dist/cdn/{KLAPVGTP.js → ISRKDDNF.js} +2 -2
  159. package/dist/cdn/IUZ5MXKE.js +4 -0
  160. package/dist/cdn/{GZU4VCZO.js → IV4EGRMK.js} +2 -2
  161. package/dist/cdn/{6Q4O4SRM.js → IXY7VOKG.js} +2 -2
  162. package/dist/cdn/{HEYTRC7R.js → J2VE6J3Y.js} +2 -2
  163. package/dist/cdn/{NBAOV5BE.js → J3D2E7OE.js} +1 -1
  164. package/dist/cdn/{YF32T3CN.js → J6JGAP2A.js} +2 -2
  165. package/dist/cdn/{F72LOXDR.js → JAQHBRLC.js} +2 -2
  166. package/dist/cdn/{XABI25AQ.js → JBE52HSM.js} +2 -2
  167. package/dist/cdn/{6IW535FZ.js → JBODA45L.js} +2 -2
  168. package/dist/cdn/{GNYM4UB5.js → JEZYT2R6.js} +4 -4
  169. package/dist/cdn/{727AITVS.js → JFR4PBJK.js} +2 -2
  170. package/dist/cdn/JGWTEN6C.js +18 -0
  171. package/dist/cdn/{EGTP4QDL.js → JKGUDN3I.js} +2 -2
  172. package/dist/cdn/{XQPKIRQW.js → JLDMQZHX.js} +2 -2
  173. package/dist/cdn/{KIIJRF3Y.js → JLWSFROV.js} +2 -2
  174. package/dist/cdn/{XSD4MT6K.js → JMFZVYIM.js} +2 -2
  175. package/dist/cdn/{WY6GMXAV.js → JNN4QEN3.js} +3 -3
  176. package/dist/cdn/{BXNWJ3PB.js → JOFQV5Z7.js} +2 -2
  177. package/dist/cdn/{SINKXJJB.js → JUDCTX7R.js} +1 -1
  178. package/dist/cdn/{B6L4YJJL.js → JURA5BX3.js} +2 -2
  179. package/dist/cdn/{BS7GBGCU.js → JXFLLGN4.js} +2 -2
  180. package/dist/cdn/{LG36UBHE.js → JYPCX7W4.js} +2 -2
  181. package/dist/cdn/{V4FBITV6.js → K3PKYIL5.js} +1 -1
  182. package/dist/cdn/{ERE3CLSB.js → KC657426.js} +1 -1
  183. package/dist/cdn/{SDAF7OUP.js → KFPRIXCO.js} +2 -2
  184. package/dist/cdn/{JD6BJZLG.js → KGW5GPOQ.js} +2 -2
  185. package/dist/cdn/{J4ALHSTM.js → KQHLTKR4.js} +2 -2
  186. package/dist/cdn/{T2BDDDGK.js → KV5F7SAJ.js} +2 -2
  187. package/dist/cdn/{D66SSZXQ.js → KWOPNRWT.js} +2 -2
  188. package/dist/cdn/{XDZPKCRD.js → L4DAPED3.js} +2 -2
  189. package/dist/cdn/{IACZ7LEO.js → LCHDPYHR.js} +2 -2
  190. package/dist/cdn/{3FQLOXBR.js → LFURIS2I.js} +2 -2
  191. package/dist/cdn/{RMUFT4FE.js → LGOAQM2P.js} +2 -2
  192. package/dist/cdn/{NHC2OEUX.js → LITZW2Q5.js} +2 -2
  193. package/dist/cdn/{M7YRCUUM.js → LJT3PLIY.js} +2 -2
  194. package/dist/cdn/{XCS3WFCN.js → LZZZZOA4.js} +3 -3
  195. package/dist/cdn/{K6BRMEJ4.js → M2OE7C43.js} +2 -2
  196. package/dist/cdn/{DCNQCIQY.js → MC2SGMCJ.js} +2 -2
  197. package/dist/cdn/{XOWFU5MA.js → MET7FVPU.js} +2 -2
  198. package/dist/cdn/{TUAX52WW.js → MJRFFEAC.js} +2 -2
  199. package/dist/cdn/{TVY42DMA.js → MPO2SBHJ.js} +2 -2
  200. package/dist/cdn/{2HTLKBJF.js → MS3BLF63.js} +2 -2
  201. package/dist/cdn/{FNXLPN7E.js → MWVG5Q3O.js} +3 -3
  202. package/dist/cdn/{XH456J7G.js → N5IFRUGW.js} +2 -2
  203. package/dist/cdn/{W5LN2GCV.js → N6WOPYZZ.js} +2 -2
  204. package/dist/cdn/{ULHFOUZB.js → NESUGAGY.js} +2 -2
  205. package/dist/cdn/{66AEEYRC.js → NJK4PUQB.js} +1 -1
  206. package/dist/cdn/{X6TPYZ6W.js → NJPKGHRB.js} +2 -2
  207. package/dist/cdn/NNLSBH63.js +4 -0
  208. package/dist/cdn/{2RQ7ABYQ.js → NNNDDTXK.js} +2 -2
  209. package/dist/cdn/{JPVRJ6QM.js → NO3YVQ6A.js} +2 -2
  210. package/dist/cdn/{4NPL5CCL.js → NOQDL573.js} +2 -2
  211. package/dist/cdn/{AO44NM6X.js → NVNXTWG7.js} +2 -2
  212. package/dist/cdn/{KJRCDU4A.js → NWGGQ57G.js} +2 -2
  213. package/dist/cdn/{K5FP5BHH.js → NXZD7IHT.js} +2 -2
  214. package/dist/cdn/{QR3EO6W4.js → NZ2VYJCI.js} +1 -1
  215. package/dist/cdn/{OCPBV65P.js → O42X2SO2.js} +2 -2
  216. package/dist/cdn/{7SLLNDRB.js → O5N5KDEC.js} +2 -2
  217. package/dist/cdn/{LVZ5VO6D.js → OBV3H4TJ.js} +1 -1
  218. package/dist/cdn/{2IS67BV5.js → OFRQL7US.js} +1 -1
  219. package/dist/cdn/{EXY7PO6K.js → OGMOWVM7.js} +2 -2
  220. package/dist/cdn/{RTB3Q64P.js → OIOZH453.js} +2 -2
  221. package/dist/cdn/{NT3L3YNG.js → OJ4DDMXC.js} +2 -2
  222. package/dist/cdn/{PPCCHTJQ.js → OJNVYEAB.js} +2 -2
  223. package/dist/cdn/{BOGQTKAN.js → OLHRRP4A.js} +2 -2
  224. package/dist/cdn/{4MXZZVRY.js → ONZ4PXK6.js} +2 -2
  225. package/dist/cdn/{ZEO66QFT.js → OOSXI2NQ.js} +2 -2
  226. package/dist/cdn/{2TOLBZLK.js → OPNQFN3A.js} +2 -2
  227. package/dist/cdn/{M6XY46RZ.js → ORRMSBXJ.js} +2 -2
  228. package/dist/cdn/{LVVMCQNI.js → OSNUUYSI.js} +2 -2
  229. package/dist/cdn/{YV2LERJZ.js → OSQHIHWX.js} +2 -2
  230. package/dist/cdn/{P6N7QXDG.js → OSXIWZYA.js} +2 -2
  231. package/dist/cdn/{5EV5EON6.js → OXRJ2EXU.js} +2 -2
  232. package/dist/cdn/{ZWC66YSK.js → P3L3PAJG.js} +2 -2
  233. package/dist/cdn/{MIESJPCM.js → P4HN56XQ.js} +2 -2
  234. package/dist/cdn/{YLZDZOO7.js → PCGJ5DDL.js} +2 -2
  235. package/dist/cdn/{OD7RALFW.js → PCPZ3BN2.js} +2 -2
  236. package/dist/cdn/{DPDL6UZU.js → PEHKQHME.js} +2 -2
  237. package/dist/cdn/PNPZOWUP.js +4 -0
  238. package/dist/cdn/{335EEDS2.js → POWWLWBX.js} +2 -2
  239. package/dist/cdn/{VKCXWASX.js → PT6HI57A.js} +2 -2
  240. package/dist/cdn/{CJGEWPH7.js → PTWSQ75I.js} +2 -2
  241. package/dist/cdn/{ZI3URB4L.js → Q2L42E65.js} +1 -1
  242. package/dist/cdn/{36OQVA4Y.js → Q2OJ2GP4.js} +1 -1
  243. package/dist/cdn/{YX5FJ4YV.js → Q66A3F65.js} +1 -1
  244. package/dist/cdn/{CMPAYAZB.js → Q7E2RV6R.js} +2 -2
  245. package/dist/cdn/{6LWKT2NF.js → QB7KEFSL.js} +2 -2
  246. package/dist/cdn/{6SK7JVUJ.js → QFL3F6UT.js} +2 -2
  247. package/dist/cdn/QIKHJKDI.js +18 -0
  248. package/dist/cdn/{YMIS5UNE.js → QIO2NZI6.js} +2 -2
  249. package/dist/cdn/{AOGXABR4.js → QJP7MJ7Q.js} +2 -2
  250. package/dist/cdn/{G27T2OU6.js → QK27OGIZ.js} +2 -2
  251. package/dist/cdn/{34THQS2Y.js → QKNNJT55.js} +2 -2
  252. package/dist/cdn/{UJQY2GWK.js → QKTLYN3B.js} +2 -2
  253. package/dist/cdn/{4OOR24BG.js → QKX6UM6J.js} +2 -2
  254. package/dist/cdn/QLODGXIA.js +4 -0
  255. package/dist/cdn/{2AZSGVAF.js → QTAPAAWM.js} +2 -2
  256. package/dist/cdn/{SM4C2ZHW.js → QWOATCKF.js} +1 -1
  257. package/dist/cdn/{BAHOMXRS.js → QXDBOEAR.js} +2 -2
  258. package/dist/cdn/{TKAKYPX2.js → R77AOSHR.js} +2 -2
  259. package/dist/cdn/{FF2A7JNL.js → RCAATVQZ.js} +2 -2
  260. package/dist/cdn/{HMMHACHH.js → RDRVZRXN.js} +2 -2
  261. package/dist/cdn/{SLQFG2KY.js → RIAT7TGZ.js} +2 -2
  262. package/dist/cdn/{RFLKPETF.js → RIHZXKSX.js} +2 -2
  263. package/dist/cdn/{TGECUQG2.js → RJ6CYMOG.js} +2 -2
  264. package/dist/cdn/{XNPT5H6Z.js → RNDMF2DV.js} +2 -2
  265. package/dist/cdn/{TBLKARSH.js → RP5MCZPA.js} +2 -2
  266. package/dist/cdn/{VBVOOJ5G.js → RP62YBD7.js} +2 -2
  267. package/dist/cdn/{6DMN3UAX.js → RPT7LG2V.js} +2 -2
  268. package/dist/cdn/{CRXUT23O.js → RR5QW2LS.js} +1 -1
  269. package/dist/cdn/{3OSAGYUU.js → RRI3FR4A.js} +2 -2
  270. package/dist/cdn/{C3BOTKL3.js → RT6M4522.js} +2 -2
  271. package/dist/cdn/{ZSQRM3X7.js → RUKVMROM.js} +2 -2
  272. package/dist/cdn/{ZETUROL6.js → RYWHE2IB.js} +2 -2
  273. package/dist/cdn/{PXFQBOGT.js → S2FG5GFR.js} +2 -2
  274. package/dist/cdn/{HFHNUJ7C.js → S4RYMDH7.js} +1 -1
  275. package/dist/cdn/{YOGZNZR5.js → S7MUN3J2.js} +1 -1
  276. package/dist/cdn/{AGB33KKS.js → SBWVOYV5.js} +2 -2
  277. package/dist/cdn/{QYISV7IM.js → SIRWAZY3.js} +2 -2
  278. package/dist/cdn/{F47U3NDJ.js → SJAXYJOO.js} +2 -2
  279. package/dist/cdn/{O24VQ3NC.js → SMNLYPLA.js} +2 -2
  280. package/dist/cdn/{ZH52A76X.js → SOC7PJNF.js} +2 -2
  281. package/dist/cdn/{ZOJQAWGR.js → SYXMVYUO.js} +2 -2
  282. package/dist/cdn/{TNWZBEYF.js → T7MLIT4T.js} +2 -2
  283. package/dist/cdn/{YWPHDKCV.js → TKTKR3TT.js} +2 -2
  284. package/dist/cdn/{5RXC2UWY.js → TN66WLKC.js} +1 -1
  285. package/dist/cdn/{IKWUDQUK.js → TOGFOYIF.js} +2 -2
  286. package/dist/cdn/{XIG4YO5H.js → TOWNV5AE.js} +2 -2
  287. package/dist/cdn/{D64QIKPI.js → TUW2HPFQ.js} +2 -2
  288. package/dist/cdn/{L3Q7U6KG.js → U5CMKNMP.js} +2 -2
  289. package/dist/cdn/{B4EWKGZN.js → U7M2RLE7.js} +2 -2
  290. package/dist/cdn/{KOBLZHQB.js → UC2GEIA5.js} +2 -2
  291. package/dist/cdn/{LRZELIFV.js → UJE6LE5L.js} +2 -2
  292. package/dist/cdn/{WHPCBWKA.js → ULUMVVAJ.js} +2 -2
  293. package/dist/cdn/{NOIHN6GC.js → UURALHJR.js} +2 -2
  294. package/dist/cdn/{RAUTX7HI.js → UVPEPCQH.js} +1 -1
  295. package/dist/cdn/{EB7TEOU4.js → UZP23SJI.js} +2 -2
  296. package/dist/cdn/{POLAD3Z4.js → VB27TX4S.js} +2 -2
  297. package/dist/cdn/{7EI6HAYQ.js → VCSRQV2E.js} +1 -1
  298. package/dist/cdn/{IRKXGS5Y.js → VJ3OUW6F.js} +2 -2
  299. package/dist/cdn/{IAXS7CQU.js → VTCBJ2D6.js} +2 -2
  300. package/dist/cdn/{WNSEW5G4.js → VVQSSMFC.js} +2 -2
  301. package/dist/cdn/{R24MTN4N.js → W5KMQ4UR.js} +2 -2
  302. package/dist/cdn/{UIKSB7N3.js → W7JFZPAP.js} +2 -2
  303. package/dist/cdn/{QW3KGC6W.js → WC6RZR3T.js} +2 -2
  304. package/dist/cdn/{CMNRSLYN.js → WILHP4N4.js} +2 -2
  305. package/dist/cdn/{3L6SKAWC.js → WIR5NLH4.js} +2 -2
  306. package/dist/cdn/{IJ52GW3T.js → WKQH4Y5B.js} +2 -2
  307. package/dist/cdn/{JQMPJQ2S.js → WL6G2TE6.js} +2 -2
  308. package/dist/cdn/{YINV2FBP.js → WMF4C6ES.js} +2 -2
  309. package/dist/cdn/{SYY42766.js → WP5FOVI3.js} +2 -2
  310. package/dist/cdn/{5VMXTLSX.js → WTNBBRNQ.js} +2 -2
  311. package/dist/cdn/{Y3SIQRL4.js → WVVUTS22.js} +2 -2
  312. package/dist/cdn/{3JZYRTNL.js → WY2BG2WH.js} +2 -2
  313. package/dist/cdn/{Q2RKVVAF.js → X2RLKMUU.js} +2 -2
  314. package/dist/cdn/{Q5I2ZTEG.js → XBWMRPVX.js} +2 -2
  315. package/dist/cdn/{GLG2K7L3.js → XDNR2XCE.js} +2 -2
  316. package/dist/cdn/{ODDNPWKP.js → XGCSSIL4.js} +2 -2
  317. package/dist/cdn/{DOMQ3WO4.js → XGEQMGW5.js} +2 -2
  318. package/dist/cdn/{HXO5QO27.js → XGYWS7PX.js} +2 -2
  319. package/dist/cdn/{RSTBBFYB.js → XJV3VHVH.js} +2 -2
  320. package/dist/cdn/{AJGQJRWA.js → XMSOTSQR.js} +2 -2
  321. package/dist/cdn/{CLHOJNVZ.js → XRTNBGY6.js} +2 -2
  322. package/dist/cdn/{AJMKM6NE.js → XUVGFDFW.js} +2 -2
  323. package/dist/cdn/{LTOFJYXH.js → XVARK74Z.js} +2 -2
  324. package/dist/cdn/{RJQBRN7F.js → XVL5ZM2K.js} +2 -2
  325. package/dist/cdn/{D6MFOG3H.js → XYEZBBPE.js} +2 -2
  326. package/dist/cdn/{2HWWZUJ6.js → Y3HLV42Z.js} +1 -1
  327. package/dist/cdn/{FA3UMPAM.js → Y3VPBOAP.js} +2 -2
  328. package/dist/cdn/{SPO4PZ6G.js → Y46SIIZB.js} +2 -2
  329. package/dist/cdn/{G7O6PQQC.js → Y6EY5UK6.js} +2 -2
  330. package/dist/cdn/{Y2YXHZZR.js → Y6KHGZUA.js} +2 -2
  331. package/dist/cdn/{TLFAXSUO.js → YAJ3T6LV.js} +2 -2
  332. package/dist/cdn/{RSRKFHGR.js → YBJ3YTV3.js} +2 -2
  333. package/dist/cdn/{QSYJ27OF.js → YF3AVJ7M.js} +2 -2
  334. package/dist/cdn/{BR3DYJKN.js → YFHLSJWF.js} +2 -2
  335. package/dist/cdn/{GYMQI5IZ.js → YJ452SYU.js} +2 -2
  336. package/dist/cdn/{6U4R5SRU.js → YJJHFUZX.js} +2 -2
  337. package/dist/cdn/{7CGB656V.js → YKWROUCD.js} +2 -2
  338. package/dist/cdn/{LTW3LX67.js → YL2SEYXX.js} +2 -2
  339. package/dist/cdn/{MS5RGIW2.js → YRNSD6C5.js} +2 -2
  340. package/dist/cdn/{DIEZNUTE.js → Z7T776GO.js} +2 -2
  341. package/dist/cdn/{B4GC6P3C.js → ZDD665TE.js} +2 -2
  342. package/dist/cdn/{XYWNMNDQ.js → ZQE7JBVT.js} +2 -2
  343. package/dist/cdn/{75KG6F23.js → ZUUI472B.js} +2 -2
  344. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -1
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/chunks/Auth.js +1 -1
  348. package/dist/chunks/CardsFetcher.js +1 -1
  349. package/dist/chunks/appConfig.js +1 -1
  350. package/dist/chunks/cardFetchingUtils.js +1 -1
  351. package/dist/chunks/cardsHelpers.js +15 -10
  352. package/dist/chunks/common.js +1 -1
  353. package/dist/chunks/deployAppContexts.js +1 -1
  354. package/dist/chunks/downloadUtils.js +1 -1
  355. package/dist/chunks/getItemIcon.js +1 -1
  356. package/dist/chunks/helpers.js +1 -1
  357. package/dist/chunks/interfaces.js +1 -1
  358. package/dist/chunks/loadModules.js +1 -1
  359. package/dist/chunks/mapViewUtils.js +1 -1
  360. package/dist/chunks/pciUtils.js +1 -1
  361. package/dist/chunks/popupUtils.js +1 -1
  362. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  363. package/dist/chunks/privilegeUtils.js +1 -1
  364. package/dist/chunks/publicNotificationContext.js +1 -1
  365. package/dist/chunks/queryUtils.js +1 -1
  366. package/dist/chunks/runtime.js +1 -1
  367. package/dist/chunks/solution-store.js +1 -1
  368. package/dist/chunks/templates.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/components/arcgis-solutions-assistant/customElement.js +7 -7
  371. package/dist/components/basemap-gallery/customElement.js +1 -1
  372. package/dist/components/buffer-tools/customElement.js +1 -1
  373. package/dist/components/card-manager/customElement.js +1 -1
  374. package/dist/components/consent-manager/customElement.js +1 -1
  375. package/dist/components/create-feature/customElement.js +1 -1
  376. package/dist/components/create-related-feature/customElement.js +1 -1
  377. package/dist/components/crowdsource-manager/customElement.js +1 -1
  378. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  379. package/dist/components/deduct-calculator/customElement.js +1 -1
  380. package/dist/components/delete-button/customElement.js +1 -1
  381. package/dist/components/delete-dialog/customElement.js +1 -1
  382. package/dist/components/edit-card/customElement.js +1 -1
  383. package/dist/components/feature-details/customElement.js +1 -1
  384. package/dist/components/feature-list/customElement.js +1 -1
  385. package/dist/components/field-selection/customElement.js +1 -1
  386. package/dist/components/floor-filter/customElement.js +1 -1
  387. package/dist/components/info-card/customElement.js +1 -1
  388. package/dist/components/json-editor/customElement.js +1 -1
  389. package/dist/components/layer-list/customElement.js +1 -1
  390. package/dist/components/layer-table/customElement.js +1 -1
  391. package/dist/components/map-card/customElement.js +1 -1
  392. package/dist/components/map-draw-tools/customElement.js +1 -1
  393. package/dist/components/map-fullscreen/customElement.js +1 -1
  394. package/dist/components/map-layer-picker/customElement.js +1 -1
  395. package/dist/components/map-legend/customElement.js +1 -1
  396. package/dist/components/map-picker/customElement.js +1 -1
  397. package/dist/components/map-search/customElement.js +1 -1
  398. package/dist/components/map-select-tools/customElement.js +1 -1
  399. package/dist/components/map-tools/customElement.js +1 -1
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-configuration/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deployed-card-panel/customElement.js +54 -39
  412. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  413. package/dist/components/solution-details-card/customElement.js +1 -1
  414. package/dist/components/solution-details-panel/customElement.js +49 -49
  415. package/dist/components/solution-item/customElement.js +1 -1
  416. package/dist/components/solution-item-accordion/customElement.js +1 -1
  417. package/dist/components/solution-item-details/customElement.js +1 -1
  418. package/dist/components/solution-item-diagram/customElement.js +1 -1
  419. package/dist/components/solution-item-icon/customElement.js +1 -1
  420. package/dist/components/solution-item-sharing/customElement.js +1 -1
  421. package/dist/components/solution-organization-variables/customElement.js +1 -1
  422. package/dist/components/solution-resource-card/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.js +1 -1
  430. package/dist/components/solutions-all-shell/customElement.js +1 -1
  431. package/dist/components/solutions-deploy-app/customElement.js +14 -14
  432. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -1
  433. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  436. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  437. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  438. package/dist/components/solutions-resources/customElement.js +1 -1
  439. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  440. package/dist/components/solutions-searchsort-toolbar/customElement.js +6 -6
  441. package/dist/components/spatial-ref/customElement.js +1 -1
  442. package/dist/components/store-manager/customElement.js +1 -1
  443. package/dist/docs/api.json +2 -2
  444. package/dist/docs/docs.json +2 -2
  445. package/dist/docs/web-types.json +1 -1
  446. package/dist/index.js +1 -1
  447. package/dist/loader.js +1 -1
  448. package/dist/utils/cardsHelpers.d.ts +7 -0
  449. package/dist/utils/interfaces.d.ts +1 -0
  450. package/package.json +1 -1
  451. package/dist/cdn/2PANTSCO.js +0 -4
  452. package/dist/cdn/2VWLMU6P.js +0 -4
  453. package/dist/cdn/CIV544KV.js +0 -18
  454. package/dist/cdn/DHI5AJ6F.js +0 -18
  455. package/dist/cdn/DHVP7AZK.js +0 -4
  456. package/dist/cdn/GF74K5WJ.js +0 -4
  457. package/dist/cdn/GQNRPYJZ.js +0 -18
  458. package/dist/cdn/IQ3QYJ7J.js +0 -4
  459. package/dist/cdn/O4JFTOMG.js +0 -18
  460. package/dist/cdn/PPKS3JHJ.js +0 -4
  461. package/dist/cdn/VZUFP3G5.js +0 -4
  462. package/dist/cdn/WLYCVDH7.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/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./M7YRCUUM.js";import{a as r}from"./7KLNMM3S.js";import"./KLAPVGTP.js";import"./YINV2FBP.js";import"./2RSIGGBK.js";import"./WQ3JIIRM.js";import"./LVZ5VO6D.js";import"./QW5NAIQM.js";import"./G27T2OU6.js";import"./YOGZNZR5.js";import"./R24MTN4N.js";import"./74VQPMLL.js";import"./BS7GBGCU.js";import"./4LNHJLGD.js";import"./F72LOXDR.js";import"./SBIRMBVO.js";import"./CMPAYAZB.js";import"./FFNU5BX3.js";import"./DCNQCIQY.js";import"./Z3HHWA4E.js";import"./3UZ47UMG.js";import"./6QOGIQ3D.js";import"./4MLIZNFM.js";import"./XMARN6GC.js";import"./4GPQPGQN.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./LJT3PLIY.js";import{a as r}from"./5QCO4M3Y.js";import"./ISRKDDNF.js";import"./WMF4C6ES.js";import"./GDUU2E4P.js";import"./EXKSSYFW.js";import"./OBV3H4TJ.js";import"./2576ZCZN.js";import"./QK27OGIZ.js";import"./S7MUN3J2.js";import"./W5KMQ4UR.js";import"./ELWWVPQG.js";import"./JXFLLGN4.js";import"./E7DQ2ATA.js";import"./JAQHBRLC.js";import"./6MDGO4CM.js";import"./Q7E2RV6R.js";import"./BWHRBHOE.js";import"./MC2SGMCJ.js";import"./7QSRD5GC.js";import"./22YHU4MM.js";import"./26TS43IE.js";import"./4SU4K6SE.js";import"./2M3BHAXW.js";import"./6SLVFYJ5.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
3
+ v1.2.0-next.19 */
4
4
  var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as b}from"./V4FBITV6.js";import{b as F}from"./UZBGG5NO.js";import{a as h}from"./6SK7JVUJ.js";import{k as m}from"./TWAITYNQ.js";import{a as I}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as A}from"./RSBNC6LV.js";import{E as y,h as E,i as n,o as S}from"./CRXUT23O.js";import"./4GPQPGQN.js";var N=E`/** @license
3
+ v1.2.0-next.19 */
4
+ import{a as b}from"./K3PKYIL5.js";import{b as F}from"./5EWUECGS.js";import{a as h}from"./QFL3F6UT.js";import{k as m}from"./AB6ISD3T.js";import{a as I}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as A}from"./DVJIQDTF.js";import{E as y,h as E,i as n,o as S}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var N=E`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as s}from"./3UZ47UMG.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
3
+ v1.2.0-next.19 */
4
+ import{a as s}from"./22YHU4MM.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as f}from"./6SK7JVUJ.js";import{a as D}from"./BRY2Y4EC.js";import{a as I}from"./GPOB3C3N.js";import{B as L,C as S}from"./SM4C2ZHW.js";import{b as k}from"./DIEZNUTE.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./CRXUT23O.js";import"./4GPQPGQN.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},v=class extends F{constructor(){super(...arguments),this._messages=I({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([S(),L()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",v);export{v as InstantAppsFilterList};
3
+ v1.2.0-next.19 */
4
+ import{a as f}from"./QFL3F6UT.js";import{a as D}from"./2QGKL2NV.js";import{a as I}from"./HLEEHPJY.js";import{B as L,C as S}from"./QWOATCKF.js";import{b as k}from"./Z7T776GO.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},v=class extends F{constructor(){super(...arguments),this._messages=I({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([S(),L()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",v);export{v as InstantAppsFilterList};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
3
+ v1.2.0-next.19 */
4
4
  var e="UserSession",a="isMobile",t="Auth";var i="config";export{e as a,a as b,t as c,i as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
3
+ v1.2.0-next.19 */
4
4
  function O(t){return t.indexOf("|")>-1&&(t=t.replace("|","::")),t}function S(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var _="~",n=256,r="slug";function G(t,e="",o=0){let R=[r];return e&&R.push(e.toLowerCase()),R.push(t),R.join("|").substring(0,n-o).replace(/-+$/,"").replace(new RegExp(`^${r}\\|`),"")}function i(t){let e=`${r}|${t}|`;return n-e.length}var c=(t,e)=>`${t.split("|").pop()}${_}${e}`;export{S as a,O as b,r as c,G as d,i as e,c as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import b from"./6Q4O4SRM.js";import a from"./6SFBTMCG.js";import{a as $}from"./6SK7JVUJ.js";import{a as L}from"./GPOB3C3N.js";import{b as I}from"./DIEZNUTE.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{E as d,G as h,i as n,r as u}from"./CRXUT23O.js";import"./4GPQPGQN.js";export default $arcgis.t(([,{e:i,f:f,h:C,j:k,m:c}])=>{var y="instant-apps-language-translator",O={lastItem:`${y}--last-item`},g=class extends d{constructor(){super(...arguments),this._messages=L({name:"instant-apps-language-translator",blocking:!0})}static{this.shadowRootOptions=u}render(){return k(this.el?.parentElement?.locales)?.length>0?this.renderUIData():this.renderNotice()}renderUIData(){if(!i?.uiData)return;let a=C();return n`<div>${a?.map((e,s)=>this.renderUIDataItem(e,s,a.length))}</div>`}renderUIDataItem(a,e,s){let r=this.el.parentElement,m=r.appSettings,b=m?.translatedLanguageLabels?.[i.currentLanguage],v=e===s-1?O.lastItem:"",D=m.content.find(t=>t.id===a);return $(`${a}-${e}`,n`<instant-apps-language-translator-item class=${h(v)} .fieldName=${a} .translatedLanguageLabels=${b} .setting=${D} .userLocaleInputOnChangeCallback=${async(t,l)=>{try{await r.userLocaleInputOnChangeCallback(t,l);let o=f.get("portalItemResource");c(o)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(t,l,o,p)=>{try{await r.translatedLocaleInputOnChangeCallback(t,l,o,p),c(p)}catch{}}}></instant-apps-language-translator-item>`)}renderNotice(){let a=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${a?.title}</div><div slot=message>${a?.message}</div></calcite-notice>`}};I("instant-apps-language-translator-content",g);return g},a,b)
3
+ v1.2.0-next.19 */
4
+ import b from"./IXY7VOKG.js";import a from"./F5E4YCCM.js";import{a as $}from"./QFL3F6UT.js";import{a as L}from"./HLEEHPJY.js";import{b as I}from"./Z7T776GO.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{E as d,G as h,i as n,r as u}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";export default $arcgis.t(([,{e:i,f:f,h:C,j:k,m:c}])=>{var y="instant-apps-language-translator",O={lastItem:`${y}--last-item`},g=class extends d{constructor(){super(...arguments),this._messages=L({name:"instant-apps-language-translator",blocking:!0})}static{this.shadowRootOptions=u}render(){return k(this.el?.parentElement?.locales)?.length>0?this.renderUIData():this.renderNotice()}renderUIData(){if(!i?.uiData)return;let a=C();return n`<div>${a?.map((e,s)=>this.renderUIDataItem(e,s,a.length))}</div>`}renderUIDataItem(a,e,s){let r=this.el.parentElement,m=r.appSettings,b=m?.translatedLanguageLabels?.[i.currentLanguage],v=e===s-1?O.lastItem:"",D=m.content.find(t=>t.id===a);return $(`${a}-${e}`,n`<instant-apps-language-translator-item class=${h(v)} .fieldName=${a} .translatedLanguageLabels=${b} .setting=${D} .userLocaleInputOnChangeCallback=${async(t,l)=>{try{await r.userLocaleInputOnChangeCallback(t,l);let o=f.get("portalItemResource");c(o)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(t,l,o,p)=>{try{await r.translatedLocaleInputOnChangeCallback(t,l,o,p),c(p)}catch{}}}></instant-apps-language-translator-item>`)}renderNotice(){let a=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${a?.title}</div><div slot=message>${a?.message}</div></calcite-notice>`}};I("instant-apps-language-translator-content",g);return g},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{g as s}from"./SM4C2ZHW.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
3
+ v1.2.0-next.19 */
4
+ import{g as s}from"./QWOATCKF.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as s}from"./SLQFG2KY.js";import"./RLCIS2WQ.js";import"./7EI6HAYQ.js";import"./2IS67BV5.js";import"./MA6IIDKI.js";import{a as r,b as a}from"./AGB33KKS.js";import"./UGZ4O4TO.js";import"./XDZPKCRD.js";import"./LX72EG6Q.js";import{a as o}from"./3RKBQ6TF.js";import{a as i}from"./ID6GZJDC.js";import"./K5FP5BHH.js";import"./FHSTB5IS.js";import"./IQFJKEGU.js";import"./YLRKYGCH.js";import"./QXW2O3K2.js";import"./7KLNMM3S.js";import"./KLAPVGTP.js";import"./YINV2FBP.js";import"./2RSIGGBK.js";import"./WQ3JIIRM.js";import"./LVZ5VO6D.js";import"./QW5NAIQM.js";import"./G27T2OU6.js";import"./YOGZNZR5.js";import"./R24MTN4N.js";import"./74VQPMLL.js";import"./BS7GBGCU.js";import"./4LNHJLGD.js";import"./F72LOXDR.js";import"./SBIRMBVO.js";import"./CMPAYAZB.js";import"./FFNU5BX3.js";import"./DCNQCIQY.js";import"./Z3HHWA4E.js";import"./3UZ47UMG.js";import"./6QOGIQ3D.js";import"./4MLIZNFM.js";import"./XMARN6GC.js";import"./4GPQPGQN.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import{a as s}from"./RIAT7TGZ.js";import"./62OQYOHS.js";import"./VCSRQV2E.js";import"./OFRQL7US.js";import"./3LSSG7JR.js";import{a as r,b as a}from"./SBWVOYV5.js";import"./7FNTRIO4.js";import"./L4DAPED3.js";import"./4EWNJTNA.js";import{a as o}from"./3TGDEX7S.js";import{a as i}from"./DW5UP2DJ.js";import"./NXZD7IHT.js";import"./FJ7BYQC5.js";import"./AOZBBKJW.js";import"./3CK3DE5X.js";import"./FZFRJKJE.js";import"./5QCO4M3Y.js";import"./ISRKDDNF.js";import"./WMF4C6ES.js";import"./GDUU2E4P.js";import"./EXKSSYFW.js";import"./OBV3H4TJ.js";import"./2576ZCZN.js";import"./QK27OGIZ.js";import"./S7MUN3J2.js";import"./W5KMQ4UR.js";import"./ELWWVPQG.js";import"./JXFLLGN4.js";import"./E7DQ2ATA.js";import"./JAQHBRLC.js";import"./6MDGO4CM.js";import"./Q7E2RV6R.js";import"./BWHRBHOE.js";import"./MC2SGMCJ.js";import"./7QSRD5GC.js";import"./22YHU4MM.js";import"./26TS43IE.js";import"./4SU4K6SE.js";import"./2M3BHAXW.js";import"./6SLVFYJ5.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{c as a}from"./XMARN6GC.js";import"./4GPQPGQN.js";export{a as MetricSchema};
3
+ v1.2.0-next.19 */
4
+ import{c as a}from"./2M3BHAXW.js";import"./6SLVFYJ5.js";export{a as MetricSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import"./4GPQPGQN.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.2.0-next.19 */
4
+ import"./6SLVFYJ5.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{d as c}from"./FHSTB5IS.js";import{a as y}from"./QXW2O3K2.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.2.0-next.19 */
4
+ import{d as c}from"./FJ7BYQC5.js";import{a as y}from"./FZFRJKJE.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as i}from"./GZSV26RT.js";import{a}from"./SLQFG2KY.js";import"./RLCIS2WQ.js";import"./7EI6HAYQ.js";import"./2IS67BV5.js";import"./MA6IIDKI.js";import"./LX72EG6Q.js";import{a as o}from"./3RKBQ6TF.js";import{a as s}from"./ID6GZJDC.js";import"./K5FP5BHH.js";import"./FHSTB5IS.js";import"./YLRKYGCH.js";import"./QXW2O3K2.js";import{b as r}from"./7KLNMM3S.js";import"./KLAPVGTP.js";import"./YINV2FBP.js";import"./2RSIGGBK.js";import"./WQ3JIIRM.js";import"./LVZ5VO6D.js";import"./QW5NAIQM.js";import"./G27T2OU6.js";import"./YOGZNZR5.js";import"./R24MTN4N.js";import"./74VQPMLL.js";import"./BS7GBGCU.js";import"./4LNHJLGD.js";import"./F72LOXDR.js";import"./SBIRMBVO.js";import"./CMPAYAZB.js";import"./FFNU5BX3.js";import"./DCNQCIQY.js";import"./Z3HHWA4E.js";import"./3UZ47UMG.js";import"./6QOGIQ3D.js";import"./4MLIZNFM.js";import"./XMARN6GC.js";import"./4GPQPGQN.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
3
+ v1.2.0-next.19 */
4
+ import{a as i}from"./IHUCCZRI.js";import{a}from"./RIAT7TGZ.js";import"./62OQYOHS.js";import"./VCSRQV2E.js";import"./OFRQL7US.js";import"./3LSSG7JR.js";import"./4EWNJTNA.js";import{a as o}from"./3TGDEX7S.js";import{a as s}from"./DW5UP2DJ.js";import"./NXZD7IHT.js";import"./FJ7BYQC5.js";import"./3CK3DE5X.js";import"./FZFRJKJE.js";import{b as r}from"./5QCO4M3Y.js";import"./ISRKDDNF.js";import"./WMF4C6ES.js";import"./GDUU2E4P.js";import"./EXKSSYFW.js";import"./OBV3H4TJ.js";import"./2576ZCZN.js";import"./QK27OGIZ.js";import"./S7MUN3J2.js";import"./W5KMQ4UR.js";import"./ELWWVPQG.js";import"./JXFLLGN4.js";import"./E7DQ2ATA.js";import"./JAQHBRLC.js";import"./6MDGO4CM.js";import"./Q7E2RV6R.js";import"./BWHRBHOE.js";import"./MC2SGMCJ.js";import"./7QSRD5GC.js";import"./22YHU4MM.js";import"./26TS43IE.js";import"./4SU4K6SE.js";import"./2M3BHAXW.js";import"./6SLVFYJ5.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as u}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as f}from"./RSBNC6LV.js";import{C as n,D as r,E as m,G as d,H as b,h as c,i as a,o as p}from"./CRXUT23O.js";import"./4GPQPGQN.js";var g=c`/** @license
3
+ v1.2.0-next.19 */
4
+ import{a as u}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as f}from"./DVJIQDTF.js";import{C as n,D as r,E as m,G as d,H as b,h as c,i as a,o as p}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var g=c`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as c}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as o}from"./RSBNC6LV.js";import{E as n,h as s,i,l as r,o as l}from"./CRXUT23O.js";import"./4GPQPGQN.js";var d=s`/** @license
3
+ v1.2.0-next.19 */
4
+ import{a as c}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as o}from"./DVJIQDTF.js";import{E as n,h as s,i,l as r,o as l}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as D}from"./VIP5DMMF.js";import{b as F}from"./UZBGG5NO.js";import{c as y,g as O,j as $}from"./4NPL5CCL.js";import{e as d}from"./TWAITYNQ.js";import{a as k,d as E,f as T}from"./RSXBQNEK.js";import{b as I}from"./2HWWZUJ6.js";import{a as G}from"./SYY42766.js";import"./VBVOOJ5G.js";import"./WHAD4AEN.js";import{b as V}from"./RSBNC6LV.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./CRXUT23O.js";import"./4GPQPGQN.js";var N=w`@layer{/** @license
3
+ v1.2.0-next.19 */
4
+ import{a as D}from"./6M6BNRWC.js";import{b as F}from"./5EWUECGS.js";import{c as y,g as O,j as $}from"./NOQDL573.js";import{e as d}from"./AB6ISD3T.js";import{a as k,d as E,f as T}from"./BBIEKJEB.js";import{b as I}from"./Y3HLV42Z.js";import{a as G}from"./WP5FOVI3.js";import"./RP62YBD7.js";import"./DM3SAT6X.js";import{b as V}from"./DVJIQDTF.js";import{C as u,D as p,E as v,G as _,H as C,h as w,i as c,o as L,r as S}from"./RR5QW2LS.js";import"./6SLVFYJ5.js";var N=w`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.18 */
4
- import{a as e}from"./7KLNMM3S.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
3
+ v1.2.0-next.19 */
4
+ import{a as e}from"./5QCO4M3Y.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};