@esri/solutions-components 0.8.5 → 0.8.6-6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2448) hide show
  1. package/dist/assets/arcgis-pdf-creator/PDFLabels.d.ts +218 -0
  2. package/dist/assets/t9n/crowdsource-reporter/resources.json +15 -8
  3. package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +15 -8
  4. package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +15 -8
  5. package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +15 -8
  6. package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +15 -8
  7. package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +15 -8
  8. package/dist/assets/t9n/crowdsource-reporter/resources_da.json +15 -8
  9. package/dist/assets/t9n/crowdsource-reporter/resources_de.json +15 -8
  10. package/dist/assets/t9n/crowdsource-reporter/resources_el.json +15 -8
  11. package/dist/assets/t9n/crowdsource-reporter/resources_en.json +15 -8
  12. package/dist/assets/t9n/crowdsource-reporter/resources_es.json +15 -8
  13. package/dist/assets/t9n/crowdsource-reporter/resources_et.json +15 -8
  14. package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +15 -8
  15. package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +15 -8
  16. package/dist/assets/t9n/crowdsource-reporter/resources_he.json +15 -8
  17. package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +15 -8
  18. package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +15 -8
  19. package/dist/assets/t9n/crowdsource-reporter/resources_id.json +15 -8
  20. package/dist/assets/t9n/crowdsource-reporter/resources_it.json +15 -8
  21. package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +15 -8
  22. package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +15 -8
  23. package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +15 -8
  24. package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +15 -8
  25. package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +15 -8
  26. package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +15 -8
  27. package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +15 -8
  28. package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +15 -8
  29. package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +15 -8
  30. package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +15 -8
  31. package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +15 -8
  32. package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +15 -8
  33. package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +15 -8
  34. package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +15 -8
  35. package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +15 -8
  36. package/dist/assets/t9n/crowdsource-reporter/resources_th.json +15 -8
  37. package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +15 -8
  38. package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +15 -8
  39. package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +15 -8
  40. package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +15 -8
  41. package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +15 -8
  42. package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +15 -8
  43. package/dist/assets/t9n/feature-list/resources.json +1 -1
  44. package/dist/assets/t9n/feature-list/resources_ar.json +1 -1
  45. package/dist/assets/t9n/feature-list/resources_bg.json +1 -1
  46. package/dist/assets/t9n/feature-list/resources_bs.json +1 -1
  47. package/dist/assets/t9n/feature-list/resources_ca.json +1 -1
  48. package/dist/assets/t9n/feature-list/resources_cs.json +1 -1
  49. package/dist/assets/t9n/feature-list/resources_da.json +1 -1
  50. package/dist/assets/t9n/feature-list/resources_de.json +1 -1
  51. package/dist/assets/t9n/feature-list/resources_el.json +1 -1
  52. package/dist/assets/t9n/feature-list/resources_en.json +1 -1
  53. package/dist/assets/t9n/feature-list/resources_es.json +1 -1
  54. package/dist/assets/t9n/feature-list/resources_et.json +1 -1
  55. package/dist/assets/t9n/feature-list/resources_fi.json +1 -1
  56. package/dist/assets/t9n/feature-list/resources_fr.json +1 -1
  57. package/dist/assets/t9n/feature-list/resources_he.json +1 -1
  58. package/dist/assets/t9n/feature-list/resources_hr.json +1 -1
  59. package/dist/assets/t9n/feature-list/resources_hu.json +1 -1
  60. package/dist/assets/t9n/feature-list/resources_id.json +1 -1
  61. package/dist/assets/t9n/feature-list/resources_it.json +1 -1
  62. package/dist/assets/t9n/feature-list/resources_ja.json +1 -1
  63. package/dist/assets/t9n/feature-list/resources_ko.json +1 -1
  64. package/dist/assets/t9n/feature-list/resources_lt.json +1 -1
  65. package/dist/assets/t9n/feature-list/resources_lv.json +1 -1
  66. package/dist/assets/t9n/feature-list/resources_nb.json +1 -1
  67. package/dist/assets/t9n/feature-list/resources_nl.json +1 -1
  68. package/dist/assets/t9n/feature-list/resources_pl.json +1 -1
  69. package/dist/assets/t9n/feature-list/resources_pt-BR.json +1 -1
  70. package/dist/assets/t9n/feature-list/resources_pt-PT.json +1 -1
  71. package/dist/assets/t9n/feature-list/resources_ro.json +1 -1
  72. package/dist/assets/t9n/feature-list/resources_ru.json +1 -1
  73. package/dist/assets/t9n/feature-list/resources_sk.json +1 -1
  74. package/dist/assets/t9n/feature-list/resources_sl.json +1 -1
  75. package/dist/assets/t9n/feature-list/resources_sr.json +1 -1
  76. package/dist/assets/t9n/feature-list/resources_sv.json +1 -1
  77. package/dist/assets/t9n/feature-list/resources_th.json +1 -1
  78. package/dist/assets/t9n/feature-list/resources_tr.json +1 -1
  79. package/dist/assets/t9n/feature-list/resources_uk.json +1 -1
  80. package/dist/assets/t9n/feature-list/resources_vi.json +1 -1
  81. package/dist/assets/t9n/feature-list/resources_zh-CN.json +1 -1
  82. package/dist/assets/t9n/feature-list/resources_zh-HK.json +1 -1
  83. package/dist/assets/t9n/feature-list/resources_zh-TW.json +1 -1
  84. package/dist/assets/t9n/layer-list/resources.json +1 -1
  85. package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
  86. package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
  87. package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
  88. package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
  89. package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
  90. package/dist/assets/t9n/layer-list/resources_da.json +1 -1
  91. package/dist/assets/t9n/layer-list/resources_de.json +1 -1
  92. package/dist/assets/t9n/layer-list/resources_el.json +1 -1
  93. package/dist/assets/t9n/layer-list/resources_en.json +1 -1
  94. package/dist/assets/t9n/layer-list/resources_es.json +1 -1
  95. package/dist/assets/t9n/layer-list/resources_et.json +1 -1
  96. package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
  97. package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
  98. package/dist/assets/t9n/layer-list/resources_he.json +1 -1
  99. package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
  100. package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
  101. package/dist/assets/t9n/layer-list/resources_id.json +1 -1
  102. package/dist/assets/t9n/layer-list/resources_it.json +1 -1
  103. package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
  104. package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
  105. package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
  106. package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
  107. package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
  108. package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
  109. package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
  110. package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
  111. package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
  112. package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
  113. package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
  114. package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
  115. package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
  116. package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
  117. package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
  118. package/dist/assets/t9n/layer-list/resources_th.json +1 -1
  119. package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
  120. package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
  121. package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
  122. package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
  123. package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
  124. package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
  125. package/dist/assets/t9n/media-card/resources.json +1 -3
  126. package/dist/assets/t9n/media-card/resources_ar.json +3 -0
  127. package/dist/assets/t9n/media-card/resources_bg.json +3 -0
  128. package/dist/assets/t9n/media-card/resources_bs.json +3 -0
  129. package/dist/assets/t9n/media-card/resources_ca.json +3 -0
  130. package/dist/assets/t9n/media-card/resources_cs.json +3 -0
  131. package/dist/assets/t9n/media-card/resources_da.json +3 -0
  132. package/dist/assets/t9n/media-card/resources_de.json +3 -0
  133. package/dist/assets/t9n/media-card/resources_el.json +3 -0
  134. package/dist/assets/t9n/media-card/resources_en.json +1 -3
  135. package/dist/assets/t9n/media-card/resources_es.json +3 -0
  136. package/dist/assets/t9n/media-card/resources_et.json +3 -0
  137. package/dist/assets/t9n/media-card/resources_fi.json +3 -0
  138. package/dist/assets/t9n/media-card/resources_fr.json +3 -0
  139. package/dist/assets/t9n/media-card/resources_he.json +3 -0
  140. package/dist/assets/t9n/media-card/resources_hr.json +3 -0
  141. package/dist/assets/t9n/media-card/resources_hu.json +3 -0
  142. package/dist/assets/t9n/media-card/resources_id.json +3 -0
  143. package/dist/assets/t9n/media-card/resources_it.json +3 -0
  144. package/dist/assets/t9n/media-card/resources_ja.json +3 -0
  145. package/dist/assets/t9n/media-card/resources_ko.json +3 -0
  146. package/dist/assets/t9n/media-card/resources_lt.json +3 -0
  147. package/dist/assets/t9n/media-card/resources_lv.json +3 -0
  148. package/dist/assets/t9n/media-card/resources_nb.json +3 -0
  149. package/dist/assets/t9n/media-card/resources_nl.json +3 -0
  150. package/dist/assets/t9n/media-card/resources_pl.json +3 -0
  151. package/dist/assets/t9n/media-card/resources_pt-BR.json +3 -0
  152. package/dist/assets/t9n/media-card/resources_pt-PT.json +3 -0
  153. package/dist/assets/t9n/media-card/resources_ro.json +3 -0
  154. package/dist/assets/t9n/media-card/resources_ru.json +3 -0
  155. package/dist/assets/t9n/media-card/resources_sk.json +3 -0
  156. package/dist/assets/t9n/media-card/resources_sl.json +3 -0
  157. package/dist/assets/t9n/media-card/resources_sr.json +3 -0
  158. package/dist/assets/t9n/media-card/resources_sv.json +3 -0
  159. package/dist/assets/t9n/media-card/resources_th.json +3 -0
  160. package/dist/assets/t9n/media-card/resources_tr.json +3 -0
  161. package/dist/assets/t9n/media-card/resources_uk.json +3 -0
  162. package/dist/assets/t9n/media-card/resources_vi.json +3 -0
  163. package/dist/assets/t9n/media-card/resources_zh-CN.json +3 -0
  164. package/dist/assets/t9n/media-card/resources_zh-HK.json +3 -0
  165. package/dist/assets/t9n/media-card/resources_zh-TW.json +3 -0
  166. package/dist/assets/t9n/public-notification/resources.json +3 -1
  167. package/dist/assets/t9n/public-notification/resources_ar.json +3 -1
  168. package/dist/assets/t9n/public-notification/resources_bg.json +3 -1
  169. package/dist/assets/t9n/public-notification/resources_bs.json +3 -1
  170. package/dist/assets/t9n/public-notification/resources_ca.json +3 -1
  171. package/dist/assets/t9n/public-notification/resources_cs.json +3 -1
  172. package/dist/assets/t9n/public-notification/resources_da.json +3 -1
  173. package/dist/assets/t9n/public-notification/resources_de.json +3 -1
  174. package/dist/assets/t9n/public-notification/resources_el.json +3 -1
  175. package/dist/assets/t9n/public-notification/resources_en.json +3 -1
  176. package/dist/assets/t9n/public-notification/resources_es.json +3 -1
  177. package/dist/assets/t9n/public-notification/resources_et.json +3 -1
  178. package/dist/assets/t9n/public-notification/resources_fi.json +3 -1
  179. package/dist/assets/t9n/public-notification/resources_fr.json +3 -1
  180. package/dist/assets/t9n/public-notification/resources_he.json +3 -1
  181. package/dist/assets/t9n/public-notification/resources_hr.json +3 -1
  182. package/dist/assets/t9n/public-notification/resources_hu.json +3 -1
  183. package/dist/assets/t9n/public-notification/resources_id.json +3 -1
  184. package/dist/assets/t9n/public-notification/resources_it.json +3 -1
  185. package/dist/assets/t9n/public-notification/resources_ja.json +3 -1
  186. package/dist/assets/t9n/public-notification/resources_ko.json +3 -1
  187. package/dist/assets/t9n/public-notification/resources_lt.json +3 -1
  188. package/dist/assets/t9n/public-notification/resources_lv.json +3 -1
  189. package/dist/assets/t9n/public-notification/resources_nb.json +3 -1
  190. package/dist/assets/t9n/public-notification/resources_nl.json +3 -1
  191. package/dist/assets/t9n/public-notification/resources_pl.json +3 -1
  192. package/dist/assets/t9n/public-notification/resources_pt-BR.json +3 -1
  193. package/dist/assets/t9n/public-notification/resources_pt-PT.json +3 -1
  194. package/dist/assets/t9n/public-notification/resources_ro.json +3 -1
  195. package/dist/assets/t9n/public-notification/resources_ru.json +3 -1
  196. package/dist/assets/t9n/public-notification/resources_sk.json +3 -1
  197. package/dist/assets/t9n/public-notification/resources_sl.json +3 -1
  198. package/dist/assets/t9n/public-notification/resources_sr.json +3 -1
  199. package/dist/assets/t9n/public-notification/resources_sv.json +3 -1
  200. package/dist/assets/t9n/public-notification/resources_th.json +3 -1
  201. package/dist/assets/t9n/public-notification/resources_tr.json +3 -1
  202. package/dist/assets/t9n/public-notification/resources_uk.json +3 -1
  203. package/dist/assets/t9n/public-notification/resources_vi.json +3 -1
  204. package/dist/assets/t9n/public-notification/resources_zh-CN.json +3 -1
  205. package/dist/assets/t9n/public-notification/resources_zh-HK.json +3 -1
  206. package/dist/assets/t9n/public-notification/resources_zh-TW.json +3 -1
  207. package/dist/assets/t9n/solution-spatial-ref/resources.json +3 -3
  208. package/dist/assets/t9n/solution-spatial-ref/resources_en.json +2 -2
  209. package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +2 -2
  210. package/dist/assets/t9n/solution-spatial-ref/resources_he.json +2 -2
  211. package/dist/cjs/ExpandToggle-08ea7a69.js +118 -0
  212. package/dist/cjs/FloatingArrow-e430eec3.js +50 -0
  213. package/dist/cjs/Heading-15954ee0.js +25 -0
  214. package/dist/cjs/Validation-0ed2f4a3.js +20 -0
  215. package/dist/cjs/_commonjsHelpers-baf43783.js +20 -0
  216. package/dist/cjs/app-globals-6acebf3e.js +69 -0
  217. package/dist/cjs/ar-10894ca2.js +105 -0
  218. package/dist/cjs/arcgis-login.cjs.entry.js +4 -3
  219. package/dist/cjs/array-550d54b1.js +17 -0
  220. package/dist/cjs/basemap-gallery_7.cjs.entry.js +100 -51
  221. package/dist/cjs/bg-0e9f4e64.js +83 -0
  222. package/dist/cjs/breakpoints-7d21666f.js +17 -0
  223. package/dist/cjs/browser-6137dfdf.js +25 -0
  224. package/dist/cjs/bs-c3be214f.js +52 -0
  225. package/dist/cjs/buffer-tools_3.cjs.entry.js +26 -24
  226. package/dist/cjs/ca-b9c955ff.js +72 -0
  227. package/dist/cjs/calcite-accordion-item.cjs.entry.js +14 -13
  228. package/dist/cjs/calcite-accordion.cjs.entry.js +6 -5
  229. package/dist/cjs/calcite-action-bar.cjs.entry.js +18 -17
  230. package/dist/cjs/calcite-action-group.cjs.entry.js +15 -14
  231. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +805 -0
  232. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +24 -22
  233. package/dist/cjs/calcite-action_2.cjs.entry.js +26 -21
  234. package/dist/cjs/calcite-alert_4.cjs.entry.js +92 -41
  235. package/dist/cjs/calcite-avatar_2.cjs.entry.js +213 -0
  236. package/dist/cjs/calcite-block-section.cjs.entry.js +14 -13
  237. package/dist/cjs/calcite-block_5.cjs.entry.js +2992 -0
  238. package/dist/cjs/calcite-button.cjs.entry.js +26 -22
  239. package/dist/cjs/calcite-card-group.cjs.entry.js +169 -0
  240. package/dist/cjs/calcite-card.cjs.entry.js +133 -37
  241. package/dist/cjs/calcite-carousel-item.cjs.entry.js +46 -0
  242. package/dist/cjs/calcite-carousel.cjs.entry.js +467 -0
  243. package/dist/cjs/calcite-checkbox.cjs.entry.js +29 -15
  244. package/dist/cjs/calcite-chip-group.cjs.entry.js +46 -23
  245. package/dist/cjs/calcite-chip_2.cjs.entry.js +53 -30
  246. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +19 -18
  247. package/dist/cjs/calcite-color-picker.cjs.entry.js +64 -47
  248. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -8
  249. package/dist/cjs/calcite-combobox_3.cjs.entry.js +2208 -0
  250. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +45 -30
  251. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +420 -0
  252. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +599 -0
  253. package/dist/cjs/calcite-fab.cjs.entry.js +11 -10
  254. package/dist/cjs/calcite-filter_5.cjs.entry.js +175 -136
  255. package/dist/cjs/calcite-flow_6.cjs.entry.js +1582 -0
  256. package/dist/cjs/calcite-icon.cjs.entry.js +10 -9
  257. package/dist/cjs/calcite-inline-editable.cjs.entry.js +20 -19
  258. package/dist/cjs/calcite-input-number.cjs.entry.js +78 -55
  259. package/dist/cjs/calcite-input-text.cjs.entry.js +61 -40
  260. package/dist/cjs/calcite-input-time-picker-99b4a577.js +1864 -0
  261. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
  262. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +71 -29
  263. package/dist/cjs/calcite-input_2.cjs.entry.js +88 -72
  264. package/dist/cjs/calcite-label.cjs.entry.js +10 -9
  265. package/dist/cjs/calcite-link.cjs.entry.js +14 -13
  266. package/dist/cjs/calcite-list-item-group.cjs.entry.js +10 -12
  267. package/dist/cjs/calcite-menu-item.cjs.entry.js +18 -14
  268. package/dist/cjs/calcite-menu.cjs.entry.js +12 -11
  269. package/dist/cjs/calcite-meter.cjs.entry.js +13 -12
  270. package/dist/cjs/calcite-modal.cjs.entry.js +21 -20
  271. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +18 -9
  272. package/dist/cjs/calcite-navigation.cjs.entry.js +10 -9
  273. package/dist/cjs/calcite-notice.cjs.entry.js +21 -20
  274. package/dist/cjs/calcite-option-group.cjs.entry.js +4 -3
  275. package/dist/cjs/calcite-option_2.cjs.entry.js +34 -19
  276. package/dist/cjs/calcite-pagination.cjs.entry.js +61 -34
  277. package/dist/cjs/calcite-panel_2.cjs.entry.js +24 -22
  278. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +11 -10
  279. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +19 -18
  280. package/dist/cjs/calcite-pick-list.cjs.entry.js +16 -15
  281. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -7
  282. package/dist/cjs/calcite-radio-button.cjs.entry.js +17 -16
  283. package/dist/cjs/calcite-rating.cjs.entry.js +20 -19
  284. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +35 -20
  285. package/dist/cjs/calcite-sheet.cjs.entry.js +14 -13
  286. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +11 -10
  287. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +340 -123
  288. package/dist/cjs/calcite-sortable-list.cjs.entry.js +13 -12
  289. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -8
  290. package/dist/cjs/calcite-stepper-item.cjs.entry.js +19 -19
  291. package/dist/cjs/calcite-stepper.cjs.entry.js +58 -98
  292. package/dist/cjs/calcite-switch.cjs.entry.js +16 -15
  293. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +53 -27
  294. package/dist/cjs/calcite-table-row.cjs.entry.js +93 -77
  295. package/dist/cjs/calcite-table.cjs.entry.js +27 -17
  296. package/dist/cjs/calcite-text-area.cjs.entry.js +57 -30
  297. package/dist/cjs/calcite-tile-group.cjs.entry.js +175 -0
  298. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +6 -5
  299. package/dist/cjs/calcite-tile-select.cjs.entry.js +11 -10
  300. package/dist/cjs/calcite-tile.cjs.entry.js +142 -19
  301. package/dist/cjs/calcite-time-picker.cjs.entry.js +33 -32
  302. package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -3
  303. package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -12
  304. package/dist/cjs/calcite-tip.cjs.entry.js +15 -14
  305. package/dist/cjs/calcite-tooltip.cjs.entry.js +20 -22
  306. package/dist/cjs/calcite-tree_2.cjs.entry.js +24 -20
  307. package/dist/cjs/card-manager_3.cjs.entry.js +125 -47
  308. package/dist/cjs/common-7ee7ad73.js +38 -0
  309. package/dist/cjs/component-d48747c9.js +33 -0
  310. package/dist/cjs/conditionalSlot-99fb1621.js +54 -0
  311. package/dist/cjs/consent-manager.cjs.entry.js +13 -1032
  312. package/dist/cjs/core-7f0bcc12.js +20 -0
  313. package/dist/cjs/crowdsource-manager.cjs.entry.js +77 -32
  314. package/dist/cjs/crowdsource-reporter.cjs.entry.js +450 -93
  315. package/dist/cjs/cs-3aaff343.js +148 -0
  316. package/dist/cjs/da-258fbd9d.js +67 -0
  317. package/dist/cjs/date-00fc3e5c.js +261 -0
  318. package/dist/cjs/de-2aebcdd2.js +92 -0
  319. package/dist/cjs/de-at-49139550.js +91 -0
  320. package/dist/cjs/de-ch-cfb5727e.js +91 -0
  321. package/dist/cjs/debounce-7f1e04d6.js +504 -0
  322. package/dist/cjs/deduct-calculator.cjs.entry.js +5 -4
  323. package/dist/cjs/dom-1c78fa73.js +1147 -0
  324. package/dist/cjs/downloadUtils-0d728477.js +3167 -0
  325. package/dist/cjs/el-b393b949.js +67 -0
  326. package/dist/cjs/en-au-0bce695e.js +67 -0
  327. package/dist/cjs/en-ca-da691553.js +66 -0
  328. package/dist/cjs/en-gb-1fcd6d59.js +70 -0
  329. package/dist/cjs/es-2509530d.js +67 -0
  330. package/dist/cjs/es-mx-634125ce.js +66 -0
  331. package/dist/cjs/esri-loader-08dc41bd.js +305 -0
  332. package/dist/cjs/et-73fb1be6.js +93 -0
  333. package/dist/cjs/feature-comments.cjs.entry.js +4 -3
  334. package/dist/cjs/feature-form-flow-item.cjs.entry.js +4 -3
  335. package/dist/cjs/feature-list.cjs.entry.js +305 -0
  336. package/dist/cjs/features-flow-item.cjs.entry.js +4 -3
  337. package/dist/cjs/fi-882d0bd9.js +116 -0
  338. package/dist/cjs/filter-f363c8fb.js +777 -0
  339. package/dist/cjs/floating-ui-d90077fa.js +2295 -0
  340. package/dist/cjs/focusTrapComponent-0c672330.js +1028 -0
  341. package/dist/cjs/form-eea3b222.js +381 -0
  342. package/dist/cjs/fr-ch-8dfbc6b7.js +67 -0
  343. package/dist/cjs/fr-f71b2679.js +69 -0
  344. package/dist/cjs/guid-a7528dfa.js +26 -0
  345. package/dist/cjs/he-b04d3082.js +106 -0
  346. package/dist/cjs/helpers-3cad996e.js +940 -0
  347. package/dist/cjs/hi-eeb6d951.js +66 -0
  348. package/dist/cjs/hr-4cbb9ab9.js +81 -0
  349. package/dist/cjs/html2canvas-29c6b9cc.js +7847 -0
  350. package/dist/cjs/hu-2f0ecbc7.js +89 -0
  351. package/dist/cjs/id-4ed2d454.js +67 -0
  352. package/dist/cjs/index-696e53e6.js +1756 -0
  353. package/dist/cjs/index-a0cca96e.js +201 -0
  354. package/dist/cjs/index.es-5402d486.js +11318 -0
  355. package/dist/cjs/input-fb5fbd7d.js +60 -0
  356. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +16 -13
  357. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +7 -6
  358. package/dist/cjs/instant-apps-create.cjs.entry.js +269 -0
  359. package/dist/cjs/instant-apps-export.cjs.entry.js +39 -23
  360. package/dist/cjs/instant-apps-header.cjs.entry.js +11 -9
  361. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +161 -150
  362. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +12 -10
  363. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +11 -10
  364. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +24 -19
  365. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +10 -9
  366. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +9 -8
  367. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +58 -21
  368. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +12 -11
  369. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +12 -11
  370. package/dist/cjs/instant-apps-measurement.cjs.entry.js +9 -8
  371. package/dist/cjs/instant-apps-popover.cjs.entry.js +9 -8
  372. package/dist/cjs/instant-apps-popovers.cjs.entry.js +4 -3
  373. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +10 -9
  374. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +169 -0
  375. package/dist/cjs/instant-apps-splash.cjs.entry.js +15 -14
  376. package/dist/cjs/interactive-34bc91a0.js +154 -0
  377. package/dist/cjs/it-ch-82d7d9c4.js +67 -0
  378. package/dist/cjs/it-fc446914.js +67 -0
  379. package/dist/cjs/ja-d4a86ac4.js +73 -0
  380. package/dist/cjs/key-7ed07912.js +19 -0
  381. package/dist/cjs/ko-78c281da.js +73 -0
  382. package/dist/cjs/label-85cf6821.js +186 -0
  383. package/dist/cjs/languageSwitcher-dc2dd354.js +60 -0
  384. package/dist/cjs/languageUtil-a3e1eafd.js +69 -0
  385. package/dist/cjs/layout-manager.cjs.entry.js +7 -6
  386. package/dist/cjs/list-flow-item.cjs.entry.js +4 -3
  387. package/dist/cjs/loadModules-8567855e.js +23 -0
  388. package/dist/cjs/loadable-53f1d561.js +94 -0
  389. package/dist/cjs/loader.cjs.js +6 -6
  390. package/dist/cjs/locale-0998a9f9.js +161 -0
  391. package/dist/cjs/locale-1d07e942.js +91 -0
  392. package/dist/cjs/locale-73a540a5.js +584 -0
  393. package/dist/cjs/location-flow-item.cjs.entry.js +4 -3
  394. package/dist/cjs/lt-81d0a34a.js +98 -0
  395. package/dist/cjs/lv-07db6759.js +67 -0
  396. package/dist/cjs/map-select-tools_3.cjs.entry.js +29 -25
  397. package/dist/cjs/mapViewUtils-78b14528.js +510 -0
  398. package/dist/cjs/math-11993213.js +60 -0
  399. package/dist/cjs/mk-cbbc8b51.js +67 -0
  400. package/dist/cjs/mode-3478ba36.js +19 -0
  401. package/dist/cjs/nb-7ed8a253.js +68 -0
  402. package/dist/cjs/nl-e4e2b298.js +68 -0
  403. package/dist/cjs/observers-a2648fc8.js +55 -0
  404. package/dist/cjs/openCloseComponent-b85eabb5.js +92 -0
  405. package/dist/cjs/pci-calculator.cjs.entry.js +5 -4
  406. package/dist/cjs/pciUtils-f1adcf64.js +847 -0
  407. package/dist/cjs/pl-770f8f68.js +115 -0
  408. package/dist/cjs/popupUtils-79328fc3.js +111 -0
  409. package/dist/cjs/pt-35056b6f.js +68 -0
  410. package/dist/cjs/pt-br-a9159df1.js +66 -0
  411. package/dist/cjs/public-notification.cjs.entry.js +146 -26
  412. package/dist/cjs/publicNotificationStore-42c4caaa.js +47 -0
  413. package/dist/cjs/purify-17c0fc4a.js +1716 -0
  414. package/dist/cjs/refine-results-flow-item.cjs.entry.js +4 -3
  415. package/dist/cjs/resources-144a98da.js +29 -0
  416. package/dist/cjs/resources-1c0e54c1.js +32 -0
  417. package/dist/cjs/resources-34f7b918.js +68 -0
  418. package/dist/cjs/resources-35c28ff1.js +23 -0
  419. package/dist/cjs/resources-38a9fa02.js +2071 -0
  420. package/dist/cjs/resources-5ba856a7.js +27 -0
  421. package/dist/cjs/resources-6146eb17.js +21 -0
  422. package/dist/cjs/resources-c35bef76.js +39 -0
  423. package/dist/cjs/resources-cb14bafc.js +52 -0
  424. package/dist/cjs/resources-f9c93f5a.js +26 -0
  425. package/dist/cjs/resources-fa37e40f.js +26 -0
  426. package/dist/cjs/restHelpersGet-d99cf121.js +934 -0
  427. package/dist/cjs/ro-6a07a288.js +67 -0
  428. package/dist/cjs/ru-2d8f6f5f.js +127 -0
  429. package/dist/cjs/share-item.cjs.entry.js +4 -3
  430. package/dist/cjs/shared-list-render-e0486f17.js +365 -0
  431. package/dist/cjs/sk-2bdec5ac.js +149 -0
  432. package/dist/cjs/sl-4aebcd29.js +169 -0
  433. package/dist/cjs/solution-configuration.cjs.entry.js +17 -357
  434. package/dist/cjs/solution-contents_3.cjs.entry.js +67 -55
  435. package/dist/cjs/solution-item-icon.cjs.entry.js +4 -3
  436. package/dist/cjs/solution-resource-a09a6fe0.js +145 -0
  437. package/dist/cjs/solution-store-3edab9b1.js +1352 -0
  438. package/dist/cjs/solutions-components.cjs.js +14 -14
  439. package/dist/cjs/sortableComponent-b1b229bf.js +2743 -0
  440. package/dist/cjs/spatial-ref.cjs.entry.js +9 -8
  441. package/dist/cjs/sr-9b46b071.js +102 -0
  442. package/dist/cjs/store-manager.cjs.entry.js +18 -14
  443. package/dist/cjs/styles-ef2b1e04.js +13 -0
  444. package/dist/cjs/sv-6d8df3c4.js +72 -0
  445. package/dist/cjs/t9n-d347df79.js +100 -0
  446. package/dist/cjs/templates-ff543f5f.js +401 -0
  447. package/dist/cjs/th-bc1b390c.js +66 -0
  448. package/dist/cjs/throttle-fe6b54a3.js +75 -0
  449. package/dist/cjs/time-882a0f77.js +289 -0
  450. package/dist/cjs/tr-cae9cd45.js +67 -0
  451. package/dist/cjs/uk-b66bf799.js +105 -0
  452. package/dist/cjs/utils-44b3a80e.js +65 -0
  453. package/dist/cjs/utils-518745e7.js +221 -0
  454. package/dist/cjs/utils-8d9c798c.js +130 -0
  455. package/dist/cjs/vi-c4217d0b.js +71 -0
  456. package/dist/cjs/zh-cn-8641645c.js +95 -0
  457. package/dist/cjs/zh-hk-7d2fa590.js +72 -0
  458. package/dist/cjs/zh-tw-2660bf33.js +93 -0
  459. package/dist/collection/collection-manifest.json +11 -3
  460. package/dist/collection/components/arcgis-login/arcgis-login.js +1 -1
  461. package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
  462. package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
  463. package/dist/collection/components/card-manager/card-manager.js +1 -1
  464. package/dist/collection/components/consent-manager/consent-manager.js +1 -0
  465. package/dist/collection/components/create-feature/create-feature.css +9 -0
  466. package/dist/collection/components/create-feature/create-feature.js +243 -52
  467. package/dist/collection/components/create-related-feature/create-related-feature.css +12 -0
  468. package/dist/collection/components/create-related-feature/create-related-feature.js +507 -0
  469. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +15 -0
  470. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +297 -76
  471. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +27 -0
  472. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +625 -215
  473. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  474. package/dist/collection/components/delete-button/delete-button.css +4 -0
  475. package/dist/collection/components/delete-button/delete-button.js +2 -2
  476. package/dist/collection/components/edit-card/edit-card.js +1 -1
  477. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  478. package/dist/collection/components/feature-details/feature-details.css +21 -0
  479. package/dist/collection/components/feature-details/feature-details.js +642 -0
  480. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  481. package/dist/collection/components/feature-list/feature-list.css +8 -1
  482. package/dist/collection/components/feature-list/feature-list.js +259 -17
  483. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  484. package/dist/collection/components/floor-filter/floor-filter.js +77 -33
  485. package/dist/collection/components/info-card/info-card.css +17 -6
  486. package/dist/collection/components/info-card/info-card.js +182 -24
  487. package/dist/collection/components/json-editor/json-editor.js +1 -1
  488. package/dist/collection/components/layer-list/layer-list.js +9 -36
  489. package/dist/collection/components/layer-table/layer-table.css +4 -0
  490. package/dist/collection/components/layer-table/layer-table.js +145 -34
  491. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  492. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  493. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  494. package/dist/collection/components/map-card/map-card.js +2 -2
  495. package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -2
  496. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  497. package/dist/collection/components/map-layer-picker/map-layer-picker.js +2 -2
  498. package/dist/collection/components/map-legend/map-legend.js +1 -1
  499. package/dist/collection/components/map-picker/map-picker.js +1 -1
  500. package/dist/collection/components/map-search/map-search.js +1 -1
  501. package/dist/collection/components/map-select-tools/map-select-tools.js +26 -9
  502. package/dist/collection/components/map-tools/map-tools.js +1 -1
  503. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  504. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  505. package/dist/collection/components/public-notification/public-notification.js +152 -15
  506. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  507. package/dist/collection/components/refine-selection/refine-selection.js +20 -2
  508. package/dist/collection/components/share-item/share-item.js +1 -1
  509. package/dist/collection/components/solution-configuration/solution-configuration.js +4 -4
  510. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  511. package/dist/collection/components/solution-item/solution-item.js +2 -2
  512. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  513. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  514. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  515. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  516. package/dist/collection/components/solution-resource-item/solution-resource-item.js +2 -2
  517. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +11 -1
  518. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +83 -47
  519. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  520. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  521. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  522. package/dist/collection/components/store-manager/store-manager.js +12 -14
  523. package/dist/collection/demos/crowdsource-manager.html +20 -6
  524. package/dist/collection/demos/crowdsource-reporter.html +156 -11
  525. package/dist/collection/demos/data/election-outreach.json +2981 -0
  526. package/dist/collection/demos/solution-item.html +7 -6
  527. package/dist/collection/demos/solution-spatial-ref.html +10 -4
  528. package/dist/collection/demos/solution-template-data.html +5 -5
  529. package/dist/collection/utils/downloadUtils.js +3 -2
  530. package/dist/collection/utils/downloadUtils.ts +3 -1
  531. package/dist/collection/utils/interfaces.ts +31 -2
  532. package/dist/collection/utils/mapViewUtils.js +29 -6
  533. package/dist/collection/utils/mapViewUtils.ts +34 -6
  534. package/dist/collection/utils/pciUtils.js +1 -1
  535. package/dist/collection/utils/pciUtils.ts +2 -2
  536. package/dist/collection/utils/pdfUtils.js +29 -34
  537. package/dist/collection/utils/pdfUtils.ts +40 -47
  538. package/dist/collection/utils/popupUtils.js +17 -2
  539. package/dist/collection/utils/popupUtils.ts +23 -3
  540. package/dist/collection/utils/publicNotificationStore.js +2 -2
  541. package/dist/collection/utils/publicNotificationStore.ts +3 -2
  542. package/dist/collection/utils/queryUtils.js +30 -0
  543. package/dist/collection/utils/queryUtils.ts +41 -0
  544. package/dist/collection/utils/solution-store.js +6 -8
  545. package/dist/collection/utils/solution-store.ts +12 -13
  546. package/dist/collection/utils/templates.js +113 -26
  547. package/dist/collection/utils/templates.ts +125 -30
  548. package/dist/collection/utils/test/templates.e2e.ts +2 -2
  549. package/dist/components/ExpandToggle.js +2 -2
  550. package/dist/components/FloatingArrow.js +1 -1
  551. package/dist/components/Heading.js +1 -1
  552. package/dist/components/Validation.js +1 -1
  553. package/dist/components/_commonjsHelpers.js +3 -28
  554. package/dist/components/action-bar.js +4 -3
  555. package/dist/components/action-group.js +5 -4
  556. package/dist/components/action-menu.js +8 -10
  557. package/dist/components/action-pad.js +4 -3
  558. package/dist/components/action.js +10 -6
  559. package/dist/components/alert.js +6 -5
  560. package/dist/components/ar.js +1 -1
  561. package/dist/components/arcgis-login.js +3 -2
  562. package/dist/components/array.js +1 -1
  563. package/dist/components/avatar.js +4 -3
  564. package/dist/components/basemap-gallery2.js +3 -2
  565. package/dist/components/bg.js +1 -1
  566. package/dist/components/block.js +8 -7
  567. package/dist/components/breakpoints.js +5 -5
  568. package/dist/components/bs.js +1 -1
  569. package/dist/components/buffer-tools2.js +3 -2
  570. package/dist/components/button.js +13 -8
  571. package/dist/components/ca.js +1 -1
  572. package/dist/components/calcite-accordion-item.js +7 -6
  573. package/dist/components/calcite-accordion.js +4 -3
  574. package/dist/components/calcite-block-section.js +5 -4
  575. package/dist/components/calcite-card-group.js +189 -0
  576. package/dist/components/calcite-card.js +143 -36
  577. package/dist/components/calcite-carousel-item.js +64 -0
  578. package/dist/components/calcite-carousel.js +523 -0
  579. package/dist/components/calcite-chip-group.js +41 -18
  580. package/dist/components/calcite-color-picker.js +57 -36
  581. package/dist/components/calcite-combobox-item-group.js +4 -3
  582. package/dist/components/calcite-fab.js +4 -3
  583. package/dist/components/calcite-inline-editable.js +7 -6
  584. package/dist/components/calcite-input-time-picker.js +33 -18
  585. package/dist/components/calcite-input-time-zone.js +60 -15
  586. package/dist/components/calcite-list-item-group.js +8 -11
  587. package/dist/components/calcite-menu-item.js +9 -5
  588. package/dist/components/calcite-meter.js +4 -3
  589. package/dist/components/calcite-navigation-logo.js +17 -7
  590. package/dist/components/calcite-navigation-user.js +1 -98
  591. package/dist/components/calcite-navigation.js +5 -4
  592. package/dist/components/calcite-option-group.js +3 -2
  593. package/dist/components/calcite-pick-list-group.js +4 -3
  594. package/dist/components/calcite-pick-list.js +4 -3
  595. package/dist/components/calcite-radio-button-group.js +4 -3
  596. package/dist/components/calcite-rating.js +6 -5
  597. package/dist/components/calcite-sheet.js +7 -6
  598. package/dist/components/calcite-shell-center-row.js +5 -4
  599. package/dist/components/calcite-sortable-list.js +5 -4
  600. package/dist/components/calcite-split-button.js +5 -4
  601. package/dist/components/calcite-stepper-item.js +8 -9
  602. package/dist/components/calcite-stepper.js +52 -94
  603. package/dist/components/calcite-table-row.js +89 -70
  604. package/dist/components/calcite-table.js +19 -7
  605. package/dist/components/calcite-text-area.js +41 -12
  606. package/dist/components/calcite-tile-group.js +199 -0
  607. package/dist/components/calcite-tile-select-group.js +3 -2
  608. package/dist/components/calcite-tile-select.js +6 -5
  609. package/dist/components/calcite-tile.js +148 -17
  610. package/dist/components/calcite-tip-group.js +3 -2
  611. package/dist/components/calcite-tip-manager.js +4 -3
  612. package/dist/components/calcite-tip.js +5 -4
  613. package/dist/components/card-manager2.js +3 -2
  614. package/dist/components/checkbox.js +19 -4
  615. package/dist/components/chip.js +36 -14
  616. package/dist/components/color-picker-hex-input.js +13 -12
  617. package/dist/components/color-picker-swatch.js +8 -7
  618. package/dist/components/combobox-item.js +5 -4
  619. package/dist/components/combobox.js +62 -38
  620. package/dist/components/component.js +1 -1
  621. package/dist/components/conditionalSlot.js +2 -11
  622. package/dist/components/consent-manager.js +9 -1029
  623. package/dist/components/core.js +15 -0
  624. package/dist/components/create-feature2.js +216 -57
  625. package/dist/components/create-related-feature.d.ts +11 -0
  626. package/dist/components/create-related-feature.js +11 -0
  627. package/dist/components/create-related-feature2.js +327 -0
  628. package/dist/components/crowdsource-manager.js +88 -34
  629. package/dist/components/crowdsource-reporter.js +621 -163
  630. package/dist/components/cs.js +1 -1
  631. package/dist/components/da.js +1 -1
  632. package/dist/components/date-picker-day.js +22 -5
  633. package/dist/components/date-picker-month-header.js +5 -4
  634. package/dist/components/date-picker-month.js +8 -10
  635. package/dist/components/date-picker.js +27 -27
  636. package/dist/components/date.js +2 -2
  637. package/dist/components/de-at.js +1 -1
  638. package/dist/components/de-ch.js +1 -1
  639. package/dist/components/de.js +1 -1
  640. package/dist/components/debounce.js +17 -9
  641. package/dist/components/deduct-calculator2.js +4 -3
  642. package/dist/components/delete-button2.js +5 -4
  643. package/dist/components/dom.js +60 -2
  644. package/dist/components/downloadUtils.js +40 -40
  645. package/dist/components/dropdown-group.js +4 -3
  646. package/dist/components/dropdown-item.js +8 -7
  647. package/dist/components/dropdown.js +11 -14
  648. package/dist/components/edit-card2.js +3 -2
  649. package/dist/components/el.js +1 -1
  650. package/dist/components/en-au.js +1 -1
  651. package/dist/components/en-ca.js +1 -1
  652. package/dist/components/en-gb.js +1 -1
  653. package/dist/components/es-mx.js +1 -1
  654. package/dist/components/es.js +1 -1
  655. package/dist/components/esri-loader.js +6 -4
  656. package/dist/components/et.js +1 -1
  657. package/dist/components/feature-comments.js +3 -2
  658. package/dist/components/feature-details.d.ts +11 -0
  659. package/dist/components/feature-details.js +11 -0
  660. package/dist/components/feature-details2.js +575 -0
  661. package/dist/components/feature-form-flow-item.js +3 -2
  662. package/dist/components/feature-list2.js +137 -23
  663. package/dist/components/features-flow-item.js +3 -2
  664. package/dist/components/fi.js +1 -1
  665. package/dist/components/filter.js +20 -8
  666. package/dist/components/filter2.js +7 -3
  667. package/dist/components/floating-ui.js +359 -31
  668. package/dist/components/floor-filter2.js +80 -36
  669. package/dist/components/flow-item.js +7 -6
  670. package/dist/components/flow.js +4 -3
  671. package/dist/components/focusTrapComponent.js +3 -3
  672. package/dist/components/form.js +89 -24
  673. package/dist/components/fr-ch.js +1 -1
  674. package/dist/components/fr.js +1 -1
  675. package/dist/components/graph.js +3 -2
  676. package/dist/components/guid.js +1 -1
  677. package/dist/components/handle.js +8 -5
  678. package/dist/components/he.js +1 -1
  679. package/dist/components/helpers.js +723 -690
  680. package/dist/components/hi.js +1 -1
  681. package/dist/components/hr.js +1 -1
  682. package/dist/components/html2canvas.js +10 -5
  683. package/dist/components/hu.js +1 -1
  684. package/dist/components/icon.js +5 -4
  685. package/dist/components/id.js +1 -1
  686. package/dist/components/index.es.js +1281 -775
  687. package/dist/components/index.js +2 -2
  688. package/dist/components/index2.js +123 -114
  689. package/dist/components/info-card2.js +65 -15
  690. package/dist/components/input-date-picker.js +52 -37
  691. package/dist/components/input-message.js +10 -10
  692. package/dist/components/input-number.js +70 -43
  693. package/dist/components/input-text.js +53 -28
  694. package/dist/components/input.js +77 -58
  695. package/dist/components/input2.js +58 -0
  696. package/dist/components/instant-apps-ckeditor-wrapper2.js +4 -3
  697. package/dist/components/instant-apps-control-panel.js +3 -2
  698. package/dist/components/instant-apps-create.js +319 -0
  699. package/dist/components/instant-apps-export.js +35 -18
  700. package/dist/components/instant-apps-filter-list2.js +32 -26
  701. package/dist/components/instant-apps-header2.js +5 -3
  702. package/dist/components/instant-apps-interactive-legend-classic2.js +158 -147
  703. package/dist/components/instant-apps-interactive-legend-count2.js +3 -2
  704. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +5 -4
  705. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +4 -3
  706. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +4 -3
  707. package/dist/components/instant-apps-interactive-legend-layer-element2.js +4 -3
  708. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +4 -3
  709. package/dist/components/instant-apps-interactive-legend-legend-element2.js +4 -3
  710. package/dist/components/instant-apps-interactive-legend-relationship2.js +4 -3
  711. package/dist/components/instant-apps-interactive-legend.js +2 -1
  712. package/dist/components/instant-apps-keyboard-shortcuts.js +3 -2
  713. package/dist/components/instant-apps-landing-page.js +102 -26
  714. package/dist/components/instant-apps-language-switcher.js +4 -3
  715. package/dist/components/instant-apps-language-translator-item2.js +2 -1
  716. package/dist/components/instant-apps-language-translator-search2.js +3 -2
  717. package/dist/components/instant-apps-language-translator2.js +46 -43
  718. package/dist/components/instant-apps-measurement-tool2.js +4 -3
  719. package/dist/components/instant-apps-measurement.js +3 -2
  720. package/dist/components/instant-apps-popover.js +3 -2
  721. package/dist/components/instant-apps-popovers.js +3 -2
  722. package/dist/components/instant-apps-scoreboard.js +3 -2
  723. package/dist/components/instant-apps-sign-in.js +11 -0
  724. package/dist/components/instant-apps-sign-in2.js +243 -0
  725. package/dist/components/instant-apps-social-share2.js +22 -14
  726. package/dist/components/instant-apps-splash.js +9 -8
  727. package/dist/components/interactive.js +28 -18
  728. package/dist/components/it-ch.js +1 -1
  729. package/dist/components/it.js +1 -1
  730. package/dist/components/ja.js +1 -1
  731. package/dist/components/json-editor2.js +3 -2
  732. package/dist/components/key.js +1 -1
  733. package/dist/components/ko.js +1 -1
  734. package/dist/components/label.js +1 -1
  735. package/dist/components/label2.js +4 -3
  736. package/dist/components/languageUtil.js +43 -43
  737. package/dist/components/layer-list2.js +12 -22
  738. package/dist/components/layer-table2.js +115 -36
  739. package/dist/components/layout-manager.js +3 -2
  740. package/dist/components/link.js +7 -6
  741. package/dist/components/list-flow-item.js +3 -2
  742. package/dist/components/list-item.js +17 -14
  743. package/dist/components/list.js +38 -44
  744. package/dist/components/loadModules.js +1 -1
  745. package/dist/components/loadModules2.js +3 -3
  746. package/dist/components/loadable.js +1 -1
  747. package/dist/components/loader.js +4 -3
  748. package/dist/components/locale2.js +2 -2
  749. package/dist/components/locale3.js +58 -58
  750. package/dist/components/location-flow-item.js +3 -2
  751. package/dist/components/lt.js +1 -1
  752. package/dist/components/lv.js +1 -1
  753. package/dist/components/map-card2.js +4 -3
  754. package/dist/components/map-draw-tools2.js +4 -3
  755. package/dist/components/map-fullscreen2.js +3 -2
  756. package/dist/components/map-layer-picker2.js +5 -4
  757. package/dist/components/map-legend2.js +3 -2
  758. package/dist/components/map-picker2.js +3 -2
  759. package/dist/components/map-search2.js +3 -2
  760. package/dist/components/map-select-tools2.js +13 -11
  761. package/dist/components/map-tools2.js +3 -2
  762. package/dist/components/mapViewUtils.js +30 -7
  763. package/dist/components/math.js +1 -1
  764. package/dist/components/menu.js +4 -3
  765. package/dist/components/mk.js +1 -1
  766. package/dist/components/modal.js +9 -8
  767. package/dist/components/mode.js +6 -6
  768. package/dist/components/navigation-user.js +106 -0
  769. package/dist/components/nb.js +1 -1
  770. package/dist/components/nl.js +1 -1
  771. package/dist/components/notice.js +8 -7
  772. package/dist/components/observers.js +1 -1
  773. package/dist/components/openCloseComponent.js +1 -1
  774. package/dist/components/option.js +3 -2
  775. package/dist/components/pagination.js +53 -25
  776. package/dist/components/panel.js +8 -7
  777. package/dist/components/pci-calculator.js +4 -3
  778. package/dist/components/pdf-download2.js +3 -2
  779. package/dist/components/pick-list-item.js +7 -6
  780. package/dist/components/pl.js +1 -1
  781. package/dist/components/popover.js +37 -35
  782. package/dist/components/popupUtils.js +17 -2
  783. package/dist/components/progress.js +3 -2
  784. package/dist/components/pt-br.js +1 -1
  785. package/dist/components/pt.js +1 -1
  786. package/dist/components/public-notification.js +138 -16
  787. package/dist/components/publicNotificationStore.js +2 -2
  788. package/dist/components/purify.js +9 -5
  789. package/dist/components/queryUtils.js +31 -17
  790. package/dist/components/radio-button.js +6 -5
  791. package/dist/components/refine-results-flow-item.js +3 -2
  792. package/dist/components/refine-selection2.js +7 -4
  793. package/dist/components/resources.js +1 -1
  794. package/dist/components/resources2.js +8 -9
  795. package/dist/components/resources3.js +1 -1
  796. package/dist/components/resources4.js +48 -10
  797. package/dist/components/resources5.js +9 -6
  798. package/dist/components/resources6.js +20 -0
  799. package/dist/components/restHelpersGet.js +344 -382
  800. package/dist/components/ro.js +1 -1
  801. package/dist/components/ru.js +1 -1
  802. package/dist/components/scrim.js +7 -6
  803. package/dist/components/segmented-control-item.js +6 -5
  804. package/dist/components/segmented-control.js +18 -3
  805. package/dist/components/select.js +20 -5
  806. package/dist/components/share-item.js +3 -2
  807. package/dist/components/shared-list-render.js +4 -4
  808. package/dist/components/shell-panel.js +4 -3
  809. package/dist/components/shell.js +4 -3
  810. package/dist/components/sk.js +1 -1
  811. package/dist/components/sl.js +1 -1
  812. package/dist/components/slider.js +123 -88
  813. package/dist/components/solution-configuration.js +6 -346
  814. package/dist/components/solution-contents2.js +3 -2
  815. package/dist/components/solution-item-details2.js +3 -2
  816. package/dist/components/solution-item-icon2.js +3 -2
  817. package/dist/components/solution-item-sharing2.js +3 -2
  818. package/dist/components/solution-item2.js +3 -2
  819. package/dist/components/solution-organization-variables2.js +3 -2
  820. package/dist/components/solution-resource-item2.js +3 -2
  821. package/dist/components/solution-resource.js +115 -111
  822. package/dist/components/solution-spatial-ref2.js +55 -46
  823. package/dist/components/solution-store.js +499 -491
  824. package/dist/components/solution-template-data2.js +3 -2
  825. package/dist/components/solution-variables2.js +3 -2
  826. package/dist/components/sortableComponent.js +3 -2
  827. package/dist/components/spatial-ref2.js +3 -2
  828. package/dist/components/sr.js +1 -1
  829. package/dist/components/stack.js +5 -4
  830. package/dist/components/store-manager.js +11 -13
  831. package/dist/components/store.js +66 -66
  832. package/dist/components/styles.js +1 -1
  833. package/dist/components/sv.js +1 -1
  834. package/dist/components/switch.js +5 -4
  835. package/dist/components/t9n.js +1 -1
  836. package/dist/components/tab-nav.js +290 -56
  837. package/dist/components/tab-title.js +9 -8
  838. package/dist/components/tab.js +6 -5
  839. package/dist/components/table-cell.js +20 -7
  840. package/dist/components/table-header.js +26 -9
  841. package/dist/components/tabs.js +5 -4
  842. package/dist/components/templates.js +395 -0
  843. package/dist/components/th.js +1 -1
  844. package/dist/components/time-picker.js +22 -21
  845. package/dist/components/tooltip.js +13 -15
  846. package/dist/components/tr.js +1 -1
  847. package/dist/components/tree-item.js +11 -8
  848. package/dist/components/tree.js +6 -5
  849. package/dist/components/uk.js +1 -1
  850. package/dist/components/utils.js +2 -2
  851. package/dist/components/utils2.js +5 -3
  852. package/dist/components/utils3.js +2 -55
  853. package/dist/components/utils4.js +80 -80
  854. package/dist/components/value-list-item.js +7 -6
  855. package/dist/components/value-list.js +8 -8
  856. package/dist/components/vi.js +1 -1
  857. package/dist/components/zh-cn.js +1 -1
  858. package/dist/components/zh-hk.js +1 -1
  859. package/dist/components/zh-tw.js +1 -1
  860. package/dist/esm/ExpandToggle-0efa470f.js +110 -0
  861. package/dist/esm/FloatingArrow-c549da32.js +48 -0
  862. package/dist/esm/Heading-2104570d.js +22 -0
  863. package/dist/esm/Validation-cc8dc911.js +18 -0
  864. package/dist/esm/_commonjsHelpers-089957fe.js +16 -0
  865. package/dist/esm/app-globals-c4c8d6c1.js +67 -0
  866. package/dist/esm/ar-c705a441.js +103 -0
  867. package/dist/esm/arcgis-login.entry.js +4 -3
  868. package/dist/esm/array-2604a55d.js +15 -0
  869. package/dist/esm/basemap-gallery_7.entry.js +100 -51
  870. package/dist/esm/bg-48ed25da.js +81 -0
  871. package/dist/esm/breakpoints-3afa0fd9.js +15 -0
  872. package/dist/esm/browser-7fe78178.js +23 -0
  873. package/dist/esm/bs-67c8cc20.js +50 -0
  874. package/dist/esm/buffer-tools_3.entry.js +26 -24
  875. package/dist/esm/ca-26cc0a78.js +70 -0
  876. package/dist/esm/calcite-accordion-item.entry.js +14 -13
  877. package/dist/esm/calcite-accordion.entry.js +6 -5
  878. package/dist/esm/calcite-action-bar.entry.js +18 -17
  879. package/dist/esm/calcite-action-group.entry.js +15 -14
  880. package/dist/esm/calcite-action-menu_3.entry.js +799 -0
  881. package/dist/esm/calcite-action-pad_2.entry.js +24 -22
  882. package/dist/esm/calcite-action_2.entry.js +26 -21
  883. package/dist/esm/calcite-alert_4.entry.js +92 -41
  884. package/dist/esm/calcite-avatar_2.entry.js +208 -0
  885. package/dist/esm/calcite-block-section.entry.js +14 -13
  886. package/dist/esm/calcite-block_5.entry.js +2984 -0
  887. package/dist/esm/calcite-button.entry.js +26 -22
  888. package/dist/esm/calcite-card-group.entry.js +165 -0
  889. package/dist/esm/calcite-card.entry.js +133 -37
  890. package/dist/esm/calcite-carousel-item.entry.js +42 -0
  891. package/dist/esm/calcite-carousel.entry.js +463 -0
  892. package/dist/esm/calcite-checkbox.entry.js +29 -15
  893. package/dist/esm/calcite-chip-group.entry.js +46 -23
  894. package/dist/esm/calcite-chip_2.entry.js +53 -30
  895. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +23 -22
  896. package/dist/esm/calcite-color-picker.entry.js +67 -50
  897. package/dist/esm/calcite-combobox-item-group.entry.js +9 -8
  898. package/dist/esm/calcite-combobox_3.entry.js +2202 -0
  899. package/dist/esm/calcite-date-picker-day_3.entry.js +45 -30
  900. package/dist/esm/calcite-dropdown-group_2.entry.js +415 -0
  901. package/dist/esm/calcite-dropdown_2.entry.js +594 -0
  902. package/dist/esm/calcite-fab.entry.js +11 -10
  903. package/dist/esm/calcite-filter_5.entry.js +141 -102
  904. package/dist/esm/calcite-flow_6.entry.js +1573 -0
  905. package/dist/esm/calcite-icon.entry.js +10 -9
  906. package/dist/esm/calcite-inline-editable.entry.js +20 -19
  907. package/dist/esm/calcite-input-number.entry.js +77 -54
  908. package/dist/esm/calcite-input-text.entry.js +60 -39
  909. package/dist/esm/calcite-input-time-picker-338cf509.js +1861 -0
  910. package/dist/esm/calcite-input-time-picker.entry.js +20 -20
  911. package/dist/esm/calcite-input-time-zone.entry.js +71 -29
  912. package/dist/esm/calcite-input_2.entry.js +87 -71
  913. package/dist/esm/calcite-label.entry.js +10 -9
  914. package/dist/esm/calcite-link.entry.js +14 -13
  915. package/dist/esm/calcite-list-item-group.entry.js +10 -12
  916. package/dist/esm/calcite-menu-item.entry.js +18 -14
  917. package/dist/esm/calcite-menu.entry.js +12 -11
  918. package/dist/esm/calcite-meter.entry.js +13 -12
  919. package/dist/esm/calcite-modal.entry.js +21 -20
  920. package/dist/esm/calcite-navigation-logo.entry.js +18 -9
  921. package/dist/esm/calcite-navigation.entry.js +10 -9
  922. package/dist/esm/calcite-notice.entry.js +21 -20
  923. package/dist/esm/calcite-option-group.entry.js +4 -3
  924. package/dist/esm/calcite-option_2.entry.js +34 -19
  925. package/dist/esm/calcite-pagination.entry.js +61 -34
  926. package/dist/esm/calcite-panel_2.entry.js +24 -22
  927. package/dist/esm/calcite-pick-list-group.entry.js +11 -10
  928. package/dist/esm/calcite-pick-list-item.entry.js +19 -18
  929. package/dist/esm/calcite-pick-list.entry.js +16 -15
  930. package/dist/esm/calcite-radio-button-group.entry.js +8 -7
  931. package/dist/esm/calcite-radio-button.entry.js +17 -16
  932. package/dist/esm/calcite-rating.entry.js +20 -19
  933. package/dist/esm/calcite-segmented-control_2.entry.js +35 -20
  934. package/dist/esm/calcite-sheet.entry.js +14 -13
  935. package/dist/esm/calcite-shell-center-row.entry.js +11 -10
  936. package/dist/esm/calcite-shell-panel_14.entry.js +340 -123
  937. package/dist/esm/calcite-sortable-list.entry.js +13 -12
  938. package/dist/esm/calcite-split-button.entry.js +9 -8
  939. package/dist/esm/calcite-stepper-item.entry.js +19 -19
  940. package/dist/esm/calcite-stepper.entry.js +58 -98
  941. package/dist/esm/calcite-switch.entry.js +16 -15
  942. package/dist/esm/calcite-table-cell_2.entry.js +53 -27
  943. package/dist/esm/calcite-table-row.entry.js +93 -77
  944. package/dist/esm/calcite-table.entry.js +27 -17
  945. package/dist/esm/calcite-text-area.entry.js +54 -27
  946. package/dist/esm/calcite-tile-group.entry.js +171 -0
  947. package/dist/esm/calcite-tile-select-group.entry.js +6 -5
  948. package/dist/esm/calcite-tile-select.entry.js +11 -10
  949. package/dist/esm/calcite-tile.entry.js +142 -19
  950. package/dist/esm/calcite-time-picker.entry.js +33 -32
  951. package/dist/esm/calcite-tip-group.entry.js +4 -3
  952. package/dist/esm/calcite-tip-manager.entry.js +13 -12
  953. package/dist/esm/calcite-tip.entry.js +15 -14
  954. package/dist/esm/calcite-tooltip.entry.js +20 -22
  955. package/dist/esm/calcite-tree_2.entry.js +24 -20
  956. package/dist/esm/card-manager_3.entry.js +125 -47
  957. package/dist/esm/common-96e3ddb0.js +36 -0
  958. package/dist/esm/component-960ddabf.js +30 -0
  959. package/dist/esm/conditionalSlot-850652b1.js +51 -0
  960. package/dist/esm/consent-manager.entry.js +13 -1032
  961. package/dist/esm/core-6a3c13ac.js +15 -0
  962. package/dist/esm/crowdsource-manager.entry.js +77 -32
  963. package/dist/esm/crowdsource-reporter.entry.js +450 -93
  964. package/dist/esm/cs-3904d9c5.js +146 -0
  965. package/dist/esm/da-6631bc66.js +65 -0
  966. package/dist/esm/date-118148f9.js +245 -0
  967. package/dist/esm/de-68e0ccb3.js +90 -0
  968. package/dist/esm/de-at-d05edf69.js +89 -0
  969. package/dist/esm/de-ch-d7d9f8b9.js +89 -0
  970. package/dist/esm/debounce-6e9ade8c.js +495 -0
  971. package/dist/esm/deduct-calculator.entry.js +5 -4
  972. package/dist/esm/dom-d675fe65.js +1114 -0
  973. package/dist/esm/downloadUtils-de5ccf30.js +3160 -0
  974. package/dist/esm/el-fed50b65.js +65 -0
  975. package/dist/esm/en-au-5a92bd2f.js +65 -0
  976. package/dist/esm/en-ca-4cb5380c.js +64 -0
  977. package/dist/esm/en-gb-95bbea85.js +68 -0
  978. package/dist/esm/es-88df3c8f.js +65 -0
  979. package/dist/esm/es-mx-55caef32.js +64 -0
  980. package/dist/esm/esri-loader-c6842c6b.js +303 -0
  981. package/dist/esm/et-57bffe46.js +91 -0
  982. package/dist/esm/feature-comments.entry.js +4 -3
  983. package/dist/esm/feature-form-flow-item.entry.js +4 -3
  984. package/dist/esm/feature-list.entry.js +301 -0
  985. package/dist/esm/features-flow-item.entry.js +4 -3
  986. package/dist/esm/fi-d8584bb7.js +114 -0
  987. package/dist/esm/filter-d09ea2a2.js +775 -0
  988. package/dist/esm/floating-ui-3e149d85.js +2287 -0
  989. package/dist/esm/focusTrapComponent-63bf0d9f.js +1023 -0
  990. package/dist/esm/form-8b2f6210.js +372 -0
  991. package/dist/esm/fr-8e4f3326.js +67 -0
  992. package/dist/esm/fr-ch-6f2764a9.js +65 -0
  993. package/dist/esm/guid-f05d01d5.js +24 -0
  994. package/dist/esm/he-1e8dacc2.js +104 -0
  995. package/dist/esm/helpers-ca6fa5a6.js +913 -0
  996. package/dist/esm/hi-c786d0be.js +64 -0
  997. package/dist/esm/hr-6c59640e.js +79 -0
  998. package/dist/esm/html2canvas-6443b68e.js +7845 -0
  999. package/dist/esm/hu-bc712f59.js +87 -0
  1000. package/dist/esm/id-e11a4447.js +65 -0
  1001. package/dist/esm/index-1dc14abf.js +199 -0
  1002. package/dist/esm/index-e3f04fa1.js +1722 -0
  1003. package/dist/esm/index.es-c1c29b61.js +11231 -0
  1004. package/dist/esm/input-96cf61a2.js +58 -0
  1005. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +16 -13
  1006. package/dist/esm/instant-apps-control-panel.entry.js +7 -6
  1007. package/dist/esm/instant-apps-create.entry.js +265 -0
  1008. package/dist/esm/instant-apps-export.entry.js +39 -23
  1009. package/dist/esm/instant-apps-header.entry.js +11 -9
  1010. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +161 -150
  1011. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +12 -10
  1012. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +11 -10
  1013. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +24 -19
  1014. package/dist/esm/instant-apps-interactive-legend.entry.js +10 -9
  1015. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +9 -8
  1016. package/dist/esm/instant-apps-landing-page.entry.js +58 -21
  1017. package/dist/esm/instant-apps-language-switcher.entry.js +12 -11
  1018. package/dist/esm/instant-apps-language-translator.entry.js +12 -11
  1019. package/dist/esm/instant-apps-measurement.entry.js +9 -8
  1020. package/dist/esm/instant-apps-popover.entry.js +9 -8
  1021. package/dist/esm/instant-apps-popovers.entry.js +4 -3
  1022. package/dist/esm/instant-apps-scoreboard.entry.js +10 -9
  1023. package/dist/esm/instant-apps-sign-in.entry.js +165 -0
  1024. package/dist/esm/instant-apps-splash.entry.js +15 -14
  1025. package/dist/esm/interactive-2e2d102f.js +149 -0
  1026. package/dist/esm/it-4e97c5c6.js +65 -0
  1027. package/dist/esm/it-ch-e80d2f46.js +65 -0
  1028. package/dist/esm/ja-e3822be4.js +71 -0
  1029. package/dist/esm/key-092b6260.js +16 -0
  1030. package/dist/esm/ko-d6df4c1f.js +71 -0
  1031. package/dist/esm/label-5692de01.js +179 -0
  1032. package/dist/esm/languageSwitcher-9db90f1e.js +57 -0
  1033. package/dist/esm/languageUtil-2b6e191a.js +66 -0
  1034. package/dist/esm/layout-manager.entry.js +7 -6
  1035. package/dist/esm/list-flow-item.entry.js +4 -3
  1036. package/dist/esm/loadModules-03ba7abe.js +21 -0
  1037. package/dist/esm/loadable-01033497.js +89 -0
  1038. package/dist/esm/loader.js +7 -7
  1039. package/dist/esm/locale-0f1cdb1f.js +156 -0
  1040. package/dist/esm/locale-60861d67.js +571 -0
  1041. package/dist/esm/locale-d66155ee.js +86 -0
  1042. package/dist/esm/location-flow-item.entry.js +4 -3
  1043. package/dist/esm/lt-9d03bfa7.js +96 -0
  1044. package/dist/esm/lv-fff7ca43.js +65 -0
  1045. package/dist/esm/map-select-tools_3.entry.js +29 -25
  1046. package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
  1047. package/dist/esm/math-81650811.js +54 -0
  1048. package/dist/esm/mk-3d27ae0d.js +65 -0
  1049. package/dist/esm/mode-8c5f5dc9.js +17 -0
  1050. package/dist/esm/nb-3e1284dc.js +66 -0
  1051. package/dist/esm/nl-45346a3c.js +66 -0
  1052. package/dist/esm/observers-fdb7a374.js +53 -0
  1053. package/dist/esm/openCloseComponent-1fbfcd2f.js +90 -0
  1054. package/dist/esm/pci-calculator.entry.js +5 -4
  1055. package/dist/esm/pciUtils-986ddad9.js +844 -0
  1056. package/dist/esm/pl-851e041f.js +113 -0
  1057. package/dist/esm/popupUtils-2c4baa5d.js +109 -0
  1058. package/dist/esm/pt-8899042f.js +66 -0
  1059. package/dist/esm/pt-br-a43d0201.js +64 -0
  1060. package/dist/esm/public-notification.entry.js +146 -26
  1061. package/dist/esm/publicNotificationStore-c17ad008.js +45 -0
  1062. package/dist/esm/purify-72515357.js +1714 -0
  1063. package/dist/esm/refine-results-flow-item.entry.js +4 -3
  1064. package/dist/esm/resources-16800cce.js +24 -0
  1065. package/dist/esm/resources-1febf4c6.js +28 -0
  1066. package/dist/esm/resources-3587e9a5.js +20 -0
  1067. package/dist/esm/resources-7c4efc5e.js +22 -0
  1068. package/dist/esm/resources-7c61fbec.js +62 -0
  1069. package/dist/esm/resources-7d202c09.js +24 -0
  1070. package/dist/esm/resources-810e7513.js +48 -0
  1071. package/dist/esm/resources-ae36eaff.js +19 -0
  1072. package/dist/esm/resources-da3b53f5.js +2060 -0
  1073. package/dist/esm/resources-dd68a4aa.js +35 -0
  1074. package/dist/esm/resources-e4b779b0.js +23 -0
  1075. package/dist/esm/restHelpersGet-eb33e6e1.js +921 -0
  1076. package/dist/esm/ro-58f14d8f.js +65 -0
  1077. package/dist/esm/ru-4688c237.js +125 -0
  1078. package/dist/esm/share-item.entry.js +4 -3
  1079. package/dist/esm/shared-list-render-b7b0f245.js +343 -0
  1080. package/dist/esm/sk-cc16b6af.js +147 -0
  1081. package/dist/esm/sl-809eaa2e.js +167 -0
  1082. package/dist/esm/solution-configuration.entry.js +14 -354
  1083. package/dist/esm/solution-contents_3.entry.js +67 -55
  1084. package/dist/esm/solution-item-icon.entry.js +4 -3
  1085. package/dist/esm/solution-resource-3108caf7.js +142 -0
  1086. package/dist/esm/solution-store-010d2027.js +1350 -0
  1087. package/dist/esm/solutions-components.js +15 -15
  1088. package/dist/esm/sortableComponent-e4ebf0bf.js +2739 -0
  1089. package/dist/esm/spatial-ref.entry.js +9 -8
  1090. package/dist/esm/sr-48ddceba.js +100 -0
  1091. package/dist/esm/store-manager.entry.js +18 -14
  1092. package/dist/esm/styles-b3492d9f.js +11 -0
  1093. package/dist/esm/sv-2f138f0f.js +70 -0
  1094. package/dist/esm/t9n-5800da82.js +95 -0
  1095. package/dist/esm/templates-3bc0b4de.js +395 -0
  1096. package/dist/esm/th-b3474642.js +64 -0
  1097. package/dist/esm/throttle-aed86bf3.js +73 -0
  1098. package/dist/esm/time-7837ffad.js +274 -0
  1099. package/dist/esm/tr-52b937e8.js +65 -0
  1100. package/dist/esm/uk-e0460e9b.js +103 -0
  1101. package/dist/esm/utils-251cb6de.js +203 -0
  1102. package/dist/esm/utils-8519a5f7.js +121 -0
  1103. package/dist/esm/utils-e4ed10d3.js +54 -0
  1104. package/dist/esm/vi-1b5fccc2.js +69 -0
  1105. package/dist/esm/zh-cn-559b2148.js +93 -0
  1106. package/dist/esm/zh-hk-beb2d45d.js +70 -0
  1107. package/dist/esm/zh-tw-a9743012.js +91 -0
  1108. package/dist/loader/cdn.js +1 -2
  1109. package/dist/loader/index.cjs.js +1 -2
  1110. package/dist/loader/index.d.ts +3 -0
  1111. package/dist/loader/index.es2017.js +1 -2
  1112. package/dist/loader/index.js +1 -2
  1113. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
  1114. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +7 -8
  1115. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +16 -20
  1116. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
  1117. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
  1118. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
  1119. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
  1120. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +7 -7
  1121. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
  1122. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +7 -7
  1123. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +11 -11
  1124. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +8 -10
  1125. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +197 -41
  1126. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +73 -0
  1127. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +330 -0
  1128. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +45 -0
  1129. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +7 -7
  1130. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +8 -8
  1131. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
  1132. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +6 -6
  1133. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  1134. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  1135. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +23 -14
  1136. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +8 -10
  1137. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  1138. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  1139. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +7 -7
  1140. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +21 -20
  1141. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +8 -8
  1142. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
  1143. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  1144. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +10 -14
  1145. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
  1146. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
  1147. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  1148. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +6 -5
  1149. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  1150. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +6 -7
  1151. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
  1152. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +6 -6
  1153. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +14 -14
  1154. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +11 -5
  1155. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +7 -7
  1156. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +14 -14
  1157. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +11 -11
  1158. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +11 -5
  1159. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  1160. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
  1161. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -9
  1162. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -25
  1163. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +50 -29
  1164. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +7 -24
  1165. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +15 -16
  1166. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  1167. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +6 -6
  1168. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
  1169. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +8 -8
  1170. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  1171. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +9 -9
  1172. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +16 -16
  1173. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +10 -10
  1174. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  1175. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  1176. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +7 -7
  1177. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -5
  1178. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
  1179. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  1180. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +6 -6
  1181. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
  1182. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
  1183. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +7 -7
  1184. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  1185. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +8 -8
  1186. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  1187. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
  1188. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +6 -6
  1189. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +12 -9
  1190. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  1191. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
  1192. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  1193. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +6 -6
  1194. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +6 -6
  1195. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
  1196. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +6 -6
  1197. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +10 -12
  1198. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +11 -8
  1199. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +59 -32
  1200. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +6 -6
  1201. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +23 -5
  1202. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +103 -19
  1203. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +81 -98
  1204. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
  1205. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +24 -11
  1206. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +28 -12
  1207. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
  1208. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +11 -12
  1209. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +7 -10
  1210. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +159 -80
  1211. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +86 -0
  1212. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +7 -7
  1213. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  1214. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  1215. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +6 -6
  1216. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  1217. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +7 -7
  1218. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
  1219. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  1220. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +21 -17
  1221. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
  1222. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +6 -6
  1223. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-create/instant-apps-create.css +150 -0
  1224. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +21 -9
  1225. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +19 -0
  1226. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +93 -0
  1227. package/dist/solutions-components/assets/card/t9n/messages.json +1 -1
  1228. package/dist/solutions-components/assets/card/t9n/messages_ar.json +1 -1
  1229. package/dist/solutions-components/assets/card/t9n/messages_bg.json +1 -1
  1230. package/dist/solutions-components/assets/card/t9n/messages_bs.json +1 -1
  1231. package/dist/solutions-components/assets/card/t9n/messages_ca.json +1 -1
  1232. package/dist/solutions-components/assets/card/t9n/messages_cs.json +1 -1
  1233. package/dist/solutions-components/assets/card/t9n/messages_da.json +1 -1
  1234. package/dist/solutions-components/assets/card/t9n/messages_de.json +1 -1
  1235. package/dist/solutions-components/assets/card/t9n/messages_el.json +1 -1
  1236. package/dist/solutions-components/assets/card/t9n/messages_en.json +1 -1
  1237. package/dist/solutions-components/assets/card/t9n/messages_es.json +1 -1
  1238. package/dist/solutions-components/assets/card/t9n/messages_et.json +1 -1
  1239. package/dist/solutions-components/assets/card/t9n/messages_fi.json +1 -1
  1240. package/dist/solutions-components/assets/card/t9n/messages_fr.json +1 -1
  1241. package/dist/solutions-components/assets/card/t9n/messages_he.json +1 -1
  1242. package/dist/solutions-components/assets/card/t9n/messages_hr.json +1 -1
  1243. package/dist/solutions-components/assets/card/t9n/messages_hu.json +1 -1
  1244. package/dist/solutions-components/assets/card/t9n/messages_id.json +1 -1
  1245. package/dist/solutions-components/assets/card/t9n/messages_it.json +1 -1
  1246. package/dist/solutions-components/assets/card/t9n/messages_ja.json +1 -1
  1247. package/dist/solutions-components/assets/card/t9n/messages_ko.json +1 -1
  1248. package/dist/solutions-components/assets/card/t9n/messages_lt.json +1 -1
  1249. package/dist/solutions-components/assets/card/t9n/messages_lv.json +1 -1
  1250. package/dist/solutions-components/assets/card/t9n/messages_nl.json +1 -1
  1251. package/dist/solutions-components/assets/card/t9n/messages_no.json +1 -1
  1252. package/dist/solutions-components/assets/card/t9n/messages_pl.json +1 -1
  1253. package/dist/solutions-components/assets/card/t9n/messages_pt-BR.json +1 -1
  1254. package/dist/solutions-components/assets/card/t9n/messages_pt-PT.json +1 -1
  1255. package/dist/solutions-components/assets/card/t9n/messages_ro.json +1 -1
  1256. package/dist/solutions-components/assets/card/t9n/messages_ru.json +1 -1
  1257. package/dist/solutions-components/assets/card/t9n/messages_sk.json +1 -1
  1258. package/dist/solutions-components/assets/card/t9n/messages_sl.json +1 -1
  1259. package/dist/solutions-components/assets/card/t9n/messages_sr.json +1 -1
  1260. package/dist/solutions-components/assets/card/t9n/messages_sv.json +1 -1
  1261. package/dist/solutions-components/assets/card/t9n/messages_th.json +1 -1
  1262. package/dist/solutions-components/assets/card/t9n/messages_tr.json +1 -1
  1263. package/dist/solutions-components/assets/card/t9n/messages_uk.json +1 -1
  1264. package/dist/solutions-components/assets/card/t9n/messages_vi.json +1 -1
  1265. package/dist/solutions-components/assets/card/t9n/messages_zh-CN.json +1 -1
  1266. package/dist/solutions-components/assets/card/t9n/messages_zh-HK.json +1 -1
  1267. package/dist/solutions-components/assets/card/t9n/messages_zh-TW.json +1 -1
  1268. package/dist/solutions-components/assets/carousel/t9n/index.d.ts +8 -0
  1269. package/dist/solutions-components/assets/carousel/t9n/messages.json +8 -0
  1270. package/dist/solutions-components/assets/carousel/t9n/messages_ar.json +8 -0
  1271. package/dist/solutions-components/assets/carousel/t9n/messages_bg.json +8 -0
  1272. package/dist/solutions-components/assets/carousel/t9n/messages_bs.json +8 -0
  1273. package/dist/solutions-components/assets/carousel/t9n/messages_ca.json +8 -0
  1274. package/dist/solutions-components/assets/carousel/t9n/messages_cs.json +8 -0
  1275. package/dist/solutions-components/assets/carousel/t9n/messages_da.json +8 -0
  1276. package/dist/solutions-components/assets/carousel/t9n/messages_de.json +8 -0
  1277. package/dist/solutions-components/assets/carousel/t9n/messages_el.json +8 -0
  1278. package/dist/solutions-components/assets/carousel/t9n/messages_en.json +8 -0
  1279. package/dist/solutions-components/assets/carousel/t9n/messages_es.json +8 -0
  1280. package/dist/solutions-components/assets/carousel/t9n/messages_et.json +8 -0
  1281. package/dist/solutions-components/assets/carousel/t9n/messages_fi.json +8 -0
  1282. package/dist/solutions-components/assets/carousel/t9n/messages_fr.json +8 -0
  1283. package/dist/solutions-components/assets/carousel/t9n/messages_he.json +8 -0
  1284. package/dist/solutions-components/assets/carousel/t9n/messages_hr.json +8 -0
  1285. package/dist/solutions-components/assets/carousel/t9n/messages_hu.json +8 -0
  1286. package/dist/solutions-components/assets/carousel/t9n/messages_id.json +8 -0
  1287. package/dist/solutions-components/assets/carousel/t9n/messages_it.json +8 -0
  1288. package/dist/solutions-components/assets/carousel/t9n/messages_ja.json +8 -0
  1289. package/dist/solutions-components/assets/carousel/t9n/messages_ko.json +8 -0
  1290. package/dist/solutions-components/assets/carousel/t9n/messages_lt.json +8 -0
  1291. package/dist/solutions-components/assets/carousel/t9n/messages_lv.json +8 -0
  1292. package/dist/solutions-components/assets/carousel/t9n/messages_nl.json +8 -0
  1293. package/dist/solutions-components/assets/carousel/t9n/messages_no.json +8 -0
  1294. package/dist/solutions-components/assets/carousel/t9n/messages_pl.json +8 -0
  1295. package/dist/solutions-components/assets/carousel/t9n/messages_pt-BR.json +8 -0
  1296. package/dist/solutions-components/assets/carousel/t9n/messages_pt-PT.json +8 -0
  1297. package/dist/solutions-components/assets/carousel/t9n/messages_ro.json +8 -0
  1298. package/dist/solutions-components/assets/carousel/t9n/messages_ru.json +8 -0
  1299. package/dist/solutions-components/assets/carousel/t9n/messages_sk.json +8 -0
  1300. package/dist/solutions-components/assets/carousel/t9n/messages_sl.json +8 -0
  1301. package/dist/solutions-components/assets/carousel/t9n/messages_sr.json +8 -0
  1302. package/dist/solutions-components/assets/carousel/t9n/messages_sv.json +8 -0
  1303. package/dist/solutions-components/assets/carousel/t9n/messages_th.json +8 -0
  1304. package/dist/solutions-components/assets/carousel/t9n/messages_tr.json +8 -0
  1305. package/dist/solutions-components/assets/carousel/t9n/messages_uk.json +8 -0
  1306. package/dist/solutions-components/assets/carousel/t9n/messages_vi.json +8 -0
  1307. package/dist/solutions-components/assets/carousel/t9n/messages_zh-CN.json +8 -0
  1308. package/dist/solutions-components/assets/carousel/t9n/messages_zh-HK.json +8 -0
  1309. package/dist/solutions-components/assets/carousel/t9n/messages_zh-TW.json +8 -0
  1310. package/dist/solutions-components/assets/handle/t9n/messages_ar.json +2 -1
  1311. package/dist/solutions-components/assets/handle/t9n/messages_bg.json +2 -1
  1312. package/dist/solutions-components/assets/handle/t9n/messages_bs.json +2 -1
  1313. package/dist/solutions-components/assets/handle/t9n/messages_ca.json +2 -1
  1314. package/dist/solutions-components/assets/handle/t9n/messages_cs.json +2 -1
  1315. package/dist/solutions-components/assets/handle/t9n/messages_da.json +2 -1
  1316. package/dist/solutions-components/assets/handle/t9n/messages_de.json +2 -1
  1317. package/dist/solutions-components/assets/handle/t9n/messages_el.json +2 -1
  1318. package/dist/solutions-components/assets/handle/t9n/messages_es.json +2 -1
  1319. package/dist/solutions-components/assets/handle/t9n/messages_et.json +2 -1
  1320. package/dist/solutions-components/assets/handle/t9n/messages_fi.json +2 -1
  1321. package/dist/solutions-components/assets/handle/t9n/messages_fr.json +2 -1
  1322. package/dist/solutions-components/assets/handle/t9n/messages_he.json +2 -1
  1323. package/dist/solutions-components/assets/handle/t9n/messages_hr.json +2 -1
  1324. package/dist/solutions-components/assets/handle/t9n/messages_hu.json +2 -1
  1325. package/dist/solutions-components/assets/handle/t9n/messages_id.json +2 -1
  1326. package/dist/solutions-components/assets/handle/t9n/messages_it.json +2 -1
  1327. package/dist/solutions-components/assets/handle/t9n/messages_ja.json +2 -1
  1328. package/dist/solutions-components/assets/handle/t9n/messages_ko.json +2 -1
  1329. package/dist/solutions-components/assets/handle/t9n/messages_lt.json +2 -1
  1330. package/dist/solutions-components/assets/handle/t9n/messages_lv.json +2 -1
  1331. package/dist/solutions-components/assets/handle/t9n/messages_nl.json +2 -1
  1332. package/dist/solutions-components/assets/handle/t9n/messages_no.json +2 -1
  1333. package/dist/solutions-components/assets/handle/t9n/messages_pl.json +2 -1
  1334. package/dist/solutions-components/assets/handle/t9n/messages_pt-BR.json +2 -1
  1335. package/dist/solutions-components/assets/handle/t9n/messages_pt-PT.json +2 -1
  1336. package/dist/solutions-components/assets/handle/t9n/messages_ro.json +2 -1
  1337. package/dist/solutions-components/assets/handle/t9n/messages_ru.json +2 -1
  1338. package/dist/solutions-components/assets/handle/t9n/messages_sk.json +2 -1
  1339. package/dist/solutions-components/assets/handle/t9n/messages_sl.json +2 -1
  1340. package/dist/solutions-components/assets/handle/t9n/messages_sr.json +2 -1
  1341. package/dist/solutions-components/assets/handle/t9n/messages_sv.json +2 -1
  1342. package/dist/solutions-components/assets/handle/t9n/messages_th.json +2 -1
  1343. package/dist/solutions-components/assets/handle/t9n/messages_tr.json +2 -1
  1344. package/dist/solutions-components/assets/handle/t9n/messages_uk.json +2 -1
  1345. package/dist/solutions-components/assets/handle/t9n/messages_vi.json +2 -1
  1346. package/dist/solutions-components/assets/handle/t9n/messages_zh-CN.json +2 -1
  1347. package/dist/solutions-components/assets/handle/t9n/messages_zh-HK.json +2 -1
  1348. package/dist/solutions-components/assets/handle/t9n/messages_zh-TW.json +2 -1
  1349. package/dist/solutions-components/assets/icon/addToModel16.json +1 -0
  1350. package/dist/solutions-components/assets/icon/addToModel24.json +1 -0
  1351. package/dist/solutions-components/assets/icon/addToModel32.json +1 -0
  1352. package/dist/solutions-components/assets/icon/ai16.json +1 -0
  1353. package/dist/solutions-components/assets/icon/ai24.json +1 -0
  1354. package/dist/solutions-components/assets/icon/ai32.json +1 -0
  1355. package/dist/solutions-components/assets/icon/applyChanges16.json +1 -0
  1356. package/dist/solutions-components/assets/icon/applyChanges24.json +1 -0
  1357. package/dist/solutions-components/assets/icon/applyChanges32.json +1 -0
  1358. package/dist/solutions-components/assets/icon/binary16.json +1 -0
  1359. package/dist/solutions-components/assets/icon/binary24.json +1 -0
  1360. package/dist/solutions-components/assets/icon/binary32.json +1 -0
  1361. package/dist/solutions-components/assets/icon/brackets16.json +1 -0
  1362. package/dist/solutions-components/assets/icon/brackets24.json +1 -0
  1363. package/dist/solutions-components/assets/icon/brackets32.json +1 -0
  1364. package/dist/solutions-components/assets/icon/changeFontSize16.json +1 -1
  1365. package/dist/solutions-components/assets/icon/changeFontSize24.json +1 -1
  1366. package/dist/solutions-components/assets/icon/changeFontSize32.json +1 -1
  1367. package/dist/solutions-components/assets/icon/clipboardBrackets16.json +1 -0
  1368. package/dist/solutions-components/assets/icon/clipboardBrackets24.json +1 -0
  1369. package/dist/solutions-components/assets/icon/clipboardBrackets32.json +1 -0
  1370. package/dist/solutions-components/assets/icon/codeBranch16.json +1 -0
  1371. package/dist/solutions-components/assets/icon/codeBranch24.json +1 -0
  1372. package/dist/solutions-components/assets/icon/codeBranch32.json +1 -0
  1373. package/dist/solutions-components/assets/icon/codeBranchEdit16.json +1 -0
  1374. package/dist/solutions-components/assets/icon/codeBranchEdit24.json +1 -0
  1375. package/dist/solutions-components/assets/icon/codeBranchEdit32.json +1 -0
  1376. package/dist/solutions-components/assets/icon/codeBrand16.json +1 -0
  1377. package/dist/solutions-components/assets/icon/codeBrand24.json +1 -0
  1378. package/dist/solutions-components/assets/icon/codeBrand32.json +1 -0
  1379. package/dist/solutions-components/assets/icon/codeBrandEdit16.json +1 -0
  1380. package/dist/solutions-components/assets/icon/codeBrandEdit24.json +1 -0
  1381. package/dist/solutions-components/assets/icon/codeBrandEdit32.json +1 -0
  1382. package/dist/solutions-components/assets/icon/configureEditing16.json +1 -0
  1383. package/dist/solutions-components/assets/icon/configureEditing24.json +1 -0
  1384. package/dist/solutions-components/assets/icon/configureEditing32.json +1 -0
  1385. package/dist/solutions-components/assets/icon/doubleFloat16.json +1 -0
  1386. package/dist/solutions-components/assets/icon/doubleFloat24.json +1 -0
  1387. package/dist/solutions-components/assets/icon/doubleFloat32.json +1 -0
  1388. package/dist/solutions-components/assets/icon/fileReportGeneric16.json +1 -0
  1389. package/dist/solutions-components/assets/icon/fileReportGeneric24.json +1 -0
  1390. package/dist/solutions-components/assets/icon/fileReportGeneric32.json +1 -0
  1391. package/dist/solutions-components/assets/icon/fileXml16.json +1 -0
  1392. package/dist/solutions-components/assets/icon/fileXml24.json +1 -0
  1393. package/dist/solutions-components/assets/icon/fileXml32.json +1 -0
  1394. package/dist/solutions-components/assets/icon/filterExpand16.json +1 -0
  1395. package/dist/solutions-components/assets/icon/filterExpand24.json +1 -0
  1396. package/dist/solutions-components/assets/icon/filterExpand32.json +1 -0
  1397. package/dist/solutions-components/assets/icon/folder16F.json +1 -0
  1398. package/dist/solutions-components/assets/icon/folder24F.json +1 -0
  1399. package/dist/solutions-components/assets/icon/folder32F.json +1 -0
  1400. package/dist/solutions-components/assets/icon/folderFill16F.json +1 -0
  1401. package/dist/solutions-components/assets/icon/folderFill24F.json +1 -0
  1402. package/dist/solutions-components/assets/icon/folderFill32F.json +1 -0
  1403. package/dist/solutions-components/assets/icon/folderMagnifyingGlass16.json +1 -0
  1404. package/dist/solutions-components/assets/icon/folderMagnifyingGlass24.json +1 -0
  1405. package/dist/solutions-components/assets/icon/folderMagnifyingGlass32.json +1 -0
  1406. package/dist/solutions-components/assets/icon/folderOpen16F.json +1 -0
  1407. package/dist/solutions-components/assets/icon/folderOpen24F.json +1 -0
  1408. package/dist/solutions-components/assets/icon/folderOpen32F.json +1 -0
  1409. package/dist/solutions-components/assets/icon/fourByOneGrid16.json +1 -0
  1410. package/dist/solutions-components/assets/icon/fourByOneGrid24.json +1 -0
  1411. package/dist/solutions-components/assets/icon/fourByOneGrid32.json +1 -0
  1412. package/dist/solutions-components/assets/icon/fourByThreeGrid16.json +1 -0
  1413. package/dist/solutions-components/assets/icon/fourByThreeGrid24.json +1 -0
  1414. package/dist/solutions-components/assets/icon/fourByThreeGrid32.json +1 -0
  1415. package/dist/solutions-components/assets/icon/fourByTwoGrid16.json +1 -0
  1416. package/dist/solutions-components/assets/icon/fourByTwoGrid24.json +1 -0
  1417. package/dist/solutions-components/assets/icon/fourByTwoGrid32.json +1 -0
  1418. package/dist/solutions-components/assets/icon/frameExport16.json +1 -0
  1419. package/dist/solutions-components/assets/icon/frameExport24.json +1 -0
  1420. package/dist/solutions-components/assets/icon/frameExport32.json +1 -0
  1421. package/dist/solutions-components/assets/icon/graphBoxMeanLines16.json +1 -0
  1422. package/dist/solutions-components/assets/icon/graphBoxMeanLines24.json +1 -0
  1423. package/dist/solutions-components/assets/icon/graphBoxMeanLines32.json +1 -0
  1424. package/dist/solutions-components/assets/icon/graphBoxSideBySide16.json +1 -0
  1425. package/dist/solutions-components/assets/icon/graphBoxSideBySide24.json +1 -0
  1426. package/dist/solutions-components/assets/icon/graphBoxSideBySide32.json +1 -0
  1427. package/dist/solutions-components/assets/icon/groupLayers16.json +1 -0
  1428. package/dist/solutions-components/assets/icon/groupLayers24.json +1 -0
  1429. package/dist/solutions-components/assets/icon/groupLayers32.json +1 -0
  1430. package/dist/solutions-components/assets/icon/layersF16.json +1 -0
  1431. package/dist/solutions-components/assets/icon/layersF24.json +1 -0
  1432. package/dist/solutions-components/assets/icon/layersF32.json +1 -0
  1433. package/dist/solutions-components/assets/icon/linkChartFromTemplate16.json +1 -0
  1434. package/dist/solutions-components/assets/icon/linkChartFromTemplate24.json +1 -0
  1435. package/dist/solutions-components/assets/icon/linkChartFromTemplate32.json +1 -0
  1436. package/dist/solutions-components/assets/icon/livestreamVideoLayer16.json +1 -0
  1437. package/dist/solutions-components/assets/icon/livestreamVideoLayer24.json +1 -0
  1438. package/dist/solutions-components/assets/icon/livestreamVideoLayer32.json +1 -0
  1439. package/dist/solutions-components/assets/icon/mapFromTemplate16.json +1 -0
  1440. package/dist/solutions-components/assets/icon/mapFromTemplate24.json +1 -0
  1441. package/dist/solutions-components/assets/icon/mapFromTemplate32.json +1 -0
  1442. package/dist/solutions-components/assets/icon/membersBrackets16.json +1 -0
  1443. package/dist/solutions-components/assets/icon/membersBrackets24.json +1 -0
  1444. package/dist/solutions-components/assets/icon/membersBrackets32.json +1 -0
  1445. package/dist/solutions-components/assets/icon/modelEdit16.json +1 -0
  1446. package/dist/solutions-components/assets/icon/modelEdit24.json +1 -0
  1447. package/dist/solutions-components/assets/icon/modelEdit32.json +1 -0
  1448. package/dist/solutions-components/assets/icon/modifyAssociations16.json +1 -0
  1449. package/dist/solutions-components/assets/icon/modifyAssociations24.json +1 -0
  1450. package/dist/solutions-components/assets/icon/modifyAssociations32.json +1 -0
  1451. package/dist/solutions-components/assets/icon/moveFromBasemap16.json +1 -0
  1452. package/dist/solutions-components/assets/icon/moveFromBasemap24.json +1 -0
  1453. package/dist/solutions-components/assets/icon/moveFromBasemap32.json +1 -0
  1454. package/dist/solutions-components/assets/icon/moveToBasemap16.json +1 -0
  1455. package/dist/solutions-components/assets/icon/moveToBasemap24.json +1 -0
  1456. package/dist/solutions-components/assets/icon/moveToBasemap32.json +1 -0
  1457. package/dist/solutions-components/assets/icon/notepad16.json +1 -0
  1458. package/dist/solutions-components/assets/icon/notepad24.json +1 -0
  1459. package/dist/solutions-components/assets/icon/notepad32.json +1 -0
  1460. package/dist/solutions-components/assets/icon/notepadAdd16.json +1 -0
  1461. package/dist/solutions-components/assets/icon/notepadAdd24.json +1 -0
  1462. package/dist/solutions-components/assets/icon/notepadAdd32.json +1 -0
  1463. package/dist/solutions-components/assets/icon/notepadEdit16.json +1 -0
  1464. package/dist/solutions-components/assets/icon/notepadEdit24.json +1 -0
  1465. package/dist/solutions-components/assets/icon/notepadEdit32.json +1 -0
  1466. package/dist/solutions-components/assets/icon/pasteWithAttribute16.json +1 -0
  1467. package/dist/solutions-components/assets/icon/pasteWithAttribute24.json +1 -0
  1468. package/dist/solutions-components/assets/icon/pasteWithAttribute32.json +1 -0
  1469. package/dist/solutions-components/assets/icon/pasteWithoutAttribute16.json +1 -0
  1470. package/dist/solutions-components/assets/icon/pasteWithoutAttribute24.json +1 -0
  1471. package/dist/solutions-components/assets/icon/pasteWithoutAttribute32.json +1 -0
  1472. package/dist/solutions-components/assets/icon/query16.json +1 -0
  1473. package/dist/solutions-components/assets/icon/query24.json +1 -0
  1474. package/dist/solutions-components/assets/icon/query32.json +1 -0
  1475. package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout16.json +1 -0
  1476. package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout24.json +1 -0
  1477. package/dist/solutions-components/assets/icon/radialTreeLinkChartLayout32.json +1 -0
  1478. package/dist/solutions-components/assets/icon/removeFromList16.json +1 -0
  1479. package/dist/solutions-components/assets/icon/removeFromList24.json +1 -0
  1480. package/dist/solutions-components/assets/icon/removeFromList32.json +1 -0
  1481. package/dist/solutions-components/assets/icon/reshapeAddGeometry16.json +1 -0
  1482. package/dist/solutions-components/assets/icon/reshapeAddGeometry24.json +1 -0
  1483. package/dist/solutions-components/assets/icon/reshapeAddGeometry32.json +1 -0
  1484. package/dist/solutions-components/assets/icon/reshapeSubtractGeometry16.json +1 -0
  1485. package/dist/solutions-components/assets/icon/reshapeSubtractGeometry24.json +1 -0
  1486. package/dist/solutions-components/assets/icon/reshapeSubtractGeometry32.json +1 -0
  1487. package/dist/solutions-components/assets/icon/reshapeTool16.json +1 -0
  1488. package/dist/solutions-components/assets/icon/reshapeTool24.json +1 -0
  1489. package/dist/solutions-components/assets/icon/reshapeTool32.json +1 -0
  1490. package/dist/solutions-components/assets/icon/rss16.json +1 -0
  1491. package/dist/solutions-components/assets/icon/rss24.json +1 -0
  1492. package/dist/solutions-components/assets/icon/rss32.json +1 -0
  1493. package/dist/solutions-components/assets/icon/rssF16.json +1 -0
  1494. package/dist/solutions-components/assets/icon/rssF24.json +1 -0
  1495. package/dist/solutions-components/assets/icon/rssF32.json +1 -0
  1496. package/dist/solutions-components/assets/icon/schema16.json +1 -0
  1497. package/dist/solutions-components/assets/icon/schema24.json +1 -0
  1498. package/dist/solutions-components/assets/icon/schema32.json +1 -0
  1499. package/dist/solutions-components/assets/icon/selectByAttributes16.json +1 -0
  1500. package/dist/solutions-components/assets/icon/selectByAttributes24.json +1 -0
  1501. package/dist/solutions-components/assets/icon/selectByAttributes32.json +1 -0
  1502. package/dist/solutions-components/assets/icon/selectColumn16.json +1 -0
  1503. package/dist/solutions-components/assets/icon/selectColumn24.json +1 -0
  1504. package/dist/solutions-components/assets/icon/selectColumn32.json +1 -0
  1505. package/dist/solutions-components/assets/icon/selectionManager16.json +1 -0
  1506. package/dist/solutions-components/assets/icon/selectionManager24.json +1 -0
  1507. package/dist/solutions-components/assets/icon/selectionManager32.json +1 -0
  1508. package/dist/solutions-components/assets/icon/storedAsNewQuery16.json +1 -0
  1509. package/dist/solutions-components/assets/icon/storedAsNewQuery24.json +1 -0
  1510. package/dist/solutions-components/assets/icon/storedAsNewQuery32.json +1 -0
  1511. package/dist/solutions-components/assets/icon/storedQuery16.json +1 -0
  1512. package/dist/solutions-components/assets/icon/storedQuery24.json +1 -0
  1513. package/dist/solutions-components/assets/icon/storedQuery32.json +1 -0
  1514. package/dist/solutions-components/assets/icon/styling16.json +1 -0
  1515. package/dist/solutions-components/assets/icon/styling24.json +1 -0
  1516. package/dist/solutions-components/assets/icon/styling32.json +1 -0
  1517. package/dist/solutions-components/assets/icon/subFields16.json +1 -0
  1518. package/dist/solutions-components/assets/icon/subFields24.json +1 -0
  1519. package/dist/solutions-components/assets/icon/subFields32.json +1 -0
  1520. package/dist/solutions-components/assets/icon/subtype16.json +1 -0
  1521. package/dist/solutions-components/assets/icon/subtype24.json +1 -0
  1522. package/dist/solutions-components/assets/icon/subtype32.json +1 -0
  1523. package/dist/solutions-components/assets/icon/templates16.json +1 -0
  1524. package/dist/solutions-components/assets/icon/templates24.json +1 -0
  1525. package/dist/solutions-components/assets/icon/templates32.json +1 -0
  1526. package/dist/solutions-components/assets/icon/textBold16.json +1 -0
  1527. package/dist/solutions-components/assets/icon/textBold24.json +1 -0
  1528. package/dist/solutions-components/assets/icon/textBold32.json +1 -0
  1529. package/dist/solutions-components/assets/icon/threeByOneGrid16.json +1 -0
  1530. package/dist/solutions-components/assets/icon/threeByOneGrid24.json +1 -0
  1531. package/dist/solutions-components/assets/icon/threeByOneGrid32.json +1 -0
  1532. package/dist/solutions-components/assets/icon/threeByThreeGrid16.json +1 -0
  1533. package/dist/solutions-components/assets/icon/threeByThreeGrid24.json +1 -0
  1534. package/dist/solutions-components/assets/icon/threeByThreeGrid32.json +1 -0
  1535. package/dist/solutions-components/assets/icon/threeByTwoGrid16.json +1 -0
  1536. package/dist/solutions-components/assets/icon/threeByTwoGrid24.json +1 -0
  1537. package/dist/solutions-components/assets/icon/threeByTwoGrid32.json +1 -0
  1538. package/dist/solutions-components/assets/icon/ungroupLayers16.json +1 -0
  1539. package/dist/solutions-components/assets/icon/ungroupLayers24.json +1 -0
  1540. package/dist/solutions-components/assets/icon/ungroupLayers32.json +1 -0
  1541. package/dist/solutions-components/assets/icon/utilityNetwork16.json +1 -0
  1542. package/dist/solutions-components/assets/icon/utilityNetwork24.json +1 -0
  1543. package/dist/solutions-components/assets/icon/utilityNetwork32.json +1 -0
  1544. package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology16.json +1 -0
  1545. package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology24.json +1 -0
  1546. package/dist/solutions-components/assets/icon/validateUtilityNetworkTopology32.json +1 -0
  1547. package/dist/solutions-components/assets/icon/videoLayer16.json +1 -0
  1548. package/dist/solutions-components/assets/icon/videoLayer24.json +1 -0
  1549. package/dist/solutions-components/assets/icon/videoLayer32.json +1 -0
  1550. package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +2 -0
  1551. package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +2 -0
  1552. package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +2 -0
  1553. package/dist/solutions-components/assets/list-item/t9n/messages_ar.json +3 -1
  1554. package/dist/solutions-components/assets/list-item/t9n/messages_bg.json +3 -1
  1555. package/dist/solutions-components/assets/list-item/t9n/messages_bs.json +3 -1
  1556. package/dist/solutions-components/assets/list-item/t9n/messages_ca.json +3 -1
  1557. package/dist/solutions-components/assets/list-item/t9n/messages_cs.json +3 -1
  1558. package/dist/solutions-components/assets/list-item/t9n/messages_da.json +3 -1
  1559. package/dist/solutions-components/assets/list-item/t9n/messages_de.json +3 -1
  1560. package/dist/solutions-components/assets/list-item/t9n/messages_el.json +3 -1
  1561. package/dist/solutions-components/assets/list-item/t9n/messages_es.json +3 -1
  1562. package/dist/solutions-components/assets/list-item/t9n/messages_et.json +3 -1
  1563. package/dist/solutions-components/assets/list-item/t9n/messages_fi.json +3 -1
  1564. package/dist/solutions-components/assets/list-item/t9n/messages_fr.json +3 -1
  1565. package/dist/solutions-components/assets/list-item/t9n/messages_he.json +3 -1
  1566. package/dist/solutions-components/assets/list-item/t9n/messages_hr.json +3 -1
  1567. package/dist/solutions-components/assets/list-item/t9n/messages_hu.json +3 -1
  1568. package/dist/solutions-components/assets/list-item/t9n/messages_id.json +3 -1
  1569. package/dist/solutions-components/assets/list-item/t9n/messages_it.json +3 -1
  1570. package/dist/solutions-components/assets/list-item/t9n/messages_ja.json +3 -1
  1571. package/dist/solutions-components/assets/list-item/t9n/messages_ko.json +3 -1
  1572. package/dist/solutions-components/assets/list-item/t9n/messages_lt.json +3 -1
  1573. package/dist/solutions-components/assets/list-item/t9n/messages_lv.json +3 -1
  1574. package/dist/solutions-components/assets/list-item/t9n/messages_nl.json +3 -1
  1575. package/dist/solutions-components/assets/list-item/t9n/messages_no.json +3 -1
  1576. package/dist/solutions-components/assets/list-item/t9n/messages_pl.json +3 -1
  1577. package/dist/solutions-components/assets/list-item/t9n/messages_pt-BR.json +3 -1
  1578. package/dist/solutions-components/assets/list-item/t9n/messages_pt-PT.json +3 -1
  1579. package/dist/solutions-components/assets/list-item/t9n/messages_ro.json +3 -1
  1580. package/dist/solutions-components/assets/list-item/t9n/messages_ru.json +3 -1
  1581. package/dist/solutions-components/assets/list-item/t9n/messages_sk.json +3 -1
  1582. package/dist/solutions-components/assets/list-item/t9n/messages_sl.json +3 -1
  1583. package/dist/solutions-components/assets/list-item/t9n/messages_sr.json +3 -1
  1584. package/dist/solutions-components/assets/list-item/t9n/messages_sv.json +3 -1
  1585. package/dist/solutions-components/assets/list-item/t9n/messages_th.json +3 -1
  1586. package/dist/solutions-components/assets/list-item/t9n/messages_tr.json +3 -1
  1587. package/dist/solutions-components/assets/list-item/t9n/messages_uk.json +3 -1
  1588. package/dist/solutions-components/assets/list-item/t9n/messages_vi.json +3 -1
  1589. package/dist/solutions-components/assets/list-item/t9n/messages_zh-CN.json +3 -1
  1590. package/dist/solutions-components/assets/list-item/t9n/messages_zh-HK.json +3 -1
  1591. package/dist/solutions-components/assets/list-item/t9n/messages_zh-TW.json +3 -1
  1592. package/dist/solutions-components/assets/tab-nav/t9n/index.d.ts +4 -0
  1593. package/dist/solutions-components/assets/tab-nav/t9n/messages.json +4 -0
  1594. package/dist/solutions-components/assets/tab-nav/t9n/messages_ar.json +4 -0
  1595. package/dist/solutions-components/assets/tab-nav/t9n/messages_bg.json +4 -0
  1596. package/dist/solutions-components/assets/tab-nav/t9n/messages_bs.json +4 -0
  1597. package/dist/solutions-components/assets/tab-nav/t9n/messages_ca.json +4 -0
  1598. package/dist/solutions-components/assets/tab-nav/t9n/messages_cs.json +4 -0
  1599. package/dist/solutions-components/assets/tab-nav/t9n/messages_da.json +4 -0
  1600. package/dist/solutions-components/assets/tab-nav/t9n/messages_de.json +4 -0
  1601. package/dist/solutions-components/assets/tab-nav/t9n/messages_el.json +4 -0
  1602. package/dist/solutions-components/assets/tab-nav/t9n/messages_en.json +4 -0
  1603. package/dist/solutions-components/assets/tab-nav/t9n/messages_es.json +4 -0
  1604. package/dist/solutions-components/assets/tab-nav/t9n/messages_et.json +4 -0
  1605. package/dist/solutions-components/assets/tab-nav/t9n/messages_fi.json +4 -0
  1606. package/dist/solutions-components/assets/tab-nav/t9n/messages_fr.json +4 -0
  1607. package/dist/solutions-components/assets/tab-nav/t9n/messages_he.json +4 -0
  1608. package/dist/solutions-components/assets/tab-nav/t9n/messages_hr.json +4 -0
  1609. package/dist/solutions-components/assets/tab-nav/t9n/messages_hu.json +4 -0
  1610. package/dist/solutions-components/assets/tab-nav/t9n/messages_id.json +4 -0
  1611. package/dist/solutions-components/assets/tab-nav/t9n/messages_it.json +4 -0
  1612. package/dist/solutions-components/assets/tab-nav/t9n/messages_ja.json +4 -0
  1613. package/dist/solutions-components/assets/tab-nav/t9n/messages_ko.json +4 -0
  1614. package/dist/solutions-components/assets/tab-nav/t9n/messages_lt.json +4 -0
  1615. package/dist/solutions-components/assets/tab-nav/t9n/messages_lv.json +4 -0
  1616. package/dist/solutions-components/assets/tab-nav/t9n/messages_nl.json +4 -0
  1617. package/dist/solutions-components/assets/tab-nav/t9n/messages_no.json +4 -0
  1618. package/dist/solutions-components/assets/tab-nav/t9n/messages_pl.json +4 -0
  1619. package/dist/solutions-components/assets/tab-nav/t9n/messages_pt-BR.json +4 -0
  1620. package/dist/solutions-components/assets/tab-nav/t9n/messages_pt-PT.json +4 -0
  1621. package/dist/solutions-components/assets/tab-nav/t9n/messages_ro.json +4 -0
  1622. package/dist/solutions-components/assets/tab-nav/t9n/messages_ru.json +4 -0
  1623. package/dist/solutions-components/assets/tab-nav/t9n/messages_sk.json +4 -0
  1624. package/dist/solutions-components/assets/tab-nav/t9n/messages_sl.json +4 -0
  1625. package/dist/solutions-components/assets/tab-nav/t9n/messages_sr.json +4 -0
  1626. package/dist/solutions-components/assets/tab-nav/t9n/messages_sv.json +4 -0
  1627. package/dist/solutions-components/assets/tab-nav/t9n/messages_th.json +4 -0
  1628. package/dist/solutions-components/assets/tab-nav/t9n/messages_tr.json +4 -0
  1629. package/dist/solutions-components/assets/tab-nav/t9n/messages_uk.json +4 -0
  1630. package/dist/solutions-components/assets/tab-nav/t9n/messages_vi.json +4 -0
  1631. package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-CN.json +4 -0
  1632. package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-HK.json +4 -0
  1633. package/dist/solutions-components/assets/tab-nav/t9n/messages_zh-TW.json +4 -0
  1634. package/dist/solutions-components/demos/crowdsource-manager.html +20 -6
  1635. package/dist/solutions-components/demos/crowdsource-reporter.html +156 -11
  1636. package/dist/solutions-components/demos/data/election-outreach.json +2981 -0
  1637. package/dist/solutions-components/demos/solution-item.html +7 -6
  1638. package/dist/solutions-components/demos/solution-spatial-ref.html +10 -4
  1639. package/dist/solutions-components/demos/solution-template-data.html +5 -5
  1640. package/dist/solutions-components/p-0029318e.js +6 -0
  1641. package/dist/solutions-components/p-01ee5ad6.js +11 -0
  1642. package/dist/solutions-components/p-05c1fa62.js +6 -0
  1643. package/dist/solutions-components/p-065a0712.entry.js +29 -0
  1644. package/dist/solutions-components/p-065b269e.entry.js +16 -0
  1645. package/dist/solutions-components/p-07aae6af.entry.js +11 -0
  1646. package/dist/solutions-components/p-07ffc0dc.js +12 -0
  1647. package/dist/solutions-components/p-08ea3025.js +6 -0
  1648. package/dist/solutions-components/p-0973f502.entry.js +11 -0
  1649. package/dist/solutions-components/p-098ae31a.entry.js +11 -0
  1650. package/dist/solutions-components/p-0a136490.entry.js +6 -0
  1651. package/dist/solutions-components/p-0a24ad5f.js +6 -0
  1652. package/dist/solutions-components/p-0a8181d4.entry.js +17 -0
  1653. package/dist/solutions-components/p-0abfcd37.entry.js +11 -0
  1654. package/dist/solutions-components/p-0b592d22.entry.js +11 -0
  1655. package/dist/solutions-components/p-0c9b771a.js +6 -0
  1656. package/dist/solutions-components/p-0d9d1e08.entry.js +12 -0
  1657. package/dist/solutions-components/p-0f02c25c.entry.js +12 -0
  1658. package/dist/solutions-components/p-103bb44d.js +6 -0
  1659. package/dist/solutions-components/p-14ca9076.entry.js +6 -0
  1660. package/dist/solutions-components/p-15a81116.entry.js +6 -0
  1661. package/dist/solutions-components/p-16aa396b.entry.js +6 -0
  1662. package/dist/solutions-components/p-16f0f2b8.js +6 -0
  1663. package/dist/solutions-components/p-1901d180.entry.js +11 -0
  1664. package/dist/solutions-components/p-1996cf43.entry.js +6 -0
  1665. package/dist/solutions-components/p-1aa72bda.js +16 -0
  1666. package/dist/solutions-components/p-1abdcee8.entry.js +17 -0
  1667. package/dist/solutions-components/p-1c429493.entry.js +6 -0
  1668. package/dist/solutions-components/p-1c64264d.js +6 -0
  1669. package/dist/solutions-components/p-1c7fa861.js +11 -0
  1670. package/dist/solutions-components/p-1cf65b78.js +6 -0
  1671. package/dist/solutions-components/p-1dbc5234.js +11 -0
  1672. package/dist/solutions-components/p-1f4d9fc9.entry.js +17 -0
  1673. package/dist/solutions-components/p-1f58427a.js +6 -0
  1674. package/dist/solutions-components/p-21fd2b18.js +11 -0
  1675. package/dist/solutions-components/p-2222c738.entry.js +6 -0
  1676. package/dist/solutions-components/p-23059533.js +11 -0
  1677. package/dist/solutions-components/p-259e6f21.entry.js +6 -0
  1678. package/dist/solutions-components/p-260d655c.js +11 -0
  1679. package/dist/solutions-components/p-2670fe22.entry.js +11 -0
  1680. package/dist/solutions-components/p-2733d390.js +6 -0
  1681. package/dist/solutions-components/p-277e0b1d.js +6 -0
  1682. package/dist/solutions-components/p-27ef34f6.js +6 -0
  1683. package/dist/solutions-components/p-29edb87c.js +6 -0
  1684. package/dist/solutions-components/p-2db55da4.js +11 -0
  1685. package/dist/solutions-components/p-2e4d5103.entry.js +11 -0
  1686. package/dist/solutions-components/p-2fc602fd.entry.js +6 -0
  1687. package/dist/solutions-components/p-2fc63144.js +6 -0
  1688. package/dist/solutions-components/p-301feae7.entry.js +12 -0
  1689. package/dist/solutions-components/p-30b43168.entry.js +17 -0
  1690. package/dist/solutions-components/p-32ddd33b.js +11 -0
  1691. package/dist/solutions-components/p-3309fa6c.js +6 -0
  1692. package/dist/solutions-components/p-335308e3.entry.js +16 -0
  1693. package/dist/solutions-components/p-338f1f04.js +6 -0
  1694. package/dist/solutions-components/p-33ec544d.js +16 -0
  1695. package/dist/solutions-components/p-342187a4.js +6 -0
  1696. package/dist/solutions-components/p-34d813e1.entry.js +6 -0
  1697. package/dist/solutions-components/p-367fb486.entry.js +6 -0
  1698. package/dist/solutions-components/p-37e40c37.js +11 -0
  1699. package/dist/solutions-components/p-3a862208.js +18 -0
  1700. package/dist/solutions-components/p-3d7cff5e.js +37 -0
  1701. package/dist/solutions-components/p-3f81c301.entry.js +11 -0
  1702. package/dist/solutions-components/p-3fae55fd.entry.js +6 -0
  1703. package/dist/solutions-components/p-40d2e45b.entry.js +6 -0
  1704. package/dist/solutions-components/p-41c7d2fa.entry.js +11 -0
  1705. package/dist/solutions-components/p-429ed200.entry.js +11 -0
  1706. package/dist/solutions-components/p-437e64c0.entry.js +21 -0
  1707. package/dist/solutions-components/p-4541ad8e.js +11 -0
  1708. package/dist/solutions-components/p-4845071a.js +11 -0
  1709. package/dist/solutions-components/p-4a398b55.entry.js +11 -0
  1710. package/dist/solutions-components/p-4b6c957d.entry.js +11 -0
  1711. package/dist/solutions-components/p-4cd4cb85.js +6 -0
  1712. package/dist/solutions-components/p-4f01d375.entry.js +6 -0
  1713. package/dist/solutions-components/p-501c2126.js +6 -0
  1714. package/dist/solutions-components/p-508686ba.js +6 -0
  1715. package/dist/solutions-components/p-51ed7835.js +11 -0
  1716. package/dist/solutions-components/p-54ec7548.js +11 -0
  1717. package/dist/solutions-components/p-550cf063.js +6 -0
  1718. package/dist/solutions-components/p-57d81d7d.entry.js +6 -0
  1719. package/dist/solutions-components/p-5b72f4eb.entry.js +11 -0
  1720. package/dist/solutions-components/p-5bfbb6cf.entry.js +17 -0
  1721. package/dist/solutions-components/p-5e6de74b.entry.js +11 -0
  1722. package/dist/solutions-components/p-5f0b29d4.js +11 -0
  1723. package/dist/solutions-components/p-5f6807ca.entry.js +6 -0
  1724. package/dist/solutions-components/p-5fb0f8a0.entry.js +11 -0
  1725. package/dist/solutions-components/p-602b034e.js +6 -0
  1726. package/dist/solutions-components/p-6127f49e.js +11 -0
  1727. package/dist/solutions-components/p-628537e6.js +50 -0
  1728. package/dist/solutions-components/p-658ffb44.js +61 -0
  1729. package/dist/solutions-components/p-67b26725.js +17 -0
  1730. package/dist/solutions-components/p-682354e6.js +6 -0
  1731. package/dist/solutions-components/p-6a425011.js +11 -0
  1732. package/dist/solutions-components/p-6aec5175.entry.js +6 -0
  1733. package/dist/solutions-components/p-6e814f44.entry.js +6 -0
  1734. package/dist/solutions-components/p-6fde2784.js +11 -0
  1735. package/dist/solutions-components/p-7011f9fd.entry.js +11 -0
  1736. package/dist/solutions-components/p-72192d9e.entry.js +11 -0
  1737. package/dist/solutions-components/p-7253126e.entry.js +6 -0
  1738. package/dist/solutions-components/p-729b22fb.entry.js +6 -0
  1739. package/dist/solutions-components/p-72af5235.entry.js +24 -0
  1740. package/dist/solutions-components/p-747d4b59.js +21 -0
  1741. package/dist/solutions-components/p-7683f32f.js +6 -0
  1742. package/dist/solutions-components/p-76dd1422.entry.js +6 -0
  1743. package/dist/solutions-components/p-76ffa42b.entry.js +11 -0
  1744. package/dist/solutions-components/p-7c057019.js +11 -0
  1745. package/dist/solutions-components/p-7c4acfd9.js +6 -0
  1746. package/dist/solutions-components/p-7ceba956.entry.js +21 -0
  1747. package/dist/solutions-components/p-7d1af07b.js +26 -0
  1748. package/dist/solutions-components/p-7d6c1a52.entry.js +6 -0
  1749. package/dist/solutions-components/p-7ed8ce64.entry.js +6 -0
  1750. package/dist/solutions-components/p-81e5a65e.entry.js +6 -0
  1751. package/dist/solutions-components/p-82855118.entry.js +6 -0
  1752. package/dist/solutions-components/p-832a3fc3.js +6 -0
  1753. package/dist/solutions-components/p-83a13261.js +6 -0
  1754. package/dist/solutions-components/p-83d0b202.entry.js +22 -0
  1755. package/dist/solutions-components/p-86694085.entry.js +6 -0
  1756. package/dist/solutions-components/p-8810ef92.js +11 -0
  1757. package/dist/solutions-components/p-8891e4a1.entry.js +17 -0
  1758. package/dist/solutions-components/p-8c34de9a.entry.js +11 -0
  1759. package/dist/solutions-components/p-8db761a9.js +6 -0
  1760. package/dist/solutions-components/p-8dcf7aa5.entry.js +11 -0
  1761. package/dist/solutions-components/p-8e5cfdef.entry.js +6 -0
  1762. package/dist/solutions-components/p-91866b70.js +6 -0
  1763. package/dist/solutions-components/p-91e22963.entry.js +6 -0
  1764. package/dist/solutions-components/p-920af5d4.entry.js +29 -0
  1765. package/dist/solutions-components/p-92980001.js +6 -0
  1766. package/dist/solutions-components/p-93e4bac5.js +6 -0
  1767. package/dist/solutions-components/p-97014acc.entry.js +47 -0
  1768. package/dist/solutions-components/p-977cece9.entry.js +6 -0
  1769. package/dist/solutions-components/p-97bebac7.entry.js +17 -0
  1770. package/dist/solutions-components/p-97f0e1b6.js +22 -0
  1771. package/dist/solutions-components/p-98e135f6.js +6 -0
  1772. package/dist/solutions-components/p-9902916a.entry.js +6 -0
  1773. package/dist/solutions-components/p-9946999d.js +6 -0
  1774. package/dist/solutions-components/p-996c1ac5.js +36 -0
  1775. package/dist/solutions-components/p-9a46618c.entry.js +6 -0
  1776. package/dist/solutions-components/p-9b96afaf.js +6 -0
  1777. package/dist/solutions-components/p-9c55d3a2.js +6 -0
  1778. package/dist/solutions-components/p-9dbf1881.entry.js +11 -0
  1779. package/dist/solutions-components/p-9f2a0621.js +6 -0
  1780. package/dist/solutions-components/p-9f56c02c.js +11 -0
  1781. package/dist/solutions-components/p-9fac2e9d.entry.js +11 -0
  1782. package/dist/solutions-components/p-a14f24f2.entry.js +6 -0
  1783. package/dist/solutions-components/p-a1f034be.js +11 -0
  1784. package/dist/solutions-components/p-a24530e2.entry.js +6 -0
  1785. package/dist/solutions-components/p-a26763d2.entry.js +6 -0
  1786. package/dist/solutions-components/p-a3ca129b.entry.js +11 -0
  1787. package/dist/solutions-components/p-a3f8159e.entry.js +6 -0
  1788. package/dist/solutions-components/p-a4193e0c.entry.js +23 -0
  1789. package/dist/solutions-components/p-a60f5c84.js +6 -0
  1790. package/dist/solutions-components/p-a7ba825a.js +21 -0
  1791. package/dist/solutions-components/p-a800dcb5.entry.js +6 -0
  1792. package/dist/solutions-components/p-a80c076e.entry.js +6 -0
  1793. package/dist/solutions-components/p-a8b37ac8.js +145 -0
  1794. package/dist/solutions-components/p-a8f981c6.js +6 -0
  1795. package/dist/solutions-components/p-ab148739.entry.js +11 -0
  1796. package/dist/solutions-components/p-ac122d9e.js +6 -0
  1797. package/dist/solutions-components/p-ac124ef3.js +6 -0
  1798. package/dist/solutions-components/p-ac8990dd.js +6 -0
  1799. package/dist/solutions-components/p-ac94e77f.js +16 -0
  1800. package/dist/solutions-components/p-ad3b05c5.entry.js +6 -0
  1801. package/dist/solutions-components/p-ae801fd5.entry.js +11 -0
  1802. package/dist/solutions-components/p-af4bccdf.entry.js +6 -0
  1803. package/dist/solutions-components/p-b0fbdbe8.entry.js +11 -0
  1804. package/dist/solutions-components/p-b35a040e.js +6 -0
  1805. package/dist/solutions-components/p-b4de6baf.js +6 -0
  1806. package/dist/solutions-components/p-b6aed9ca.js +6 -0
  1807. package/dist/solutions-components/p-b6dffb89.entry.js +6 -0
  1808. package/dist/solutions-components/p-b789b4dc.entry.js +6 -0
  1809. package/dist/solutions-components/p-b85be429.js +11 -0
  1810. package/dist/solutions-components/p-ba846354.entry.js +11 -0
  1811. package/dist/solutions-components/p-bb036a86.entry.js +6 -0
  1812. package/dist/solutions-components/p-bec3dd2e.entry.js +11 -0
  1813. package/dist/solutions-components/p-c1651f9c.js +17 -0
  1814. package/dist/solutions-components/p-c324cac8.entry.js +11 -0
  1815. package/dist/solutions-components/p-c3896efd.entry.js +6 -0
  1816. package/dist/solutions-components/p-c41997d5.js +11 -0
  1817. package/dist/solutions-components/p-c52d4a45.entry.js +6 -0
  1818. package/dist/solutions-components/p-c6e13140.entry.js +6 -0
  1819. package/dist/solutions-components/p-c8d3207e.js +6 -0
  1820. package/dist/solutions-components/p-ca98f99a.js +11 -0
  1821. package/dist/solutions-components/p-cc4f574b.js +6 -0
  1822. package/dist/solutions-components/p-cc69b971.js +36 -0
  1823. package/dist/solutions-components/p-cf3e20c5.entry.js +11 -0
  1824. package/dist/solutions-components/p-d0d1c59e.entry.js +11 -0
  1825. package/dist/solutions-components/p-d242a8a5.js +11 -0
  1826. package/dist/solutions-components/p-d2b66bd2.js +11 -0
  1827. package/dist/solutions-components/p-d36d12b2.js +6 -0
  1828. package/dist/solutions-components/p-d36fae45.js +6 -0
  1829. package/dist/solutions-components/p-d4056c1c.js +6 -0
  1830. package/dist/solutions-components/p-d67f3c47.js +6 -0
  1831. package/dist/solutions-components/p-d7a6aa4e.entry.js +11 -0
  1832. package/dist/solutions-components/p-d85d49cf.entry.js +6 -0
  1833. package/dist/solutions-components/p-d8c3d175.entry.js +11 -0
  1834. package/dist/solutions-components/p-d8e74adf.js +6 -0
  1835. package/dist/solutions-components/p-d8f02b2b.entry.js +6 -0
  1836. package/dist/solutions-components/p-db50226e.js +11 -0
  1837. package/dist/solutions-components/p-dbf6c7d5.entry.js +11 -0
  1838. package/dist/solutions-components/p-dcc35070.js +6 -0
  1839. package/dist/solutions-components/p-de1548dd.entry.js +6 -0
  1840. package/dist/solutions-components/p-dea4bc23.js +6 -0
  1841. package/dist/solutions-components/p-dfe42b3e.js +6 -0
  1842. package/dist/solutions-components/p-e042889e.entry.js +11 -0
  1843. package/dist/solutions-components/p-e13a02f1.entry.js +6 -0
  1844. package/dist/solutions-components/p-e1a972b3.entry.js +11 -0
  1845. package/dist/solutions-components/p-e3196917.js +6 -0
  1846. package/dist/solutions-components/p-e3db2eda.entry.js +11 -0
  1847. package/dist/solutions-components/p-e468b193.entry.js +11 -0
  1848. package/dist/solutions-components/p-e6587ec3.js +11 -0
  1849. package/dist/solutions-components/p-e6e50975.js +11 -0
  1850. package/dist/solutions-components/p-e7268b06.entry.js +6 -0
  1851. package/dist/solutions-components/p-e8308ed8.entry.js +11 -0
  1852. package/dist/solutions-components/p-e86aeefa.entry.js +11 -0
  1853. package/dist/solutions-components/p-ea665c43.js +22 -0
  1854. package/dist/solutions-components/p-eb08c260.entry.js +11 -0
  1855. package/dist/solutions-components/p-ebf59857.js +11 -0
  1856. package/dist/solutions-components/p-ed1c4c06.entry.js +6 -0
  1857. package/dist/solutions-components/p-edd08170.entry.js +6 -0
  1858. package/dist/solutions-components/p-edead891.entry.js +6 -0
  1859. package/dist/solutions-components/p-eed41e1a.js +21 -0
  1860. package/dist/solutions-components/p-ef375216.js +489 -0
  1861. package/dist/solutions-components/p-f0324500.js +6 -0
  1862. package/dist/solutions-components/p-f0981633.entry.js +6 -0
  1863. package/dist/solutions-components/p-f0c7d4ee.js +6 -0
  1864. package/dist/solutions-components/p-f0eb1595.js +6 -0
  1865. package/dist/solutions-components/p-f36bd937.entry.js +6 -0
  1866. package/dist/solutions-components/p-f3f7638d.js +11 -0
  1867. package/dist/solutions-components/p-f480323e.js +6 -0
  1868. package/dist/solutions-components/p-f4c4a2b7.js +7 -0
  1869. package/dist/solutions-components/p-f50a294b.js +11 -0
  1870. package/dist/solutions-components/p-f54e4700.entry.js +6 -0
  1871. package/dist/solutions-components/p-f6e10506.js +11 -0
  1872. package/dist/solutions-components/p-f9423c07.entry.js +11 -0
  1873. package/dist/solutions-components/p-f9b71d4f.entry.js +6 -0
  1874. package/dist/solutions-components/p-fa214d6f.js +11 -0
  1875. package/dist/solutions-components/p-fa6dfea8.js +21 -0
  1876. package/dist/solutions-components/p-fc0d199c.js +6 -0
  1877. package/dist/solutions-components/p-fc3a9a40.js +6 -0
  1878. package/dist/solutions-components/p-fc719dff.entry.js +6 -0
  1879. package/dist/solutions-components/p-fe794766.entry.js +6 -0
  1880. package/dist/solutions-components/p-feaaf637.entry.js +6 -0
  1881. package/dist/solutions-components/p-ff34397d.entry.js +11 -0
  1882. package/dist/solutions-components/p-ff87b9de.js +7 -0
  1883. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1884. package/dist/solutions-components/utils/downloadUtils.ts +3 -1
  1885. package/dist/solutions-components/utils/interfaces.ts +31 -2
  1886. package/dist/solutions-components/utils/mapViewUtils.ts +34 -6
  1887. package/dist/solutions-components/utils/pciUtils.ts +2 -2
  1888. package/dist/solutions-components/utils/pdfUtils.ts +40 -47
  1889. package/dist/solutions-components/utils/popupUtils.ts +23 -3
  1890. package/dist/solutions-components/utils/publicNotificationStore.ts +3 -2
  1891. package/dist/solutions-components/utils/queryUtils.ts +41 -0
  1892. package/dist/solutions-components/utils/solution-store.ts +12 -13
  1893. package/dist/solutions-components/utils/templates.ts +125 -30
  1894. package/dist/solutions-components/utils/test/templates.e2e.ts +2 -2
  1895. package/dist/types/assets/arcgis-pdf-creator/PDFLabels.d.ts +218 -0
  1896. package/dist/types/components/create-feature/create-feature.d.ts +68 -4
  1897. package/dist/types/components/create-related-feature/create-related-feature.d.ts +155 -0
  1898. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +79 -15
  1899. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +310 -83
  1900. package/dist/types/components/feature-details/feature-details.d.ts +213 -0
  1901. package/dist/types/components/feature-list/feature-list.d.ts +75 -1
  1902. package/dist/types/components/floor-filter/floor-filter.d.ts +27 -1
  1903. package/dist/types/components/info-card/info-card.d.ts +37 -5
  1904. package/dist/types/components/layer-list/layer-list.d.ts +3 -8
  1905. package/dist/types/components/layer-table/layer-table.d.ts +26 -2
  1906. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  1907. package/dist/types/components/public-notification/public-notification.d.ts +52 -0
  1908. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  1909. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +21 -25
  1910. package/dist/types/components/store-manager/store-manager.d.ts +3 -3
  1911. package/dist/types/components.d.ts +449 -28
  1912. package/dist/types/preact.d.ts +50 -5
  1913. package/dist/types/stencil-public-runtime.d.ts +3 -10
  1914. package/dist/types/utils/interfaces.d.ts +27 -0
  1915. package/dist/types/utils/mapViewUtils.d.ts +12 -3
  1916. package/dist/types/utils/popupUtils.d.ts +4 -0
  1917. package/dist/types/utils/publicNotificationStore.d.ts +2 -1
  1918. package/dist/types/utils/queryUtils.d.ts +16 -0
  1919. package/dist/types/utils/templates.d.ts +35 -5
  1920. package/package.json +49 -49
  1921. package/dist/cjs/ExpandToggle-da591f01.js +0 -118
  1922. package/dist/cjs/FloatingArrow-a27ad9b2.js +0 -50
  1923. package/dist/cjs/Heading-bd401e0a.js +0 -25
  1924. package/dist/cjs/Validation-b02c6710.js +0 -20
  1925. package/dist/cjs/_commonjsHelpers-480c2e77.js +0 -47
  1926. package/dist/cjs/app-globals-056e11bb.js +0 -69
  1927. package/dist/cjs/ar-bec1adeb.js +0 -105
  1928. package/dist/cjs/array-6ea3edb8.js +0 -17
  1929. package/dist/cjs/bg-e1afda53.js +0 -83
  1930. package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
  1931. package/dist/cjs/browser-d08a5f99.js +0 -23
  1932. package/dist/cjs/bs-d14ff0d3.js +0 -52
  1933. package/dist/cjs/ca-10ee7960.js +0 -72
  1934. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -697
  1935. package/dist/cjs/calcite-avatar.cjs.entry.js +0 -150
  1936. package/dist/cjs/calcite-block_2.cjs.entry.js +0 -652
  1937. package/dist/cjs/calcite-combobox_5.cjs.entry.js +0 -2120
  1938. package/dist/cjs/calcite-flow_5.cjs.entry.js +0 -959
  1939. package/dist/cjs/calcite-graph_2.cjs.entry.js +0 -1055
  1940. package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +0 -2287
  1941. package/dist/cjs/calcite-input-time-picker-bb2db82c.js +0 -1850
  1942. package/dist/cjs/calcite-navigation-user.cjs.entry.js +0 -72
  1943. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
  1944. package/dist/cjs/common-e6e9f7d6.js +0 -38
  1945. package/dist/cjs/component-ac7c3bd8.js +0 -33
  1946. package/dist/cjs/conditionalSlot-9d7b60d1.js +0 -63
  1947. package/dist/cjs/cs-5d5113c9.js +0 -148
  1948. package/dist/cjs/da-b9b48fb6.js +0 -67
  1949. package/dist/cjs/date-9de4dd6f.js +0 -261
  1950. package/dist/cjs/de-2e3205ac.js +0 -92
  1951. package/dist/cjs/de-at-28bea0b1.js +0 -91
  1952. package/dist/cjs/de-ch-376dd4c7.js +0 -91
  1953. package/dist/cjs/debounce-30afab47.js +0 -496
  1954. package/dist/cjs/dom-c9c2c835.js +0 -1087
  1955. package/dist/cjs/downloadUtils-8b05d7cc.js +0 -3166
  1956. package/dist/cjs/el-98aab056.js +0 -67
  1957. package/dist/cjs/en-au-e3c99f1e.js +0 -67
  1958. package/dist/cjs/en-ca-32f77575.js +0 -66
  1959. package/dist/cjs/en-gb-7f5e80a9.js +0 -70
  1960. package/dist/cjs/es-9899072a.js +0 -67
  1961. package/dist/cjs/es-mx-e33cab75.js +0 -66
  1962. package/dist/cjs/esri-loader-ce6c3d3d.js +0 -303
  1963. package/dist/cjs/et-b55f74e1.js +0 -93
  1964. package/dist/cjs/fi-aa10ef36.js +0 -116
  1965. package/dist/cjs/filter-b524f88d.js +0 -765
  1966. package/dist/cjs/floating-ui-984cc970.js +0 -1966
  1967. package/dist/cjs/focusTrapComponent-faae7d7e.js +0 -1028
  1968. package/dist/cjs/form-fed676d6.js +0 -316
  1969. package/dist/cjs/fr-52b860d8.js +0 -69
  1970. package/dist/cjs/fr-ch-665d488a.js +0 -67
  1971. package/dist/cjs/guid-ae73cd27.js +0 -26
  1972. package/dist/cjs/he-e572f72c.js +0 -106
  1973. package/dist/cjs/helpers-b014d9a9.js +0 -906
  1974. package/dist/cjs/hi-d1bf5a03.js +0 -66
  1975. package/dist/cjs/hr-7dbc9a12.js +0 -81
  1976. package/dist/cjs/html2canvas-27a2547c.js +0 -7842
  1977. package/dist/cjs/hu-dcb326c9.js +0 -89
  1978. package/dist/cjs/id-9ac473e6.js +0 -67
  1979. package/dist/cjs/index-105cf2b9.js +0 -2553
  1980. package/dist/cjs/index-ae65e42f.js +0 -201
  1981. package/dist/cjs/index.es-e7587227.js +0 -10811
  1982. package/dist/cjs/interactive-3ab7044d.js +0 -144
  1983. package/dist/cjs/it-5ee42edc.js +0 -67
  1984. package/dist/cjs/it-ch-54981090.js +0 -67
  1985. package/dist/cjs/ja-f090b8db.js +0 -73
  1986. package/dist/cjs/key-c5504030.js +0 -19
  1987. package/dist/cjs/ko-14650b28.js +0 -73
  1988. package/dist/cjs/label-32573e1d.js +0 -186
  1989. package/dist/cjs/languageSwitcher-3870c772.js +0 -58
  1990. package/dist/cjs/languageUtil-0df39c0c.js +0 -69
  1991. package/dist/cjs/loadModules-01306709.js +0 -23
  1992. package/dist/cjs/loadable-5a794992.js +0 -94
  1993. package/dist/cjs/locale-3d0a4bc2.js +0 -161
  1994. package/dist/cjs/locale-4cef466e.js +0 -91
  1995. package/dist/cjs/locale-d237c9d5.js +0 -584
  1996. package/dist/cjs/lt-7d826627.js +0 -98
  1997. package/dist/cjs/lv-397bf143.js +0 -67
  1998. package/dist/cjs/mapViewUtils-3e0fa457.js +0 -472
  1999. package/dist/cjs/math-318a1646.js +0 -60
  2000. package/dist/cjs/mk-112e247a.js +0 -67
  2001. package/dist/cjs/mode-d6c12b38.js +0 -19
  2002. package/dist/cjs/nb-0a4d7d1f.js +0 -68
  2003. package/dist/cjs/nl-cfcabe91.js +0 -68
  2004. package/dist/cjs/observers-db4527e4.js +0 -53
  2005. package/dist/cjs/openCloseComponent-19a769d0.js +0 -92
  2006. package/dist/cjs/pciUtils-a238f3a1.js +0 -847
  2007. package/dist/cjs/pl-c3e61022.js +0 -115
  2008. package/dist/cjs/popupUtils-6be3588c.js +0 -96
  2009. package/dist/cjs/pt-6733c97d.js +0 -68
  2010. package/dist/cjs/pt-br-6e06cf69.js +0 -66
  2011. package/dist/cjs/publicNotificationStore-ef379d11.js +0 -47
  2012. package/dist/cjs/purify-4791ecca.js +0 -1712
  2013. package/dist/cjs/resources-02142b99.js +0 -2062
  2014. package/dist/cjs/resources-1d88e9d6.js +0 -39
  2015. package/dist/cjs/resources-3e593312.js +0 -52
  2016. package/dist/cjs/resources-555dae0e.js +0 -29
  2017. package/dist/cjs/resources-7e540eac.js +0 -26
  2018. package/dist/cjs/resources-9447c777.js +0 -32
  2019. package/dist/cjs/resources-baef554d.js +0 -27
  2020. package/dist/cjs/resources-c4fe74a9.js +0 -23
  2021. package/dist/cjs/resources-dd8ff1b4.js +0 -20
  2022. package/dist/cjs/restHelpersGet-2ed729ab.js +0 -972
  2023. package/dist/cjs/ro-60cdf606.js +0 -67
  2024. package/dist/cjs/ru-bf392182.js +0 -127
  2025. package/dist/cjs/shared-list-render-410f421e.js +0 -365
  2026. package/dist/cjs/sk-cf9539a5.js +0 -149
  2027. package/dist/cjs/sl-1d297b4f.js +0 -169
  2028. package/dist/cjs/solution-resource-97186521.js +0 -141
  2029. package/dist/cjs/solution-store-67bcf552.js +0 -1344
  2030. package/dist/cjs/sortableComponent-c111c036.js +0 -2742
  2031. package/dist/cjs/sr-f0c4f00a.js +0 -102
  2032. package/dist/cjs/styles-c9e1375a.js +0 -13
  2033. package/dist/cjs/sv-620bebec.js +0 -72
  2034. package/dist/cjs/t9n-993a84de.js +0 -100
  2035. package/dist/cjs/th-07dd0e43.js +0 -66
  2036. package/dist/cjs/throttle-aeeb1b4d.js +0 -75
  2037. package/dist/cjs/time-ff8d50c7.js +0 -289
  2038. package/dist/cjs/tr-42e14ef4.js +0 -67
  2039. package/dist/cjs/uk-398a1806.js +0 -105
  2040. package/dist/cjs/utils-3940c852.js +0 -105
  2041. package/dist/cjs/utils-65d812ea.js +0 -62
  2042. package/dist/cjs/utils-7bc7f595.js +0 -64
  2043. package/dist/cjs/utils-ac836e7a.js +0 -130
  2044. package/dist/cjs/utils-cca83dd0.js +0 -221
  2045. package/dist/cjs/vi-860b42fc.js +0 -71
  2046. package/dist/cjs/zh-cn-a89ecb38.js +0 -95
  2047. package/dist/cjs/zh-hk-affe0bef.js +0 -72
  2048. package/dist/cjs/zh-tw-ca333ffb.js +0 -93
  2049. package/dist/collection/components/arcgis-login/test/arcgis-login.e2e.js +0 -29
  2050. package/dist/collection/components/arcgis-login/test/arcgis-login.spec.js +0 -37
  2051. package/dist/collection/components/consent-manager/test/consent-manager.e2e.js +0 -29
  2052. package/dist/collection/components/consent-manager/test/consent-manager.spec.js +0 -37
  2053. package/dist/collection/components/delete-button/test/delete-button.e2e.js +0 -29
  2054. package/dist/collection/components/delete-button/test/delete-button.spec.js +0 -37
  2055. package/dist/collection/components/feature-comments/test/feature-comments.e2e.js +0 -29
  2056. package/dist/collection/components/feature-comments/test/feature-comments.spec.js +0 -37
  2057. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.e2e.js +0 -29
  2058. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.spec.js +0 -37
  2059. package/dist/collection/components/features-flow-item/test/features-flow-item.e2e.js +0 -29
  2060. package/dist/collection/components/features-flow-item/test/features-flow-item.spec.js +0 -37
  2061. package/dist/collection/components/list-flow-item/test/list-flow-item.e2e.js +0 -29
  2062. package/dist/collection/components/list-flow-item/test/list-flow-item.spec.js +0 -37
  2063. package/dist/collection/components/location-flow-item/test/location-flow-item.e2e.js +0 -29
  2064. package/dist/collection/components/location-flow-item/test/location-flow-item.spec.js +0 -37
  2065. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.e2e.js +0 -29
  2066. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.spec.js +0 -37
  2067. package/dist/collection/components/share-item/test/share-item.e2e.js +0 -29
  2068. package/dist/collection/components/share-item/test/share-item.spec.js +0 -37
  2069. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +0 -45
  2070. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +0 -79
  2071. package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +0 -71
  2072. package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +0 -158
  2073. package/dist/collection/utils/test/csvUtils.spec.js +0 -51
  2074. package/dist/collection/utils/test/downloadUtils.spec.js +0 -1003
  2075. package/dist/collection/utils/test/pciUtils.spec.js +0 -302
  2076. package/dist/collection/utils/test/solution-store.spec.js +0 -444
  2077. package/dist/collection/utils/test/templates.e2e.js +0 -30
  2078. package/dist/esm/ExpandToggle-b6eb575e.js +0 -110
  2079. package/dist/esm/FloatingArrow-93d6d18b.js +0 -48
  2080. package/dist/esm/Heading-94780f62.js +0 -22
  2081. package/dist/esm/Validation-ea480265.js +0 -18
  2082. package/dist/esm/_commonjsHelpers-0f74c230.js +0 -41
  2083. package/dist/esm/app-globals-c4e206db.js +0 -67
  2084. package/dist/esm/ar-7633f382.js +0 -103
  2085. package/dist/esm/array-396bdf3c.js +0 -15
  2086. package/dist/esm/bg-5ccf3b3b.js +0 -81
  2087. package/dist/esm/breakpoints-f0f1417d.js +0 -15
  2088. package/dist/esm/browser-d60104bd.js +0 -21
  2089. package/dist/esm/bs-59e59ad4.js +0 -50
  2090. package/dist/esm/ca-d8d2bc89.js +0 -70
  2091. package/dist/esm/calcite-action-menu_2.entry.js +0 -692
  2092. package/dist/esm/calcite-avatar.entry.js +0 -146
  2093. package/dist/esm/calcite-block_2.entry.js +0 -647
  2094. package/dist/esm/calcite-combobox_5.entry.js +0 -2112
  2095. package/dist/esm/calcite-flow_5.entry.js +0 -951
  2096. package/dist/esm/calcite-graph_2.entry.js +0 -1050
  2097. package/dist/esm/calcite-input-date-picker_3.entry.js +0 -2281
  2098. package/dist/esm/calcite-input-time-picker-dbf2079e.js +0 -1847
  2099. package/dist/esm/calcite-navigation-user.entry.js +0 -68
  2100. package/dist/esm/calcite-scrim.entry.js +0 -121
  2101. package/dist/esm/common-06bcfe81.js +0 -36
  2102. package/dist/esm/component-edd2c3cd.js +0 -30
  2103. package/dist/esm/conditionalSlot-12c4fcfb.js +0 -60
  2104. package/dist/esm/cs-3d744598.js +0 -146
  2105. package/dist/esm/da-ad0f6f82.js +0 -65
  2106. package/dist/esm/date-5630530d.js +0 -245
  2107. package/dist/esm/de-at-8de8843c.js +0 -89
  2108. package/dist/esm/de-ch-03a1c027.js +0 -89
  2109. package/dist/esm/de-d6966c3f.js +0 -90
  2110. package/dist/esm/debounce-229b1a22.js +0 -487
  2111. package/dist/esm/dom-38c6f027.js +0 -1056
  2112. package/dist/esm/downloadUtils-0c13073b.js +0 -3160
  2113. package/dist/esm/el-7130c722.js +0 -65
  2114. package/dist/esm/en-au-005d4093.js +0 -65
  2115. package/dist/esm/en-ca-1b54d10b.js +0 -64
  2116. package/dist/esm/en-gb-ac1ad784.js +0 -68
  2117. package/dist/esm/es-d6f91b06.js +0 -65
  2118. package/dist/esm/es-mx-26a8411a.js +0 -64
  2119. package/dist/esm/esri-loader-1b324844.js +0 -301
  2120. package/dist/esm/et-1f7ea62f.js +0 -91
  2121. package/dist/esm/fi-df7f8ad0.js +0 -114
  2122. package/dist/esm/filter-ce763acf.js +0 -763
  2123. package/dist/esm/floating-ui-41dfe3f1.js +0 -1958
  2124. package/dist/esm/focusTrapComponent-47ddce58.js +0 -1023
  2125. package/dist/esm/form-50dcd52e.js +0 -307
  2126. package/dist/esm/fr-14ad3cd0.js +0 -67
  2127. package/dist/esm/fr-ch-328d9a38.js +0 -65
  2128. package/dist/esm/guid-b75a5f7b.js +0 -24
  2129. package/dist/esm/he-a30ddc93.js +0 -104
  2130. package/dist/esm/helpers-f9256189.js +0 -880
  2131. package/dist/esm/hi-5d914f70.js +0 -64
  2132. package/dist/esm/hr-232bce19.js +0 -79
  2133. package/dist/esm/html2canvas-7f5bb1cc.js +0 -7840
  2134. package/dist/esm/hu-cb9fa8dc.js +0 -87
  2135. package/dist/esm/id-28662048.js +0 -65
  2136. package/dist/esm/index-164d485a.js +0 -2519
  2137. package/dist/esm/index-477ea182.js +0 -199
  2138. package/dist/esm/index.es-ad250bc6.js +0 -10725
  2139. package/dist/esm/interactive-39bf5602.js +0 -139
  2140. package/dist/esm/it-7fd85aa4.js +0 -65
  2141. package/dist/esm/it-ch-ab98adcc.js +0 -65
  2142. package/dist/esm/ja-eaf04e42.js +0 -71
  2143. package/dist/esm/key-c83d835f.js +0 -16
  2144. package/dist/esm/ko-d029100b.js +0 -71
  2145. package/dist/esm/label-b4cea72e.js +0 -179
  2146. package/dist/esm/languageSwitcher-068998b1.js +0 -55
  2147. package/dist/esm/languageUtil-035e7728.js +0 -66
  2148. package/dist/esm/loadModules-7a5f1022.js +0 -21
  2149. package/dist/esm/loadable-37e7fbd6.js +0 -89
  2150. package/dist/esm/locale-4cab280d.js +0 -86
  2151. package/dist/esm/locale-904407bf.js +0 -571
  2152. package/dist/esm/locale-bcbea4ef.js +0 -156
  2153. package/dist/esm/lt-4c10b6c4.js +0 -96
  2154. package/dist/esm/lv-d2afd652.js +0 -65
  2155. package/dist/esm/mapViewUtils-20504620.js +0 -455
  2156. package/dist/esm/math-efada7a9.js +0 -54
  2157. package/dist/esm/mk-ee9a3d11.js +0 -65
  2158. package/dist/esm/mode-66911cb5.js +0 -17
  2159. package/dist/esm/nb-b9ec8eb4.js +0 -66
  2160. package/dist/esm/nl-8e5bf9af.js +0 -66
  2161. package/dist/esm/observers-d04d1da9.js +0 -51
  2162. package/dist/esm/openCloseComponent-9f90f493.js +0 -90
  2163. package/dist/esm/pciUtils-73d4b6b4.js +0 -844
  2164. package/dist/esm/pl-1379aa6d.js +0 -113
  2165. package/dist/esm/polyfills/core-js.js +0 -11
  2166. package/dist/esm/polyfills/dom.js +0 -79
  2167. package/dist/esm/polyfills/es5-html-element.js +0 -1
  2168. package/dist/esm/polyfills/index.js +0 -34
  2169. package/dist/esm/polyfills/system.js +0 -6
  2170. package/dist/esm/popupUtils-af124b47.js +0 -94
  2171. package/dist/esm/pt-8494ce08.js +0 -66
  2172. package/dist/esm/pt-br-54686d6b.js +0 -64
  2173. package/dist/esm/publicNotificationStore-3bf4de75.js +0 -45
  2174. package/dist/esm/purify-dce4d86b.js +0 -1710
  2175. package/dist/esm/resources-00983bd3.js +0 -48
  2176. package/dist/esm/resources-20074cb1.js +0 -24
  2177. package/dist/esm/resources-3709252d.js +0 -35
  2178. package/dist/esm/resources-61b0cdad.js +0 -2051
  2179. package/dist/esm/resources-8834f920.js +0 -28
  2180. package/dist/esm/resources-88a48c5c.js +0 -20
  2181. package/dist/esm/resources-9b7e72d5.js +0 -20
  2182. package/dist/esm/resources-abd87b42.js +0 -24
  2183. package/dist/esm/resources-b0e2b809.js +0 -22
  2184. package/dist/esm/restHelpersGet-2a85d395.js +0 -959
  2185. package/dist/esm/ro-63586962.js +0 -65
  2186. package/dist/esm/ru-ec1f486a.js +0 -125
  2187. package/dist/esm/shared-list-render-ede061c1.js +0 -343
  2188. package/dist/esm/sk-d7d87eb9.js +0 -147
  2189. package/dist/esm/sl-2a7d999b.js +0 -167
  2190. package/dist/esm/solution-resource-77aa99c8.js +0 -138
  2191. package/dist/esm/solution-store-13ddaf1c.js +0 -1342
  2192. package/dist/esm/sortableComponent-d7cd11a3.js +0 -2738
  2193. package/dist/esm/sr-a3be308c.js +0 -100
  2194. package/dist/esm/styles-367380b5.js +0 -11
  2195. package/dist/esm/sv-890688fe.js +0 -70
  2196. package/dist/esm/t9n-436fb2b1.js +0 -95
  2197. package/dist/esm/th-ae3d67ae.js +0 -64
  2198. package/dist/esm/throttle-9ab70933.js +0 -73
  2199. package/dist/esm/time-29001694.js +0 -274
  2200. package/dist/esm/tr-260f6f88.js +0 -65
  2201. package/dist/esm/uk-d84b6056.js +0 -103
  2202. package/dist/esm/utils-78fe6e5b.js +0 -121
  2203. package/dist/esm/utils-9fb4104a.js +0 -61
  2204. package/dist/esm/utils-a15078af.js +0 -203
  2205. package/dist/esm/utils-d2b2562a.js +0 -95
  2206. package/dist/esm/utils-ef0ff036.js +0 -51
  2207. package/dist/esm/vi-f3eb25b9.js +0 -69
  2208. package/dist/esm/zh-cn-d6fc0582.js +0 -93
  2209. package/dist/esm/zh-hk-285977d0.js +0 -70
  2210. package/dist/esm/zh-tw-d83c5c9d.js +0 -91
  2211. package/dist/solutions-components/p-00524417.entry.js +0 -6
  2212. package/dist/solutions-components/p-01f7f1a2.js +0 -6
  2213. package/dist/solutions-components/p-028fba9d.js +0 -6
  2214. package/dist/solutions-components/p-02fa1945.entry.js +0 -11
  2215. package/dist/solutions-components/p-033522a7.entry.js +0 -11
  2216. package/dist/solutions-components/p-038fcd93.entry.js +0 -12
  2217. package/dist/solutions-components/p-04923112.entry.js +0 -17
  2218. package/dist/solutions-components/p-04c37d69.entry.js +0 -17
  2219. package/dist/solutions-components/p-05cb50f9.js +0 -11
  2220. package/dist/solutions-components/p-070d486d.entry.js +0 -17
  2221. package/dist/solutions-components/p-076673a8.js +0 -6
  2222. package/dist/solutions-components/p-08651773.entry.js +0 -11
  2223. package/dist/solutions-components/p-0883bc7b.js +0 -6
  2224. package/dist/solutions-components/p-08cca1ba.entry.js +0 -6
  2225. package/dist/solutions-components/p-09312a7a.entry.js +0 -6
  2226. package/dist/solutions-components/p-0b92e4b1.entry.js +0 -11
  2227. package/dist/solutions-components/p-0c6d2898.entry.js +0 -6
  2228. package/dist/solutions-components/p-0cb5f2ee.js +0 -6
  2229. package/dist/solutions-components/p-0d641d14.entry.js +0 -11
  2230. package/dist/solutions-components/p-1065f4fa.js +0 -11
  2231. package/dist/solutions-components/p-12a7d0d1.js +0 -6
  2232. package/dist/solutions-components/p-131bcc7f.entry.js +0 -6
  2233. package/dist/solutions-components/p-13a02132.js +0 -6
  2234. package/dist/solutions-components/p-13f2d901.js +0 -16
  2235. package/dist/solutions-components/p-15a0e7fb.js +0 -6
  2236. package/dist/solutions-components/p-188ed8b6.js +0 -21
  2237. package/dist/solutions-components/p-18f1e8b5.js +0 -6
  2238. package/dist/solutions-components/p-192b6455.js +0 -11
  2239. package/dist/solutions-components/p-1a7cef7b.entry.js +0 -6
  2240. package/dist/solutions-components/p-1ac2125a.entry.js +0 -36
  2241. package/dist/solutions-components/p-1b627c37.js +0 -6
  2242. package/dist/solutions-components/p-1c8cdfeb.entry.js +0 -11
  2243. package/dist/solutions-components/p-1d3a1794.js +0 -489
  2244. package/dist/solutions-components/p-1ee6220e.entry.js +0 -17
  2245. package/dist/solutions-components/p-1f33a29d.js +0 -11
  2246. package/dist/solutions-components/p-1f65ab1e.js +0 -11
  2247. package/dist/solutions-components/p-1fbac542.js +0 -6
  2248. package/dist/solutions-components/p-201a6ea3.js +0 -11
  2249. package/dist/solutions-components/p-20320bf6.entry.js +0 -11
  2250. package/dist/solutions-components/p-212c00e9.entry.js +0 -6
  2251. package/dist/solutions-components/p-23de1b01.entry.js +0 -11
  2252. package/dist/solutions-components/p-26461392.entry.js +0 -11
  2253. package/dist/solutions-components/p-299d1eaf.entry.js +0 -17
  2254. package/dist/solutions-components/p-2a0f52c5.entry.js +0 -6
  2255. package/dist/solutions-components/p-2a546c56.js +0 -6
  2256. package/dist/solutions-components/p-2b0454a0.js +0 -11
  2257. package/dist/solutions-components/p-2b6679d2.entry.js +0 -6
  2258. package/dist/solutions-components/p-2c6b8811.js +0 -18
  2259. package/dist/solutions-components/p-2d72eac3.entry.js +0 -6
  2260. package/dist/solutions-components/p-2eeff59b.js +0 -6
  2261. package/dist/solutions-components/p-30480847.entry.js +0 -11
  2262. package/dist/solutions-components/p-30e7ecfa.js +0 -6
  2263. package/dist/solutions-components/p-30edeb79.entry.js +0 -6
  2264. package/dist/solutions-components/p-312c045a.entry.js +0 -11
  2265. package/dist/solutions-components/p-32dc5007.entry.js +0 -23
  2266. package/dist/solutions-components/p-36375749.js +0 -6
  2267. package/dist/solutions-components/p-399d795d.js +0 -6
  2268. package/dist/solutions-components/p-3a6a1ce9.entry.js +0 -6
  2269. package/dist/solutions-components/p-3b9e4882.entry.js +0 -6
  2270. package/dist/solutions-components/p-3bb79204.js +0 -6
  2271. package/dist/solutions-components/p-3d324690.entry.js +0 -11
  2272. package/dist/solutions-components/p-3d7d78f3.entry.js +0 -6
  2273. package/dist/solutions-components/p-3dd92f0d.js +0 -17
  2274. package/dist/solutions-components/p-3e79d77b.entry.js +0 -11
  2275. package/dist/solutions-components/p-3fbfe26a.entry.js +0 -11
  2276. package/dist/solutions-components/p-4000a88a.js +0 -6
  2277. package/dist/solutions-components/p-431d8154.entry.js +0 -6
  2278. package/dist/solutions-components/p-449db954.entry.js +0 -6
  2279. package/dist/solutions-components/p-45263007.entry.js +0 -17
  2280. package/dist/solutions-components/p-465aa7d9.entry.js +0 -6
  2281. package/dist/solutions-components/p-479d1e95.js +0 -6
  2282. package/dist/solutions-components/p-47a97db7.entry.js +0 -11
  2283. package/dist/solutions-components/p-48bef730.js +0 -11
  2284. package/dist/solutions-components/p-495e7b9d.js +0 -11
  2285. package/dist/solutions-components/p-4a030771.entry.js +0 -11
  2286. package/dist/solutions-components/p-4b530f7b.entry.js +0 -6
  2287. package/dist/solutions-components/p-4c5d243f.js +0 -11
  2288. package/dist/solutions-components/p-4ce1ffd8.entry.js +0 -11
  2289. package/dist/solutions-components/p-4d09aa4c.entry.js +0 -6
  2290. package/dist/solutions-components/p-4dcc150d.entry.js +0 -6
  2291. package/dist/solutions-components/p-4efd2af6.entry.js +0 -6
  2292. package/dist/solutions-components/p-4f489e61.js +0 -6
  2293. package/dist/solutions-components/p-52a6d2dc.entry.js +0 -11
  2294. package/dist/solutions-components/p-5320dc25.entry.js +0 -6
  2295. package/dist/solutions-components/p-563a0b20.js +0 -11
  2296. package/dist/solutions-components/p-565e0f0d.entry.js +0 -6
  2297. package/dist/solutions-components/p-590a2a26.js +0 -61
  2298. package/dist/solutions-components/p-5a9a971a.js +0 -11
  2299. package/dist/solutions-components/p-5b228ed7.entry.js +0 -11
  2300. package/dist/solutions-components/p-5c7e3941.entry.js +0 -11
  2301. package/dist/solutions-components/p-5f5de955.js +0 -11
  2302. package/dist/solutions-components/p-5f6e7429.entry.js +0 -6
  2303. package/dist/solutions-components/p-5fbfa5e4.entry.js +0 -12
  2304. package/dist/solutions-components/p-602f3e72.js +0 -16
  2305. package/dist/solutions-components/p-6068c1cf.entry.js +0 -22
  2306. package/dist/solutions-components/p-6332fd4e.entry.js +0 -6
  2307. package/dist/solutions-components/p-63466518.entry.js +0 -6
  2308. package/dist/solutions-components/p-63572270.entry.js +0 -6
  2309. package/dist/solutions-components/p-6512dc44.entry.js +0 -6
  2310. package/dist/solutions-components/p-6665fa1f.js +0 -6
  2311. package/dist/solutions-components/p-66bca043.js +0 -145
  2312. package/dist/solutions-components/p-66ff2c3f.js +0 -11
  2313. package/dist/solutions-components/p-680b89db.js +0 -16
  2314. package/dist/solutions-components/p-6aa16b3c.js +0 -6
  2315. package/dist/solutions-components/p-6ce37201.js +0 -11
  2316. package/dist/solutions-components/p-6d520a58.js +0 -12
  2317. package/dist/solutions-components/p-6d93bdfd.entry.js +0 -11
  2318. package/dist/solutions-components/p-6f65682c.entry.js +0 -6
  2319. package/dist/solutions-components/p-6f6deff1.js +0 -6
  2320. package/dist/solutions-components/p-701568c2.entry.js +0 -16
  2321. package/dist/solutions-components/p-7169fadf.js +0 -6
  2322. package/dist/solutions-components/p-71964176.entry.js +0 -11
  2323. package/dist/solutions-components/p-71b65d8a.entry.js +0 -11
  2324. package/dist/solutions-components/p-72849648.js +0 -6
  2325. package/dist/solutions-components/p-75099601.js +0 -6
  2326. package/dist/solutions-components/p-75a758c8.js +0 -6
  2327. package/dist/solutions-components/p-76bd5032.js +0 -11
  2328. package/dist/solutions-components/p-7878534f.entry.js +0 -11
  2329. package/dist/solutions-components/p-792907e2.entry.js +0 -11
  2330. package/dist/solutions-components/p-7b257e2e.js +0 -6
  2331. package/dist/solutions-components/p-7c0fe27e.entry.js +0 -11
  2332. package/dist/solutions-components/p-7c2be8cc.js +0 -11
  2333. package/dist/solutions-components/p-7c2ef952.js +0 -6
  2334. package/dist/solutions-components/p-7d04ff20.js +0 -11
  2335. package/dist/solutions-components/p-7d280d8a.js +0 -7
  2336. package/dist/solutions-components/p-8007ac36.js +0 -11
  2337. package/dist/solutions-components/p-807900ac.js +0 -6
  2338. package/dist/solutions-components/p-80fd6b2e.js +0 -6
  2339. package/dist/solutions-components/p-8294d644.js +0 -21
  2340. package/dist/solutions-components/p-84546f35.entry.js +0 -6
  2341. package/dist/solutions-components/p-88932d2f.entry.js +0 -11
  2342. package/dist/solutions-components/p-89218b6e.js +0 -6
  2343. package/dist/solutions-components/p-8942f6fa.js +0 -6
  2344. package/dist/solutions-components/p-8dc26294.js +0 -11
  2345. package/dist/solutions-components/p-8ddc7786.js +0 -6
  2346. package/dist/solutions-components/p-905f7e81.entry.js +0 -6
  2347. package/dist/solutions-components/p-906ad47a.entry.js +0 -11
  2348. package/dist/solutions-components/p-91c49d95.entry.js +0 -6
  2349. package/dist/solutions-components/p-928c0b29.entry.js +0 -6
  2350. package/dist/solutions-components/p-94c634ba.js +0 -66
  2351. package/dist/solutions-components/p-94de9279.js +0 -11
  2352. package/dist/solutions-components/p-954dc86f.entry.js +0 -6
  2353. package/dist/solutions-components/p-955647ea.entry.js +0 -12
  2354. package/dist/solutions-components/p-989bf0bf.entry.js +0 -6
  2355. package/dist/solutions-components/p-9ae4f911.entry.js +0 -6
  2356. package/dist/solutions-components/p-9d3b46e2.js +0 -11
  2357. package/dist/solutions-components/p-9d53e0f2.js +0 -11
  2358. package/dist/solutions-components/p-9f895288.entry.js +0 -6
  2359. package/dist/solutions-components/p-a0611720.entry.js +0 -6
  2360. package/dist/solutions-components/p-a17d0d80.entry.js +0 -6
  2361. package/dist/solutions-components/p-a3132356.entry.js +0 -6
  2362. package/dist/solutions-components/p-a4149333.js +0 -11
  2363. package/dist/solutions-components/p-a5088b70.js +0 -6
  2364. package/dist/solutions-components/p-a55b766f.entry.js +0 -6
  2365. package/dist/solutions-components/p-a82f35c9.js +0 -6
  2366. package/dist/solutions-components/p-a886ab7f.entry.js +0 -6
  2367. package/dist/solutions-components/p-acb9b78e.js +0 -6
  2368. package/dist/solutions-components/p-ad98c346.js +0 -6
  2369. package/dist/solutions-components/p-aec06ce4.entry.js +0 -18
  2370. package/dist/solutions-components/p-b15fda15.js +0 -6
  2371. package/dist/solutions-components/p-b3ad3ac1.entry.js +0 -6
  2372. package/dist/solutions-components/p-b3eb3302.js +0 -17
  2373. package/dist/solutions-components/p-b4103233.js +0 -6
  2374. package/dist/solutions-components/p-b4d85b2c.js +0 -6
  2375. package/dist/solutions-components/p-b503d01d.js +0 -49
  2376. package/dist/solutions-components/p-b7337228.entry.js +0 -11
  2377. package/dist/solutions-components/p-b8c12736.entry.js +0 -6
  2378. package/dist/solutions-components/p-ba7d55ea.js +0 -11
  2379. package/dist/solutions-components/p-bc665a3a.js +0 -6
  2380. package/dist/solutions-components/p-bd06bae0.entry.js +0 -11
  2381. package/dist/solutions-components/p-bdbfe9f1.js +0 -6
  2382. package/dist/solutions-components/p-bdea5320.js +0 -11
  2383. package/dist/solutions-components/p-be8ef276.js +0 -36
  2384. package/dist/solutions-components/p-beba1804.entry.js +0 -11
  2385. package/dist/solutions-components/p-bf6b4eb7.entry.js +0 -6
  2386. package/dist/solutions-components/p-bfdf89c2.js +0 -11
  2387. package/dist/solutions-components/p-c375881a.entry.js +0 -21
  2388. package/dist/solutions-components/p-c4ff3b52.entry.js +0 -17
  2389. package/dist/solutions-components/p-c51f2880.entry.js +0 -11
  2390. package/dist/solutions-components/p-c897e3eb.js +0 -36
  2391. package/dist/solutions-components/p-c94d2cec.js +0 -11
  2392. package/dist/solutions-components/p-c97eebe2.js +0 -6
  2393. package/dist/solutions-components/p-caa7580c.js +0 -6
  2394. package/dist/solutions-components/p-cc280aa1.js +0 -21
  2395. package/dist/solutions-components/p-cc859d2b.entry.js +0 -16
  2396. package/dist/solutions-components/p-cd1ca3a6.entry.js +0 -47
  2397. package/dist/solutions-components/p-cde1d741.js +0 -27
  2398. package/dist/solutions-components/p-ced067bd.entry.js +0 -17
  2399. package/dist/solutions-components/p-d36f2db6.entry.js +0 -11
  2400. package/dist/solutions-components/p-d3ba36ce.entry.js +0 -11
  2401. package/dist/solutions-components/p-d599cfa8.entry.js +0 -6
  2402. package/dist/solutions-components/p-d5ce0c2b.js +0 -11
  2403. package/dist/solutions-components/p-d67f3b6e.entry.js +0 -11
  2404. package/dist/solutions-components/p-d6c662dc.js +0 -6
  2405. package/dist/solutions-components/p-d7b02d3a.js +0 -22
  2406. package/dist/solutions-components/p-d9826b1d.entry.js +0 -11
  2407. package/dist/solutions-components/p-db53bde3.js +0 -11
  2408. package/dist/solutions-components/p-dc58d9ec.js +0 -6
  2409. package/dist/solutions-components/p-dd67e38a.entry.js +0 -6
  2410. package/dist/solutions-components/p-ddd1cc66.js +0 -6
  2411. package/dist/solutions-components/p-de9522e9.js +0 -11
  2412. package/dist/solutions-components/p-e10ca475.entry.js +0 -11
  2413. package/dist/solutions-components/p-e14e6c12.entry.js +0 -6
  2414. package/dist/solutions-components/p-e29a378e.entry.js +0 -6
  2415. package/dist/solutions-components/p-e2d0ad1b.js +0 -6
  2416. package/dist/solutions-components/p-e2eb93d3.js +0 -6
  2417. package/dist/solutions-components/p-e46910c5.js +0 -6
  2418. package/dist/solutions-components/p-e61c56fa.entry.js +0 -11
  2419. package/dist/solutions-components/p-e7afc0a8.js +0 -11
  2420. package/dist/solutions-components/p-e813faf8.entry.js +0 -11
  2421. package/dist/solutions-components/p-e822a96b.js +0 -6
  2422. package/dist/solutions-components/p-e85ba21c.js +0 -6
  2423. package/dist/solutions-components/p-e9700988.entry.js +0 -6
  2424. package/dist/solutions-components/p-e9788173.entry.js +0 -11
  2425. package/dist/solutions-components/p-e9828fd0.js +0 -6
  2426. package/dist/solutions-components/p-eab00813.js +0 -8
  2427. package/dist/solutions-components/p-ebd6afea.entry.js +0 -11
  2428. package/dist/solutions-components/p-ebdd6c63.js +0 -6
  2429. package/dist/solutions-components/p-ede2a93f.js +0 -6
  2430. package/dist/solutions-components/p-ef1cf76c.entry.js +0 -6
  2431. package/dist/solutions-components/p-efe1694a.entry.js +0 -17
  2432. package/dist/solutions-components/p-efec6ba5.entry.js +0 -11
  2433. package/dist/solutions-components/p-f0c7d964.js +0 -11
  2434. package/dist/solutions-components/p-f232f765.js +0 -6
  2435. package/dist/solutions-components/p-f313b45b.entry.js +0 -6
  2436. package/dist/solutions-components/p-f6be44e6.entry.js +0 -6
  2437. package/dist/solutions-components/p-f8015a1b.js +0 -6
  2438. package/dist/solutions-components/p-f8a6785d.entry.js +0 -6
  2439. package/dist/solutions-components/p-fb7a5f6e.js +0 -21
  2440. package/dist/solutions-components/p-fc1367d9.entry.js +0 -6
  2441. package/dist/solutions-components/p-fc2fb61b.js +0 -6
  2442. package/dist/solutions-components/p-fc9fe5fb.js +0 -11
  2443. package/dist/solutions-components/p-fdedce1c.entry.js +0 -11
  2444. package/dist/solutions-components/p-fe74de01.js +0 -6
  2445. package/dist/solutions-components/p-ff302d95.entry.js +0 -23
  2446. /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
  2447. /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
  2448. /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -0,0 +1,2984 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, a as getAssetPath } from './index-e3f04fa1.js';
7
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-850652b1.js';
8
+ import { f as focusFirstTabbable, g as getSlotted, t as toAriaBoolean } from './dom-d675fe65.js';
9
+ import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction, I as InteractiveContainer } from './interactive-2e2d102f.js';
10
+ import { c as connectLocalized, d as disconnectLocalized, g as getSupportedLocale, n as numberStringFormatter, a as getDateTimeFormat, b as getSupportedNumberingSystem } from './locale-60861d67.js';
11
+ import { u as updateMessages, c as connectMessages, d as disconnectMessages, s as setUpMessages } from './t9n-5800da82.js';
12
+ import { H as Heading } from './Heading-2104570d.js';
13
+ import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-01033497.js';
14
+ import { o as onToggleOpenCloseComponent } from './openCloseComponent-1fbfcd2f.js';
15
+ import { d as dateFromISO, g as getDaysDiff, a as dateToISO, b as dateFromRange, s as setEndOfDay, c as datePartsFromISO, e as datePartsFromLocalizedString, f as dateFromLocalizedString, i as inRange } from './date-118148f9.js';
16
+ import { f as filterComputedPlacements, c as connectFloatingUI, d as defaultMenuPlacement, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-3e149d85.js';
17
+ import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-8b2f6210.js';
18
+ import { n as numberKeys } from './key-092b6260.js';
19
+ import { c as connectLabel, d as disconnectLabel } from './label-5692de01.js';
20
+ import { c as connectFocusTrap, d as deactivateFocusTrap, a as activateFocusTrap } from './focusTrapComponent-63bf0d9f.js';
21
+ import { g as guid } from './guid-f05d01d5.js';
22
+ import { g as getIconScale } from './component-960ddabf.js';
23
+ import { V as Validation } from './Validation-cc8dc911.js';
24
+ import { l as loadModules } from './loadModules-03ba7abe.js';
25
+ import { g as getMessages } from './locale-d66155ee.js';
26
+ import { g as getMode } from './mode-8c5f5dc9.js';
27
+ import './observers-fdb7a374.js';
28
+ import './resources-1febf4c6.js';
29
+ import './browser-7fe78178.js';
30
+ import './debounce-6e9ade8c.js';
31
+ import './esri-loader-c6842c6b.js';
32
+ import './_commonjsHelpers-089957fe.js';
33
+ import './languageUtil-2b6e191a.js';
34
+
35
+ /*!
36
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
37
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
38
+ * v2.8.2
39
+ */
40
+ const IDS = {
41
+ content: "content",
42
+ toggle: "toggle",
43
+ header: "header",
44
+ };
45
+ const CSS$3 = {
46
+ button: "button",
47
+ container: "container",
48
+ content: "content",
49
+ controlContainer: "control-container",
50
+ description: "description",
51
+ header: "header",
52
+ headerContainer: "header-container",
53
+ heading: "heading",
54
+ icon: "icon",
55
+ invalid: "invalid",
56
+ statusIcon: "status-icon",
57
+ summary: "summary",
58
+ title: "title",
59
+ toggle: "toggle",
60
+ toggleIcon: "toggle-icon",
61
+ valid: "valid",
62
+ };
63
+ const SLOTS = {
64
+ icon: "icon",
65
+ control: "control",
66
+ headerMenuActions: "header-menu-actions",
67
+ };
68
+ const ICONS = {
69
+ opened: "chevron-up",
70
+ closed: "chevron-down",
71
+ valid: "check-circle",
72
+ invalid: "exclamation-mark-triangle",
73
+ };
74
+
75
+ const blockCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:0.75rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}";
76
+ const CalciteBlockStyle0 = blockCss;
77
+
78
+ const Block = class {
79
+ constructor(hostRef) {
80
+ registerInstance(this, hostRef);
81
+ this.calciteBlockBeforeClose = createEvent(this, "calciteBlockBeforeClose", 6);
82
+ this.calciteBlockBeforeOpen = createEvent(this, "calciteBlockBeforeOpen", 6);
83
+ this.calciteBlockClose = createEvent(this, "calciteBlockClose", 6);
84
+ this.calciteBlockOpen = createEvent(this, "calciteBlockOpen", 6);
85
+ this.calciteBlockToggle = createEvent(this, "calciteBlockToggle", 6);
86
+ this.openTransitionProp = "opacity";
87
+ // --------------------------------------------------------------------------
88
+ //
89
+ // Private Methods
90
+ //
91
+ // --------------------------------------------------------------------------
92
+ this.onHeaderClick = () => {
93
+ this.open = !this.open;
94
+ this.calciteBlockToggle.emit();
95
+ };
96
+ this.setTransitionEl = (el) => {
97
+ this.transitionEl = el;
98
+ };
99
+ this.collapsible = false;
100
+ this.disabled = false;
101
+ this.dragHandle = false;
102
+ this.heading = undefined;
103
+ this.headingLevel = undefined;
104
+ this.loading = false;
105
+ this.open = false;
106
+ this.status = undefined;
107
+ this.description = undefined;
108
+ this.messages = undefined;
109
+ this.messageOverrides = undefined;
110
+ this.overlayPositioning = "absolute";
111
+ this.effectiveLocale = undefined;
112
+ this.defaultMessages = undefined;
113
+ }
114
+ openHandler() {
115
+ onToggleOpenCloseComponent(this);
116
+ }
117
+ onMessagesChange() {
118
+ /* wired up by t9n util */
119
+ }
120
+ //--------------------------------------------------------------------------
121
+ //
122
+ // Public Methods
123
+ //
124
+ //--------------------------------------------------------------------------
125
+ /**
126
+ * Sets focus on the component's first tabbable element.
127
+ *
128
+ */
129
+ async setFocus() {
130
+ await componentFocusable(this);
131
+ focusFirstTabbable(this.el);
132
+ }
133
+ onBeforeOpen() {
134
+ this.calciteBlockBeforeOpen.emit();
135
+ }
136
+ onOpen() {
137
+ this.calciteBlockOpen.emit();
138
+ }
139
+ onBeforeClose() {
140
+ this.calciteBlockBeforeClose.emit();
141
+ }
142
+ onClose() {
143
+ this.calciteBlockClose.emit();
144
+ }
145
+ effectiveLocaleChange() {
146
+ updateMessages(this, this.effectiveLocale);
147
+ }
148
+ // --------------------------------------------------------------------------
149
+ //
150
+ // Lifecycle
151
+ //
152
+ // --------------------------------------------------------------------------
153
+ connectedCallback() {
154
+ connectConditionalSlotComponent(this);
155
+ connectInteractive(this);
156
+ connectLocalized(this);
157
+ connectMessages(this);
158
+ }
159
+ disconnectedCallback() {
160
+ disconnectInteractive(this);
161
+ disconnectLocalized(this);
162
+ disconnectMessages(this);
163
+ disconnectConditionalSlotComponent(this);
164
+ }
165
+ async componentWillLoad() {
166
+ await setUpMessages(this);
167
+ setUpLoadableComponent(this);
168
+ if (this.open) {
169
+ onToggleOpenCloseComponent(this);
170
+ }
171
+ }
172
+ componentDidLoad() {
173
+ setComponentLoaded(this);
174
+ }
175
+ componentDidRender() {
176
+ updateHostInteraction(this);
177
+ }
178
+ // --------------------------------------------------------------------------
179
+ //
180
+ // Render Methods
181
+ //
182
+ // --------------------------------------------------------------------------
183
+ renderScrim() {
184
+ const { loading } = this;
185
+ const defaultSlot = h("slot", null);
186
+ return [loading ? h("calcite-scrim", { loading: loading }) : null, defaultSlot];
187
+ }
188
+ renderIcon() {
189
+ const { loading, messages, status } = this;
190
+ const hasSlottedIcon = !!getSlotted(this.el, SLOTS.icon);
191
+ return loading ? (h("div", { class: CSS$3.icon, key: "loader" }, h("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (h("div", { class: CSS$3.icon, key: "status-icon" }, h("calcite-icon", { class: {
192
+ [CSS$3.statusIcon]: true,
193
+ [CSS$3.valid]: status == "valid",
194
+ [CSS$3.invalid]: status == "invalid",
195
+ }, icon: ICONS[status], scale: "s" }))) : hasSlottedIcon ? (h("div", { class: CSS$3.icon, key: "icon-slot" }, h("slot", { key: "icon-slot", name: SLOTS.icon }))) : null;
196
+ }
197
+ renderTitle() {
198
+ const { heading, headingLevel, description } = this;
199
+ return heading || description ? (h("div", { class: CSS$3.title }, h(Heading, { class: CSS$3.heading, level: headingLevel }, heading), description ? h("div", { class: CSS$3.description }, description) : null)) : null;
200
+ }
201
+ render() {
202
+ const { collapsible, el, loading, open, heading, messages } = this;
203
+ const toggleLabel = open ? messages.collapse : messages.expand;
204
+ const headerContent = (h("header", { key: 'aefae50b975f87b21c9b37f7eae2df49062ee5f8', class: CSS$3.header, id: IDS.header }, this.renderIcon(), this.renderTitle()));
205
+ const hasControl = !!getSlotted(el, SLOTS.control);
206
+ const hasMenuActions = !!getSlotted(el, SLOTS.headerMenuActions);
207
+ const collapseIcon = open ? ICONS.opened : ICONS.closed;
208
+ const headerNode = (h("div", { key: 'f8c5ce075f5d83e483ee3d2d62fd187fd0987b30', class: CSS$3.headerContainer }, this.dragHandle ? h("calcite-handle", { label: heading }) : null, collapsible ? (h("button", { "aria-controls": IDS.content, "aria-describedby": IDS.header, "aria-expanded": collapsible ? toAriaBoolean(open) : null, class: CSS$3.toggle, id: IDS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, h("calcite-icon", { "aria-hidden": "true", class: CSS$3.toggleIcon, icon: collapseIcon, scale: "s" }))) : (headerContent), hasControl ? (h("div", { class: CSS$3.controlContainer }, h("slot", { name: SLOTS.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: messages.options, overlayPositioning: this.overlayPositioning }, h("slot", { name: SLOTS.headerMenuActions }))) : null));
209
+ return (h(Host, { key: '8e984813d8283475171ad0b58bb77c6671da394c' }, h(InteractiveContainer, { key: '9757aa3d3d51eeca2eece6b7fcf1ed2bdbc9d4eb', disabled: this.disabled }, h("article", { key: '6722572eb61cf147e473bd237bff74bafde0af56', "aria-busy": toAriaBoolean(loading), class: {
210
+ [CSS$3.container]: true,
211
+ } }, headerNode, h("section", { key: '14a1118f4b8a7d3f8ddc063cbcd2ba062090973a', "aria-labelledby": IDS.toggle, class: CSS$3.content, hidden: !open, id: IDS.content,
212
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
213
+ ref: this.setTransitionEl }, this.renderScrim())))));
214
+ }
215
+ static get assetsDirs() { return ["assets"]; }
216
+ get el() { return getElement(this); }
217
+ static get watchers() { return {
218
+ "open": ["openHandler"],
219
+ "messageOverrides": ["onMessagesChange"],
220
+ "effectiveLocale": ["effectiveLocaleChange"]
221
+ }; }
222
+ };
223
+ Block.style = CalciteBlockStyle0;
224
+
225
+ /*!
226
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
227
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
228
+ * v2.8.2
229
+ */
230
+ const HEADING_LEVEL = 2;
231
+ const DATE_PICKER_FORMAT_OPTIONS = { dateStyle: "full" };
232
+
233
+ /*!
234
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
235
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
236
+ * v2.8.2
237
+ */
238
+ /**
239
+ * CLDR cache.
240
+ * Exported for testing purposes.
241
+ *
242
+ * @private
243
+ */
244
+ const translationCache = {};
245
+ /**
246
+ * CLDR request cache.
247
+ * Exported for testing purposes.
248
+ *
249
+ * @private
250
+ */
251
+ const requestCache = {};
252
+ /**
253
+ * Fetch calendar data for a given locale from list of supported languages
254
+ *
255
+ * @param lang
256
+ * @public
257
+ */
258
+ async function getLocaleData(lang) {
259
+ const locale = getSupportedLocale(lang);
260
+ if (translationCache[locale]) {
261
+ return translationCache[locale];
262
+ }
263
+ if (!requestCache[locale]) {
264
+ requestCache[locale] = fetch(getAssetPath(`./assets/date-picker/nls/${locale}.json`))
265
+ .then((resp) => resp.json())
266
+ .catch(() => {
267
+ console.error(`Translations for "${locale}" not found or invalid, falling back to english`);
268
+ return getLocaleData("en");
269
+ });
270
+ }
271
+ const data = await requestCache[locale];
272
+ translationCache[locale] = data;
273
+ return data;
274
+ }
275
+ /**
276
+ * Maps value to valueAsDate
277
+ *
278
+ * @param value
279
+ */
280
+ function getValueAsDateRange(value) {
281
+ return value.map((v, index) => dateFromISO(v, index === 1));
282
+ }
283
+
284
+ const datePickerCss = ":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-block;inline-size:auto;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);vertical-align:top}:host([scale=s]){inline-size:234px;min-inline-size:216px;max-inline-size:380px}:host([scale=m]){inline-size:304px;min-inline-size:272px;max-inline-size:480px}:host([scale=l]){inline-size:370px;min-inline-size:320px;max-inline-size:600px}:host([hidden]){display:none}[hidden]{display:none}";
285
+ const CalciteDatePickerStyle0 = datePickerCss;
286
+
287
+ const DatePicker = class {
288
+ constructor(hostRef) {
289
+ registerInstance(this, hostRef);
290
+ this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 6);
291
+ this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 6);
292
+ //--------------------------------------------------------------------------
293
+ //
294
+ // Private Methods
295
+ //
296
+ //--------------------------------------------------------------------------
297
+ this.keyDownHandler = (event) => {
298
+ if (event.key === "Escape") {
299
+ this.resetActiveDates();
300
+ }
301
+ };
302
+ this.monthHeaderSelectChange = (event) => {
303
+ const date = new Date(event.detail);
304
+ if (!this.range) {
305
+ this.activeDate = date;
306
+ }
307
+ else {
308
+ if (this.activeRange === "end") {
309
+ this.activeEndDate = date;
310
+ }
311
+ else {
312
+ this.activeStartDate = date;
313
+ }
314
+ this.mostRecentRangeValue = date;
315
+ }
316
+ };
317
+ this.monthActiveDateChange = (event) => {
318
+ const date = new Date(event.detail);
319
+ if (!this.range) {
320
+ this.activeDate = date;
321
+ }
322
+ else {
323
+ if (this.activeRange === "end") {
324
+ this.activeEndDate = date;
325
+ }
326
+ else {
327
+ this.activeStartDate = date;
328
+ }
329
+ this.mostRecentRangeValue = date;
330
+ }
331
+ };
332
+ this.monthHoverChange = (event) => {
333
+ if (!this.range) {
334
+ this.hoverRange = undefined;
335
+ return;
336
+ }
337
+ const { valueAsDate } = this;
338
+ const start = Array.isArray(valueAsDate) && valueAsDate[0];
339
+ const end = Array.isArray(valueAsDate) && valueAsDate[1];
340
+ const date = new Date(event.detail);
341
+ this.hoverRange = {
342
+ focused: this.activeRange || "start",
343
+ start,
344
+ end,
345
+ };
346
+ if (this.proximitySelectionDisabled) {
347
+ if ((end && start) || (!end && date >= start)) {
348
+ this.hoverRange.focused = "end";
349
+ this.hoverRange.end = date;
350
+ }
351
+ else if (!end && date < start) {
352
+ this.hoverRange = {
353
+ focused: "start",
354
+ start: date,
355
+ end: start,
356
+ };
357
+ }
358
+ else {
359
+ this.hoverRange = undefined;
360
+ }
361
+ }
362
+ else {
363
+ if (start && end) {
364
+ const startDiff = getDaysDiff(date, start);
365
+ const endDiff = getDaysDiff(date, end);
366
+ if (endDiff > 0) {
367
+ this.hoverRange.end = date;
368
+ this.hoverRange.focused = "end";
369
+ }
370
+ else if (startDiff < 0) {
371
+ this.hoverRange.start = date;
372
+ this.hoverRange.focused = "start";
373
+ }
374
+ else if (startDiff > endDiff) {
375
+ this.hoverRange.start = date;
376
+ this.hoverRange.focused = "start";
377
+ }
378
+ else {
379
+ this.hoverRange.end = date;
380
+ this.hoverRange.focused = "end";
381
+ }
382
+ }
383
+ else {
384
+ if (start) {
385
+ if (date < start) {
386
+ this.hoverRange = {
387
+ focused: "start",
388
+ start: date,
389
+ end: start,
390
+ };
391
+ }
392
+ else {
393
+ this.hoverRange.end = date;
394
+ this.hoverRange.focused = "end";
395
+ }
396
+ }
397
+ }
398
+ }
399
+ event.stopPropagation();
400
+ };
401
+ this.monthMouseOutChange = () => {
402
+ if (this.hoverRange) {
403
+ this.hoverRange = undefined;
404
+ }
405
+ };
406
+ this.resetActiveDates = () => {
407
+ const { valueAsDate } = this;
408
+ if (!Array.isArray(valueAsDate) && valueAsDate && valueAsDate !== this.activeDate) {
409
+ this.activeDate = new Date(valueAsDate);
410
+ }
411
+ if (Array.isArray(valueAsDate)) {
412
+ if (valueAsDate[0] && valueAsDate[0] !== this.activeStartDate) {
413
+ this.activeStartDate = new Date(valueAsDate[0]);
414
+ }
415
+ if (valueAsDate[1] && valueAsDate[1] !== this.activeEndDate) {
416
+ this.activeEndDate = new Date(valueAsDate[1]);
417
+ }
418
+ }
419
+ };
420
+ /**
421
+ * Event handler for when the selected date changes
422
+ *
423
+ * @param event
424
+ */
425
+ this.monthDateChange = (event) => {
426
+ const date = new Date(event.detail);
427
+ const isoDate = dateToISO(date);
428
+ if (!this.range && isoDate === dateToISO(this.valueAsDate)) {
429
+ return;
430
+ }
431
+ if (!this.range) {
432
+ this.value = isoDate || "";
433
+ this.valueAsDate = date || null;
434
+ this.activeDate = date || null;
435
+ this.calciteDatePickerChange.emit();
436
+ return;
437
+ }
438
+ const start = this.getStartDate();
439
+ const end = this.getEndDate();
440
+ if (!start || (!end && date < start)) {
441
+ if (start) {
442
+ this.setEndDate(new Date(start));
443
+ }
444
+ if (this.activeRange == "end") {
445
+ this.setEndDate(date);
446
+ }
447
+ else {
448
+ this.setStartDate(date);
449
+ }
450
+ }
451
+ else if (!end) {
452
+ this.setEndDate(date);
453
+ }
454
+ else {
455
+ if (this.proximitySelectionDisabled) {
456
+ this.setStartDate(date);
457
+ this.setEndDate(null);
458
+ }
459
+ else {
460
+ if (this.activeRange) {
461
+ if (this.activeRange == "end") {
462
+ this.setEndDate(date);
463
+ }
464
+ else {
465
+ this.setStartDate(date);
466
+ }
467
+ }
468
+ else {
469
+ const startDiff = getDaysDiff(date, start);
470
+ const endDiff = getDaysDiff(date, end);
471
+ if (endDiff === 0 || startDiff < 0) {
472
+ this.setStartDate(date);
473
+ }
474
+ else if (startDiff === 0 || endDiff < 0) {
475
+ this.setEndDate(date);
476
+ }
477
+ else if (startDiff < endDiff) {
478
+ this.setStartDate(date);
479
+ }
480
+ else {
481
+ this.setEndDate(date);
482
+ }
483
+ }
484
+ }
485
+ }
486
+ this.calciteDatePickerChange.emit();
487
+ };
488
+ this.activeDate = undefined;
489
+ this.activeRange = undefined;
490
+ this.value = undefined;
491
+ this.headingLevel = undefined;
492
+ this.valueAsDate = undefined;
493
+ this.minAsDate = undefined;
494
+ this.maxAsDate = undefined;
495
+ this.min = undefined;
496
+ this.max = undefined;
497
+ this.numberingSystem = undefined;
498
+ this.scale = "m";
499
+ this.range = false;
500
+ this.proximitySelectionDisabled = false;
501
+ this.messageOverrides = undefined;
502
+ this.messages = undefined;
503
+ this.activeEndDate = undefined;
504
+ this.activeStartDate = undefined;
505
+ this.dateTimeFormat = undefined;
506
+ this.defaultMessages = undefined;
507
+ this.effectiveLocale = "";
508
+ this.endAsDate = undefined;
509
+ this.hoverRange = undefined;
510
+ this.localeData = undefined;
511
+ this.mostRecentRangeValue = undefined;
512
+ this.startAsDate = undefined;
513
+ }
514
+ activeDateWatcher(newActiveDate) {
515
+ if (this.activeRange === "end") {
516
+ this.activeEndDate = newActiveDate;
517
+ }
518
+ }
519
+ valueAsDateWatcher(newValueAsDate) {
520
+ if (this.range && Array.isArray(newValueAsDate)) {
521
+ const { activeStartDate, activeEndDate } = this;
522
+ const newActiveStartDate = newValueAsDate[0];
523
+ const newActiveEndDate = newValueAsDate[1];
524
+ this.activeStartDate = activeStartDate !== newActiveStartDate && newActiveStartDate;
525
+ this.activeEndDate = activeEndDate !== newActiveEndDate && newActiveEndDate;
526
+ }
527
+ else if (newValueAsDate && newValueAsDate !== this.activeDate) {
528
+ this.activeDate = newValueAsDate;
529
+ }
530
+ }
531
+ onMinChanged(min) {
532
+ if (min) {
533
+ this.minAsDate = dateFromISO(min);
534
+ }
535
+ }
536
+ onMaxChanged(max) {
537
+ if (max) {
538
+ this.maxAsDate = dateFromISO(max);
539
+ }
540
+ }
541
+ onMessagesChange() {
542
+ /* wired up by t9n util */
543
+ }
544
+ //--------------------------------------------------------------------------
545
+ //
546
+ // Public Methods
547
+ //
548
+ //--------------------------------------------------------------------------
549
+ /** Sets focus on the component's first focusable element. */
550
+ async setFocus() {
551
+ await componentFocusable(this);
552
+ this.el.focus();
553
+ }
554
+ /**
555
+ * Resets active date state.
556
+ * @internal
557
+ */
558
+ async reset() {
559
+ this.resetActiveDates();
560
+ this.mostRecentRangeValue = undefined;
561
+ }
562
+ // --------------------------------------------------------------------------
563
+ //
564
+ // Lifecycle
565
+ //
566
+ // --------------------------------------------------------------------------
567
+ connectedCallback() {
568
+ connectLocalized(this);
569
+ connectMessages(this);
570
+ if (Array.isArray(this.value)) {
571
+ this.valueAsDate = getValueAsDateRange(this.value);
572
+ }
573
+ else if (this.value) {
574
+ this.valueAsDate = dateFromISO(this.value);
575
+ }
576
+ if (this.min) {
577
+ this.minAsDate = dateFromISO(this.min);
578
+ }
579
+ if (this.max) {
580
+ this.maxAsDate = dateFromISO(this.max);
581
+ }
582
+ }
583
+ disconnectedCallback() {
584
+ disconnectLocalized(this);
585
+ disconnectMessages(this);
586
+ }
587
+ async componentWillLoad() {
588
+ setUpLoadableComponent(this);
589
+ await this.loadLocaleData();
590
+ this.onMinChanged(this.min);
591
+ this.onMaxChanged(this.max);
592
+ await setUpMessages(this);
593
+ }
594
+ componentDidLoad() {
595
+ setComponentLoaded(this);
596
+ }
597
+ render() {
598
+ var _a;
599
+ const date = dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
600
+ let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
601
+ const endDate = this.range && Array.isArray(this.valueAsDate)
602
+ ? dateFromRange(this.valueAsDate[1], this.minAsDate, this.maxAsDate)
603
+ : null;
604
+ const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
605
+ if ((this.activeRange === "end" ||
606
+ (((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === "end" && (!this.proximitySelectionDisabled || endDate))) &&
607
+ activeEndDate) {
608
+ activeDate = activeEndDate;
609
+ }
610
+ if (this.range && this.mostRecentRangeValue) {
611
+ activeDate = this.mostRecentRangeValue;
612
+ }
613
+ const minDate = this.range && this.activeRange
614
+ ? this.activeRange === "start"
615
+ ? this.minAsDate
616
+ : date || this.minAsDate
617
+ : this.minAsDate;
618
+ const maxDate = this.range && this.activeRange
619
+ ? this.activeRange === "start"
620
+ ? endDate || this.maxAsDate
621
+ : this.maxAsDate
622
+ : this.maxAsDate;
623
+ return (h(Host, { key: 'af94b669a3045e53c100cb5850381e9f77423133', onBlur: this.resetActiveDates, onKeyDown: this.keyDownHandler }, this.renderCalendar(activeDate, maxDate, minDate, date, endDate)));
624
+ }
625
+ effectiveLocaleChange() {
626
+ updateMessages(this, this.effectiveLocale);
627
+ }
628
+ valueHandler(value) {
629
+ if (Array.isArray(value)) {
630
+ this.valueAsDate = getValueAsDateRange(value);
631
+ }
632
+ else if (value) {
633
+ this.valueAsDate = dateFromISO(value);
634
+ }
635
+ }
636
+ async loadLocaleData() {
637
+ numberStringFormatter.numberFormatOptions = {
638
+ numberingSystem: this.numberingSystem,
639
+ locale: this.effectiveLocale,
640
+ useGrouping: false,
641
+ };
642
+ this.localeData = await getLocaleData(this.effectiveLocale);
643
+ this.dateTimeFormat = getDateTimeFormat(this.effectiveLocale, DATE_PICKER_FORMAT_OPTIONS);
644
+ }
645
+ /**
646
+ * Render calcite-date-picker-month-header and calcite-date-picker-month
647
+ *
648
+ * @param activeDate
649
+ * @param maxDate
650
+ * @param minDate
651
+ * @param date
652
+ * @param endDate
653
+ */
654
+ renderCalendar(activeDate, maxDate, minDate, date, endDate) {
655
+ return (this.localeData && [
656
+ h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel || HEADING_LEVEL, localeData: this.localeData, max: maxDate, messages: this.messages, min: minDate, onCalciteInternalDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
657
+ h("calcite-date-picker-month", { activeDate: activeDate, dateTimeFormat: this.dateTimeFormat, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteInternalDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, onCalciteInternalDatePickerSelect: this.monthDateChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined }),
658
+ ]);
659
+ }
660
+ getEndDate() {
661
+ return (Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined;
662
+ }
663
+ setEndDate(date) {
664
+ const startDate = this.getStartDate();
665
+ const newEndDate = date ? setEndOfDay(date) : date;
666
+ this.value = [dateToISO(startDate), dateToISO(date)];
667
+ this.valueAsDate = [startDate, date];
668
+ this.mostRecentRangeValue = newEndDate;
669
+ this.calciteDatePickerRangeChange.emit();
670
+ this.activeEndDate = date || null;
671
+ }
672
+ getStartDate() {
673
+ return Array.isArray(this.valueAsDate) && this.valueAsDate[0];
674
+ }
675
+ setStartDate(date) {
676
+ const endDate = this.getEndDate();
677
+ this.value = [dateToISO(date), dateToISO(endDate)];
678
+ this.valueAsDate = [date, endDate];
679
+ this.mostRecentRangeValue = date;
680
+ this.calciteDatePickerRangeChange.emit();
681
+ this.activeStartDate = date || null;
682
+ }
683
+ /**
684
+ * Get an active date using the value, or current date as default
685
+ *
686
+ * @param value
687
+ * @param min
688
+ * @param max
689
+ */
690
+ getActiveDate(value, min, max) {
691
+ return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
692
+ }
693
+ getActiveEndDate(value, min, max) {
694
+ return (dateFromRange(this.activeEndDate, min, max) || value || dateFromRange(new Date(), min, max));
695
+ }
696
+ static get delegatesFocus() { return true; }
697
+ static get assetsDirs() { return ["assets"]; }
698
+ get el() { return getElement(this); }
699
+ static get watchers() { return {
700
+ "activeDate": ["activeDateWatcher"],
701
+ "valueAsDate": ["valueAsDateWatcher"],
702
+ "min": ["onMinChanged"],
703
+ "max": ["onMaxChanged"],
704
+ "messageOverrides": ["onMessagesChange"],
705
+ "effectiveLocale": ["effectiveLocaleChange", "loadLocaleData"],
706
+ "value": ["valueHandler"]
707
+ }; }
708
+ };
709
+ DatePicker.style = CalciteDatePickerStyle0;
710
+
711
+ /*!
712
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
713
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
714
+ * v2.8.2
715
+ */
716
+ /**
717
+ * Specifies if an ISO string date (YYYY-MM-DD) has two digit year.
718
+ *
719
+ * @param {string} value
720
+ * @returns {boolean}
721
+ */
722
+ function isTwoDigitYear(value) {
723
+ if (!value) {
724
+ return false;
725
+ }
726
+ const { year } = datePartsFromISO(value);
727
+ return Number(year) < 100;
728
+ }
729
+ /**
730
+ * Returns a normalized year to current century from a given two digit year number.
731
+ *
732
+ * @param {number} twoDigitYear
733
+ * @returns {string}
734
+ */
735
+ function normalizeToCurrentCentury(twoDigitYear) {
736
+ const currentYear = new Date().getFullYear();
737
+ const normalizedYear = Math.floor(currentYear / 100) * 100 + twoDigitYear;
738
+ return normalizedYear;
739
+ }
740
+
741
+ /*!
742
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
743
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
744
+ * v2.8.2
745
+ */
746
+ const CSS$2 = {
747
+ assistiveText: "assistive-text",
748
+ calendarWrapper: "calendar-wrapper",
749
+ calendarWrapperEnd: "calendar-wrapper--end",
750
+ horizontalArrowContainer: "horizontal-arrow-container",
751
+ inputBorderTopColorOne: "border-top-color-one",
752
+ inputContainer: "input-container",
753
+ inputNoBottomBorder: "no-bottom-border",
754
+ inputWrapper: "input-wrapper",
755
+ input: "input",
756
+ menu: "menu-container",
757
+ menuActive: "menu-container--active",
758
+ toggleIcon: "toggle-icon",
759
+ verticalArrowContainer: "vertical-arrow-container",
760
+ chevronIcon: "chevron-icon",
761
+ };
762
+
763
+ const inputDatePickerCss = ":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calendar-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.input-wrapper .chevron-icon{color:var(--calcite-color-text-3)}.input-wrapper:focus-within .chevron-icon,.input-wrapper:active .chevron-icon,.input-wrapper:hover .chevron-icon{color:var(--calcite-color-text-1)}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
764
+ const CalciteInputDatePickerStyle0 = inputDatePickerCss;
765
+
766
+ const InputDatePicker = class {
767
+ constructor(hostRef) {
768
+ registerInstance(this, hostRef);
769
+ this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 6);
770
+ this.calciteInputDatePickerBeforeClose = createEvent(this, "calciteInputDatePickerBeforeClose", 6);
771
+ this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 6);
772
+ this.calciteInputDatePickerBeforeOpen = createEvent(this, "calciteInputDatePickerBeforeOpen", 6);
773
+ this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 6);
774
+ this.calciteInternalInputInputHandler = (event) => {
775
+ const target = event.target;
776
+ const value = target.value;
777
+ const parsedValue = this.parseNumerals(value);
778
+ const formattedValue = this.formatNumerals(parsedValue);
779
+ target.value = formattedValue;
780
+ const { year } = datePartsFromLocalizedString(value, this.localeData);
781
+ if (year && year.length < 4) {
782
+ return;
783
+ }
784
+ const date = dateFromLocalizedString(value, this.localeData);
785
+ if (inRange(date, this.min, this.max)) {
786
+ this.datePickerActiveDate = date;
787
+ }
788
+ };
789
+ this.calciteInternalInputBlurHandler = () => {
790
+ this.commitValue();
791
+ };
792
+ this.dialogId = `date-picker-dialog--${guid()}`;
793
+ this.focusOnOpen = false;
794
+ this.userChangedValue = false;
795
+ this.openTransitionProp = "opacity";
796
+ this.valueAsDateChangedExternally = false;
797
+ this.placeholderTextId = `calcite-input-date-picker-placeholder-${guid()}`;
798
+ //--------------------------------------------------------------------------
799
+ //
800
+ // Private Methods
801
+ //
802
+ //--------------------------------------------------------------------------
803
+ this.onInputWrapperPointerDown = () => {
804
+ this.currentOpenInput = this.focusedInput;
805
+ };
806
+ this.onInputWrapperClick = (event) => {
807
+ const { range, endInput, startInput, currentOpenInput } = this;
808
+ const currentTarget = event.currentTarget;
809
+ const position = currentTarget.getAttribute("data-position");
810
+ const path = event.composedPath();
811
+ const wasToggleClicked = path.find((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$2.toggleIcon); });
812
+ if (wasToggleClicked) {
813
+ const targetInput = position === "start" ? startInput : endInput;
814
+ targetInput.setFocus();
815
+ }
816
+ if (!range || !this.open || currentOpenInput === position) {
817
+ this.open = !this.open;
818
+ }
819
+ };
820
+ this.setFilteredPlacements = () => {
821
+ const { el, flipPlacements } = this;
822
+ this.filteredFlipPlacements = flipPlacements
823
+ ? filterComputedPlacements(flipPlacements, el)
824
+ : null;
825
+ };
826
+ this.setTransitionEl = (el) => {
827
+ this.transitionEl = el;
828
+ };
829
+ this.setStartInput = (el) => {
830
+ this.startInput = el;
831
+ };
832
+ this.setEndInput = (el) => {
833
+ this.endInput = el;
834
+ };
835
+ this.blurHandler = () => {
836
+ this.open = false;
837
+ };
838
+ this.keyDownHandler = (event) => {
839
+ var _a, _b;
840
+ const { defaultPrevented, key } = event;
841
+ if (defaultPrevented) {
842
+ return;
843
+ }
844
+ if (key === "Enter") {
845
+ event.preventDefault();
846
+ this.commitValue();
847
+ if (this.shouldFocusRangeEnd()) {
848
+ (_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
849
+ }
850
+ else if (this.shouldFocusRangeStart()) {
851
+ (_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
852
+ }
853
+ if (submitForm(this)) {
854
+ this.restoreInputFocus();
855
+ }
856
+ }
857
+ else if (key === "ArrowDown") {
858
+ this.open = true;
859
+ this.focusOnOpen = true;
860
+ event.preventDefault();
861
+ }
862
+ else if (key === "Escape") {
863
+ this.open = false;
864
+ event.preventDefault();
865
+ this.restoreInputFocus();
866
+ }
867
+ };
868
+ this.startInputFocus = () => {
869
+ this.focusedInput = "start";
870
+ };
871
+ this.endInputFocus = () => {
872
+ this.focusedInput = "end";
873
+ };
874
+ this.setFloatingEl = (el) => {
875
+ this.floatingEl = el;
876
+ connectFloatingUI(this, this.referenceEl, this.floatingEl);
877
+ };
878
+ this.setStartWrapper = (el) => {
879
+ this.startWrapper = el;
880
+ this.setReferenceEl();
881
+ };
882
+ this.setEndWrapper = (el) => {
883
+ this.endWrapper = el;
884
+ this.setReferenceEl();
885
+ };
886
+ this.setDatePickerRef = (el) => {
887
+ this.datePickerEl = el;
888
+ connectFocusTrap(this, {
889
+ focusTrapEl: el,
890
+ focusTrapOptions: {
891
+ initialFocus: false,
892
+ setReturnFocus: false,
893
+ },
894
+ });
895
+ };
896
+ /**
897
+ * Event handler for when the selected date changes
898
+ *
899
+ * @param event CalciteDatePicker custom change event
900
+ */
901
+ this.handleDateChange = (event) => {
902
+ if (this.range) {
903
+ return;
904
+ }
905
+ event.stopPropagation();
906
+ this.setValue(event.target.valueAsDate);
907
+ this.localizeInputValues();
908
+ this.restoreInputFocus();
909
+ };
910
+ this.handleDateRangeChange = (event) => {
911
+ if (!this.range) {
912
+ return;
913
+ }
914
+ event.stopPropagation();
915
+ const value = event.target.valueAsDate;
916
+ this.setRangeValue(value);
917
+ this.localizeInputValues();
918
+ this.restoreInputFocus();
919
+ };
920
+ this.setInputValue = (newValue, input = "start") => {
921
+ const inputEl = this[`${input}Input`];
922
+ if (!inputEl) {
923
+ return;
924
+ }
925
+ inputEl.value = newValue;
926
+ };
927
+ this.setRangeValue = (valueAsDate) => {
928
+ if (!this.range) {
929
+ return;
930
+ }
931
+ const { value: oldValue } = this;
932
+ const oldValueIsArray = Array.isArray(oldValue);
933
+ const valueIsArray = Array.isArray(valueAsDate);
934
+ const newStartDate = valueIsArray ? valueAsDate[0] : null;
935
+ let newStartDateISO = valueIsArray ? dateToISO(newStartDate) : "";
936
+ if (newStartDateISO) {
937
+ newStartDateISO = this.getNormalizedDate(newStartDateISO);
938
+ }
939
+ const newEndDate = valueIsArray ? valueAsDate[1] : null;
940
+ let newEndDateISO = valueIsArray ? dateToISO(newEndDate) : "";
941
+ if (newEndDateISO) {
942
+ newEndDateISO = this.getNormalizedDate(newEndDateISO);
943
+ }
944
+ const newValue = newStartDateISO || newEndDateISO ? [newStartDateISO, newEndDateISO] : "";
945
+ if (newValue === oldValue) {
946
+ return;
947
+ }
948
+ this.userChangedValue = true;
949
+ this.value = newValue;
950
+ this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
951
+ const changeEvent = this.calciteInputDatePickerChange.emit();
952
+ if (changeEvent && changeEvent.defaultPrevented) {
953
+ this.value = oldValue;
954
+ if (oldValueIsArray) {
955
+ this.setInputValue(oldValue[0], "start");
956
+ this.setInputValue(oldValue[1], "end");
957
+ }
958
+ else {
959
+ this.value = oldValue;
960
+ this.setInputValue(oldValue);
961
+ }
962
+ }
963
+ };
964
+ this.setValue = (value) => {
965
+ if (this.range) {
966
+ return;
967
+ }
968
+ const oldValue = this.value;
969
+ let newValue = dateToISO(value);
970
+ newValue = this.getNormalizedDate(newValue);
971
+ if (newValue === oldValue) {
972
+ return;
973
+ }
974
+ this.userChangedValue = true;
975
+ this.valueAsDate = newValue ? dateFromISO(newValue) : undefined;
976
+ this.value = newValue || "";
977
+ const changeEvent = this.calciteInputDatePickerChange.emit();
978
+ if (changeEvent.defaultPrevented) {
979
+ this.value = oldValue;
980
+ this.setInputValue(oldValue);
981
+ }
982
+ };
983
+ this.commonDateSeparators = [".", "-", "/"];
984
+ this.formatNumerals = (value) => value
985
+ ? value
986
+ .split("")
987
+ .map((char) => {
988
+ var _a, _b, _c;
989
+ return ((_a = this.commonDateSeparators) === null || _a === void 0 ? void 0 : _a.includes(char))
990
+ ? (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.separator
991
+ : (numberKeys === null || numberKeys === void 0 ? void 0 : numberKeys.includes(char))
992
+ ? (_c = numberStringFormatter === null || numberStringFormatter === void 0 ? void 0 : numberStringFormatter.numberFormatter) === null || _c === void 0 ? void 0 : _c.format(Number(char))
993
+ : char;
994
+ })
995
+ .join("")
996
+ : "";
997
+ this.parseNumerals = (value) => value
998
+ ? value
999
+ .split("")
1000
+ .map((char) => numberKeys.includes(char) ? numberStringFormatter.delocalize(char) : char)
1001
+ .join("")
1002
+ : "";
1003
+ this.disabled = false;
1004
+ this.focusTrapDisabled = false;
1005
+ this.form = undefined;
1006
+ this.readOnly = false;
1007
+ this.value = "";
1008
+ this.flipPlacements = undefined;
1009
+ this.headingLevel = undefined;
1010
+ this.valueAsDate = undefined;
1011
+ this.messageOverrides = undefined;
1012
+ this.messages = undefined;
1013
+ this.minAsDate = undefined;
1014
+ this.maxAsDate = undefined;
1015
+ this.min = undefined;
1016
+ this.max = undefined;
1017
+ this.open = false;
1018
+ this.validationMessage = undefined;
1019
+ this.validationIcon = undefined;
1020
+ this.validity = {
1021
+ valid: false,
1022
+ badInput: false,
1023
+ customError: false,
1024
+ patternMismatch: false,
1025
+ rangeOverflow: false,
1026
+ rangeUnderflow: false,
1027
+ stepMismatch: false,
1028
+ tooLong: false,
1029
+ tooShort: false,
1030
+ typeMismatch: false,
1031
+ valueMissing: false,
1032
+ };
1033
+ this.name = undefined;
1034
+ this.numberingSystem = undefined;
1035
+ this.scale = "m";
1036
+ this.status = "idle";
1037
+ this.placement = defaultMenuPlacement;
1038
+ this.range = false;
1039
+ this.required = false;
1040
+ this.overlayPositioning = "absolute";
1041
+ this.proximitySelectionDisabled = false;
1042
+ this.layout = "horizontal";
1043
+ this.datePickerActiveDate = undefined;
1044
+ this.defaultMessages = undefined;
1045
+ this.effectiveLocale = "";
1046
+ this.focusedInput = "start";
1047
+ this.localeData = undefined;
1048
+ }
1049
+ handleFocusTrapDisabled(focusTrapDisabled) {
1050
+ if (!this.open) {
1051
+ return;
1052
+ }
1053
+ focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
1054
+ }
1055
+ handleDisabledAndReadOnlyChange(value) {
1056
+ if (!value) {
1057
+ this.open = false;
1058
+ }
1059
+ }
1060
+ valueWatcher(newValue) {
1061
+ if (!this.userChangedValue) {
1062
+ let newValueAsDate;
1063
+ if (Array.isArray(newValue)) {
1064
+ newValueAsDate = getValueAsDateRange(newValue);
1065
+ }
1066
+ else if (newValue) {
1067
+ newValueAsDate = dateFromISO(newValue);
1068
+ }
1069
+ else {
1070
+ newValueAsDate = undefined;
1071
+ }
1072
+ if (!this.valueAsDateChangedExternally && newValueAsDate !== this.valueAsDate) {
1073
+ this.valueAsDate = newValueAsDate;
1074
+ }
1075
+ this.localizeInputValues();
1076
+ }
1077
+ this.userChangedValue = false;
1078
+ }
1079
+ valueAsDateWatcher(valueAsDate) {
1080
+ this.datePickerActiveDate = valueAsDate;
1081
+ const newValue = this.range && Array.isArray(valueAsDate)
1082
+ ? [dateToISO(valueAsDate[0]), dateToISO(valueAsDate[1])]
1083
+ : dateToISO(valueAsDate);
1084
+ if (this.value !== newValue) {
1085
+ this.valueAsDateChangedExternally = true;
1086
+ this.value = newValue;
1087
+ this.valueAsDateChangedExternally = false;
1088
+ }
1089
+ }
1090
+ flipPlacementsHandler() {
1091
+ this.setFilteredPlacements();
1092
+ this.reposition(true);
1093
+ }
1094
+ onMessagesChange() {
1095
+ /* wired up by t9n util */
1096
+ }
1097
+ onMinChanged(min) {
1098
+ if (min) {
1099
+ this.minAsDate = dateFromISO(min);
1100
+ }
1101
+ }
1102
+ onMaxChanged(max) {
1103
+ if (max) {
1104
+ this.maxAsDate = dateFromISO(max);
1105
+ }
1106
+ }
1107
+ openHandler() {
1108
+ onToggleOpenCloseComponent(this);
1109
+ if (this.disabled || this.readOnly) {
1110
+ this.open = false;
1111
+ return;
1112
+ }
1113
+ this.reposition(true);
1114
+ }
1115
+ overlayPositioningHandler() {
1116
+ this.reposition(true);
1117
+ }
1118
+ //--------------------------------------------------------------------------
1119
+ //
1120
+ // Event Listeners
1121
+ //
1122
+ //--------------------------------------------------------------------------
1123
+ calciteDaySelectHandler() {
1124
+ if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
1125
+ return;
1126
+ }
1127
+ this.open = false;
1128
+ }
1129
+ // --------------------------------------------------------------------------
1130
+ //
1131
+ // Public Methods
1132
+ //
1133
+ // --------------------------------------------------------------------------
1134
+ /** Sets focus on the component. */
1135
+ async setFocus() {
1136
+ await componentFocusable(this);
1137
+ this.el.focus();
1138
+ }
1139
+ /**
1140
+ * Updates the position of the component.
1141
+ *
1142
+ * @param delayed
1143
+ */
1144
+ async reposition(delayed = false) {
1145
+ const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
1146
+ return reposition(this, {
1147
+ floatingEl,
1148
+ referenceEl,
1149
+ overlayPositioning,
1150
+ placement,
1151
+ flipPlacements: filteredFlipPlacements,
1152
+ type: "menu",
1153
+ }, delayed);
1154
+ }
1155
+ // --------------------------------------------------------------------------
1156
+ //
1157
+ // Lifecycle
1158
+ //
1159
+ // --------------------------------------------------------------------------
1160
+ connectedCallback() {
1161
+ connectInteractive(this);
1162
+ connectLocalized(this);
1163
+ const { open } = this;
1164
+ open && this.openHandler();
1165
+ if (Array.isArray(this.value)) {
1166
+ this.valueAsDate = getValueAsDateRange(this.value);
1167
+ }
1168
+ else if (this.value) {
1169
+ try {
1170
+ this.valueAsDate = dateFromISO(this.value);
1171
+ }
1172
+ catch (error) {
1173
+ this.warnAboutInvalidValue(this.value);
1174
+ this.value = "";
1175
+ }
1176
+ }
1177
+ else if (this.valueAsDate) {
1178
+ if (this.range) {
1179
+ this.setRangeValue(this.valueAsDate);
1180
+ }
1181
+ else if (!Array.isArray(this.valueAsDate)) {
1182
+ this.value = dateToISO(this.valueAsDate);
1183
+ }
1184
+ }
1185
+ if (this.min) {
1186
+ this.minAsDate = dateFromISO(this.min);
1187
+ }
1188
+ if (this.max) {
1189
+ this.maxAsDate = dateFromISO(this.max);
1190
+ }
1191
+ connectLabel(this);
1192
+ connectForm(this);
1193
+ connectMessages(this);
1194
+ this.setFilteredPlacements();
1195
+ numberStringFormatter.numberFormatOptions = {
1196
+ numberingSystem: this.numberingSystem,
1197
+ locale: this.effectiveLocale,
1198
+ useGrouping: false,
1199
+ };
1200
+ if (this.open) {
1201
+ onToggleOpenCloseComponent(this);
1202
+ }
1203
+ connectFloatingUI(this, this.referenceEl, this.floatingEl);
1204
+ }
1205
+ async componentWillLoad() {
1206
+ setUpLoadableComponent(this);
1207
+ await Promise.all([this.loadLocaleData(), setUpMessages(this)]);
1208
+ this.onMinChanged(this.min);
1209
+ this.onMaxChanged(this.max);
1210
+ }
1211
+ componentDidLoad() {
1212
+ setComponentLoaded(this);
1213
+ this.localizeInputValues();
1214
+ connectFloatingUI(this, this.referenceEl, this.floatingEl);
1215
+ }
1216
+ disconnectedCallback() {
1217
+ deactivateFocusTrap(this);
1218
+ disconnectInteractive(this);
1219
+ disconnectLabel(this);
1220
+ disconnectForm(this);
1221
+ disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
1222
+ disconnectLocalized(this);
1223
+ disconnectMessages(this);
1224
+ }
1225
+ componentDidRender() {
1226
+ updateHostInteraction(this);
1227
+ }
1228
+ render() {
1229
+ var _a, _b, _c;
1230
+ const { disabled, effectiveLocale, messages, numberingSystem, readOnly } = this;
1231
+ numberStringFormatter.numberFormatOptions = {
1232
+ numberingSystem,
1233
+ locale: effectiveLocale,
1234
+ useGrouping: false,
1235
+ };
1236
+ return (h(Host, { key: 'fd558a11028d7d967811f2a1236d46e82d45161b', onBlur: this.blurHandler, onKeyDown: this.keyDownHandler }, h(InteractiveContainer, { key: 'ebf90902c5f3056147f91ee4690e6e69ab452042', disabled: this.disabled }, this.localeData && (h("div", { key: '5e5cfbb9688e08aaf1e12b3527882ee3911d8e84', class: CSS$2.inputContainer }, h("div", { key: '63014b5695465c3a1b4fe54be6f036a1aa8393e8', class: CSS$2.inputWrapper, "data-position": "start", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
1237
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1238
+ ref: this.setStartWrapper }, h("calcite-input-text", { key: '5cfeff37fb1998954f4e17296f15fcf6b9ea10cd', "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
1239
+ [CSS$2.input]: true,
1240
+ [CSS$2.inputNoBottomBorder]: this.layout === "vertical" && this.range,
1241
+ }, disabled: disabled, icon: "calendar", onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputTextFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
1242
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1243
+ ref: this.setStartInput }), !this.readOnly &&
1244
+ this.renderToggleIcon(this.open && this.focusedInput === "start"), h("span", { key: 'f3a99326b0ee83dded0efcce2bacc2acca82741a', "aria-hidden": "true", class: CSS$2.assistiveText, id: this.placeholderTextId }, "Date Format: ", (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder)), h("div", { key: '87d96dd359485c1c192f63f694365f6767346207', "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
1245
+ [CSS$2.menu]: true,
1246
+ [CSS$2.menuActive]: this.open,
1247
+ }, id: this.dialogId, role: "dialog",
1248
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1249
+ ref: this.setFloatingEl }, h("div", { key: '7bb0daff0e3017152b69a7bec09de23d96539749', class: {
1250
+ [CSS$2.calendarWrapper]: true,
1251
+ [CSS$2.calendarWrapperEnd]: this.focusedInput === "end",
1252
+ [FloatingCSS.animation]: true,
1253
+ [FloatingCSS.animationActive]: this.open,
1254
+ },
1255
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1256
+ ref: this.setTransitionEl }, h("calcite-date-picker", { key: 'e9a771765f104b79391396ead9d7e359aa0325cb', activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: this.open ? undefined : -1, valueAsDate: this.valueAsDate,
1257
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1258
+ ref: this.setDatePickerRef }))), this.range && this.layout === "horizontal" && (h("div", { key: '61b5787f2990d8143bf62da9e33e1253ab196a47', class: CSS$2.horizontalArrowContainer }, h("calcite-icon", { key: 'c665d2196d7cc71535ae1e352729ad7c3eb606e6', flipRtl: true, icon: "arrow-right", scale: getIconScale(this.scale) }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { key: '3b5b05e60ad4dc6e866f2a2e3b8da8427e0d8769', class: CSS$2.verticalArrowContainer }, h("calcite-icon", { key: '395db3f34af565b7403ce50a1455833a43a86463', icon: "arrow-down", scale: getIconScale(this.scale) }))), this.range && (h("div", { key: '596548166a4798cbd04ee76938a5a5e8ae2a9081', class: CSS$2.inputWrapper, "data-position": "end", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
1259
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1260
+ ref: this.setEndWrapper }, h("calcite-input-text", { key: '1d56b70f902730c20cd0d501d5ece75635bd503b', "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
1261
+ [CSS$2.input]: true,
1262
+ [CSS$2.inputBorderTopColorOne]: this.layout === "vertical" && this.range,
1263
+ }, disabled: disabled, icon: "calendar", onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputTextFocus: this.endInputFocus, placeholder: (_c = this.localeData) === null || _c === void 0 ? void 0 : _c.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
1264
+ // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1265
+ ref: this.setEndInput }), !this.readOnly &&
1266
+ this.renderToggleIcon(this.open && this.focusedInput === "end"))))), h(HiddenFormInputSlot, { key: '7f09766af52aaa2db452431301dfa55cd8af3a2e', component: this }), this.validationMessage && this.status === "invalid" ? (h(Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
1267
+ }
1268
+ renderToggleIcon(open) {
1269
+ return (
1270
+ // we set tab index to -1 to prevent delegatesFocus from stealing focus before we can set it
1271
+ h("span", { class: CSS$2.toggleIcon, tabIndex: -1 }, h("calcite-icon", { class: CSS$2.chevronIcon, icon: open ? "chevron-up" : "chevron-down", scale: getIconScale(this.scale) })));
1272
+ }
1273
+ setReferenceEl() {
1274
+ const { focusedInput, layout, endWrapper, startWrapper } = this;
1275
+ this.referenceEl =
1276
+ focusedInput === "end" || layout === "vertical"
1277
+ ? endWrapper || startWrapper
1278
+ : startWrapper || endWrapper;
1279
+ requestAnimationFrame(() => connectFloatingUI(this, this.referenceEl, this.floatingEl));
1280
+ }
1281
+ onLabelClick() {
1282
+ this.setFocus();
1283
+ }
1284
+ onBeforeOpen() {
1285
+ this.calciteInputDatePickerBeforeOpen.emit();
1286
+ }
1287
+ onOpen() {
1288
+ activateFocusTrap(this, {
1289
+ onActivate: () => {
1290
+ if (this.focusOnOpen) {
1291
+ this.datePickerEl.setFocus();
1292
+ this.focusOnOpen = false;
1293
+ }
1294
+ },
1295
+ });
1296
+ this.calciteInputDatePickerOpen.emit();
1297
+ }
1298
+ onBeforeClose() {
1299
+ this.calciteInputDatePickerBeforeClose.emit();
1300
+ }
1301
+ onClose() {
1302
+ this.calciteInputDatePickerClose.emit();
1303
+ deactivateFocusTrap(this);
1304
+ this.restoreInputFocus();
1305
+ this.focusOnOpen = false;
1306
+ this.datePickerEl.reset();
1307
+ }
1308
+ commitValue() {
1309
+ const { focusedInput, value } = this;
1310
+ const focusedInputName = `${focusedInput}Input`;
1311
+ const focusedInputValue = this[focusedInputName].value;
1312
+ const date = dateFromLocalizedString(focusedInputValue, this.localeData);
1313
+ const dateAsISO = dateToISO(date);
1314
+ const valueIsArray = Array.isArray(value);
1315
+ if (this.range) {
1316
+ const focusedInputValueIndex = focusedInput === "start" ? 0 : 1;
1317
+ if (valueIsArray) {
1318
+ if (dateAsISO === value[focusedInputValueIndex]) {
1319
+ return;
1320
+ }
1321
+ if (date) {
1322
+ this.setRangeValue([
1323
+ focusedInput === "start" ? date : dateFromISO(value[0]),
1324
+ focusedInput === "end" ? date : dateFromISO(value[1]),
1325
+ ]);
1326
+ this.localizeInputValues();
1327
+ }
1328
+ else {
1329
+ this.setRangeValue([
1330
+ focusedInput === "end" && dateFromISO(value[0]),
1331
+ focusedInput === "start" && dateFromISO(value[1]),
1332
+ ]);
1333
+ }
1334
+ }
1335
+ else {
1336
+ if (date) {
1337
+ this.setRangeValue([
1338
+ focusedInput === "start" ? date : dateFromISO(value[0]),
1339
+ focusedInput === "end" ? date : dateFromISO(value[1]),
1340
+ ]);
1341
+ this.localizeInputValues();
1342
+ }
1343
+ }
1344
+ }
1345
+ else {
1346
+ if (dateAsISO === value) {
1347
+ return;
1348
+ }
1349
+ this.setValue(date);
1350
+ this.localizeInputValues();
1351
+ }
1352
+ }
1353
+ async loadLocaleData() {
1354
+ numberStringFormatter.numberFormatOptions = {
1355
+ numberingSystem: this.numberingSystem,
1356
+ locale: this.effectiveLocale,
1357
+ useGrouping: false,
1358
+ };
1359
+ this.localeData = await getLocaleData(this.effectiveLocale);
1360
+ this.localizeInputValues();
1361
+ }
1362
+ shouldFocusRangeStart() {
1363
+ const startValue = this.value[0];
1364
+ const endValue = this.value[1];
1365
+ return !!(endValue && !startValue && this.focusedInput === "end" && this.startInput);
1366
+ }
1367
+ shouldFocusRangeEnd() {
1368
+ const startValue = this.value[0];
1369
+ const endValue = this.value[1];
1370
+ return !!(startValue && !endValue && this.focusedInput === "start" && this.endInput);
1371
+ }
1372
+ restoreInputFocus() {
1373
+ if (!this.range) {
1374
+ this.startInput.setFocus();
1375
+ return;
1376
+ }
1377
+ const focusedInput = this.focusedInput === "start" ? this.startInput : this.endInput;
1378
+ focusedInput.setFocus();
1379
+ }
1380
+ localizeInputValues() {
1381
+ var _a;
1382
+ const date = dateFromRange((this.range
1383
+ ? (Array.isArray(this.valueAsDate) && this.valueAsDate[0]) || undefined
1384
+ : this.valueAsDate), this.minAsDate, this.maxAsDate);
1385
+ const endDate = this.range
1386
+ ? dateFromRange((Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined, this.minAsDate, this.maxAsDate)
1387
+ : null;
1388
+ const formattingOptions = {
1389
+ // we explicitly set numberingSystem to prevent the browser-inferred value
1390
+ // see https://github.com/Esri/calcite-design-system/issues/3079#issuecomment-1168964195 for more info
1391
+ numberingSystem: getSupportedNumberingSystem(this.numberingSystem),
1392
+ };
1393
+ const localizedDate = date && date.toLocaleDateString(this.effectiveLocale, formattingOptions);
1394
+ const localizedEndDate = endDate && endDate.toLocaleDateString(this.effectiveLocale, formattingOptions);
1395
+ this.setInputValue(localizedDate !== null && localizedDate !== void 0 ? localizedDate : "", "start");
1396
+ this.setInputValue((_a = (this.range && localizedEndDate)) !== null && _a !== void 0 ? _a : "", "end");
1397
+ }
1398
+ warnAboutInvalidValue(value) {
1399
+ console.warn(`The specified value "${value}" does not conform to the required format, "YYYY-MM-DD".`);
1400
+ }
1401
+ getNormalizedDate(value) {
1402
+ if (!value) {
1403
+ return "";
1404
+ }
1405
+ if (!isTwoDigitYear(value)) {
1406
+ return value;
1407
+ }
1408
+ const { day, month, year } = datePartsFromISO(value);
1409
+ const normalizedYear = normalizeToCurrentCentury(Number(year));
1410
+ return `${normalizedYear}-${month}-${day}`;
1411
+ }
1412
+ static get delegatesFocus() { return true; }
1413
+ static get assetsDirs() { return ["assets"]; }
1414
+ get el() { return getElement(this); }
1415
+ static get watchers() { return {
1416
+ "focusTrapDisabled": ["handleFocusTrapDisabled"],
1417
+ "disabled": ["handleDisabledAndReadOnlyChange"],
1418
+ "readOnly": ["handleDisabledAndReadOnlyChange"],
1419
+ "value": ["valueWatcher"],
1420
+ "valueAsDate": ["valueAsDateWatcher"],
1421
+ "flipPlacements": ["flipPlacementsHandler"],
1422
+ "messageOverrides": ["onMessagesChange"],
1423
+ "min": ["onMinChanged"],
1424
+ "max": ["onMaxChanged"],
1425
+ "open": ["openHandler"],
1426
+ "overlayPositioning": ["overlayPositioningHandler"],
1427
+ "layout": ["setReferenceEl"],
1428
+ "focusedInput": ["setReferenceEl"],
1429
+ "effectiveLocale": ["loadLocaleData"]
1430
+ }; }
1431
+ };
1432
+ InputDatePicker.style = CalciteInputDatePickerStyle0;
1433
+
1434
+ const baseClassLight = 'instant-apps-filter-list calcite-mode-light';
1435
+ const baseClassDark = 'instant-apps-filter-list calcite-mode-dark';
1436
+ const supportedTypes = ['feature', 'geojson', 'wfs', 'csv', 'scene', 'subtype-group', 'point-cloud', 'map-image', 'sublayer'];
1437
+
1438
+ function handleSingleQuote(value) {
1439
+ return value.replaceAll("'", "''");
1440
+ }
1441
+ function convertToDate(date, includeTime = false) {
1442
+ if (date) {
1443
+ const tmpDate = new Date(date);
1444
+ const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
1445
+ if (includeTime) {
1446
+ const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
1447
+ return `${formattedDate} ${time}`;
1448
+ }
1449
+ else {
1450
+ return formattedDate;
1451
+ }
1452
+ }
1453
+ return;
1454
+ }
1455
+ function resetDatePicker(datePicker) {
1456
+ var _a;
1457
+ if (datePicker != null) {
1458
+ datePicker.value = ['', ''];
1459
+ const inputs = (_a = datePicker.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('calcite-input');
1460
+ if (inputs != null) {
1461
+ for (const input of inputs) {
1462
+ input.value = '';
1463
+ }
1464
+ }
1465
+ }
1466
+ }
1467
+
1468
+ const instantAppsFilterListCss = ":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:normal}.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:64px;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:normal;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__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}.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:calc(300ms * 2)}}.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}";
1469
+ const InstantAppsFilterListStyle0 = instantAppsFilterListCss;
1470
+
1471
+ const CSS$1 = {
1472
+ base: 'instant-apps-filter-list',
1473
+ filterContainer: 'instant-apps-filter-list__container',
1474
+ footer: 'instant-apps-filter-list__footer',
1475
+ filterItemTitle: 'instant-apps-filter-list__title',
1476
+ filterItemContainer: 'instant-apps-filter-list__item-container',
1477
+ filterUIItemContainer: 'instant-apps-filter-list__item-container--user-input',
1478
+ checkboxContainer: 'instant-apps-filter-list__checkbox-container',
1479
+ numberInputContainer: 'instant-apps-filter-list__number-input-container',
1480
+ dateInputContainer: 'instant-apps-filter-list__date-picker-input-container',
1481
+ operatorDesc: 'instant-apps-filter-list__operator-description',
1482
+ zoomTo: 'instant-apps-filter-list__zoom-to',
1483
+ };
1484
+ const InstantAppsFilterList = class {
1485
+ constructor(hostRef) {
1486
+ registerInstance(this, hostRef);
1487
+ this.filterListReset = createEvent(this, "filterListReset", 7);
1488
+ this.filterUpdate = createEvent(this, "filterUpdate", 7);
1489
+ this.layerExpressions = undefined;
1490
+ this.autoUpdateUrl = false;
1491
+ this.closeBtn = false;
1492
+ this.closeBtnOnClick = undefined;
1493
+ this.comboboxOverlayPositioning = 'absolute';
1494
+ this.closeBtnText = undefined;
1495
+ this.openFilters = false;
1496
+ this.extentSelector = false;
1497
+ this.extentSelectorConfig = undefined;
1498
+ this.urlParams = undefined;
1499
+ this.filterCount = 0;
1500
+ this.view = undefined;
1501
+ this.zoomBtn = true;
1502
+ this.loading = undefined;
1503
+ this.filterLayerExpressions = undefined;
1504
+ this.messages = undefined;
1505
+ this.baseClass = baseClassLight;
1506
+ this.disabled = true;
1507
+ this.hasLayerExpression = false;
1508
+ this.initDefExpressions = undefined;
1509
+ this.initMapImageExpressions = undefined;
1510
+ this.initPointCloudFilters = undefined;
1511
+ }
1512
+ watchViewHandler() {
1513
+ this.handleWhenView();
1514
+ }
1515
+ watchLayerExpressions() {
1516
+ if (!this.hasLayerExpression) {
1517
+ this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
1518
+ this.handleLayerExpressionsUpdate();
1519
+ this.hasLayerExpression = true;
1520
+ }
1521
+ }
1522
+ async componentWillLoad() {
1523
+ var _a;
1524
+ this.baseClass = getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
1525
+ await this.initializeModules();
1526
+ getMessages(this);
1527
+ this.hasLayerExpression = this.layerExpressions != null;
1528
+ this.filterLayerExpressions = this.layerExpressions != null ? JSON.parse(JSON.stringify(this.layerExpressions)) : undefined;
1529
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
1530
+ this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
1531
+ }
1532
+ componentShouldUpdate(newValue, _oldValue, name) {
1533
+ if (name === 'view' && newValue != null) {
1534
+ this.handleWhenView();
1535
+ }
1536
+ else if (name === 'layerExpressions') {
1537
+ if (this.hasLayerExpression) {
1538
+ this.resetAllFilters();
1539
+ }
1540
+ this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
1541
+ this.handleLayerExpressionsUpdate();
1542
+ this.hasLayerExpression = true;
1543
+ }
1544
+ }
1545
+ componentWillRender() {
1546
+ var _a;
1547
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0 ? undefined : true;
1548
+ }
1549
+ disconnectedCallback() {
1550
+ this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
1551
+ this.resetAllFilters();
1552
+ }
1553
+ async initializeModules() {
1554
+ const [intl, geometryJsonUtils, reactiveUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
1555
+ this.geometryJsonUtils = geometryJsonUtils;
1556
+ this.reactiveUtils = reactiveUtils;
1557
+ this.locale = intl.getLocale();
1558
+ this.intl = intl;
1559
+ return Promise.resolve();
1560
+ }
1561
+ render() {
1562
+ const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
1563
+ const footer = this.closeBtn ? this.renderFullFooter() : this.renderFooter();
1564
+ return (h(Host, { key: '5548c6406452810de75b821ef07cd394fbf1dd06' }, h("calcite-panel", { key: '54b4a9bb11b500ae56f71ecbc9928b0e51337d50', class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { key: '69ae0bcf9f347dc3b4813611c9edbb38eba8ee72', slot: "header-content", name: "filter-header-content" }), h("slot", { key: '5122cfc894077bd7dcffe8ec973e9d67293da43a', slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
1565
+ }
1566
+ renderLoading() {
1567
+ return h("calcite-loader", { label: "Loading filters..." });
1568
+ }
1569
+ renderFilter(layerExpression) {
1570
+ const { id } = layerExpression;
1571
+ return layerExpression.expressions.map((expression, index) => {
1572
+ return expression.type == 'checkbox' || expression.type == null ? (h("div", { key: `${id}-${index}`, class: CSS$1.filterItemContainer }, h("div", { class: CSS$1.filterItemTitle }, h("p", null, expression.name)), h("div", { class: CSS$1.checkboxContainer }, h("calcite-checkbox", { id: expression.id.toString(), scale: "l", checked: expression === null || expression === void 0 ? void 0 : expression.active, onCalciteCheckboxChange: this.handleCheckboxChange.bind(this, layerExpression, expression) })))) : (this.initInput(layerExpression, expression));
1573
+ });
1574
+ }
1575
+ renderLayerBlock() {
1576
+ return this.filterLayerExpressions.map(layerExpression => {
1577
+ return this.renderFilterBlocks(layerExpression);
1578
+ });
1579
+ }
1580
+ renderFilterBlocks(layerExpression) {
1581
+ var _a;
1582
+ const filter = this.renderFilter(layerExpression);
1583
+ const { operator } = layerExpression;
1584
+ const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
1585
+ const zoomTo = this.renderZoomTo(layerExpression);
1586
+ return (h("calcite-block", { key: layerExpression.id, heading: layerExpression.title, description: (_a = this.messages) === null || _a === void 0 ? void 0 : _a[operatorTranslation], open: this.openFilters ? true : undefined, collapsible: true }, zoomTo, filter));
1587
+ }
1588
+ renderCombobox(layerExpression, expression) {
1589
+ var _a;
1590
+ return (h("label", { key: "combo-select", class: CSS$1.filterUIItemContainer }, h("span", null, expression.name), h("calcite-combobox", { id: expression.id.toString(), onCalciteComboboxChange: this.handleComboSelect.bind(this, expression, layerExpression), label: expression.name, placeholder: expression.placeholder, selectionMode: "multiple", "max-items": "6", scale: "s", overlayPositioning: this.comboboxOverlayPositioning }, (_a = expression.fields) === null || _a === void 0 ? void 0 : _a.map((value, index) => this.renderComboboxItem(expression, value, index)))));
1591
+ }
1592
+ renderComboboxItem(expression, value, index) {
1593
+ var _a;
1594
+ const label = this.createLabel(expression, value);
1595
+ const selectedFields = expression === null || expression === void 0 ? void 0 : expression.selectedFields;
1596
+ const selected = (_a = selectedFields === null || selectedFields === void 0 ? void 0 : selectedFields.includes(value)) !== null && _a !== void 0 ? _a : false;
1597
+ return h("calcite-combobox-item", { key: `${label}-${index}`, value: value, textLabel: `${label}`, selected: selected });
1598
+ }
1599
+ initFilterConfig() {
1600
+ var _a, _b;
1601
+ if (((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0) {
1602
+ if (this.filterLayerExpressions.length === 1) {
1603
+ const { operator } = this.filterLayerExpressions[0];
1604
+ const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
1605
+ const zoomTo = this.renderZoomTo(this.filterLayerExpressions[0]);
1606
+ return (h("calcite-block", { class: CSS$1.operatorDesc, heading: (_b = this.messages) === null || _b === void 0 ? void 0 : _b[operatorTranslation], open: true }, zoomTo, this.renderFilter(this.filterLayerExpressions[0])));
1607
+ }
1608
+ else if (this.filterLayerExpressions.length > 1) {
1609
+ return this.renderLayerBlock();
1610
+ }
1611
+ }
1612
+ return;
1613
+ }
1614
+ renderNumberSlider(layerExpression, expression) {
1615
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1616
+ const min = expression === null || expression === void 0 ? void 0 : expression.min;
1617
+ const max = expression === null || expression === void 0 ? void 0 : expression.max;
1618
+ const step = (expression === null || expression === void 0 ? void 0 : expression.step) ? expression.step : 1;
1619
+ const check = min != null && max != null;
1620
+ const field = (_a = expression === null || expression === void 0 ? void 0 : expression.field) !== null && _a !== void 0 ? _a : '';
1621
+ const minValue = ((_b = expression === null || expression === void 0 ? void 0 : expression.range) === null || _b === void 0 ? void 0 : _b.min) != null ? expression.range.min : min;
1622
+ const maxValue = ((_c = expression === null || expression === void 0 ? void 0 : expression.range) === null || _c === void 0 ? void 0 : _c.max) != null ? expression.range.max : max;
1623
+ const value = [minValue, maxValue];
1624
+ return check ? (h("label", { key: expression === null || expression === void 0 ? void 0 : expression.id.toString(), class: CSS$1.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS$1.numberInputContainer }, h("calcite-slider", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteSliderChange: this.handleSliderChange.bind(this, expression, layerExpression), min: min, max: max, minValue: min, maxValue: max, "min-label": (_e = (_d = this.messages) === null || _d === void 0 ? void 0 : _d.minSlider) === null || _e === void 0 ? void 0 : _e.replace('{field}', field), "max-label": (_g = (_f = this.messages) === null || _f === void 0 ? void 0 : _f.maxSlider) === null || _g === void 0 ? void 0 : _g.replace('{field}', field), step: step, labelHandles: true, snap: true, value: value, "group-separator": (_h = expression === null || expression === void 0 ? void 0 : expression.format) === null || _h === void 0 ? void 0 : _h.digitSeparator })))) : undefined;
1625
+ }
1626
+ renderDatePicker(layerExpression, expression) {
1627
+ var _a, _b, _c, _d;
1628
+ const { min, max } = expression;
1629
+ const value = [(_a = expression === null || expression === void 0 ? void 0 : expression.range) === null || _a === void 0 ? void 0 : _a.min, (_b = expression === null || expression === void 0 ? void 0 : expression.range) === null || _b === void 0 ? void 0 : _b.max];
1630
+ const check = min != null && max != null;
1631
+ return check ? (h("label", { class: CSS$1.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS$1.dateInputContainer }, h("calcite-input-date-picker", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteInputDatePickerChange: this.handleDatePickerRangeChange.bind(this, expression, layerExpression), min: min, max: max, "overlay-positioning": "fixed", lang: (_c = this.locale) !== null && _c !== void 0 ? _c : 'en', layout: "vertical", value: value, range: true }), h("calcite-action", { onClick: this.handleResetDatePicker.bind(this, expression, layerExpression), icon: "reset", text: (_d = this.messages) === null || _d === void 0 ? void 0 : _d.resetDatePicker, scale: "s" })))) : null;
1632
+ }
1633
+ renderFooter() {
1634
+ var _a;
1635
+ return (h("div", { class: CSS$1.footer, slot: "footer" }, h("calcite-button", { appearance: "outline", width: "full", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.resetFilter)));
1636
+ }
1637
+ renderFullFooter() {
1638
+ var _a, _b, _c;
1639
+ const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
1640
+ return (h("div", { class: CSS$1.footer, slot: "footer" }, h("calcite-button", { appearance: "outline", width: "half", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter), h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)));
1641
+ }
1642
+ renderZoomTo(layerExpression) {
1643
+ var _a;
1644
+ const id = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `zoom-to-${layerExpression.id}`;
1645
+ return this.zoomBtn ? (h("div", { class: CSS$1.zoomTo }, h("calcite-button", { id: id, appearance: "transparent", kind: "neutral", scale: "s", iconStart: "magnifying-glass-plus", onClick: this.handleZoomTo.bind(this, layerExpression) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.zoomTo))) : undefined;
1646
+ }
1647
+ handleResetDatePicker(expression, layerExpression) {
1648
+ const datePicker = this.panelEl.querySelector(`[id='${expression.id}']`);
1649
+ resetDatePicker(datePicker);
1650
+ expression.active = false;
1651
+ expression.definitionExpression = undefined;
1652
+ expression.range = undefined;
1653
+ this.generateOutput(layerExpression);
1654
+ }
1655
+ initInput(layerExpression, expression) {
1656
+ const { type } = expression;
1657
+ if (type === 'string' || type == 'coded-value') {
1658
+ return this.renderCombobox(layerExpression, expression);
1659
+ }
1660
+ else if (type === 'number' || type == 'range') {
1661
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1662
+ return this.renderCombobox(layerExpression, expression);
1663
+ }
1664
+ return this.renderNumberSlider(layerExpression, expression);
1665
+ }
1666
+ else if (type === 'date') {
1667
+ if ((expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1668
+ return this.renderCombobox(layerExpression, expression);
1669
+ }
1670
+ return this.renderDatePicker(layerExpression, expression);
1671
+ }
1672
+ return;
1673
+ }
1674
+ async initExpressions() {
1675
+ this.loading = true;
1676
+ if (this.filterLayerExpressions == null)
1677
+ return;
1678
+ const tmpLE = this.filterLayerExpressions;
1679
+ for (let i = 0; i < (tmpLE === null || tmpLE === void 0 ? void 0 : tmpLE.length); i++) {
1680
+ const expressions = tmpLE[i].expressions;
1681
+ for (let j = 0; j < (expressions === null || expressions === void 0 ? void 0 : expressions.length); j++) {
1682
+ if (expressions[j].active == null && expressions[j].definitionExpression != null) {
1683
+ expressions[j].active = false;
1684
+ }
1685
+ await this.setInitExpression(tmpLE[i], expressions[j]);
1686
+ }
1687
+ }
1688
+ this.loading = false;
1689
+ this.filterLayerExpressions = [...tmpLE];
1690
+ }
1691
+ handleResetFilter() {
1692
+ var _a;
1693
+ (_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
1694
+ var _a;
1695
+ (_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
1696
+ const { type } = expression;
1697
+ if (type === 'string' || type === 'coded-value') {
1698
+ this.resetCombobox(expression);
1699
+ }
1700
+ else if (type === 'date') {
1701
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1702
+ this.resetCombobox(expression);
1703
+ }
1704
+ else {
1705
+ this.resetDatePicker(expression);
1706
+ }
1707
+ }
1708
+ else if (type === 'number' || type === 'range') {
1709
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1710
+ this.resetCombobox(expression);
1711
+ }
1712
+ else {
1713
+ this.resetNumberRange(expression);
1714
+ }
1715
+ }
1716
+ else {
1717
+ this.resetCheckbox(expression);
1718
+ }
1719
+ expression.active = false;
1720
+ });
1721
+ });
1722
+ this.resetAllFilters();
1723
+ this.generateURLParams();
1724
+ this.filterListReset.emit();
1725
+ }
1726
+ resetCombobox(expression) {
1727
+ const { id } = expression;
1728
+ expression.selectedFields = undefined;
1729
+ const combobox = this.panelEl.querySelector(`[id='${id}']`);
1730
+ if (combobox != null) {
1731
+ for (let i = 0; i < combobox.children.length; i++) {
1732
+ const comboboxItem = combobox.children[i];
1733
+ comboboxItem.selected = false;
1734
+ }
1735
+ }
1736
+ }
1737
+ resetDatePicker(expression) {
1738
+ const { id } = expression;
1739
+ expression.range = undefined;
1740
+ const datePicker = this.panelEl.querySelector(`[id='${id}']`);
1741
+ resetDatePicker(datePicker);
1742
+ }
1743
+ resetNumberRange(expression) {
1744
+ expression.range = undefined;
1745
+ const { id, max, min } = expression;
1746
+ const slider = this.panelEl.querySelector(`[id='${id}']`);
1747
+ if (slider != null) {
1748
+ slider.minValue = min;
1749
+ slider.maxValue = max;
1750
+ }
1751
+ }
1752
+ resetCheckbox(expression) {
1753
+ const { id } = expression;
1754
+ const checkbox = this.panelEl.querySelector(`[id='${id}']`);
1755
+ if (checkbox != null) {
1756
+ checkbox.checked = false;
1757
+ }
1758
+ }
1759
+ resetAllFilters() {
1760
+ var _a, _b, _c, _d, _e;
1761
+ const allLayersAndTables = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.allLayers) === null || _c === void 0 ? void 0 : _c.concat((_e = (_d = this.view) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.allTables);
1762
+ allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
1763
+ var _a, _b;
1764
+ if (supportedTypes.includes(layer.type)) {
1765
+ const fl = layer;
1766
+ if (fl.type === 'point-cloud') {
1767
+ fl.filters = (_a = this.initPointCloudFilters) === null || _a === void 0 ? void 0 : _a[fl.id];
1768
+ }
1769
+ else if (fl.type === 'map-image') {
1770
+ fl.allSublayers.forEach(sublayer => {
1771
+ var _a, _b;
1772
+ sublayer.definitionExpression = (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[fl.id]) === null || _b === void 0 ? void 0 : _b[sublayer.id];
1773
+ });
1774
+ }
1775
+ else {
1776
+ fl.definitionExpression = (_b = this.initDefExpressions) === null || _b === void 0 ? void 0 : _b[fl.id];
1777
+ }
1778
+ }
1779
+ });
1780
+ }
1781
+ async updateStringExpression(layerExpression, expression) {
1782
+ const { field, type } = expression;
1783
+ const layer = this.findFilterLayer(layerExpression);
1784
+ expression.fields = await this.getFeatureAttributes(layer, field);
1785
+ if (type === 'date') {
1786
+ const layerField = layer.fields.find(({ name }) => name === field);
1787
+ if ((layerField === null || layerField === void 0 ? void 0 : layerField.type) === 'date-only') {
1788
+ expression.dateOnly = true;
1789
+ }
1790
+ }
1791
+ if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
1792
+ const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
1793
+ expression.definitionExpression = `${field} IN (${selectedFields.join(',')})`;
1794
+ return Promise.resolve(true);
1795
+ }
1796
+ return Promise.resolve(false);
1797
+ }
1798
+ async updateNumberExpression(layerExpression, expression) {
1799
+ var _a, _b;
1800
+ if ((!(expression === null || expression === void 0 ? void 0 : expression.min) && (expression === null || expression === void 0 ? void 0 : expression.min) !== 0) || (!(expression === null || expression === void 0 ? void 0 : expression.max) && (expression === null || expression === void 0 ? void 0 : expression.max) !== 0)) {
1801
+ const layer = this.findFilterLayer(layerExpression);
1802
+ const { field } = expression;
1803
+ if (field != null) {
1804
+ this.setExpressionFormat(layer, expression, field);
1805
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1806
+ const fields = (await this.getFeatureAttributes(layer, field));
1807
+ fields.sort((a, b) => a - b);
1808
+ expression.fields = fields;
1809
+ }
1810
+ else {
1811
+ const graphic = await this.calculateMinMaxStatistics(layer, field);
1812
+ const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
1813
+ if (((_b = expression.format) === null || _b === void 0 ? void 0 : _b.places) != null) {
1814
+ expression.min = this.roundMinNumberDown(attributes[`min${field}`], expression.format.places);
1815
+ expression.max = this.roundMaxNumberUp(attributes[`max${field}`], expression.format.places);
1816
+ }
1817
+ else {
1818
+ expression.min = attributes[`min${field}`];
1819
+ expression.max = attributes[`max${field}`];
1820
+ }
1821
+ if ((expression === null || expression === void 0 ? void 0 : expression.range) && Object.keys(expression.range).length) {
1822
+ const { min, max } = expression.range;
1823
+ expression.definitionExpression = `${expression.field} BETWEEN ${min} AND ${max}`;
1824
+ return true;
1825
+ }
1826
+ }
1827
+ }
1828
+ }
1829
+ return false;
1830
+ }
1831
+ async updateDateExpression(layerExpression, expression) {
1832
+ var _a;
1833
+ const { field, range } = expression;
1834
+ const layer = this.findFilterLayer(layerExpression);
1835
+ const graphic = await this.calculateMinMaxStatistics(layer, field);
1836
+ const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
1837
+ expression.min = convertToDate(attributes[`min${field}`]);
1838
+ expression.max = convertToDate(attributes[`max${field}`]);
1839
+ if (range != null && ((range === null || range === void 0 ? void 0 : range.max) != null || (range === null || range === void 0 ? void 0 : range.min) != null)) {
1840
+ let { min, max } = range;
1841
+ min = min === null || min === void 0 ? void 0 : min.replace('+', ' ');
1842
+ max = max === null || max === void 0 ? void 0 : max.replace('+', ' ');
1843
+ if (min || max) {
1844
+ const chevron = max && !min ? '<' : !max && min ? '>' : null;
1845
+ if (chevron) {
1846
+ expression.definitionExpression = `${field} ${chevron} '${min !== null && min !== void 0 ? min : max}'`;
1847
+ }
1848
+ else {
1849
+ expression.definitionExpression = `${field} BETWEEN '${min}' AND '${max}'`;
1850
+ }
1851
+ return true;
1852
+ }
1853
+ }
1854
+ return false;
1855
+ }
1856
+ updateCodedValueExpression(expression, layerField) {
1857
+ var _a;
1858
+ const { field } = expression;
1859
+ const fields = [];
1860
+ expression.codedValues = {};
1861
+ const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
1862
+ (_a = domain === null || domain === void 0 ? void 0 : domain.codedValues) === null || _a === void 0 ? void 0 : _a.forEach(cv => {
1863
+ const { code, name } = cv;
1864
+ fields.push(code);
1865
+ if (expression.codedValues != null) {
1866
+ expression.codedValues[code] = name;
1867
+ }
1868
+ });
1869
+ expression.fields = fields;
1870
+ if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
1871
+ const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
1872
+ const definitionExpression = `${field} IN (${selectedFields.join(',')})`;
1873
+ expression.definitionExpression = definitionExpression;
1874
+ return true;
1875
+ }
1876
+ return false;
1877
+ }
1878
+ updateRangeExpression(expression, layerField) {
1879
+ const { field, range } = expression;
1880
+ const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
1881
+ expression.min = domain === null || domain === void 0 ? void 0 : domain.minValue;
1882
+ expression.max = domain === null || domain === void 0 ? void 0 : domain.maxValue;
1883
+ if (range && Object.keys(range).length) {
1884
+ const { min, max } = range;
1885
+ const definitionExpression = `${field} BETWEEN ${min} AND ${max}`;
1886
+ expression.definitionExpression = definitionExpression;
1887
+ return true;
1888
+ }
1889
+ return false;
1890
+ }
1891
+ async getFeatureAttributes(layer, field) {
1892
+ var _a, _b, _c;
1893
+ if (layer && supportedTypes.includes(layer.type)) {
1894
+ const query = layer.createQuery();
1895
+ if ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.capabilities) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b['supportsCacheHint']) {
1896
+ query.cacheHint = true;
1897
+ }
1898
+ if (field) {
1899
+ const initDefExpr = this.getInitDefExprFromLayer(layer);
1900
+ query.where = initDefExpr || '1=1';
1901
+ query.outFields = [field];
1902
+ query.orderByFields = [`${field} DESC`];
1903
+ query.returnDistinctValues = true;
1904
+ query.returnGeometry = false;
1905
+ query.maxRecordCountFactor = 3;
1906
+ if (this.extentSelector && this.extentSelectorConfig) {
1907
+ const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
1908
+ if (geo != null)
1909
+ query.geometry = geo;
1910
+ query.spatialRelationship = 'intersects';
1911
+ }
1912
+ return (_c = (await this.queryForFeatures(layer, query, field))) === null || _c === void 0 ? void 0 : _c.sort();
1913
+ }
1914
+ }
1915
+ return [];
1916
+ }
1917
+ async queryForFeatures(layer, query, field) {
1918
+ const results = await layer.queryFeatures(query);
1919
+ const features = results === null || results === void 0 ? void 0 : results.features.filter(feature => { var _a; return (_a = feature.attributes) === null || _a === void 0 ? void 0 : _a[field]; });
1920
+ return features === null || features === void 0 ? void 0 : features.map(feature => { var _a; return (_a = feature.attributes) === null || _a === void 0 ? void 0 : _a[field]; });
1921
+ }
1922
+ async calculateMinMaxStatistics(layer, field) {
1923
+ var _a, _b;
1924
+ if (layer && supportedTypes.includes(layer.type)) {
1925
+ const query = layer.createQuery();
1926
+ let initDefExpr = this.getInitDefExprFromLayer(layer);
1927
+ query.where = initDefExpr || '1=1';
1928
+ if ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.capabilities) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b.supportsCacheHint) {
1929
+ query.cacheHint = true;
1930
+ }
1931
+ if (field) {
1932
+ const tmp = [
1933
+ {
1934
+ onStatisticField: field,
1935
+ outStatisticFieldName: `max${field}`,
1936
+ statisticType: 'max',
1937
+ },
1938
+ {
1939
+ onStatisticField: field,
1940
+ outStatisticFieldName: `min${field}`,
1941
+ statisticType: 'min',
1942
+ },
1943
+ ];
1944
+ query.outStatistics = tmp;
1945
+ if (this.extentSelector && this.extentSelectorConfig) {
1946
+ const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
1947
+ if (geo != null) {
1948
+ query.geometry = geo;
1949
+ }
1950
+ query.spatialRelationship = 'intersects';
1951
+ }
1952
+ const results = await layer.queryFeatures(query);
1953
+ return results === null || results === void 0 ? void 0 : results.features;
1954
+ }
1955
+ }
1956
+ return [];
1957
+ }
1958
+ getExtent(extentSelector, extentSelectorConfig) {
1959
+ if (extentSelector && extentSelectorConfig) {
1960
+ const { constraints } = extentSelectorConfig;
1961
+ let newConstraints = Object.assign({}, constraints);
1962
+ const geometry = newConstraints === null || newConstraints === void 0 ? void 0 : newConstraints.geometry;
1963
+ if (geometry) {
1964
+ const tmpExtent = 'extent' in geometry ? geometry : this.geometryJsonUtils.fromJSON(geometry);
1965
+ if ((tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'extent' || (tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'polygon') {
1966
+ return tmpExtent;
1967
+ }
1968
+ }
1969
+ }
1970
+ return;
1971
+ }
1972
+ setInitExpression(layerExpression, expression) {
1973
+ if (expression.field && expression.type) {
1974
+ const filterLayer = this.findFilterLayer(layerExpression);
1975
+ if (filterLayer == null) {
1976
+ return Promise.resolve();
1977
+ }
1978
+ if (filterLayer.loadStatus === 'not-loaded' || filterLayer.loadStatus === 'failed') {
1979
+ filterLayer.load();
1980
+ }
1981
+ return filterLayer.when(async () => {
1982
+ var _a, _b;
1983
+ const layerField = (_a = filterLayer.fields) === null || _a === void 0 ? void 0 : _a.find(({ name }) => name === expression.field);
1984
+ const domainType = (_b = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _b === void 0 ? void 0 : _b.type;
1985
+ expression.type = domainType === 'coded-value' || domainType === 'range' ? domainType : expression.type;
1986
+ await this.updateExpression(layerExpression, expression, layerField);
1987
+ });
1988
+ }
1989
+ else {
1990
+ this.updateExpression(layerExpression, expression, undefined);
1991
+ return Promise.resolve();
1992
+ }
1993
+ }
1994
+ async updateExpression(layerExpression, expression, layerField) {
1995
+ let update = false;
1996
+ const { type } = expression;
1997
+ if (type === 'string') {
1998
+ update = await this.updateStringExpression(layerExpression, expression);
1999
+ }
2000
+ else if (type === 'number') {
2001
+ update = await this.updateNumberExpression(layerExpression, expression);
2002
+ }
2003
+ else if (type === 'date') {
2004
+ if (expression.displayOption === 'drop-down') {
2005
+ update = await this.updateStringExpression(layerExpression, expression);
2006
+ }
2007
+ else {
2008
+ update = await this.updateDateExpression(layerExpression, expression);
2009
+ }
2010
+ }
2011
+ else if (type === 'coded-value') {
2012
+ update = this.updateCodedValueExpression(expression, layerField);
2013
+ }
2014
+ else if (type === 'range') {
2015
+ if (expression.displayOption === 'drop-down') {
2016
+ update = await this.updateStringExpression(layerExpression, expression);
2017
+ }
2018
+ else {
2019
+ update = this.updateRangeExpression(expression, layerField);
2020
+ }
2021
+ }
2022
+ else if (expression.active && (type === 'checkbox' || type == null)) {
2023
+ update = true;
2024
+ }
2025
+ if (update) {
2026
+ this.generateOutput(layerExpression);
2027
+ }
2028
+ }
2029
+ updateRangeExpressions(expression, layerExpression, max, min) {
2030
+ const initExp = this.getInitDefExprFromLayerExpression(layerExpression);
2031
+ if ((min || min === 0) && (max || max === 0)) {
2032
+ if (min === (expression === null || expression === void 0 ? void 0 : expression.min) && max === (expression === null || expression === void 0 ? void 0 : expression.max)) {
2033
+ expression.definitionExpression = undefined;
2034
+ expression.active = false;
2035
+ }
2036
+ else {
2037
+ expression.definitionExpression = initExp ? `(${initExp}) AND ${expression === null || expression === void 0 ? void 0 : expression.field} BETWEEN ${min} AND ${max}` : `${expression === null || expression === void 0 ? void 0 : expression.field} BETWEEN ${min} AND ${max}`;
2038
+ expression.active = true;
2039
+ }
2040
+ }
2041
+ expression.range = { min, max };
2042
+ }
2043
+ handleCheckboxChange(layerExpression, expression, event) {
2044
+ const node = event.target;
2045
+ expression.active = node.checked;
2046
+ this.generateOutput(layerExpression);
2047
+ }
2048
+ handleSliderChange(expression, layerExpression, event) {
2049
+ const { maxValue, minValue } = event.target;
2050
+ this.updateRangeExpressions(expression, layerExpression, maxValue, minValue);
2051
+ this.generateOutput(layerExpression);
2052
+ }
2053
+ handleComboSelect(expression, layerExpression, event) {
2054
+ const combobox = event.target;
2055
+ const items = combobox.selectedItems;
2056
+ const { field, type } = expression;
2057
+ if (items && items.length) {
2058
+ const values = items.map(({ value }) => (typeof value === 'number' ? value : `'${handleSingleQuote(value)}'`));
2059
+ if (type === 'date') {
2060
+ expression.selectedFields = items.map(({ value }) => value);
2061
+ expression.definitionExpression = values.map(value => this.buildDateExpression(value, field)).join(' OR ');
2062
+ }
2063
+ else {
2064
+ expression.selectedFields = items.map(({ value }) => value);
2065
+ const definitionExpression = `${field} IN (${values.join(',')})`;
2066
+ expression.definitionExpression = definitionExpression;
2067
+ }
2068
+ expression.active = true;
2069
+ }
2070
+ else {
2071
+ expression.definitionExpression = undefined;
2072
+ expression.active = false;
2073
+ }
2074
+ this.generateOutput(layerExpression);
2075
+ }
2076
+ handleDatePickerRangeChange(expression, layerExpression, event) {
2077
+ const datePicker = event.target;
2078
+ const [startDate, endDate] = datePicker.valueAsDate;
2079
+ const start = startDate != null ? convertToDate(Math.floor(startDate.getTime()), true) : undefined;
2080
+ const end = endDate != null ? convertToDate(Math.floor(endDate.getTime()), true) : undefined;
2081
+ if (start != null || end != null) {
2082
+ const chevron = end && start == null ? '<' : end == null && start ? '>' : null;
2083
+ if (chevron) {
2084
+ expression.definitionExpression = `${expression.field} ${chevron} '${start !== null && start !== void 0 ? start : end}'`;
2085
+ }
2086
+ else {
2087
+ expression.definitionExpression = `${expression.field} BETWEEN '${start}' AND '${end}'`;
2088
+ }
2089
+ expression.range = { min: start, max: end };
2090
+ expression.active = true;
2091
+ this.generateOutput(layerExpression);
2092
+ }
2093
+ }
2094
+ handleURLParams() {
2095
+ var _a;
2096
+ if ('URLSearchParams' in window) {
2097
+ const params = new URLSearchParams(document.location.search);
2098
+ const filters = (_a = params.get('filter')) === null || _a === void 0 ? void 0 : _a.split(';');
2099
+ let filterCount = 0;
2100
+ filters === null || filters === void 0 ? void 0 : filters.forEach(filter => {
2101
+ var _a;
2102
+ const tmpFilter = JSON.parse(filter);
2103
+ (_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
2104
+ var _a;
2105
+ if ((tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.layerId) === layerExpression.id) {
2106
+ (_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
2107
+ var _a, _b;
2108
+ if (((_a = expression.id) === null || _a === void 0 ? void 0 : _a.toString()) === ((_b = tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.expressionId) === null || _b === void 0 ? void 0 : _b.toString())) {
2109
+ expression.active = true;
2110
+ filterCount++;
2111
+ if (tmpFilter.type === 'range') {
2112
+ expression.range = tmpFilter.range;
2113
+ }
2114
+ else if (tmpFilter.type === 'select') {
2115
+ expression.selectedFields = tmpFilter.selectedFields;
2116
+ }
2117
+ }
2118
+ });
2119
+ }
2120
+ });
2121
+ });
2122
+ this.filterCount = filterCount;
2123
+ }
2124
+ }
2125
+ createURLParamExpression(layerExpression, expression) {
2126
+ const { id, range, selectedFields, type } = expression;
2127
+ if (type === 'string' || type === 'coded-value' || (expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
2128
+ return {
2129
+ type: 'select',
2130
+ layerId: layerExpression.id,
2131
+ expressionId: id.toString(),
2132
+ selectedFields,
2133
+ };
2134
+ }
2135
+ else if (type === 'number' || type === 'range' || type === 'date') {
2136
+ return {
2137
+ type: 'range',
2138
+ layerId: layerExpression.id,
2139
+ expressionId: id.toString(),
2140
+ range,
2141
+ };
2142
+ }
2143
+ else {
2144
+ return {
2145
+ layerId: layerExpression.id,
2146
+ expressionId: id.toString(),
2147
+ };
2148
+ }
2149
+ }
2150
+ autoUpdateURLCheck(params) {
2151
+ if (this.autoUpdateUrl) {
2152
+ if (params.toString()) {
2153
+ window.history.replaceState({}, '', `${window.location.pathname}?${params} `);
2154
+ }
2155
+ else {
2156
+ window.history.replaceState({}, '', window.location.pathname);
2157
+ }
2158
+ }
2159
+ }
2160
+ generateURLParams() {
2161
+ var _a;
2162
+ if ('URLSearchParams' in window) {
2163
+ const params = new URLSearchParams(window.location.search);
2164
+ const expressions = [];
2165
+ let filterCount = 0;
2166
+ (_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpr => {
2167
+ var _a;
2168
+ (_a = layerExpr === null || layerExpr === void 0 ? void 0 : layerExpr.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
2169
+ if (expression.active) {
2170
+ filterCount++;
2171
+ const paramExpression = this.createURLParamExpression(layerExpr, expression);
2172
+ expressions.push(JSON.stringify(paramExpression));
2173
+ }
2174
+ });
2175
+ });
2176
+ this.filterCount = filterCount;
2177
+ if (expressions.length > 0) {
2178
+ params.set('filter', expressions.join(';'));
2179
+ }
2180
+ else {
2181
+ params.delete('filter');
2182
+ }
2183
+ this.autoUpdateURLCheck(params);
2184
+ this.urlParams = params;
2185
+ }
2186
+ }
2187
+ updateFilter(layerExpression, defExpressions, filters) {
2188
+ const { id } = layerExpression;
2189
+ const fl = (this.view.map.findLayerById(id) || this.view.map.findTableById(id));
2190
+ if (fl != null) {
2191
+ if (fl.type === 'point-cloud') {
2192
+ this.updateFilterLayerPCLFilter(fl, filters);
2193
+ }
2194
+ else if (fl.type === 'map-image') {
2195
+ const sublayer = fl.findSublayerById(layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId);
2196
+ if (sublayer != null) {
2197
+ this.updateFilterLayerDefExpression(sublayer, defExpressions, layerExpression);
2198
+ }
2199
+ }
2200
+ else {
2201
+ this.updateFilterLayerDefExpression(fl, defExpressions, layerExpression);
2202
+ }
2203
+ }
2204
+ }
2205
+ updateFilterLayerDefExpression(layer, defExpressions, layerExpression) {
2206
+ const { operator } = layerExpression;
2207
+ let initDefExpressions = this.getInitDefExprFromLayer(layer);
2208
+ const combinedExpressions = (defExpressions === null || defExpressions === void 0 ? void 0 : defExpressions.length) > 0 && initDefExpressions != null
2209
+ ? `(${defExpressions.join(operator)}) AND (${initDefExpressions})`
2210
+ : defExpressions.length > 0
2211
+ ? defExpressions.join(operator)
2212
+ : initDefExpressions;
2213
+ layer.definitionExpression = combinedExpressions;
2214
+ }
2215
+ updateFilterLayerPCLFilter(layer, filters) {
2216
+ layer.filters = filters;
2217
+ }
2218
+ async handleWhenView() {
2219
+ if (this.view == null)
2220
+ return;
2221
+ const map = this.view.map;
2222
+ await map.loadAll();
2223
+ this.handleLayerExpressionsUpdate();
2224
+ }
2225
+ async handleLayerExpressionsUpdate() {
2226
+ if (this.view == null)
2227
+ return;
2228
+ const map = this.view.map;
2229
+ this.initDefExpressions = {};
2230
+ this.initPointCloudFilters = {};
2231
+ this.initMapImageExpressions = {};
2232
+ const layersAndTables = map.allLayers.concat(map.allTables);
2233
+ for (let i = 0; i < layersAndTables.length; i++) {
2234
+ const layer = layersAndTables.getItemAt(i);
2235
+ if (supportedTypes.includes(layer.type)) {
2236
+ const fl = layer;
2237
+ if (fl.type === 'point-cloud') {
2238
+ this.initPointCloudFilters[fl.id] = fl.filters;
2239
+ }
2240
+ else if (fl.type === 'map-image') {
2241
+ this.initMapImageExpressions[fl.id] = {};
2242
+ fl.allSublayers.forEach(sublayer => {
2243
+ this.initMapImageExpressions[fl.id][sublayer.id] = sublayer.definitionExpression;
2244
+ });
2245
+ }
2246
+ else {
2247
+ this.initDefExpressions[fl.id] = fl.definitionExpression;
2248
+ }
2249
+ }
2250
+ }
2251
+ this.initExpressions();
2252
+ this.handleURLParams();
2253
+ }
2254
+ async handleZoomTo(layerExpression) {
2255
+ const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
2256
+ const zoomToBtn = this.panelEl.querySelector(zoomId);
2257
+ if (zoomToBtn != null) {
2258
+ zoomToBtn.loading = true;
2259
+ zoomToBtn.disabled = true;
2260
+ }
2261
+ this.zoomToGraphics = [];
2262
+ let loadingTime = 0;
2263
+ let startGoTo = false;
2264
+ const zoomToInterval = setInterval(() => {
2265
+ if (loadingTime >= 1000 && startGoTo) {
2266
+ this.view.goTo(this.zoomToGraphics);
2267
+ if (zoomToBtn != null) {
2268
+ zoomToBtn.loading = false;
2269
+ zoomToBtn.disabled = false;
2270
+ }
2271
+ clearInterval(zoomToInterval);
2272
+ }
2273
+ loadingTime += 500;
2274
+ }, 500);
2275
+ await this.getZoomToGraphics(layerExpression);
2276
+ startGoTo = true;
2277
+ }
2278
+ async getZoomToGraphics(layerExpression) {
2279
+ var _a, _b, _c, _d, _e;
2280
+ const lv = this.view.allLayerViews.find(({ layer }) => layer.id === layerExpression.id);
2281
+ const layer = lv.layer;
2282
+ const queryLayer = layer.type === 'map-image' ? layer.findSublayerById(layerExpression.sublayerId) : layer;
2283
+ if (queryLayer.type !== 'point-cloud' && supportedTypes.includes(queryLayer === null || queryLayer === void 0 ? void 0 : queryLayer.type)) {
2284
+ const query = queryLayer.createQuery();
2285
+ if ((_b = (_a = layer === null || layer === void 0 ? void 0 : layer.capabilities) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b['supportsCacheHint']) {
2286
+ query.cacheHint = true;
2287
+ }
2288
+ query.where = (_c = queryLayer.definitionExpression) !== null && _c !== void 0 ? _c : '1=1';
2289
+ query.returnGeometry = true;
2290
+ query.returnDistinctValues = true;
2291
+ query.maxRecordCountFactor = 3;
2292
+ query.returnExceededLimitFeatures = true;
2293
+ query.outFields = [];
2294
+ if (this.extentSelector && this.extentSelectorConfig) {
2295
+ const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
2296
+ if (geo != null)
2297
+ query.geometry = geo;
2298
+ query.spatialRelationship = 'intersects';
2299
+ }
2300
+ const filter = ((_d = lv === null || lv === void 0 ? void 0 : lv.featureEffect) === null || _d === void 0 ? void 0 : _d.filter) != null ? lv.featureEffect.filter : lv.filter;
2301
+ if (filter != null) {
2302
+ if (filter.objectIds != null) {
2303
+ query.objectIds = filter.objectIds;
2304
+ }
2305
+ if (filter.distance != null) {
2306
+ query.distance = filter.distance;
2307
+ }
2308
+ if (filter.geometry != null) {
2309
+ query.geometry = filter.geometry;
2310
+ }
2311
+ if (filter.distance != null) {
2312
+ query.distance = filter.distance;
2313
+ }
2314
+ if (filter.spatialRelationship != null) {
2315
+ query.spatialRelationship = filter.spatialRelationship;
2316
+ }
2317
+ if (filter.units != null) {
2318
+ query.units = filter.units;
2319
+ }
2320
+ if (filter.where != null) {
2321
+ query.where = filter.where;
2322
+ }
2323
+ if (filter.timeExtent != null) {
2324
+ query.timeExtent = filter.timeExtent;
2325
+ }
2326
+ }
2327
+ try {
2328
+ const results = await queryLayer.queryFeatures(query);
2329
+ this.zoomToGraphics.push(...results.features);
2330
+ }
2331
+ catch (error) {
2332
+ if ((_e = error === null || error === void 0 ? void 0 : error.message) === null || _e === void 0 ? void 0 : _e.toLowerCase().includes('distinct')) {
2333
+ try {
2334
+ query.returnDistinctValues = false;
2335
+ const results = await queryLayer.queryFeatures(query);
2336
+ this.zoomToGraphics.push(...results.features);
2337
+ }
2338
+ catch (_f) { }
2339
+ }
2340
+ }
2341
+ }
2342
+ return Promise.resolve();
2343
+ }
2344
+ generateOutput(layerExpression) {
2345
+ if (this.view == null)
2346
+ return;
2347
+ const defExpressions = [];
2348
+ let filters = [];
2349
+ if (layerExpression) {
2350
+ for (const expression of layerExpression.expressions) {
2351
+ const { active, definitionExpression, pointCloudFilters } = expression;
2352
+ if (active && definitionExpression) {
2353
+ defExpressions.push(`(${definitionExpression})`);
2354
+ }
2355
+ if (active && pointCloudFilters != null && pointCloudFilters.length > 0) {
2356
+ filters = filters.concat(pointCloudFilters);
2357
+ }
2358
+ }
2359
+ this.updateFilter(layerExpression, defExpressions, filters);
2360
+ this.generateURLParams();
2361
+ this.filterUpdate.emit();
2362
+ }
2363
+ }
2364
+ numberWithCommas(num) {
2365
+ return num.toLocaleString('en-US', { maximumFractionDigits: 20 });
2366
+ }
2367
+ // If fieldInfo.format.places limits decimal digits then use this for min value to make sure the min is actually included in slider.
2368
+ // e.g. when using Math.round() with a min of 1.058 with only 2 decimal places would be 1.06 so the slider wouldn't contain the min. Math.floor() ensures it does.
2369
+ // Inverse of this reasoning for roundMaxNumberUp().
2370
+ roundMinNumberDown(num, decimalPlaces) {
2371
+ if (num == null)
2372
+ return;
2373
+ if (!('' + num).includes('e')) {
2374
+ return +(Math.floor((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
2375
+ }
2376
+ else {
2377
+ var arr = ('' + num).split('e');
2378
+ var sig = '';
2379
+ if (+arr[1] + decimalPlaces > 0) {
2380
+ sig = '+';
2381
+ }
2382
+ return +(Math.floor((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
2383
+ }
2384
+ }
2385
+ roundMaxNumberUp(num, decimalPlaces) {
2386
+ if (num == null)
2387
+ return;
2388
+ if (!('' + num).includes('e')) {
2389
+ return +(Math.ceil((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
2390
+ }
2391
+ else {
2392
+ var arr = ('' + num).split('e');
2393
+ var sig = '';
2394
+ if (+arr[1] + decimalPlaces > 0) {
2395
+ sig = '+';
2396
+ }
2397
+ return +(Math.ceil((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
2398
+ }
2399
+ }
2400
+ roundNumber(num, decimalPlaces) {
2401
+ if (num == null)
2402
+ return;
2403
+ if (!('' + num).includes('e')) {
2404
+ return +(Math.round((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
2405
+ }
2406
+ else {
2407
+ var arr = ('' + num).split('e');
2408
+ var sig = '';
2409
+ if (+arr[1] + decimalPlaces > 0) {
2410
+ sig = '+';
2411
+ }
2412
+ return +(Math.round((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
2413
+ }
2414
+ }
2415
+ setExpressionFormat(layer, expression, field) {
2416
+ if ((layer === null || layer === void 0 ? void 0 : layer.popupTemplate) != null) {
2417
+ const fieldInfo = layer.popupTemplate.fieldInfos.find(({ fieldName }) => fieldName === field);
2418
+ expression.format = fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.format;
2419
+ }
2420
+ }
2421
+ getInitDefExprFromLayer(layer) {
2422
+ var _a, _b, _c;
2423
+ return layer.type === 'sublayer' ? (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[layer.layer.id]) === null || _b === void 0 ? void 0 : _b[layer.id] : (_c = this.initDefExpressions) === null || _c === void 0 ? void 0 : _c[layer.id];
2424
+ }
2425
+ getInitDefExprFromLayerExpression(layerExpression) {
2426
+ var _a, _b, _c;
2427
+ return (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) != null ? (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[layerExpression.id]) === null || _b === void 0 ? void 0 : _b[layerExpression.sublayerId] : (_c = this.initDefExpressions) === null || _c === void 0 ? void 0 : _c[layerExpression.id];
2428
+ }
2429
+ findFilterLayer(layerExpression) {
2430
+ const allLayersAndTables = this.view.map.allLayers.concat(this.view.map.allTables);
2431
+ const layer = allLayersAndTables.find(({ id }) => id === layerExpression.id);
2432
+ if (layer.type === 'map-image') {
2433
+ return layer === null || layer === void 0 ? void 0 : layer.findSublayerById(layerExpression.sublayerId);
2434
+ }
2435
+ else {
2436
+ return layer;
2437
+ }
2438
+ }
2439
+ createLabel(expression, value) {
2440
+ var _a;
2441
+ let label = value;
2442
+ if (expression.type === 'coded-value') {
2443
+ label = (_a = expression.codedValues) === null || _a === void 0 ? void 0 : _a[value];
2444
+ }
2445
+ else if (expression.type === 'number' && typeof value === 'number' && expression.format != null) {
2446
+ if (expression.format.places != null) {
2447
+ label = this.roundNumber(value, expression.format.places);
2448
+ }
2449
+ if (expression.format.digitSeparator) {
2450
+ label = this.numberWithCommas(label);
2451
+ }
2452
+ }
2453
+ else if (expression.type === 'date' && !expression.dateOnly) {
2454
+ const format = expression.dateOnly ? this.intl.convertDateFormatToIntlOptions('short-date-long-time') : undefined;
2455
+ label = this.intl.formatDate(value, format);
2456
+ }
2457
+ return label;
2458
+ }
2459
+ buildDateExpression(date, field) {
2460
+ if (date) {
2461
+ const tmpDate = new Date(date);
2462
+ const tmpCompareDate = new Date(date);
2463
+ const tmpCompareDate1 = new Date(tmpCompareDate.setDate(tmpDate.getDate() + 1));
2464
+ const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
2465
+ const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
2466
+ const compareTime = `${tmpCompareDate1.getHours()}:${tmpCompareDate1.getMinutes()}:${tmpCompareDate1.getSeconds()}`;
2467
+ const compareFormattedDate = `${tmpCompareDate1.getFullYear()}-${tmpCompareDate1.getMonth() + 1}-${tmpCompareDate1.getDate()}`;
2468
+ return `${field} BETWEEN '${formattedDate} ${time}' AND '${compareFormattedDate} ${compareTime}'`;
2469
+ }
2470
+ return;
2471
+ }
2472
+ get el() { return getElement(this); }
2473
+ static get watchers() { return {
2474
+ "view": ["watchViewHandler"],
2475
+ "layerExpressions": ["watchLayerExpressions"]
2476
+ }; }
2477
+ };
2478
+ InstantAppsFilterList.style = InstantAppsFilterListStyle0;
2479
+
2480
+ const instantAppsSocialShareCss = ":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";
2481
+ const InstantAppsSocialShareStyle0 = instantAppsSocialShareCss;
2482
+
2483
+ const base = 'instant-apps-social-share';
2484
+ const CALCITE_MODE_DARK = '.calcite-mode-dark';
2485
+ const CSS = {
2486
+ base,
2487
+ dialog: `${base}__dialog`,
2488
+ dialogEmbed: `${base}__dialog-embed`,
2489
+ dialogContent: `${base}__dialog-content`,
2490
+ options: `${base}__options`,
2491
+ tipContainer: `${base}__tip`,
2492
+ tipHeader: `${base}__tip-header`,
2493
+ tipContent: `${base}__tip-content`,
2494
+ icon: `${base}__icon`,
2495
+ iconContainer: `${base}__icon-container`,
2496
+ optionText: `${base}__option-text`,
2497
+ popoverButton: `${base}__popover-button`,
2498
+ layout: {
2499
+ vertical: `${base}__layout--vertical`,
2500
+ horizontal: `${base}__layout--horizontal`,
2501
+ },
2502
+ xLogo: {
2503
+ light: `${base}__x-logo--light`,
2504
+ dark: `${base}__x-logo--dark`,
2505
+ },
2506
+ success: {
2507
+ container: `${base}__success`,
2508
+ header: `${base}__success-header`,
2509
+ message: `${base}__success-message`,
2510
+ icon: `${base}__success-icon`,
2511
+ },
2512
+ embed: {
2513
+ container: `${base}__embed`,
2514
+ header: `${base}__embed-header`,
2515
+ embedCode: {
2516
+ container: `${base}__embed-code`,
2517
+ textArea: `${base}__embed-code-text-area`,
2518
+ copyButton: `${base}__embed-code-copy-button`,
2519
+ },
2520
+ textAreaText: `${base}__embed-text-area-text`,
2521
+ dimensions: {
2522
+ container: `${base}__embed-dimensions`,
2523
+ input: `${base}__embed-dimensions-input`,
2524
+ },
2525
+ },
2526
+ rtl: {
2527
+ optionText: `${base}__option-text--rtl`,
2528
+ textArea: `${base}__text-area--rtl`,
2529
+ },
2530
+ };
2531
+ const SOCIAL_URL_TEMPLATES = {
2532
+ facebook: 'https://www.facebook.com/sharer/sharer.php?u={url}',
2533
+ x: 'https://x.com/intent/post?url={url}',
2534
+ linkedIn: 'https://www.linkedin.com/sharing/share-offsite/?url={url}',
2535
+ };
2536
+ const SHORTEN_API = 'https://arcg.is/prod/shorten';
2537
+ const MIN_WIDTH_HEIGHT_VALUE = '1';
2538
+ const InstantAppsSocialShare = class {
2539
+ constructor(hostRef) {
2540
+ registerInstance(this, hostRef);
2541
+ this.mode = 'popover';
2542
+ this.shareUrl = window.location.href;
2543
+ this.autoUpdateShareUrl = true;
2544
+ this.shareText = '';
2545
+ this.embed = false;
2546
+ this.shareButtonColor = 'neutral';
2547
+ this.shareButtonType = 'button';
2548
+ this.shareButtonScale = undefined;
2549
+ this.iframeInnerText = '';
2550
+ this.popoverButtonIconScale = 'm';
2551
+ this.view = undefined;
2552
+ this.displayTipText = true;
2553
+ this.shortenShareUrl = true;
2554
+ this.socialMedia = true;
2555
+ this.shareIconsLayout = 'vertical';
2556
+ this.scale = 'm';
2557
+ this.successMessage = '';
2558
+ this.defaultUrlParams = null;
2559
+ this.inlineSuccessPopoverPlacement = 'trailing';
2560
+ this.popoverPositioning = 'absolute';
2561
+ this.removePopoverOffset = false;
2562
+ this.messages = undefined;
2563
+ this.opened = false;
2564
+ this.copied = false;
2565
+ this.inlineCopyLinkOpened = false;
2566
+ this.inlineCopyEmbedOpened = false;
2567
+ this.embedWidth = 400;
2568
+ this.embedHeight = 600;
2569
+ }
2570
+ componentDidLoad() {
2571
+ var _a, _b;
2572
+ getMessages(this);
2573
+ this.setupAutoCloseListeners();
2574
+ if (this.mode === 'popover') {
2575
+ if (this.opened)
2576
+ this.popoverRef.open = true;
2577
+ this.popoverRef.addEventListener('calcitePopoverOpen', () => {
2578
+ if (!this.shareListRef)
2579
+ return;
2580
+ const firstNode = this.shareListRef.children[0];
2581
+ firstNode.focus();
2582
+ });
2583
+ this.popoverRef.addEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
2584
+ }
2585
+ if (this.embed) {
2586
+ (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.addEventListener('change', this.updateDimensions.bind(this, 'width'));
2587
+ (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.addEventListener('change', this.updateDimensions.bind(this, 'height'));
2588
+ }
2589
+ }
2590
+ disconnectedCallback() {
2591
+ var _a, _b, _c;
2592
+ document.documentElement.removeEventListener('click', this.autoCloseCallback.bind(this));
2593
+ if (this.mode === 'popover') {
2594
+ if (this.popoverRef != null) {
2595
+ this.popoverRef.removeEventListener('click', this.stopPropagationCallback.bind(this));
2596
+ this.popoverRef.removeEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
2597
+ this.popoverRef.removeEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
2598
+ }
2599
+ }
2600
+ else {
2601
+ (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', this.updateDimensions.bind(this));
2602
+ (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('change', this.updateDimensions.bind(this));
2603
+ (_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.stopPropagationCallback.bind(this));
2604
+ }
2605
+ }
2606
+ setupAutoCloseListeners() {
2607
+ var _a, _b, _c;
2608
+ document.documentElement.addEventListener('click', this.autoCloseCallback.bind(this));
2609
+ if (this.mode === 'popover') {
2610
+ (_a = this.popoverRef) === null || _a === void 0 ? void 0 : _a.addEventListener('click', this.stopPropagationCallback.bind(this));
2611
+ (_b = this.popoverRef) === null || _b === void 0 ? void 0 : _b.addEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
2612
+ }
2613
+ else {
2614
+ (_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.addEventListener('click', this.stopPropagationCallback.bind(this));
2615
+ }
2616
+ }
2617
+ handlePopoverRefKeyDown(e) {
2618
+ var _a, _b;
2619
+ if (e.code === 'Tab') {
2620
+ if (!this.shareListRef)
2621
+ return;
2622
+ const node = e.target;
2623
+ const firstFocusableEl = this.shareListRef.children[0];
2624
+ const lastFocusableEl = this.shareListRef.children[((_a = this.shareListRef) === null || _a === void 0 ? void 0 : _a.children.length) - 1];
2625
+ if (e.shiftKey && node === firstFocusableEl) {
2626
+ e.preventDefault();
2627
+ lastFocusableEl.focus();
2628
+ }
2629
+ else if (!e.shiftKey && node === lastFocusableEl) {
2630
+ e.preventDefault();
2631
+ firstFocusableEl.focus();
2632
+ }
2633
+ }
2634
+ else if (e.code === 'Escape') {
2635
+ this.closePopover();
2636
+ (_b = this.popoverButtonRef) === null || _b === void 0 ? void 0 : _b.setFocus();
2637
+ }
2638
+ }
2639
+ autoCloseCallback() {
2640
+ if (this.mode === 'popover') {
2641
+ this.opened = false;
2642
+ this.popoverRef.open = this.opened;
2643
+ }
2644
+ else {
2645
+ if (this.copyLinkPopoverRef)
2646
+ this.copyLinkPopoverRef.open = false;
2647
+ this.inlineCopyLinkOpened = false;
2648
+ if (this.copyEmbedPopoverRef)
2649
+ this.copyEmbedPopoverRef.open = false;
2650
+ this.inlineCopyEmbedOpened = false;
2651
+ }
2652
+ }
2653
+ stopPropagationCallback(event) {
2654
+ event.stopPropagation();
2655
+ }
2656
+ resetPopoverCopyState() {
2657
+ var _a;
2658
+ (_a = this.popoverButtonRef) === null || _a === void 0 ? void 0 : _a.setFocus();
2659
+ setTimeout(() => {
2660
+ this.copied = false;
2661
+ }, 200);
2662
+ }
2663
+ updateDimensions(type) {
2664
+ var _a, _b;
2665
+ if (type === 'width') {
2666
+ const value = (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.value;
2667
+ this.embedWidth = parseInt(value);
2668
+ }
2669
+ else {
2670
+ const value = (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.value;
2671
+ this.embedHeight = parseInt(value);
2672
+ }
2673
+ }
2674
+ render() {
2675
+ var _a, _b, _c, _d, _e, _f;
2676
+ const content = this.copied && this.mode === 'popover' ? (this.renderSuccess()) : (h("div", { class: CSS.dialogContent }, this.renderOptions(), this.displayTipText ? this.renderTip() : null, this.embed ? this.renderEmbed() : null));
2677
+ const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
2678
+ const dialogContent = (h("div", { key: 'e3ae70f01dba11ef4bc9e293e13b922a38eab5a3', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}` }, content));
2679
+ const defaultOffset = 6;
2680
+ const offsetDistance = this.removePopoverOffset ? 0 : defaultOffset;
2681
+ return (h(Host, { key: '84a7ab996010b4263040db789d4d726a874af30a' }, this.mode === 'popover'
2682
+ ? [
2683
+ h("calcite-popover", { ref: (el) => (this.popoverRef = el), label: (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.share) === null || _b === void 0 ? void 0 : _b.label, referenceElement: "shareButton", placement: "bottom-start", scale: this.scale, "overlay-positioning": this.popoverPositioning, "offset-distance": offsetDistance, "pointer-disabled": this.removePopoverOffset }, dialogContent),
2684
+ this.renderButton(),
2685
+ ]
2686
+ : [
2687
+ dialogContent,
2688
+ h("calcite-popover", { ref: (el) => (this.copyLinkPopoverRef = el), label: (_d = (_c = this.messages) === null || _c === void 0 ? void 0 : _c.share) === null || _d === void 0 ? void 0 : _d.label, referenceElement: "copyToClipboard", placement: this.inlineSuccessPopoverPlacement, scale: this.scale }, this.renderSuccess()),
2689
+ h("calcite-popover", { ref: (el) => (this.copyEmbedPopoverRef = el), label: (_f = (_e = this.messages) === null || _e === void 0 ? void 0 : _e.share) === null || _f === void 0 ? void 0 : _f.label, referenceElement: "copyEmbedToClipboard", placement: this.inlineSuccessPopoverPlacement, scale: this.scale }, this.renderEmbedSuccess()),
2690
+ ]));
2691
+ }
2692
+ renderButton() {
2693
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2694
+ const scale = this.shareButtonScale != null ? this.shareButtonScale : this.scale;
2695
+ return this.shareButtonType === 'button' ? (h("calcite-button", { ref: el => (this.popoverButtonRef = el), onClick: this.togglePopover.bind(this), id: "shareButton", class: CSS.popoverButton, kind: this.shareButtonColor, appearance: "transparent", label: (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.share) === null || _b === void 0 ? void 0 : _b.label, title: (_d = (_c = this.messages) === null || _c === void 0 ? void 0 : _c.share) === null || _d === void 0 ? void 0 : _d.label, scale: scale }, h("div", { class: CSS.iconContainer }, h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale })))) : (h("calcite-action", { ref: el => (this.popoverButtonRef = el), onClick: this.togglePopover.bind(this), id: "shareButton", class: CSS.popoverButton, appearance: "transparent", label: (_f = (_e = this.messages) === null || _e === void 0 ? void 0 : _e.share) === null || _f === void 0 ? void 0 : _f.label, title: (_h = (_g = this.messages) === null || _g === void 0 ? void 0 : _g.share) === null || _h === void 0 ? void 0 : _h.label, scale: scale, text: "", alignment: "center" }, h("div", { class: CSS.iconContainer }, h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale }))));
2696
+ }
2697
+ renderSuccess() {
2698
+ var _a;
2699
+ const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
2700
+ return (h("div", { class: CSS.success.container }, h("span", { class: CSS.success.header }, h("span", { class: CSS.success.icon }, h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
2701
+ success.label), h("span", { class: CSS.success.message }, this.successMessage || (success === null || success === void 0 ? void 0 : success.url))));
2702
+ }
2703
+ renderEmbedSuccess() {
2704
+ var _a;
2705
+ const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
2706
+ return (h("div", { class: CSS.success.container }, h("span", { class: CSS.success.header }, h("span", { class: CSS.success.icon }, h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
2707
+ success.label), h("span", { class: CSS.success.message }, success === null || success === void 0 ? void 0 : success.embed)));
2708
+ }
2709
+ renderOptions() {
2710
+ var _a, _b, _c, _d;
2711
+ const options = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.options;
2712
+ const optionText_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.optionText}` : '';
2713
+ return (h("ul", { ref: el => (this.shareListRef = el), class: CSS.options, role: "menu" }, h("li", { id: "copyToClipboard", onClick: this.handleShareItem.bind(this, 'link'), onKeyDown: this.handleOptionKeyDown('link'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, h("calcite-icon", { icon: "link", scale: this.scale })), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, (_b = options === null || options === void 0 ? void 0 : options.link) === null || _b === void 0 ? void 0 : _b.label)), this.socialMedia
2714
+ ? [
2715
+ h("li", { onClick: this.handleShareItem.bind(this, 'facebook'), onKeyDown: this.handleOptionKeyDown('facebook'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, this.renderFacebookIcon()), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, (_c = options === null || options === void 0 ? void 0 : options.facebook) === null || _c === void 0 ? void 0 : _c.label)),
2716
+ h("li", { onClick: this.handleShareItem.bind(this, 'x'), onKeyDown: this.handleOptionKeyDown('x'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, this.renderXIcon()), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, "X")),
2717
+ h("li", { onClick: this.handleShareItem.bind(this, 'linkedIn'), onKeyDown: this.handleOptionKeyDown('linkedIn'), role: "menuitem", tabindex: "0" }, h("span", { class: CSS.icon }, this.renderLinkedInIcon()), h("span", { class: `${CSS.optionText}${optionText_RTL}` }, (_d = options === null || options === void 0 ? void 0 : options.linkedIn) === null || _d === void 0 ? void 0 : _d.label)),
2718
+ ]
2719
+ : null));
2720
+ }
2721
+ handleOptionKeyDown(type) {
2722
+ return (e) => {
2723
+ const keyCode = e.code;
2724
+ const canActivate = keyCode === 'Space' || keyCode === 'Enter';
2725
+ if (!canActivate)
2726
+ return;
2727
+ this.handleShareItem(type);
2728
+ };
2729
+ }
2730
+ renderFacebookIcon() {
2731
+ return (h("svg", { height: "100%", style: { fillRule: 'evenodd', clipRule: 'evenodd', strokeLinejoin: 'round', strokeMiterlimit: '2' }, version: "1.1", viewBox: "0 0 512 512", width: "100%", xmlns: "http://www.w3.org/2000/svg" }, h("g", null, h("path", { d: "M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z", style: { fill: '#1877f2', fillRule: 'nonzero' } }), h("path", { d: "M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z", style: { fill: '#fff', fillRule: 'nonzero' } }))));
2732
+ }
2733
+ renderXIcon() {
2734
+ const isCalciteModeDark = !!this.el.closest(CALCITE_MODE_DARK);
2735
+ return (h("svg", { class: isCalciteModeDark ? CSS.xLogo.dark : CSS.xLogo.light, viewBox: "0 0 1200 1227", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("rect", { height: "400", style: { fill: 'none' }, width: "400", x: "56", y: "56" }), h("path", { d: "M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z", fill: isCalciteModeDark ? 'white' : 'black' })));
2736
+ }
2737
+ renderLinkedInIcon() {
2738
+ return (h("svg", { height: "100%", style: { fillRule: 'evenodd', clipRule: 'evenodd', strokeLinejoin: 'round', strokeMiterlimit: '2' }, version: "1.1", viewBox: "0 0 512 512", width: "100%", xmlns: "http://www.w3.org/2000/svg" }, h("g", { id: "g5891" }, h("path", { d: "M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z", id: "background", style: { fill: '#2867b2' } }), h("g", { id: "shapes" }, h("rect", { height: "257.962", id: "rect11", style: { fill: '#fff' }, width: "85.76", x: "61.053", y: "178.667" }), h("path", { d: "M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z", id: "path13-0", style: { fill: '#fff', fillRule: 'nonzero' } }), h("path", { d: "M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z", id: "path15", style: { fill: '#fff', fillRule: 'nonzero' } })))));
2739
+ }
2740
+ renderTip() {
2741
+ var _a;
2742
+ const info = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.info;
2743
+ return (h("div", { class: CSS.tipContainer }, h("span", { class: CSS.tipHeader }, h("calcite-icon", { icon: "lightbulb", scale: this.scale }), h("span", null, info === null || info === void 0 ? void 0 : info.label)), h("p", { class: CSS.tipContent }, info === null || info === void 0 ? void 0 : info.tooltip)));
2744
+ }
2745
+ renderEmbed() {
2746
+ var _a, _b, _c;
2747
+ const embedMessages = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.embed;
2748
+ const textarea_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.textArea}` : '';
2749
+ return (h("div", { class: CSS.embed.container }, h("span", { class: CSS.embed.header }, h("calcite-icon", { icon: "code", scale: this.scale }), h("span", null, (_c = (_b = this.messages) === null || _b === void 0 ? void 0 : _b.embed) === null || _c === void 0 ? void 0 : _c.label)), h("div", { class: CSS.embed.embedCode.container }, h("div", { class: CSS.embed.embedCode.textArea }, h("textarea", { ref: el => (this.embedCodeRef = el), cols: 30, rows: 5, readonly: true, class: textarea_RTL, value: this.getEmbedCode() }), h("button", { id: "copyEmbedToClipboard", onClick: this.copyEmbedCode.bind(this), class: CSS.embed.embedCode.copyButton }, h("calcite-icon", { icon: "copy", scale: this.scale }), h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.copy))), h("span", { class: CSS.embed.textAreaText }, h("slot", { name: "text-area-text" })), h("div", { class: CSS.embed.dimensions.container }, h("label", { class: CSS.embed.dimensions.input }, h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.width), h("input", { ref: el => (this.embedWidthRef = el), type: "number", onKeyDown: e => ['e', 'E', '+', '-'].includes(e.key) && e.preventDefault(), onChange: this.handleNumberInputOnChange('width'), value: this.embedWidth, min: "1" })), h("label", { class: CSS.embed.dimensions.input }, h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.height), h("input", { ref: el => (this.embedHeightRef = el), type: "number", onKeyDown: e => ['e', 'E', '+', '-'].includes(e.key) && e.preventDefault(), onChange: this.handleNumberInputOnChange('height'), value: this.embedHeight, min: "1" }))))));
2750
+ }
2751
+ handleNumberInputOnChange(type) {
2752
+ const ref = (type === 'width' ? this.embedWidthRef : this.embedHeightRef);
2753
+ const valType = type === 'width' ? 'embedWidth' : 'embedHeight';
2754
+ return () => {
2755
+ if (ref) {
2756
+ const value = parseFloat(ref.value);
2757
+ if (value <= 0) {
2758
+ this[valType] = parseInt(MIN_WIDTH_HEIGHT_VALUE);
2759
+ ref.value = MIN_WIDTH_HEIGHT_VALUE;
2760
+ }
2761
+ }
2762
+ };
2763
+ }
2764
+ togglePopover(event) {
2765
+ event.stopPropagation();
2766
+ this.opened = !this.opened;
2767
+ this.popoverRef.open = this.opened;
2768
+ }
2769
+ closePopover() {
2770
+ this.opened = false;
2771
+ this.popoverRef.open = this.opened;
2772
+ }
2773
+ async handleShareItem(type) {
2774
+ var _a, _b, _c, _d;
2775
+ this.shareUrl = await this.generateShareUrl();
2776
+ let shortenedUrl = null;
2777
+ // Detects Safari - If Safari, do not shorten URL due to Safari not allowing clipboard copy after network requests
2778
+ const isChrome = (_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.includes('Chrome')) !== null && _b !== void 0 ? _b : false;
2779
+ const isSafari = ((_d = (_c = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _c === void 0 ? void 0 : _c.includes('Safari')) !== null && _d !== void 0 ? _d : false) && !isChrome;
2780
+ if (!isSafari && this.shortenShareUrl) {
2781
+ shortenedUrl = await this.shortenUrl(this.shareUrl);
2782
+ }
2783
+ let urlToUse = shortenedUrl ? shortenedUrl : this.shareUrl;
2784
+ switch (type) {
2785
+ case 'link':
2786
+ navigator.clipboard.writeText(urlToUse);
2787
+ if (this.embed) {
2788
+ this.copyEmbedPopoverRef.open = false;
2789
+ this.inlineCopyEmbedOpened = false;
2790
+ }
2791
+ if (this.mode === 'inline') {
2792
+ this.copyLinkPopoverRef.open = true;
2793
+ setTimeout(() => (this.copyLinkPopoverRef.open = false), 3000);
2794
+ }
2795
+ this.inlineCopyLinkOpened = true;
2796
+ this.copied = true;
2797
+ if (this.mode === 'popover')
2798
+ setTimeout(() => this.closePopover(), 2000);
2799
+ return;
2800
+ case 'facebook':
2801
+ case 'x':
2802
+ case 'linkedIn':
2803
+ let socialWin;
2804
+ if (isSafari) {
2805
+ socialWin = window.open('', '_blank');
2806
+ if (this.shortenShareUrl) {
2807
+ urlToUse = (await this.shortenUrl(this.shareUrl)) || urlToUse;
2808
+ }
2809
+ }
2810
+ const urlData = {
2811
+ url: encodeURI(urlToUse),
2812
+ };
2813
+ const data = type === 'x' ? Object.assign(Object.assign({}, urlData), { text: this.shareText }) : urlData;
2814
+ const [intl] = await loadModules(['esri/intl']);
2815
+ const url = intl.substitute(SOCIAL_URL_TEMPLATES[type], data);
2816
+ if (this.mode === 'popover') {
2817
+ this.closePopover();
2818
+ }
2819
+ // With Safari, need to open new tab using the triggering event, so add shortened URL after opening.
2820
+ // Safari truncates URL without this approach.
2821
+ if (isSafari && socialWin) {
2822
+ socialWin.location = url;
2823
+ socialWin.focus();
2824
+ }
2825
+ else {
2826
+ window.open(encodeURI(url), '_blank');
2827
+ }
2828
+ return;
2829
+ }
2830
+ }
2831
+ async shortenUrl(url) {
2832
+ var _a, _b;
2833
+ const [esriRequest] = await loadModules(['esri/request']);
2834
+ const request = await esriRequest(SHORTEN_API, {
2835
+ query: {
2836
+ longUrl: url,
2837
+ f: 'json',
2838
+ },
2839
+ });
2840
+ const shortUrl = (_b = (_a = request === null || request === void 0 ? void 0 : request.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.url;
2841
+ if (shortUrl) {
2842
+ return shortUrl.replace('http://', 'https://');
2843
+ }
2844
+ }
2845
+ getEmbedCode() {
2846
+ return `<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`;
2847
+ }
2848
+ copyEmbedCode() {
2849
+ navigator.clipboard.writeText(this.getEmbedCode());
2850
+ this.copyLinkPopoverRef.open = false;
2851
+ this.inlineCopyLinkOpened = false;
2852
+ this.copyEmbedPopoverRef.open = true;
2853
+ setTimeout(() => (this.copyEmbedPopoverRef.open = false), 3000);
2854
+ this.inlineCopyEmbedOpened = true;
2855
+ }
2856
+ // VIEW LOGIC
2857
+ async generateShareUrl() {
2858
+ var _a;
2859
+ if (this.autoUpdateShareUrl) {
2860
+ // Update shareUrl--it may have changes since the component was loaded
2861
+ this.shareUrl = window.location.href;
2862
+ }
2863
+ // If view is not ready
2864
+ if (!this.view || !((_a = this.view) === null || _a === void 0 ? void 0 : _a.ready)) {
2865
+ return this.shareUrl;
2866
+ }
2867
+ // Use x/y values and the spatial reference of the view to instantiate a geometry point
2868
+ const { x, y } = this.view.center;
2869
+ const { spatialReference } = this.view;
2870
+ const [Point, SpatialReference] = await loadModules(['esri/geometry/Point', 'esri/geometry/SpatialReference']);
2871
+ const updatedSpatialReference = new SpatialReference(Object.assign({}, spatialReference.toJSON()));
2872
+ const centerPoint = new Point({
2873
+ x,
2874
+ y,
2875
+ spatialReference: updatedSpatialReference,
2876
+ });
2877
+ // Use pointToConvert to project point. Once projected, pass point to generate the share URL parameters
2878
+ const point = await this.processPoint(centerPoint);
2879
+ const { isWGS84, isWebMercator } = point.spatialReference;
2880
+ const isNotProjected = isWGS84 || isWebMercator;
2881
+ return this.generateShareUrlParams(point, isNotProjected);
2882
+ }
2883
+ async processPoint(point) {
2884
+ const { isWGS84, isWebMercator } = point.spatialReference;
2885
+ // If spatial reference is WGS84 or Web Mercator, use longitude/latitude values to generate the share URL parameters
2886
+ if (isWGS84 || isWebMercator) {
2887
+ return point;
2888
+ }
2889
+ const [SpatialReference, projection] = await loadModules(['esri/geometry/SpatialReference', 'esri/geometry/projection']);
2890
+ const outputSpatialReference = new SpatialReference({ wkid: 4326 });
2891
+ try {
2892
+ await projection.load();
2893
+ const projectedPoint = projection.project(point, outputSpatialReference);
2894
+ return Promise.resolve(projectedPoint);
2895
+ }
2896
+ catch (err) {
2897
+ console.error('Failed to project point', err);
2898
+ return Promise.reject(null);
2899
+ }
2900
+ }
2901
+ generateShareUrlParams(point, isNotProjected) {
2902
+ var _a, _b, _c, _d, _e;
2903
+ const { longitude, latitude, x, y } = point;
2904
+ if (longitude === undefined || latitude === undefined) {
2905
+ return this.shareUrl;
2906
+ }
2907
+ const roundedLon = this.roundValue(isNotProjected ? longitude : x);
2908
+ const roundedLat = this.roundValue(isNotProjected ? latitude : y);
2909
+ const { zoom } = this.view;
2910
+ const roundedZoom = this.roundValue(zoom);
2911
+ const graphic = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.popup) === null || _b === void 0 ? void 0 : _b.selectedFeature;
2912
+ const visible = (_d = (_c = this.view) === null || _c === void 0 ? void 0 : _c.popup) === null || _d === void 0 ? void 0 : _d.visible;
2913
+ let layerId;
2914
+ let oid;
2915
+ let hiddenLayers;
2916
+ if (graphic && visible && ((_e = graphic === null || graphic === void 0 ? void 0 : graphic.layer) === null || _e === void 0 ? void 0 : _e.type) === 'feature') {
2917
+ const featureLayer = graphic === null || graphic === void 0 ? void 0 : graphic.layer;
2918
+ layerId = featureLayer === null || featureLayer === void 0 ? void 0 : featureLayer.id;
2919
+ oid = graphic.attributes[featureLayer.objectIdField];
2920
+ hiddenLayers = this.view.map.allLayers
2921
+ .filter(layer => !layer.visible)
2922
+ .toArray()
2923
+ .map(featureLayer => featureLayer.id)
2924
+ .toString()
2925
+ .replaceAll(',', ';');
2926
+ }
2927
+ const { type } = this.view;
2928
+ const { defaultUrlParams } = this;
2929
+ const url = new URL(this.shareUrl);
2930
+ const { searchParams } = url;
2931
+ // Resets existing URL params
2932
+ if (searchParams.get('center'))
2933
+ searchParams.delete('center');
2934
+ if (searchParams.get('level'))
2935
+ searchParams.delete('level');
2936
+ if (searchParams.get('selectedFeature'))
2937
+ searchParams.delete('selectedFeature');
2938
+ if (searchParams.get('hiddenLayers'))
2939
+ searchParams.delete('hiddenLayers');
2940
+ if (searchParams.get('viewpoint'))
2941
+ searchParams.delete('viewpoint');
2942
+ // Checks if view.type is 3D, if so, set 3D url parameters
2943
+ if (type === '3d') {
2944
+ // viewpoint=cam:{camera.position.longitude},{camera.position.latitude},{camera.position.z};{camera.heading},{camera.tilt}
2945
+ const { camera } = this.view;
2946
+ const { heading, position, tilt } = camera;
2947
+ const { longitude, latitude, z } = position;
2948
+ const viewpoint_Values = {
2949
+ longitude: this.roundValue(longitude, 8),
2950
+ latitude: this.roundValue(latitude, 8),
2951
+ z: this.roundValue(z, 3),
2952
+ heading: this.roundValue(heading, 3),
2953
+ tilt: this.roundValue(tilt, 3),
2954
+ };
2955
+ const viewpointVal = `cam:${viewpoint_Values.longitude},${viewpoint_Values.latitude},${viewpoint_Values.z};${viewpoint_Values.heading},${viewpoint_Values.tilt}`;
2956
+ if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.viewpoint) !== false)
2957
+ url.searchParams.set('viewpoint', viewpointVal);
2958
+ if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
2959
+ url.searchParams.set('selectedFeature', `${layerId};${oid}`);
2960
+ if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
2961
+ url.searchParams.set('hiddenLayers', hiddenLayers);
2962
+ url.search = decodeURIComponent(url.search);
2963
+ return url.href;
2964
+ }
2965
+ // Otherwise, just return original url for 2D
2966
+ if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.center) !== false)
2967
+ url.searchParams.set('center', `${roundedLon};${roundedLat}`);
2968
+ if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.level) !== false)
2969
+ url.searchParams.set('level', `${roundedZoom}`);
2970
+ if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
2971
+ url.searchParams.set('selectedFeature', `${layerId};${oid}`);
2972
+ if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
2973
+ url.searchParams.set('hiddenLayers', hiddenLayers);
2974
+ url.search = decodeURIComponent(url.search);
2975
+ return url.href;
2976
+ }
2977
+ roundValue(val, decimalPoints = 4) {
2978
+ return parseFloat(val.toFixed(decimalPoints));
2979
+ }
2980
+ get el() { return getElement(this); }
2981
+ };
2982
+ InstantAppsSocialShare.style = InstantAppsSocialShareStyle0;
2983
+
2984
+ export { Block as calcite_block, DatePicker as calcite_date_picker, InputDatePicker as calcite_input_date_picker, InstantAppsFilterList as instant_apps_filter_list, InstantAppsSocialShare as instant_apps_social_share };