@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,2992 @@
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
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ const index = require('./index-696e53e6.js');
11
+ const conditionalSlot = require('./conditionalSlot-99fb1621.js');
12
+ const dom = require('./dom-1c78fa73.js');
13
+ const interactive = require('./interactive-34bc91a0.js');
14
+ const locale = require('./locale-73a540a5.js');
15
+ const t9n = require('./t9n-d347df79.js');
16
+ const Heading = require('./Heading-15954ee0.js');
17
+ const loadable = require('./loadable-53f1d561.js');
18
+ const openCloseComponent = require('./openCloseComponent-b85eabb5.js');
19
+ const date = require('./date-00fc3e5c.js');
20
+ const floatingUi = require('./floating-ui-d90077fa.js');
21
+ const form = require('./form-eea3b222.js');
22
+ const key = require('./key-7ed07912.js');
23
+ const label = require('./label-85cf6821.js');
24
+ const focusTrapComponent = require('./focusTrapComponent-0c672330.js');
25
+ const guid = require('./guid-a7528dfa.js');
26
+ const component = require('./component-d48747c9.js');
27
+ const Validation = require('./Validation-0ed2f4a3.js');
28
+ const loadModules = require('./loadModules-8567855e.js');
29
+ const locale$1 = require('./locale-1d07e942.js');
30
+ const mode = require('./mode-3478ba36.js');
31
+ require('./observers-a2648fc8.js');
32
+ require('./resources-1c0e54c1.js');
33
+ require('./browser-6137dfdf.js');
34
+ require('./debounce-7f1e04d6.js');
35
+ require('./esri-loader-08dc41bd.js');
36
+ require('./_commonjsHelpers-baf43783.js');
37
+ require('./languageUtil-a3e1eafd.js');
38
+
39
+ /*!
40
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
41
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
42
+ * v2.8.2
43
+ */
44
+ const IDS = {
45
+ content: "content",
46
+ toggle: "toggle",
47
+ header: "header",
48
+ };
49
+ const CSS$3 = {
50
+ button: "button",
51
+ container: "container",
52
+ content: "content",
53
+ controlContainer: "control-container",
54
+ description: "description",
55
+ header: "header",
56
+ headerContainer: "header-container",
57
+ heading: "heading",
58
+ icon: "icon",
59
+ invalid: "invalid",
60
+ statusIcon: "status-icon",
61
+ summary: "summary",
62
+ title: "title",
63
+ toggle: "toggle",
64
+ toggleIcon: "toggle-icon",
65
+ valid: "valid",
66
+ };
67
+ const SLOTS = {
68
+ icon: "icon",
69
+ control: "control",
70
+ headerMenuActions: "header-menu-actions",
71
+ };
72
+ const ICONS = {
73
+ opened: "chevron-up",
74
+ closed: "chevron-down",
75
+ valid: "check-circle",
76
+ invalid: "exclamation-mark-triangle",
77
+ };
78
+
79
+ 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}";
80
+ const CalciteBlockStyle0 = blockCss;
81
+
82
+ const Block = class {
83
+ constructor(hostRef) {
84
+ index.registerInstance(this, hostRef);
85
+ this.calciteBlockBeforeClose = index.createEvent(this, "calciteBlockBeforeClose", 6);
86
+ this.calciteBlockBeforeOpen = index.createEvent(this, "calciteBlockBeforeOpen", 6);
87
+ this.calciteBlockClose = index.createEvent(this, "calciteBlockClose", 6);
88
+ this.calciteBlockOpen = index.createEvent(this, "calciteBlockOpen", 6);
89
+ this.calciteBlockToggle = index.createEvent(this, "calciteBlockToggle", 6);
90
+ this.openTransitionProp = "opacity";
91
+ // --------------------------------------------------------------------------
92
+ //
93
+ // Private Methods
94
+ //
95
+ // --------------------------------------------------------------------------
96
+ this.onHeaderClick = () => {
97
+ this.open = !this.open;
98
+ this.calciteBlockToggle.emit();
99
+ };
100
+ this.setTransitionEl = (el) => {
101
+ this.transitionEl = el;
102
+ };
103
+ this.collapsible = false;
104
+ this.disabled = false;
105
+ this.dragHandle = false;
106
+ this.heading = undefined;
107
+ this.headingLevel = undefined;
108
+ this.loading = false;
109
+ this.open = false;
110
+ this.status = undefined;
111
+ this.description = undefined;
112
+ this.messages = undefined;
113
+ this.messageOverrides = undefined;
114
+ this.overlayPositioning = "absolute";
115
+ this.effectiveLocale = undefined;
116
+ this.defaultMessages = undefined;
117
+ }
118
+ openHandler() {
119
+ openCloseComponent.onToggleOpenCloseComponent(this);
120
+ }
121
+ onMessagesChange() {
122
+ /* wired up by t9n util */
123
+ }
124
+ //--------------------------------------------------------------------------
125
+ //
126
+ // Public Methods
127
+ //
128
+ //--------------------------------------------------------------------------
129
+ /**
130
+ * Sets focus on the component's first tabbable element.
131
+ *
132
+ */
133
+ async setFocus() {
134
+ await loadable.componentFocusable(this);
135
+ dom.focusFirstTabbable(this.el);
136
+ }
137
+ onBeforeOpen() {
138
+ this.calciteBlockBeforeOpen.emit();
139
+ }
140
+ onOpen() {
141
+ this.calciteBlockOpen.emit();
142
+ }
143
+ onBeforeClose() {
144
+ this.calciteBlockBeforeClose.emit();
145
+ }
146
+ onClose() {
147
+ this.calciteBlockClose.emit();
148
+ }
149
+ effectiveLocaleChange() {
150
+ t9n.updateMessages(this, this.effectiveLocale);
151
+ }
152
+ // --------------------------------------------------------------------------
153
+ //
154
+ // Lifecycle
155
+ //
156
+ // --------------------------------------------------------------------------
157
+ connectedCallback() {
158
+ conditionalSlot.connectConditionalSlotComponent(this);
159
+ interactive.connectInteractive(this);
160
+ locale.connectLocalized(this);
161
+ t9n.connectMessages(this);
162
+ }
163
+ disconnectedCallback() {
164
+ interactive.disconnectInteractive(this);
165
+ locale.disconnectLocalized(this);
166
+ t9n.disconnectMessages(this);
167
+ conditionalSlot.disconnectConditionalSlotComponent(this);
168
+ }
169
+ async componentWillLoad() {
170
+ await t9n.setUpMessages(this);
171
+ loadable.setUpLoadableComponent(this);
172
+ if (this.open) {
173
+ openCloseComponent.onToggleOpenCloseComponent(this);
174
+ }
175
+ }
176
+ componentDidLoad() {
177
+ loadable.setComponentLoaded(this);
178
+ }
179
+ componentDidRender() {
180
+ interactive.updateHostInteraction(this);
181
+ }
182
+ // --------------------------------------------------------------------------
183
+ //
184
+ // Render Methods
185
+ //
186
+ // --------------------------------------------------------------------------
187
+ renderScrim() {
188
+ const { loading } = this;
189
+ const defaultSlot = index.h("slot", null);
190
+ return [loading ? index.h("calcite-scrim", { loading: loading }) : null, defaultSlot];
191
+ }
192
+ renderIcon() {
193
+ const { loading, messages, status } = this;
194
+ const hasSlottedIcon = !!dom.getSlotted(this.el, SLOTS.icon);
195
+ return loading ? (index.h("div", { class: CSS$3.icon, key: "loader" }, index.h("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (index.h("div", { class: CSS$3.icon, key: "status-icon" }, index.h("calcite-icon", { class: {
196
+ [CSS$3.statusIcon]: true,
197
+ [CSS$3.valid]: status == "valid",
198
+ [CSS$3.invalid]: status == "invalid",
199
+ }, icon: ICONS[status], scale: "s" }))) : hasSlottedIcon ? (index.h("div", { class: CSS$3.icon, key: "icon-slot" }, index.h("slot", { key: "icon-slot", name: SLOTS.icon }))) : null;
200
+ }
201
+ renderTitle() {
202
+ const { heading, headingLevel, description } = this;
203
+ return heading || description ? (index.h("div", { class: CSS$3.title }, index.h(Heading.Heading, { class: CSS$3.heading, level: headingLevel }, heading), description ? index.h("div", { class: CSS$3.description }, description) : null)) : null;
204
+ }
205
+ render() {
206
+ const { collapsible, el, loading, open, heading, messages } = this;
207
+ const toggleLabel = open ? messages.collapse : messages.expand;
208
+ const headerContent = (index.h("header", { key: 'aefae50b975f87b21c9b37f7eae2df49062ee5f8', class: CSS$3.header, id: IDS.header }, this.renderIcon(), this.renderTitle()));
209
+ const hasControl = !!dom.getSlotted(el, SLOTS.control);
210
+ const hasMenuActions = !!dom.getSlotted(el, SLOTS.headerMenuActions);
211
+ const collapseIcon = open ? ICONS.opened : ICONS.closed;
212
+ const headerNode = (index.h("div", { key: 'f8c5ce075f5d83e483ee3d2d62fd187fd0987b30', class: CSS$3.headerContainer }, this.dragHandle ? index.h("calcite-handle", { label: heading }) : null, collapsible ? (index.h("button", { "aria-controls": IDS.content, "aria-describedby": IDS.header, "aria-expanded": collapsible ? dom.toAriaBoolean(open) : null, class: CSS$3.toggle, id: IDS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, index.h("calcite-icon", { "aria-hidden": "true", class: CSS$3.toggleIcon, icon: collapseIcon, scale: "s" }))) : (headerContent), hasControl ? (index.h("div", { class: CSS$3.controlContainer }, index.h("slot", { name: SLOTS.control }))) : null, hasMenuActions ? (index.h("calcite-action-menu", { label: messages.options, overlayPositioning: this.overlayPositioning }, index.h("slot", { name: SLOTS.headerMenuActions }))) : null));
213
+ return (index.h(index.Host, { key: '8e984813d8283475171ad0b58bb77c6671da394c' }, index.h(interactive.InteractiveContainer, { key: '9757aa3d3d51eeca2eece6b7fcf1ed2bdbc9d4eb', disabled: this.disabled }, index.h("article", { key: '6722572eb61cf147e473bd237bff74bafde0af56', "aria-busy": dom.toAriaBoolean(loading), class: {
214
+ [CSS$3.container]: true,
215
+ } }, headerNode, index.h("section", { key: '14a1118f4b8a7d3f8ddc063cbcd2ba062090973a', "aria-labelledby": IDS.toggle, class: CSS$3.content, hidden: !open, id: IDS.content,
216
+ // 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)
217
+ ref: this.setTransitionEl }, this.renderScrim())))));
218
+ }
219
+ static get assetsDirs() { return ["assets"]; }
220
+ get el() { return index.getElement(this); }
221
+ static get watchers() { return {
222
+ "open": ["openHandler"],
223
+ "messageOverrides": ["onMessagesChange"],
224
+ "effectiveLocale": ["effectiveLocaleChange"]
225
+ }; }
226
+ };
227
+ Block.style = CalciteBlockStyle0;
228
+
229
+ /*!
230
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
231
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
232
+ * v2.8.2
233
+ */
234
+ const HEADING_LEVEL = 2;
235
+ const DATE_PICKER_FORMAT_OPTIONS = { dateStyle: "full" };
236
+
237
+ /*!
238
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
239
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
240
+ * v2.8.2
241
+ */
242
+ /**
243
+ * CLDR cache.
244
+ * Exported for testing purposes.
245
+ *
246
+ * @private
247
+ */
248
+ const translationCache = {};
249
+ /**
250
+ * CLDR request cache.
251
+ * Exported for testing purposes.
252
+ *
253
+ * @private
254
+ */
255
+ const requestCache = {};
256
+ /**
257
+ * Fetch calendar data for a given locale from list of supported languages
258
+ *
259
+ * @param lang
260
+ * @public
261
+ */
262
+ async function getLocaleData(lang) {
263
+ const locale$1 = locale.getSupportedLocale(lang);
264
+ if (translationCache[locale$1]) {
265
+ return translationCache[locale$1];
266
+ }
267
+ if (!requestCache[locale$1]) {
268
+ requestCache[locale$1] = fetch(index.getAssetPath(`./assets/date-picker/nls/${locale$1}.json`))
269
+ .then((resp) => resp.json())
270
+ .catch(() => {
271
+ console.error(`Translations for "${locale$1}" not found or invalid, falling back to english`);
272
+ return getLocaleData("en");
273
+ });
274
+ }
275
+ const data = await requestCache[locale$1];
276
+ translationCache[locale$1] = data;
277
+ return data;
278
+ }
279
+ /**
280
+ * Maps value to valueAsDate
281
+ *
282
+ * @param value
283
+ */
284
+ function getValueAsDateRange(value) {
285
+ return value.map((v, index) => date.dateFromISO(v, index === 1));
286
+ }
287
+
288
+ 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}";
289
+ const CalciteDatePickerStyle0 = datePickerCss;
290
+
291
+ const DatePicker = class {
292
+ constructor(hostRef) {
293
+ index.registerInstance(this, hostRef);
294
+ this.calciteDatePickerChange = index.createEvent(this, "calciteDatePickerChange", 6);
295
+ this.calciteDatePickerRangeChange = index.createEvent(this, "calciteDatePickerRangeChange", 6);
296
+ //--------------------------------------------------------------------------
297
+ //
298
+ // Private Methods
299
+ //
300
+ //--------------------------------------------------------------------------
301
+ this.keyDownHandler = (event) => {
302
+ if (event.key === "Escape") {
303
+ this.resetActiveDates();
304
+ }
305
+ };
306
+ this.monthHeaderSelectChange = (event) => {
307
+ const date = new Date(event.detail);
308
+ if (!this.range) {
309
+ this.activeDate = date;
310
+ }
311
+ else {
312
+ if (this.activeRange === "end") {
313
+ this.activeEndDate = date;
314
+ }
315
+ else {
316
+ this.activeStartDate = date;
317
+ }
318
+ this.mostRecentRangeValue = date;
319
+ }
320
+ };
321
+ this.monthActiveDateChange = (event) => {
322
+ const date = new Date(event.detail);
323
+ if (!this.range) {
324
+ this.activeDate = date;
325
+ }
326
+ else {
327
+ if (this.activeRange === "end") {
328
+ this.activeEndDate = date;
329
+ }
330
+ else {
331
+ this.activeStartDate = date;
332
+ }
333
+ this.mostRecentRangeValue = date;
334
+ }
335
+ };
336
+ this.monthHoverChange = (event) => {
337
+ if (!this.range) {
338
+ this.hoverRange = undefined;
339
+ return;
340
+ }
341
+ const { valueAsDate } = this;
342
+ const start = Array.isArray(valueAsDate) && valueAsDate[0];
343
+ const end = Array.isArray(valueAsDate) && valueAsDate[1];
344
+ const date$1 = new Date(event.detail);
345
+ this.hoverRange = {
346
+ focused: this.activeRange || "start",
347
+ start,
348
+ end,
349
+ };
350
+ if (this.proximitySelectionDisabled) {
351
+ if ((end && start) || (!end && date$1 >= start)) {
352
+ this.hoverRange.focused = "end";
353
+ this.hoverRange.end = date$1;
354
+ }
355
+ else if (!end && date$1 < start) {
356
+ this.hoverRange = {
357
+ focused: "start",
358
+ start: date$1,
359
+ end: start,
360
+ };
361
+ }
362
+ else {
363
+ this.hoverRange = undefined;
364
+ }
365
+ }
366
+ else {
367
+ if (start && end) {
368
+ const startDiff = date.getDaysDiff(date$1, start);
369
+ const endDiff = date.getDaysDiff(date$1, end);
370
+ if (endDiff > 0) {
371
+ this.hoverRange.end = date$1;
372
+ this.hoverRange.focused = "end";
373
+ }
374
+ else if (startDiff < 0) {
375
+ this.hoverRange.start = date$1;
376
+ this.hoverRange.focused = "start";
377
+ }
378
+ else if (startDiff > endDiff) {
379
+ this.hoverRange.start = date$1;
380
+ this.hoverRange.focused = "start";
381
+ }
382
+ else {
383
+ this.hoverRange.end = date$1;
384
+ this.hoverRange.focused = "end";
385
+ }
386
+ }
387
+ else {
388
+ if (start) {
389
+ if (date$1 < start) {
390
+ this.hoverRange = {
391
+ focused: "start",
392
+ start: date$1,
393
+ end: start,
394
+ };
395
+ }
396
+ else {
397
+ this.hoverRange.end = date$1;
398
+ this.hoverRange.focused = "end";
399
+ }
400
+ }
401
+ }
402
+ }
403
+ event.stopPropagation();
404
+ };
405
+ this.monthMouseOutChange = () => {
406
+ if (this.hoverRange) {
407
+ this.hoverRange = undefined;
408
+ }
409
+ };
410
+ this.resetActiveDates = () => {
411
+ const { valueAsDate } = this;
412
+ if (!Array.isArray(valueAsDate) && valueAsDate && valueAsDate !== this.activeDate) {
413
+ this.activeDate = new Date(valueAsDate);
414
+ }
415
+ if (Array.isArray(valueAsDate)) {
416
+ if (valueAsDate[0] && valueAsDate[0] !== this.activeStartDate) {
417
+ this.activeStartDate = new Date(valueAsDate[0]);
418
+ }
419
+ if (valueAsDate[1] && valueAsDate[1] !== this.activeEndDate) {
420
+ this.activeEndDate = new Date(valueAsDate[1]);
421
+ }
422
+ }
423
+ };
424
+ /**
425
+ * Event handler for when the selected date changes
426
+ *
427
+ * @param event
428
+ */
429
+ this.monthDateChange = (event) => {
430
+ const date$1 = new Date(event.detail);
431
+ const isoDate = date.dateToISO(date$1);
432
+ if (!this.range && isoDate === date.dateToISO(this.valueAsDate)) {
433
+ return;
434
+ }
435
+ if (!this.range) {
436
+ this.value = isoDate || "";
437
+ this.valueAsDate = date$1 || null;
438
+ this.activeDate = date$1 || null;
439
+ this.calciteDatePickerChange.emit();
440
+ return;
441
+ }
442
+ const start = this.getStartDate();
443
+ const end = this.getEndDate();
444
+ if (!start || (!end && date$1 < start)) {
445
+ if (start) {
446
+ this.setEndDate(new Date(start));
447
+ }
448
+ if (this.activeRange == "end") {
449
+ this.setEndDate(date$1);
450
+ }
451
+ else {
452
+ this.setStartDate(date$1);
453
+ }
454
+ }
455
+ else if (!end) {
456
+ this.setEndDate(date$1);
457
+ }
458
+ else {
459
+ if (this.proximitySelectionDisabled) {
460
+ this.setStartDate(date$1);
461
+ this.setEndDate(null);
462
+ }
463
+ else {
464
+ if (this.activeRange) {
465
+ if (this.activeRange == "end") {
466
+ this.setEndDate(date$1);
467
+ }
468
+ else {
469
+ this.setStartDate(date$1);
470
+ }
471
+ }
472
+ else {
473
+ const startDiff = date.getDaysDiff(date$1, start);
474
+ const endDiff = date.getDaysDiff(date$1, end);
475
+ if (endDiff === 0 || startDiff < 0) {
476
+ this.setStartDate(date$1);
477
+ }
478
+ else if (startDiff === 0 || endDiff < 0) {
479
+ this.setEndDate(date$1);
480
+ }
481
+ else if (startDiff < endDiff) {
482
+ this.setStartDate(date$1);
483
+ }
484
+ else {
485
+ this.setEndDate(date$1);
486
+ }
487
+ }
488
+ }
489
+ }
490
+ this.calciteDatePickerChange.emit();
491
+ };
492
+ this.activeDate = undefined;
493
+ this.activeRange = undefined;
494
+ this.value = undefined;
495
+ this.headingLevel = undefined;
496
+ this.valueAsDate = undefined;
497
+ this.minAsDate = undefined;
498
+ this.maxAsDate = undefined;
499
+ this.min = undefined;
500
+ this.max = undefined;
501
+ this.numberingSystem = undefined;
502
+ this.scale = "m";
503
+ this.range = false;
504
+ this.proximitySelectionDisabled = false;
505
+ this.messageOverrides = undefined;
506
+ this.messages = undefined;
507
+ this.activeEndDate = undefined;
508
+ this.activeStartDate = undefined;
509
+ this.dateTimeFormat = undefined;
510
+ this.defaultMessages = undefined;
511
+ this.effectiveLocale = "";
512
+ this.endAsDate = undefined;
513
+ this.hoverRange = undefined;
514
+ this.localeData = undefined;
515
+ this.mostRecentRangeValue = undefined;
516
+ this.startAsDate = undefined;
517
+ }
518
+ activeDateWatcher(newActiveDate) {
519
+ if (this.activeRange === "end") {
520
+ this.activeEndDate = newActiveDate;
521
+ }
522
+ }
523
+ valueAsDateWatcher(newValueAsDate) {
524
+ if (this.range && Array.isArray(newValueAsDate)) {
525
+ const { activeStartDate, activeEndDate } = this;
526
+ const newActiveStartDate = newValueAsDate[0];
527
+ const newActiveEndDate = newValueAsDate[1];
528
+ this.activeStartDate = activeStartDate !== newActiveStartDate && newActiveStartDate;
529
+ this.activeEndDate = activeEndDate !== newActiveEndDate && newActiveEndDate;
530
+ }
531
+ else if (newValueAsDate && newValueAsDate !== this.activeDate) {
532
+ this.activeDate = newValueAsDate;
533
+ }
534
+ }
535
+ onMinChanged(min) {
536
+ if (min) {
537
+ this.minAsDate = date.dateFromISO(min);
538
+ }
539
+ }
540
+ onMaxChanged(max) {
541
+ if (max) {
542
+ this.maxAsDate = date.dateFromISO(max);
543
+ }
544
+ }
545
+ onMessagesChange() {
546
+ /* wired up by t9n util */
547
+ }
548
+ //--------------------------------------------------------------------------
549
+ //
550
+ // Public Methods
551
+ //
552
+ //--------------------------------------------------------------------------
553
+ /** Sets focus on the component's first focusable element. */
554
+ async setFocus() {
555
+ await loadable.componentFocusable(this);
556
+ this.el.focus();
557
+ }
558
+ /**
559
+ * Resets active date state.
560
+ * @internal
561
+ */
562
+ async reset() {
563
+ this.resetActiveDates();
564
+ this.mostRecentRangeValue = undefined;
565
+ }
566
+ // --------------------------------------------------------------------------
567
+ //
568
+ // Lifecycle
569
+ //
570
+ // --------------------------------------------------------------------------
571
+ connectedCallback() {
572
+ locale.connectLocalized(this);
573
+ t9n.connectMessages(this);
574
+ if (Array.isArray(this.value)) {
575
+ this.valueAsDate = getValueAsDateRange(this.value);
576
+ }
577
+ else if (this.value) {
578
+ this.valueAsDate = date.dateFromISO(this.value);
579
+ }
580
+ if (this.min) {
581
+ this.minAsDate = date.dateFromISO(this.min);
582
+ }
583
+ if (this.max) {
584
+ this.maxAsDate = date.dateFromISO(this.max);
585
+ }
586
+ }
587
+ disconnectedCallback() {
588
+ locale.disconnectLocalized(this);
589
+ t9n.disconnectMessages(this);
590
+ }
591
+ async componentWillLoad() {
592
+ loadable.setUpLoadableComponent(this);
593
+ await this.loadLocaleData();
594
+ this.onMinChanged(this.min);
595
+ this.onMaxChanged(this.max);
596
+ await t9n.setUpMessages(this);
597
+ }
598
+ componentDidLoad() {
599
+ loadable.setComponentLoaded(this);
600
+ }
601
+ render() {
602
+ var _a;
603
+ const date$1 = date.dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
604
+ let activeDate = this.getActiveDate(date$1, this.minAsDate, this.maxAsDate);
605
+ const endDate = this.range && Array.isArray(this.valueAsDate)
606
+ ? date.dateFromRange(this.valueAsDate[1], this.minAsDate, this.maxAsDate)
607
+ : null;
608
+ const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
609
+ if ((this.activeRange === "end" ||
610
+ (((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === "end" && (!this.proximitySelectionDisabled || endDate))) &&
611
+ activeEndDate) {
612
+ activeDate = activeEndDate;
613
+ }
614
+ if (this.range && this.mostRecentRangeValue) {
615
+ activeDate = this.mostRecentRangeValue;
616
+ }
617
+ const minDate = this.range && this.activeRange
618
+ ? this.activeRange === "start"
619
+ ? this.minAsDate
620
+ : date$1 || this.minAsDate
621
+ : this.minAsDate;
622
+ const maxDate = this.range && this.activeRange
623
+ ? this.activeRange === "start"
624
+ ? endDate || this.maxAsDate
625
+ : this.maxAsDate
626
+ : this.maxAsDate;
627
+ return (index.h(index.Host, { key: 'af94b669a3045e53c100cb5850381e9f77423133', onBlur: this.resetActiveDates, onKeyDown: this.keyDownHandler }, this.renderCalendar(activeDate, maxDate, minDate, date$1, endDate)));
628
+ }
629
+ effectiveLocaleChange() {
630
+ t9n.updateMessages(this, this.effectiveLocale);
631
+ }
632
+ valueHandler(value) {
633
+ if (Array.isArray(value)) {
634
+ this.valueAsDate = getValueAsDateRange(value);
635
+ }
636
+ else if (value) {
637
+ this.valueAsDate = date.dateFromISO(value);
638
+ }
639
+ }
640
+ async loadLocaleData() {
641
+ locale.numberStringFormatter.numberFormatOptions = {
642
+ numberingSystem: this.numberingSystem,
643
+ locale: this.effectiveLocale,
644
+ useGrouping: false,
645
+ };
646
+ this.localeData = await getLocaleData(this.effectiveLocale);
647
+ this.dateTimeFormat = locale.getDateTimeFormat(this.effectiveLocale, DATE_PICKER_FORMAT_OPTIONS);
648
+ }
649
+ /**
650
+ * Render calcite-date-picker-month-header and calcite-date-picker-month
651
+ *
652
+ * @param activeDate
653
+ * @param maxDate
654
+ * @param minDate
655
+ * @param date
656
+ * @param endDate
657
+ */
658
+ renderCalendar(activeDate, maxDate, minDate, date, endDate) {
659
+ return (this.localeData && [
660
+ index.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() }),
661
+ index.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 }),
662
+ ]);
663
+ }
664
+ getEndDate() {
665
+ return (Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined;
666
+ }
667
+ setEndDate(date$1) {
668
+ const startDate = this.getStartDate();
669
+ const newEndDate = date$1 ? date.setEndOfDay(date$1) : date$1;
670
+ this.value = [date.dateToISO(startDate), date.dateToISO(date$1)];
671
+ this.valueAsDate = [startDate, date$1];
672
+ this.mostRecentRangeValue = newEndDate;
673
+ this.calciteDatePickerRangeChange.emit();
674
+ this.activeEndDate = date$1 || null;
675
+ }
676
+ getStartDate() {
677
+ return Array.isArray(this.valueAsDate) && this.valueAsDate[0];
678
+ }
679
+ setStartDate(date$1) {
680
+ const endDate = this.getEndDate();
681
+ this.value = [date.dateToISO(date$1), date.dateToISO(endDate)];
682
+ this.valueAsDate = [date$1, endDate];
683
+ this.mostRecentRangeValue = date$1;
684
+ this.calciteDatePickerRangeChange.emit();
685
+ this.activeStartDate = date$1 || null;
686
+ }
687
+ /**
688
+ * Get an active date using the value, or current date as default
689
+ *
690
+ * @param value
691
+ * @param min
692
+ * @param max
693
+ */
694
+ getActiveDate(value, min, max) {
695
+ return date.dateFromRange(this.activeDate, min, max) || value || date.dateFromRange(new Date(), min, max);
696
+ }
697
+ getActiveEndDate(value, min, max) {
698
+ return (date.dateFromRange(this.activeEndDate, min, max) || value || date.dateFromRange(new Date(), min, max));
699
+ }
700
+ static get delegatesFocus() { return true; }
701
+ static get assetsDirs() { return ["assets"]; }
702
+ get el() { return index.getElement(this); }
703
+ static get watchers() { return {
704
+ "activeDate": ["activeDateWatcher"],
705
+ "valueAsDate": ["valueAsDateWatcher"],
706
+ "min": ["onMinChanged"],
707
+ "max": ["onMaxChanged"],
708
+ "messageOverrides": ["onMessagesChange"],
709
+ "effectiveLocale": ["effectiveLocaleChange", "loadLocaleData"],
710
+ "value": ["valueHandler"]
711
+ }; }
712
+ };
713
+ DatePicker.style = CalciteDatePickerStyle0;
714
+
715
+ /*!
716
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
717
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
718
+ * v2.8.2
719
+ */
720
+ /**
721
+ * Specifies if an ISO string date (YYYY-MM-DD) has two digit year.
722
+ *
723
+ * @param {string} value
724
+ * @returns {boolean}
725
+ */
726
+ function isTwoDigitYear(value) {
727
+ if (!value) {
728
+ return false;
729
+ }
730
+ const { year } = date.datePartsFromISO(value);
731
+ return Number(year) < 100;
732
+ }
733
+ /**
734
+ * Returns a normalized year to current century from a given two digit year number.
735
+ *
736
+ * @param {number} twoDigitYear
737
+ * @returns {string}
738
+ */
739
+ function normalizeToCurrentCentury(twoDigitYear) {
740
+ const currentYear = new Date().getFullYear();
741
+ const normalizedYear = Math.floor(currentYear / 100) * 100 + twoDigitYear;
742
+ return normalizedYear;
743
+ }
744
+
745
+ /*!
746
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
747
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
748
+ * v2.8.2
749
+ */
750
+ const CSS$2 = {
751
+ assistiveText: "assistive-text",
752
+ calendarWrapper: "calendar-wrapper",
753
+ calendarWrapperEnd: "calendar-wrapper--end",
754
+ horizontalArrowContainer: "horizontal-arrow-container",
755
+ inputBorderTopColorOne: "border-top-color-one",
756
+ inputContainer: "input-container",
757
+ inputNoBottomBorder: "no-bottom-border",
758
+ inputWrapper: "input-wrapper",
759
+ input: "input",
760
+ menu: "menu-container",
761
+ menuActive: "menu-container--active",
762
+ toggleIcon: "toggle-icon",
763
+ verticalArrowContainer: "vertical-arrow-container",
764
+ chevronIcon: "chevron-icon",
765
+ };
766
+
767
+ 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}";
768
+ const CalciteInputDatePickerStyle0 = inputDatePickerCss;
769
+
770
+ const InputDatePicker = class {
771
+ constructor(hostRef) {
772
+ index.registerInstance(this, hostRef);
773
+ this.calciteInputDatePickerChange = index.createEvent(this, "calciteInputDatePickerChange", 6);
774
+ this.calciteInputDatePickerBeforeClose = index.createEvent(this, "calciteInputDatePickerBeforeClose", 6);
775
+ this.calciteInputDatePickerClose = index.createEvent(this, "calciteInputDatePickerClose", 6);
776
+ this.calciteInputDatePickerBeforeOpen = index.createEvent(this, "calciteInputDatePickerBeforeOpen", 6);
777
+ this.calciteInputDatePickerOpen = index.createEvent(this, "calciteInputDatePickerOpen", 6);
778
+ this.calciteInternalInputInputHandler = (event) => {
779
+ const target = event.target;
780
+ const value = target.value;
781
+ const parsedValue = this.parseNumerals(value);
782
+ const formattedValue = this.formatNumerals(parsedValue);
783
+ target.value = formattedValue;
784
+ const { year } = date.datePartsFromLocalizedString(value, this.localeData);
785
+ if (year && year.length < 4) {
786
+ return;
787
+ }
788
+ const date$1 = date.dateFromLocalizedString(value, this.localeData);
789
+ if (date.inRange(date$1, this.min, this.max)) {
790
+ this.datePickerActiveDate = date$1;
791
+ }
792
+ };
793
+ this.calciteInternalInputBlurHandler = () => {
794
+ this.commitValue();
795
+ };
796
+ this.dialogId = `date-picker-dialog--${guid.guid()}`;
797
+ this.focusOnOpen = false;
798
+ this.userChangedValue = false;
799
+ this.openTransitionProp = "opacity";
800
+ this.valueAsDateChangedExternally = false;
801
+ this.placeholderTextId = `calcite-input-date-picker-placeholder-${guid.guid()}`;
802
+ //--------------------------------------------------------------------------
803
+ //
804
+ // Private Methods
805
+ //
806
+ //--------------------------------------------------------------------------
807
+ this.onInputWrapperPointerDown = () => {
808
+ this.currentOpenInput = this.focusedInput;
809
+ };
810
+ this.onInputWrapperClick = (event) => {
811
+ const { range, endInput, startInput, currentOpenInput } = this;
812
+ const currentTarget = event.currentTarget;
813
+ const position = currentTarget.getAttribute("data-position");
814
+ const path = event.composedPath();
815
+ const wasToggleClicked = path.find((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$2.toggleIcon); });
816
+ if (wasToggleClicked) {
817
+ const targetInput = position === "start" ? startInput : endInput;
818
+ targetInput.setFocus();
819
+ }
820
+ if (!range || !this.open || currentOpenInput === position) {
821
+ this.open = !this.open;
822
+ }
823
+ };
824
+ this.setFilteredPlacements = () => {
825
+ const { el, flipPlacements } = this;
826
+ this.filteredFlipPlacements = flipPlacements
827
+ ? floatingUi.filterComputedPlacements(flipPlacements, el)
828
+ : null;
829
+ };
830
+ this.setTransitionEl = (el) => {
831
+ this.transitionEl = el;
832
+ };
833
+ this.setStartInput = (el) => {
834
+ this.startInput = el;
835
+ };
836
+ this.setEndInput = (el) => {
837
+ this.endInput = el;
838
+ };
839
+ this.blurHandler = () => {
840
+ this.open = false;
841
+ };
842
+ this.keyDownHandler = (event) => {
843
+ var _a, _b;
844
+ const { defaultPrevented, key } = event;
845
+ if (defaultPrevented) {
846
+ return;
847
+ }
848
+ if (key === "Enter") {
849
+ event.preventDefault();
850
+ this.commitValue();
851
+ if (this.shouldFocusRangeEnd()) {
852
+ (_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
853
+ }
854
+ else if (this.shouldFocusRangeStart()) {
855
+ (_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
856
+ }
857
+ if (form.submitForm(this)) {
858
+ this.restoreInputFocus();
859
+ }
860
+ }
861
+ else if (key === "ArrowDown") {
862
+ this.open = true;
863
+ this.focusOnOpen = true;
864
+ event.preventDefault();
865
+ }
866
+ else if (key === "Escape") {
867
+ this.open = false;
868
+ event.preventDefault();
869
+ this.restoreInputFocus();
870
+ }
871
+ };
872
+ this.startInputFocus = () => {
873
+ this.focusedInput = "start";
874
+ };
875
+ this.endInputFocus = () => {
876
+ this.focusedInput = "end";
877
+ };
878
+ this.setFloatingEl = (el) => {
879
+ this.floatingEl = el;
880
+ floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl);
881
+ };
882
+ this.setStartWrapper = (el) => {
883
+ this.startWrapper = el;
884
+ this.setReferenceEl();
885
+ };
886
+ this.setEndWrapper = (el) => {
887
+ this.endWrapper = el;
888
+ this.setReferenceEl();
889
+ };
890
+ this.setDatePickerRef = (el) => {
891
+ this.datePickerEl = el;
892
+ focusTrapComponent.connectFocusTrap(this, {
893
+ focusTrapEl: el,
894
+ focusTrapOptions: {
895
+ initialFocus: false,
896
+ setReturnFocus: false,
897
+ },
898
+ });
899
+ };
900
+ /**
901
+ * Event handler for when the selected date changes
902
+ *
903
+ * @param event CalciteDatePicker custom change event
904
+ */
905
+ this.handleDateChange = (event) => {
906
+ if (this.range) {
907
+ return;
908
+ }
909
+ event.stopPropagation();
910
+ this.setValue(event.target.valueAsDate);
911
+ this.localizeInputValues();
912
+ this.restoreInputFocus();
913
+ };
914
+ this.handleDateRangeChange = (event) => {
915
+ if (!this.range) {
916
+ return;
917
+ }
918
+ event.stopPropagation();
919
+ const value = event.target.valueAsDate;
920
+ this.setRangeValue(value);
921
+ this.localizeInputValues();
922
+ this.restoreInputFocus();
923
+ };
924
+ this.setInputValue = (newValue, input = "start") => {
925
+ const inputEl = this[`${input}Input`];
926
+ if (!inputEl) {
927
+ return;
928
+ }
929
+ inputEl.value = newValue;
930
+ };
931
+ this.setRangeValue = (valueAsDate) => {
932
+ if (!this.range) {
933
+ return;
934
+ }
935
+ const { value: oldValue } = this;
936
+ const oldValueIsArray = Array.isArray(oldValue);
937
+ const valueIsArray = Array.isArray(valueAsDate);
938
+ const newStartDate = valueIsArray ? valueAsDate[0] : null;
939
+ let newStartDateISO = valueIsArray ? date.dateToISO(newStartDate) : "";
940
+ if (newStartDateISO) {
941
+ newStartDateISO = this.getNormalizedDate(newStartDateISO);
942
+ }
943
+ const newEndDate = valueIsArray ? valueAsDate[1] : null;
944
+ let newEndDateISO = valueIsArray ? date.dateToISO(newEndDate) : "";
945
+ if (newEndDateISO) {
946
+ newEndDateISO = this.getNormalizedDate(newEndDateISO);
947
+ }
948
+ const newValue = newStartDateISO || newEndDateISO ? [newStartDateISO, newEndDateISO] : "";
949
+ if (newValue === oldValue) {
950
+ return;
951
+ }
952
+ this.userChangedValue = true;
953
+ this.value = newValue;
954
+ this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
955
+ const changeEvent = this.calciteInputDatePickerChange.emit();
956
+ if (changeEvent && changeEvent.defaultPrevented) {
957
+ this.value = oldValue;
958
+ if (oldValueIsArray) {
959
+ this.setInputValue(oldValue[0], "start");
960
+ this.setInputValue(oldValue[1], "end");
961
+ }
962
+ else {
963
+ this.value = oldValue;
964
+ this.setInputValue(oldValue);
965
+ }
966
+ }
967
+ };
968
+ this.setValue = (value) => {
969
+ if (this.range) {
970
+ return;
971
+ }
972
+ const oldValue = this.value;
973
+ let newValue = date.dateToISO(value);
974
+ newValue = this.getNormalizedDate(newValue);
975
+ if (newValue === oldValue) {
976
+ return;
977
+ }
978
+ this.userChangedValue = true;
979
+ this.valueAsDate = newValue ? date.dateFromISO(newValue) : undefined;
980
+ this.value = newValue || "";
981
+ const changeEvent = this.calciteInputDatePickerChange.emit();
982
+ if (changeEvent.defaultPrevented) {
983
+ this.value = oldValue;
984
+ this.setInputValue(oldValue);
985
+ }
986
+ };
987
+ this.commonDateSeparators = [".", "-", "/"];
988
+ this.formatNumerals = (value) => value
989
+ ? value
990
+ .split("")
991
+ .map((char) => {
992
+ var _a, _b, _c;
993
+ return ((_a = this.commonDateSeparators) === null || _a === void 0 ? void 0 : _a.includes(char))
994
+ ? (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.separator
995
+ : (key.numberKeys === null || key.numberKeys === void 0 ? void 0 : key.numberKeys.includes(char))
996
+ ? (_c = locale.numberStringFormatter === null || locale.numberStringFormatter === void 0 ? void 0 : locale.numberStringFormatter.numberFormatter) === null || _c === void 0 ? void 0 : _c.format(Number(char))
997
+ : char;
998
+ })
999
+ .join("")
1000
+ : "";
1001
+ this.parseNumerals = (value) => value
1002
+ ? value
1003
+ .split("")
1004
+ .map((char) => key.numberKeys.includes(char) ? locale.numberStringFormatter.delocalize(char) : char)
1005
+ .join("")
1006
+ : "";
1007
+ this.disabled = false;
1008
+ this.focusTrapDisabled = false;
1009
+ this.form = undefined;
1010
+ this.readOnly = false;
1011
+ this.value = "";
1012
+ this.flipPlacements = undefined;
1013
+ this.headingLevel = undefined;
1014
+ this.valueAsDate = undefined;
1015
+ this.messageOverrides = undefined;
1016
+ this.messages = undefined;
1017
+ this.minAsDate = undefined;
1018
+ this.maxAsDate = undefined;
1019
+ this.min = undefined;
1020
+ this.max = undefined;
1021
+ this.open = false;
1022
+ this.validationMessage = undefined;
1023
+ this.validationIcon = undefined;
1024
+ this.validity = {
1025
+ valid: false,
1026
+ badInput: false,
1027
+ customError: false,
1028
+ patternMismatch: false,
1029
+ rangeOverflow: false,
1030
+ rangeUnderflow: false,
1031
+ stepMismatch: false,
1032
+ tooLong: false,
1033
+ tooShort: false,
1034
+ typeMismatch: false,
1035
+ valueMissing: false,
1036
+ };
1037
+ this.name = undefined;
1038
+ this.numberingSystem = undefined;
1039
+ this.scale = "m";
1040
+ this.status = "idle";
1041
+ this.placement = floatingUi.defaultMenuPlacement;
1042
+ this.range = false;
1043
+ this.required = false;
1044
+ this.overlayPositioning = "absolute";
1045
+ this.proximitySelectionDisabled = false;
1046
+ this.layout = "horizontal";
1047
+ this.datePickerActiveDate = undefined;
1048
+ this.defaultMessages = undefined;
1049
+ this.effectiveLocale = "";
1050
+ this.focusedInput = "start";
1051
+ this.localeData = undefined;
1052
+ }
1053
+ handleFocusTrapDisabled(focusTrapDisabled) {
1054
+ if (!this.open) {
1055
+ return;
1056
+ }
1057
+ focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
1058
+ }
1059
+ handleDisabledAndReadOnlyChange(value) {
1060
+ if (!value) {
1061
+ this.open = false;
1062
+ }
1063
+ }
1064
+ valueWatcher(newValue) {
1065
+ if (!this.userChangedValue) {
1066
+ let newValueAsDate;
1067
+ if (Array.isArray(newValue)) {
1068
+ newValueAsDate = getValueAsDateRange(newValue);
1069
+ }
1070
+ else if (newValue) {
1071
+ newValueAsDate = date.dateFromISO(newValue);
1072
+ }
1073
+ else {
1074
+ newValueAsDate = undefined;
1075
+ }
1076
+ if (!this.valueAsDateChangedExternally && newValueAsDate !== this.valueAsDate) {
1077
+ this.valueAsDate = newValueAsDate;
1078
+ }
1079
+ this.localizeInputValues();
1080
+ }
1081
+ this.userChangedValue = false;
1082
+ }
1083
+ valueAsDateWatcher(valueAsDate) {
1084
+ this.datePickerActiveDate = valueAsDate;
1085
+ const newValue = this.range && Array.isArray(valueAsDate)
1086
+ ? [date.dateToISO(valueAsDate[0]), date.dateToISO(valueAsDate[1])]
1087
+ : date.dateToISO(valueAsDate);
1088
+ if (this.value !== newValue) {
1089
+ this.valueAsDateChangedExternally = true;
1090
+ this.value = newValue;
1091
+ this.valueAsDateChangedExternally = false;
1092
+ }
1093
+ }
1094
+ flipPlacementsHandler() {
1095
+ this.setFilteredPlacements();
1096
+ this.reposition(true);
1097
+ }
1098
+ onMessagesChange() {
1099
+ /* wired up by t9n util */
1100
+ }
1101
+ onMinChanged(min) {
1102
+ if (min) {
1103
+ this.minAsDate = date.dateFromISO(min);
1104
+ }
1105
+ }
1106
+ onMaxChanged(max) {
1107
+ if (max) {
1108
+ this.maxAsDate = date.dateFromISO(max);
1109
+ }
1110
+ }
1111
+ openHandler() {
1112
+ openCloseComponent.onToggleOpenCloseComponent(this);
1113
+ if (this.disabled || this.readOnly) {
1114
+ this.open = false;
1115
+ return;
1116
+ }
1117
+ this.reposition(true);
1118
+ }
1119
+ overlayPositioningHandler() {
1120
+ this.reposition(true);
1121
+ }
1122
+ //--------------------------------------------------------------------------
1123
+ //
1124
+ // Event Listeners
1125
+ //
1126
+ //--------------------------------------------------------------------------
1127
+ calciteDaySelectHandler() {
1128
+ if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
1129
+ return;
1130
+ }
1131
+ this.open = false;
1132
+ }
1133
+ // --------------------------------------------------------------------------
1134
+ //
1135
+ // Public Methods
1136
+ //
1137
+ // --------------------------------------------------------------------------
1138
+ /** Sets focus on the component. */
1139
+ async setFocus() {
1140
+ await loadable.componentFocusable(this);
1141
+ this.el.focus();
1142
+ }
1143
+ /**
1144
+ * Updates the position of the component.
1145
+ *
1146
+ * @param delayed
1147
+ */
1148
+ async reposition(delayed = false) {
1149
+ const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
1150
+ return floatingUi.reposition(this, {
1151
+ floatingEl,
1152
+ referenceEl,
1153
+ overlayPositioning,
1154
+ placement,
1155
+ flipPlacements: filteredFlipPlacements,
1156
+ type: "menu",
1157
+ }, delayed);
1158
+ }
1159
+ // --------------------------------------------------------------------------
1160
+ //
1161
+ // Lifecycle
1162
+ //
1163
+ // --------------------------------------------------------------------------
1164
+ connectedCallback() {
1165
+ interactive.connectInteractive(this);
1166
+ locale.connectLocalized(this);
1167
+ const { open } = this;
1168
+ open && this.openHandler();
1169
+ if (Array.isArray(this.value)) {
1170
+ this.valueAsDate = getValueAsDateRange(this.value);
1171
+ }
1172
+ else if (this.value) {
1173
+ try {
1174
+ this.valueAsDate = date.dateFromISO(this.value);
1175
+ }
1176
+ catch (error) {
1177
+ this.warnAboutInvalidValue(this.value);
1178
+ this.value = "";
1179
+ }
1180
+ }
1181
+ else if (this.valueAsDate) {
1182
+ if (this.range) {
1183
+ this.setRangeValue(this.valueAsDate);
1184
+ }
1185
+ else if (!Array.isArray(this.valueAsDate)) {
1186
+ this.value = date.dateToISO(this.valueAsDate);
1187
+ }
1188
+ }
1189
+ if (this.min) {
1190
+ this.minAsDate = date.dateFromISO(this.min);
1191
+ }
1192
+ if (this.max) {
1193
+ this.maxAsDate = date.dateFromISO(this.max);
1194
+ }
1195
+ label.connectLabel(this);
1196
+ form.connectForm(this);
1197
+ t9n.connectMessages(this);
1198
+ this.setFilteredPlacements();
1199
+ locale.numberStringFormatter.numberFormatOptions = {
1200
+ numberingSystem: this.numberingSystem,
1201
+ locale: this.effectiveLocale,
1202
+ useGrouping: false,
1203
+ };
1204
+ if (this.open) {
1205
+ openCloseComponent.onToggleOpenCloseComponent(this);
1206
+ }
1207
+ floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl);
1208
+ }
1209
+ async componentWillLoad() {
1210
+ loadable.setUpLoadableComponent(this);
1211
+ await Promise.all([this.loadLocaleData(), t9n.setUpMessages(this)]);
1212
+ this.onMinChanged(this.min);
1213
+ this.onMaxChanged(this.max);
1214
+ }
1215
+ componentDidLoad() {
1216
+ loadable.setComponentLoaded(this);
1217
+ this.localizeInputValues();
1218
+ floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl);
1219
+ }
1220
+ disconnectedCallback() {
1221
+ focusTrapComponent.deactivateFocusTrap(this);
1222
+ interactive.disconnectInteractive(this);
1223
+ label.disconnectLabel(this);
1224
+ form.disconnectForm(this);
1225
+ floatingUi.disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
1226
+ locale.disconnectLocalized(this);
1227
+ t9n.disconnectMessages(this);
1228
+ }
1229
+ componentDidRender() {
1230
+ interactive.updateHostInteraction(this);
1231
+ }
1232
+ render() {
1233
+ var _a, _b, _c;
1234
+ const { disabled, effectiveLocale, messages, numberingSystem, readOnly } = this;
1235
+ locale.numberStringFormatter.numberFormatOptions = {
1236
+ numberingSystem,
1237
+ locale: effectiveLocale,
1238
+ useGrouping: false,
1239
+ };
1240
+ return (index.h(index.Host, { key: 'fd558a11028d7d967811f2a1236d46e82d45161b', onBlur: this.blurHandler, onKeyDown: this.keyDownHandler }, index.h(interactive.InteractiveContainer, { key: 'ebf90902c5f3056147f91ee4690e6e69ab452042', disabled: this.disabled }, this.localeData && (index.h("div", { key: '5e5cfbb9688e08aaf1e12b3527882ee3911d8e84', class: CSS$2.inputContainer }, index.h("div", { key: '63014b5695465c3a1b4fe54be6f036a1aa8393e8', class: CSS$2.inputWrapper, "data-position": "start", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
1241
+ // 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)
1242
+ ref: this.setStartWrapper }, index.h("calcite-input-text", { key: '5cfeff37fb1998954f4e17296f15fcf6b9ea10cd', "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": dom.toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
1243
+ [CSS$2.input]: true,
1244
+ [CSS$2.inputNoBottomBorder]: this.layout === "vertical" && this.range,
1245
+ }, 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,
1246
+ // 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)
1247
+ ref: this.setStartInput }), !this.readOnly &&
1248
+ this.renderToggleIcon(this.open && this.focusedInput === "start"), index.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)), index.h("div", { key: '87d96dd359485c1c192f63f694365f6767346207', "aria-hidden": dom.toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
1249
+ [CSS$2.menu]: true,
1250
+ [CSS$2.menuActive]: this.open,
1251
+ }, id: this.dialogId, role: "dialog",
1252
+ // 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)
1253
+ ref: this.setFloatingEl }, index.h("div", { key: '7bb0daff0e3017152b69a7bec09de23d96539749', class: {
1254
+ [CSS$2.calendarWrapper]: true,
1255
+ [CSS$2.calendarWrapperEnd]: this.focusedInput === "end",
1256
+ [floatingUi.FloatingCSS.animation]: true,
1257
+ [floatingUi.FloatingCSS.animationActive]: this.open,
1258
+ },
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.setTransitionEl }, index.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,
1261
+ // 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)
1262
+ ref: this.setDatePickerRef }))), this.range && this.layout === "horizontal" && (index.h("div", { key: '61b5787f2990d8143bf62da9e33e1253ab196a47', class: CSS$2.horizontalArrowContainer }, index.h("calcite-icon", { key: 'c665d2196d7cc71535ae1e352729ad7c3eb606e6', flipRtl: true, icon: "arrow-right", scale: component.getIconScale(this.scale) }))), this.range && this.layout === "vertical" && this.scale !== "s" && (index.h("div", { key: '3b5b05e60ad4dc6e866f2a2e3b8da8427e0d8769', class: CSS$2.verticalArrowContainer }, index.h("calcite-icon", { key: '395db3f34af565b7403ce50a1455833a43a86463', icon: "arrow-down", scale: component.getIconScale(this.scale) }))), this.range && (index.h("div", { key: '596548166a4798cbd04ee76938a5a5e8ae2a9081', class: CSS$2.inputWrapper, "data-position": "end", onClick: this.onInputWrapperClick, onPointerDown: this.onInputWrapperPointerDown,
1263
+ // 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)
1264
+ ref: this.setEndWrapper }, index.h("calcite-input-text", { key: '1d56b70f902730c20cd0d501d5ece75635bd503b', "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": dom.toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
1265
+ [CSS$2.input]: true,
1266
+ [CSS$2.inputBorderTopColorOne]: this.layout === "vertical" && this.range,
1267
+ }, 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,
1268
+ // 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)
1269
+ ref: this.setEndInput }), !this.readOnly &&
1270
+ this.renderToggleIcon(this.open && this.focusedInput === "end"))))), index.h(form.HiddenFormInputSlot, { key: '7f09766af52aaa2db452431301dfa55cd8af3a2e', component: this }), this.validationMessage && this.status === "invalid" ? (index.h(Validation.Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
1271
+ }
1272
+ renderToggleIcon(open) {
1273
+ return (
1274
+ // we set tab index to -1 to prevent delegatesFocus from stealing focus before we can set it
1275
+ index.h("span", { class: CSS$2.toggleIcon, tabIndex: -1 }, index.h("calcite-icon", { class: CSS$2.chevronIcon, icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
1276
+ }
1277
+ setReferenceEl() {
1278
+ const { focusedInput, layout, endWrapper, startWrapper } = this;
1279
+ this.referenceEl =
1280
+ focusedInput === "end" || layout === "vertical"
1281
+ ? endWrapper || startWrapper
1282
+ : startWrapper || endWrapper;
1283
+ requestAnimationFrame(() => floatingUi.connectFloatingUI(this, this.referenceEl, this.floatingEl));
1284
+ }
1285
+ onLabelClick() {
1286
+ this.setFocus();
1287
+ }
1288
+ onBeforeOpen() {
1289
+ this.calciteInputDatePickerBeforeOpen.emit();
1290
+ }
1291
+ onOpen() {
1292
+ focusTrapComponent.activateFocusTrap(this, {
1293
+ onActivate: () => {
1294
+ if (this.focusOnOpen) {
1295
+ this.datePickerEl.setFocus();
1296
+ this.focusOnOpen = false;
1297
+ }
1298
+ },
1299
+ });
1300
+ this.calciteInputDatePickerOpen.emit();
1301
+ }
1302
+ onBeforeClose() {
1303
+ this.calciteInputDatePickerBeforeClose.emit();
1304
+ }
1305
+ onClose() {
1306
+ this.calciteInputDatePickerClose.emit();
1307
+ focusTrapComponent.deactivateFocusTrap(this);
1308
+ this.restoreInputFocus();
1309
+ this.focusOnOpen = false;
1310
+ this.datePickerEl.reset();
1311
+ }
1312
+ commitValue() {
1313
+ const { focusedInput, value } = this;
1314
+ const focusedInputName = `${focusedInput}Input`;
1315
+ const focusedInputValue = this[focusedInputName].value;
1316
+ const date$1 = date.dateFromLocalizedString(focusedInputValue, this.localeData);
1317
+ const dateAsISO = date.dateToISO(date$1);
1318
+ const valueIsArray = Array.isArray(value);
1319
+ if (this.range) {
1320
+ const focusedInputValueIndex = focusedInput === "start" ? 0 : 1;
1321
+ if (valueIsArray) {
1322
+ if (dateAsISO === value[focusedInputValueIndex]) {
1323
+ return;
1324
+ }
1325
+ if (date$1) {
1326
+ this.setRangeValue([
1327
+ focusedInput === "start" ? date$1 : date.dateFromISO(value[0]),
1328
+ focusedInput === "end" ? date$1 : date.dateFromISO(value[1]),
1329
+ ]);
1330
+ this.localizeInputValues();
1331
+ }
1332
+ else {
1333
+ this.setRangeValue([
1334
+ focusedInput === "end" && date.dateFromISO(value[0]),
1335
+ focusedInput === "start" && date.dateFromISO(value[1]),
1336
+ ]);
1337
+ }
1338
+ }
1339
+ else {
1340
+ if (date$1) {
1341
+ this.setRangeValue([
1342
+ focusedInput === "start" ? date$1 : date.dateFromISO(value[0]),
1343
+ focusedInput === "end" ? date$1 : date.dateFromISO(value[1]),
1344
+ ]);
1345
+ this.localizeInputValues();
1346
+ }
1347
+ }
1348
+ }
1349
+ else {
1350
+ if (dateAsISO === value) {
1351
+ return;
1352
+ }
1353
+ this.setValue(date$1);
1354
+ this.localizeInputValues();
1355
+ }
1356
+ }
1357
+ async loadLocaleData() {
1358
+ locale.numberStringFormatter.numberFormatOptions = {
1359
+ numberingSystem: this.numberingSystem,
1360
+ locale: this.effectiveLocale,
1361
+ useGrouping: false,
1362
+ };
1363
+ this.localeData = await getLocaleData(this.effectiveLocale);
1364
+ this.localizeInputValues();
1365
+ }
1366
+ shouldFocusRangeStart() {
1367
+ const startValue = this.value[0];
1368
+ const endValue = this.value[1];
1369
+ return !!(endValue && !startValue && this.focusedInput === "end" && this.startInput);
1370
+ }
1371
+ shouldFocusRangeEnd() {
1372
+ const startValue = this.value[0];
1373
+ const endValue = this.value[1];
1374
+ return !!(startValue && !endValue && this.focusedInput === "start" && this.endInput);
1375
+ }
1376
+ restoreInputFocus() {
1377
+ if (!this.range) {
1378
+ this.startInput.setFocus();
1379
+ return;
1380
+ }
1381
+ const focusedInput = this.focusedInput === "start" ? this.startInput : this.endInput;
1382
+ focusedInput.setFocus();
1383
+ }
1384
+ localizeInputValues() {
1385
+ var _a;
1386
+ const date$1 = date.dateFromRange((this.range
1387
+ ? (Array.isArray(this.valueAsDate) && this.valueAsDate[0]) || undefined
1388
+ : this.valueAsDate), this.minAsDate, this.maxAsDate);
1389
+ const endDate = this.range
1390
+ ? date.dateFromRange((Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined, this.minAsDate, this.maxAsDate)
1391
+ : null;
1392
+ const formattingOptions = {
1393
+ // we explicitly set numberingSystem to prevent the browser-inferred value
1394
+ // see https://github.com/Esri/calcite-design-system/issues/3079#issuecomment-1168964195 for more info
1395
+ numberingSystem: locale.getSupportedNumberingSystem(this.numberingSystem),
1396
+ };
1397
+ const localizedDate = date$1 && date$1.toLocaleDateString(this.effectiveLocale, formattingOptions);
1398
+ const localizedEndDate = endDate && endDate.toLocaleDateString(this.effectiveLocale, formattingOptions);
1399
+ this.setInputValue(localizedDate !== null && localizedDate !== void 0 ? localizedDate : "", "start");
1400
+ this.setInputValue((_a = (this.range && localizedEndDate)) !== null && _a !== void 0 ? _a : "", "end");
1401
+ }
1402
+ warnAboutInvalidValue(value) {
1403
+ console.warn(`The specified value "${value}" does not conform to the required format, "YYYY-MM-DD".`);
1404
+ }
1405
+ getNormalizedDate(value) {
1406
+ if (!value) {
1407
+ return "";
1408
+ }
1409
+ if (!isTwoDigitYear(value)) {
1410
+ return value;
1411
+ }
1412
+ const { day, month, year } = date.datePartsFromISO(value);
1413
+ const normalizedYear = normalizeToCurrentCentury(Number(year));
1414
+ return `${normalizedYear}-${month}-${day}`;
1415
+ }
1416
+ static get delegatesFocus() { return true; }
1417
+ static get assetsDirs() { return ["assets"]; }
1418
+ get el() { return index.getElement(this); }
1419
+ static get watchers() { return {
1420
+ "focusTrapDisabled": ["handleFocusTrapDisabled"],
1421
+ "disabled": ["handleDisabledAndReadOnlyChange"],
1422
+ "readOnly": ["handleDisabledAndReadOnlyChange"],
1423
+ "value": ["valueWatcher"],
1424
+ "valueAsDate": ["valueAsDateWatcher"],
1425
+ "flipPlacements": ["flipPlacementsHandler"],
1426
+ "messageOverrides": ["onMessagesChange"],
1427
+ "min": ["onMinChanged"],
1428
+ "max": ["onMaxChanged"],
1429
+ "open": ["openHandler"],
1430
+ "overlayPositioning": ["overlayPositioningHandler"],
1431
+ "layout": ["setReferenceEl"],
1432
+ "focusedInput": ["setReferenceEl"],
1433
+ "effectiveLocale": ["loadLocaleData"]
1434
+ }; }
1435
+ };
1436
+ InputDatePicker.style = CalciteInputDatePickerStyle0;
1437
+
1438
+ const baseClassLight = 'instant-apps-filter-list calcite-mode-light';
1439
+ const baseClassDark = 'instant-apps-filter-list calcite-mode-dark';
1440
+ const supportedTypes = ['feature', 'geojson', 'wfs', 'csv', 'scene', 'subtype-group', 'point-cloud', 'map-image', 'sublayer'];
1441
+
1442
+ function handleSingleQuote(value) {
1443
+ return value.replaceAll("'", "''");
1444
+ }
1445
+ function convertToDate(date, includeTime = false) {
1446
+ if (date) {
1447
+ const tmpDate = new Date(date);
1448
+ const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
1449
+ if (includeTime) {
1450
+ const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
1451
+ return `${formattedDate} ${time}`;
1452
+ }
1453
+ else {
1454
+ return formattedDate;
1455
+ }
1456
+ }
1457
+ return;
1458
+ }
1459
+ function resetDatePicker(datePicker) {
1460
+ var _a;
1461
+ if (datePicker != null) {
1462
+ datePicker.value = ['', ''];
1463
+ const inputs = (_a = datePicker.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('calcite-input');
1464
+ if (inputs != null) {
1465
+ for (const input of inputs) {
1466
+ input.value = '';
1467
+ }
1468
+ }
1469
+ }
1470
+ }
1471
+
1472
+ 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}";
1473
+ const InstantAppsFilterListStyle0 = instantAppsFilterListCss;
1474
+
1475
+ const CSS$1 = {
1476
+ base: 'instant-apps-filter-list',
1477
+ filterContainer: 'instant-apps-filter-list__container',
1478
+ footer: 'instant-apps-filter-list__footer',
1479
+ filterItemTitle: 'instant-apps-filter-list__title',
1480
+ filterItemContainer: 'instant-apps-filter-list__item-container',
1481
+ filterUIItemContainer: 'instant-apps-filter-list__item-container--user-input',
1482
+ checkboxContainer: 'instant-apps-filter-list__checkbox-container',
1483
+ numberInputContainer: 'instant-apps-filter-list__number-input-container',
1484
+ dateInputContainer: 'instant-apps-filter-list__date-picker-input-container',
1485
+ operatorDesc: 'instant-apps-filter-list__operator-description',
1486
+ zoomTo: 'instant-apps-filter-list__zoom-to',
1487
+ };
1488
+ const InstantAppsFilterList = class {
1489
+ constructor(hostRef) {
1490
+ index.registerInstance(this, hostRef);
1491
+ this.filterListReset = index.createEvent(this, "filterListReset", 7);
1492
+ this.filterUpdate = index.createEvent(this, "filterUpdate", 7);
1493
+ this.layerExpressions = undefined;
1494
+ this.autoUpdateUrl = false;
1495
+ this.closeBtn = false;
1496
+ this.closeBtnOnClick = undefined;
1497
+ this.comboboxOverlayPositioning = 'absolute';
1498
+ this.closeBtnText = undefined;
1499
+ this.openFilters = false;
1500
+ this.extentSelector = false;
1501
+ this.extentSelectorConfig = undefined;
1502
+ this.urlParams = undefined;
1503
+ this.filterCount = 0;
1504
+ this.view = undefined;
1505
+ this.zoomBtn = true;
1506
+ this.loading = undefined;
1507
+ this.filterLayerExpressions = undefined;
1508
+ this.messages = undefined;
1509
+ this.baseClass = baseClassLight;
1510
+ this.disabled = true;
1511
+ this.hasLayerExpression = false;
1512
+ this.initDefExpressions = undefined;
1513
+ this.initMapImageExpressions = undefined;
1514
+ this.initPointCloudFilters = undefined;
1515
+ }
1516
+ watchViewHandler() {
1517
+ this.handleWhenView();
1518
+ }
1519
+ watchLayerExpressions() {
1520
+ if (!this.hasLayerExpression) {
1521
+ this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
1522
+ this.handleLayerExpressionsUpdate();
1523
+ this.hasLayerExpression = true;
1524
+ }
1525
+ }
1526
+ async componentWillLoad() {
1527
+ var _a;
1528
+ this.baseClass = mode.getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
1529
+ await this.initializeModules();
1530
+ locale$1.getMessages(this);
1531
+ this.hasLayerExpression = this.layerExpressions != null;
1532
+ this.filterLayerExpressions = this.layerExpressions != null ? JSON.parse(JSON.stringify(this.layerExpressions)) : undefined;
1533
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
1534
+ this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
1535
+ }
1536
+ componentShouldUpdate(newValue, _oldValue, name) {
1537
+ if (name === 'view' && newValue != null) {
1538
+ this.handleWhenView();
1539
+ }
1540
+ else if (name === 'layerExpressions') {
1541
+ if (this.hasLayerExpression) {
1542
+ this.resetAllFilters();
1543
+ }
1544
+ this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
1545
+ this.handleLayerExpressionsUpdate();
1546
+ this.hasLayerExpression = true;
1547
+ }
1548
+ }
1549
+ componentWillRender() {
1550
+ var _a;
1551
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0 ? undefined : true;
1552
+ }
1553
+ disconnectedCallback() {
1554
+ this.filterLayerExpressions = JSON.parse(JSON.stringify(this.layerExpressions));
1555
+ this.resetAllFilters();
1556
+ }
1557
+ async initializeModules() {
1558
+ const [intl, geometryJsonUtils, reactiveUtils] = await loadModules.loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
1559
+ this.geometryJsonUtils = geometryJsonUtils;
1560
+ this.reactiveUtils = reactiveUtils;
1561
+ this.locale = intl.getLocale();
1562
+ this.intl = intl;
1563
+ return Promise.resolve();
1564
+ }
1565
+ render() {
1566
+ const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
1567
+ const footer = this.closeBtn ? this.renderFullFooter() : this.renderFooter();
1568
+ return (index.h(index.Host, { key: '5548c6406452810de75b821ef07cd394fbf1dd06' }, index.h("calcite-panel", { key: '54b4a9bb11b500ae56f71ecbc9928b0e51337d50', class: this.baseClass, ref: el => (this.panelEl = el) }, index.h("slot", { key: '69ae0bcf9f347dc3b4813611c9edbb38eba8ee72', slot: "header-content", name: "filter-header-content" }), index.h("slot", { key: '5122cfc894077bd7dcffe8ec973e9d67293da43a', slot: "header-actions-end", name: "filter-header-actions-end" }), index.h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
1569
+ }
1570
+ renderLoading() {
1571
+ return index.h("calcite-loader", { label: "Loading filters..." });
1572
+ }
1573
+ renderFilter(layerExpression) {
1574
+ const { id } = layerExpression;
1575
+ return layerExpression.expressions.map((expression, index$1) => {
1576
+ return expression.type == 'checkbox' || expression.type == null ? (index.h("div", { key: `${id}-${index$1}`, class: CSS$1.filterItemContainer }, index.h("div", { class: CSS$1.filterItemTitle }, index.h("p", null, expression.name)), index.h("div", { class: CSS$1.checkboxContainer }, index.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));
1577
+ });
1578
+ }
1579
+ renderLayerBlock() {
1580
+ return this.filterLayerExpressions.map(layerExpression => {
1581
+ return this.renderFilterBlocks(layerExpression);
1582
+ });
1583
+ }
1584
+ renderFilterBlocks(layerExpression) {
1585
+ var _a;
1586
+ const filter = this.renderFilter(layerExpression);
1587
+ const { operator } = layerExpression;
1588
+ const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
1589
+ const zoomTo = this.renderZoomTo(layerExpression);
1590
+ return (index.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));
1591
+ }
1592
+ renderCombobox(layerExpression, expression) {
1593
+ var _a;
1594
+ return (index.h("label", { key: "combo-select", class: CSS$1.filterUIItemContainer }, index.h("span", null, expression.name), index.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)))));
1595
+ }
1596
+ renderComboboxItem(expression, value, index$1) {
1597
+ var _a;
1598
+ const label = this.createLabel(expression, value);
1599
+ const selectedFields = expression === null || expression === void 0 ? void 0 : expression.selectedFields;
1600
+ const selected = (_a = selectedFields === null || selectedFields === void 0 ? void 0 : selectedFields.includes(value)) !== null && _a !== void 0 ? _a : false;
1601
+ return index.h("calcite-combobox-item", { key: `${label}-${index$1}`, value: value, textLabel: `${label}`, selected: selected });
1602
+ }
1603
+ initFilterConfig() {
1604
+ var _a, _b;
1605
+ if (((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) > 0) {
1606
+ if (this.filterLayerExpressions.length === 1) {
1607
+ const { operator } = this.filterLayerExpressions[0];
1608
+ const operatorTranslation = (operator === null || operator === void 0 ? void 0 : operator.trim()) === 'OR' ? 'orOperator' : 'andOperator';
1609
+ const zoomTo = this.renderZoomTo(this.filterLayerExpressions[0]);
1610
+ return (index.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])));
1611
+ }
1612
+ else if (this.filterLayerExpressions.length > 1) {
1613
+ return this.renderLayerBlock();
1614
+ }
1615
+ }
1616
+ return;
1617
+ }
1618
+ renderNumberSlider(layerExpression, expression) {
1619
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1620
+ const min = expression === null || expression === void 0 ? void 0 : expression.min;
1621
+ const max = expression === null || expression === void 0 ? void 0 : expression.max;
1622
+ const step = (expression === null || expression === void 0 ? void 0 : expression.step) ? expression.step : 1;
1623
+ const check = min != null && max != null;
1624
+ const field = (_a = expression === null || expression === void 0 ? void 0 : expression.field) !== null && _a !== void 0 ? _a : '';
1625
+ 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;
1626
+ 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;
1627
+ const value = [minValue, maxValue];
1628
+ return check ? (index.h("label", { key: expression === null || expression === void 0 ? void 0 : expression.id.toString(), class: CSS$1.filterUIItemContainer }, index.h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), index.h("div", { class: CSS$1.numberInputContainer }, index.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;
1629
+ }
1630
+ renderDatePicker(layerExpression, expression) {
1631
+ var _a, _b, _c, _d;
1632
+ const { min, max } = expression;
1633
+ 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];
1634
+ const check = min != null && max != null;
1635
+ return check ? (index.h("label", { class: CSS$1.filterUIItemContainer }, index.h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), index.h("div", { class: CSS$1.dateInputContainer }, index.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 }), index.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;
1636
+ }
1637
+ renderFooter() {
1638
+ var _a;
1639
+ return (index.h("div", { class: CSS$1.footer, slot: "footer" }, index.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)));
1640
+ }
1641
+ renderFullFooter() {
1642
+ var _a, _b, _c;
1643
+ const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
1644
+ return (index.h("div", { class: CSS$1.footer, slot: "footer" }, index.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), index.h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)));
1645
+ }
1646
+ renderZoomTo(layerExpression) {
1647
+ var _a;
1648
+ const id = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `zoom-to-${layerExpression.id}`;
1649
+ return this.zoomBtn ? (index.h("div", { class: CSS$1.zoomTo }, index.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;
1650
+ }
1651
+ handleResetDatePicker(expression, layerExpression) {
1652
+ const datePicker = this.panelEl.querySelector(`[id='${expression.id}']`);
1653
+ resetDatePicker(datePicker);
1654
+ expression.active = false;
1655
+ expression.definitionExpression = undefined;
1656
+ expression.range = undefined;
1657
+ this.generateOutput(layerExpression);
1658
+ }
1659
+ initInput(layerExpression, expression) {
1660
+ const { type } = expression;
1661
+ if (type === 'string' || type == 'coded-value') {
1662
+ return this.renderCombobox(layerExpression, expression);
1663
+ }
1664
+ else if (type === 'number' || type == 'range') {
1665
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1666
+ return this.renderCombobox(layerExpression, expression);
1667
+ }
1668
+ return this.renderNumberSlider(layerExpression, expression);
1669
+ }
1670
+ else if (type === 'date') {
1671
+ if ((expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1672
+ return this.renderCombobox(layerExpression, expression);
1673
+ }
1674
+ return this.renderDatePicker(layerExpression, expression);
1675
+ }
1676
+ return;
1677
+ }
1678
+ async initExpressions() {
1679
+ this.loading = true;
1680
+ if (this.filterLayerExpressions == null)
1681
+ return;
1682
+ const tmpLE = this.filterLayerExpressions;
1683
+ for (let i = 0; i < (tmpLE === null || tmpLE === void 0 ? void 0 : tmpLE.length); i++) {
1684
+ const expressions = tmpLE[i].expressions;
1685
+ for (let j = 0; j < (expressions === null || expressions === void 0 ? void 0 : expressions.length); j++) {
1686
+ if (expressions[j].active == null && expressions[j].definitionExpression != null) {
1687
+ expressions[j].active = false;
1688
+ }
1689
+ await this.setInitExpression(tmpLE[i], expressions[j]);
1690
+ }
1691
+ }
1692
+ this.loading = false;
1693
+ this.filterLayerExpressions = [...tmpLE];
1694
+ }
1695
+ handleResetFilter() {
1696
+ var _a;
1697
+ (_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
1698
+ var _a;
1699
+ (_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
1700
+ const { type } = expression;
1701
+ if (type === 'string' || type === 'coded-value') {
1702
+ this.resetCombobox(expression);
1703
+ }
1704
+ else if (type === 'date') {
1705
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1706
+ this.resetCombobox(expression);
1707
+ }
1708
+ else {
1709
+ this.resetDatePicker(expression);
1710
+ }
1711
+ }
1712
+ else if (type === 'number' || type === 'range') {
1713
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1714
+ this.resetCombobox(expression);
1715
+ }
1716
+ else {
1717
+ this.resetNumberRange(expression);
1718
+ }
1719
+ }
1720
+ else {
1721
+ this.resetCheckbox(expression);
1722
+ }
1723
+ expression.active = false;
1724
+ });
1725
+ });
1726
+ this.resetAllFilters();
1727
+ this.generateURLParams();
1728
+ this.filterListReset.emit();
1729
+ }
1730
+ resetCombobox(expression) {
1731
+ const { id } = expression;
1732
+ expression.selectedFields = undefined;
1733
+ const combobox = this.panelEl.querySelector(`[id='${id}']`);
1734
+ if (combobox != null) {
1735
+ for (let i = 0; i < combobox.children.length; i++) {
1736
+ const comboboxItem = combobox.children[i];
1737
+ comboboxItem.selected = false;
1738
+ }
1739
+ }
1740
+ }
1741
+ resetDatePicker(expression) {
1742
+ const { id } = expression;
1743
+ expression.range = undefined;
1744
+ const datePicker = this.panelEl.querySelector(`[id='${id}']`);
1745
+ resetDatePicker(datePicker);
1746
+ }
1747
+ resetNumberRange(expression) {
1748
+ expression.range = undefined;
1749
+ const { id, max, min } = expression;
1750
+ const slider = this.panelEl.querySelector(`[id='${id}']`);
1751
+ if (slider != null) {
1752
+ slider.minValue = min;
1753
+ slider.maxValue = max;
1754
+ }
1755
+ }
1756
+ resetCheckbox(expression) {
1757
+ const { id } = expression;
1758
+ const checkbox = this.panelEl.querySelector(`[id='${id}']`);
1759
+ if (checkbox != null) {
1760
+ checkbox.checked = false;
1761
+ }
1762
+ }
1763
+ resetAllFilters() {
1764
+ var _a, _b, _c, _d, _e;
1765
+ 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);
1766
+ allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
1767
+ var _a, _b;
1768
+ if (supportedTypes.includes(layer.type)) {
1769
+ const fl = layer;
1770
+ if (fl.type === 'point-cloud') {
1771
+ fl.filters = (_a = this.initPointCloudFilters) === null || _a === void 0 ? void 0 : _a[fl.id];
1772
+ }
1773
+ else if (fl.type === 'map-image') {
1774
+ fl.allSublayers.forEach(sublayer => {
1775
+ var _a, _b;
1776
+ sublayer.definitionExpression = (_b = (_a = this.initMapImageExpressions) === null || _a === void 0 ? void 0 : _a[fl.id]) === null || _b === void 0 ? void 0 : _b[sublayer.id];
1777
+ });
1778
+ }
1779
+ else {
1780
+ fl.definitionExpression = (_b = this.initDefExpressions) === null || _b === void 0 ? void 0 : _b[fl.id];
1781
+ }
1782
+ }
1783
+ });
1784
+ }
1785
+ async updateStringExpression(layerExpression, expression) {
1786
+ const { field, type } = expression;
1787
+ const layer = this.findFilterLayer(layerExpression);
1788
+ expression.fields = await this.getFeatureAttributes(layer, field);
1789
+ if (type === 'date') {
1790
+ const layerField = layer.fields.find(({ name }) => name === field);
1791
+ if ((layerField === null || layerField === void 0 ? void 0 : layerField.type) === 'date-only') {
1792
+ expression.dateOnly = true;
1793
+ }
1794
+ }
1795
+ if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
1796
+ const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
1797
+ expression.definitionExpression = `${field} IN (${selectedFields.join(',')})`;
1798
+ return Promise.resolve(true);
1799
+ }
1800
+ return Promise.resolve(false);
1801
+ }
1802
+ async updateNumberExpression(layerExpression, expression) {
1803
+ var _a, _b;
1804
+ 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)) {
1805
+ const layer = this.findFilterLayer(layerExpression);
1806
+ const { field } = expression;
1807
+ if (field != null) {
1808
+ this.setExpressionFormat(layer, expression, field);
1809
+ if ((expression === null || expression === void 0 ? void 0 : expression.numDisplayOption) === 'drop-down' || (expression === null || expression === void 0 ? void 0 : expression.displayOption) === 'drop-down') {
1810
+ const fields = (await this.getFeatureAttributes(layer, field));
1811
+ fields.sort((a, b) => a - b);
1812
+ expression.fields = fields;
1813
+ }
1814
+ else {
1815
+ const graphic = await this.calculateMinMaxStatistics(layer, field);
1816
+ const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
1817
+ if (((_b = expression.format) === null || _b === void 0 ? void 0 : _b.places) != null) {
1818
+ expression.min = this.roundMinNumberDown(attributes[`min${field}`], expression.format.places);
1819
+ expression.max = this.roundMaxNumberUp(attributes[`max${field}`], expression.format.places);
1820
+ }
1821
+ else {
1822
+ expression.min = attributes[`min${field}`];
1823
+ expression.max = attributes[`max${field}`];
1824
+ }
1825
+ if ((expression === null || expression === void 0 ? void 0 : expression.range) && Object.keys(expression.range).length) {
1826
+ const { min, max } = expression.range;
1827
+ expression.definitionExpression = `${expression.field} BETWEEN ${min} AND ${max}`;
1828
+ return true;
1829
+ }
1830
+ }
1831
+ }
1832
+ }
1833
+ return false;
1834
+ }
1835
+ async updateDateExpression(layerExpression, expression) {
1836
+ var _a;
1837
+ const { field, range } = expression;
1838
+ const layer = this.findFilterLayer(layerExpression);
1839
+ const graphic = await this.calculateMinMaxStatistics(layer, field);
1840
+ const attributes = (_a = graphic === null || graphic === void 0 ? void 0 : graphic[0]) === null || _a === void 0 ? void 0 : _a.attributes;
1841
+ expression.min = convertToDate(attributes[`min${field}`]);
1842
+ expression.max = convertToDate(attributes[`max${field}`]);
1843
+ if (range != null && ((range === null || range === void 0 ? void 0 : range.max) != null || (range === null || range === void 0 ? void 0 : range.min) != null)) {
1844
+ let { min, max } = range;
1845
+ min = min === null || min === void 0 ? void 0 : min.replace('+', ' ');
1846
+ max = max === null || max === void 0 ? void 0 : max.replace('+', ' ');
1847
+ if (min || max) {
1848
+ const chevron = max && !min ? '<' : !max && min ? '>' : null;
1849
+ if (chevron) {
1850
+ expression.definitionExpression = `${field} ${chevron} '${min !== null && min !== void 0 ? min : max}'`;
1851
+ }
1852
+ else {
1853
+ expression.definitionExpression = `${field} BETWEEN '${min}' AND '${max}'`;
1854
+ }
1855
+ return true;
1856
+ }
1857
+ }
1858
+ return false;
1859
+ }
1860
+ updateCodedValueExpression(expression, layerField) {
1861
+ var _a;
1862
+ const { field } = expression;
1863
+ const fields = [];
1864
+ expression.codedValues = {};
1865
+ const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
1866
+ (_a = domain === null || domain === void 0 ? void 0 : domain.codedValues) === null || _a === void 0 ? void 0 : _a.forEach(cv => {
1867
+ const { code, name } = cv;
1868
+ fields.push(code);
1869
+ if (expression.codedValues != null) {
1870
+ expression.codedValues[code] = name;
1871
+ }
1872
+ });
1873
+ expression.fields = fields;
1874
+ if (expression === null || expression === void 0 ? void 0 : expression.selectedFields) {
1875
+ const selectedFields = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`));
1876
+ const definitionExpression = `${field} IN (${selectedFields.join(',')})`;
1877
+ expression.definitionExpression = definitionExpression;
1878
+ return true;
1879
+ }
1880
+ return false;
1881
+ }
1882
+ updateRangeExpression(expression, layerField) {
1883
+ const { field, range } = expression;
1884
+ const domain = layerField === null || layerField === void 0 ? void 0 : layerField.domain;
1885
+ expression.min = domain === null || domain === void 0 ? void 0 : domain.minValue;
1886
+ expression.max = domain === null || domain === void 0 ? void 0 : domain.maxValue;
1887
+ if (range && Object.keys(range).length) {
1888
+ const { min, max } = range;
1889
+ const definitionExpression = `${field} BETWEEN ${min} AND ${max}`;
1890
+ expression.definitionExpression = definitionExpression;
1891
+ return true;
1892
+ }
1893
+ return false;
1894
+ }
1895
+ async getFeatureAttributes(layer, field) {
1896
+ var _a, _b, _c;
1897
+ if (layer && supportedTypes.includes(layer.type)) {
1898
+ const query = layer.createQuery();
1899
+ 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']) {
1900
+ query.cacheHint = true;
1901
+ }
1902
+ if (field) {
1903
+ const initDefExpr = this.getInitDefExprFromLayer(layer);
1904
+ query.where = initDefExpr || '1=1';
1905
+ query.outFields = [field];
1906
+ query.orderByFields = [`${field} DESC`];
1907
+ query.returnDistinctValues = true;
1908
+ query.returnGeometry = false;
1909
+ query.maxRecordCountFactor = 3;
1910
+ if (this.extentSelector && this.extentSelectorConfig) {
1911
+ const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
1912
+ if (geo != null)
1913
+ query.geometry = geo;
1914
+ query.spatialRelationship = 'intersects';
1915
+ }
1916
+ return (_c = (await this.queryForFeatures(layer, query, field))) === null || _c === void 0 ? void 0 : _c.sort();
1917
+ }
1918
+ }
1919
+ return [];
1920
+ }
1921
+ async queryForFeatures(layer, query, field) {
1922
+ const results = await layer.queryFeatures(query);
1923
+ 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]; });
1924
+ 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]; });
1925
+ }
1926
+ async calculateMinMaxStatistics(layer, field) {
1927
+ var _a, _b;
1928
+ if (layer && supportedTypes.includes(layer.type)) {
1929
+ const query = layer.createQuery();
1930
+ let initDefExpr = this.getInitDefExprFromLayer(layer);
1931
+ query.where = initDefExpr || '1=1';
1932
+ 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) {
1933
+ query.cacheHint = true;
1934
+ }
1935
+ if (field) {
1936
+ const tmp = [
1937
+ {
1938
+ onStatisticField: field,
1939
+ outStatisticFieldName: `max${field}`,
1940
+ statisticType: 'max',
1941
+ },
1942
+ {
1943
+ onStatisticField: field,
1944
+ outStatisticFieldName: `min${field}`,
1945
+ statisticType: 'min',
1946
+ },
1947
+ ];
1948
+ query.outStatistics = tmp;
1949
+ if (this.extentSelector && this.extentSelectorConfig) {
1950
+ const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
1951
+ if (geo != null) {
1952
+ query.geometry = geo;
1953
+ }
1954
+ query.spatialRelationship = 'intersects';
1955
+ }
1956
+ const results = await layer.queryFeatures(query);
1957
+ return results === null || results === void 0 ? void 0 : results.features;
1958
+ }
1959
+ }
1960
+ return [];
1961
+ }
1962
+ getExtent(extentSelector, extentSelectorConfig) {
1963
+ if (extentSelector && extentSelectorConfig) {
1964
+ const { constraints } = extentSelectorConfig;
1965
+ let newConstraints = Object.assign({}, constraints);
1966
+ const geometry = newConstraints === null || newConstraints === void 0 ? void 0 : newConstraints.geometry;
1967
+ if (geometry) {
1968
+ const tmpExtent = 'extent' in geometry ? geometry : this.geometryJsonUtils.fromJSON(geometry);
1969
+ if ((tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'extent' || (tmpExtent === null || tmpExtent === void 0 ? void 0 : tmpExtent.type) === 'polygon') {
1970
+ return tmpExtent;
1971
+ }
1972
+ }
1973
+ }
1974
+ return;
1975
+ }
1976
+ setInitExpression(layerExpression, expression) {
1977
+ if (expression.field && expression.type) {
1978
+ const filterLayer = this.findFilterLayer(layerExpression);
1979
+ if (filterLayer == null) {
1980
+ return Promise.resolve();
1981
+ }
1982
+ if (filterLayer.loadStatus === 'not-loaded' || filterLayer.loadStatus === 'failed') {
1983
+ filterLayer.load();
1984
+ }
1985
+ return filterLayer.when(async () => {
1986
+ var _a, _b;
1987
+ const layerField = (_a = filterLayer.fields) === null || _a === void 0 ? void 0 : _a.find(({ name }) => name === expression.field);
1988
+ const domainType = (_b = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _b === void 0 ? void 0 : _b.type;
1989
+ expression.type = domainType === 'coded-value' || domainType === 'range' ? domainType : expression.type;
1990
+ await this.updateExpression(layerExpression, expression, layerField);
1991
+ });
1992
+ }
1993
+ else {
1994
+ this.updateExpression(layerExpression, expression, undefined);
1995
+ return Promise.resolve();
1996
+ }
1997
+ }
1998
+ async updateExpression(layerExpression, expression, layerField) {
1999
+ let update = false;
2000
+ const { type } = expression;
2001
+ if (type === 'string') {
2002
+ update = await this.updateStringExpression(layerExpression, expression);
2003
+ }
2004
+ else if (type === 'number') {
2005
+ update = await this.updateNumberExpression(layerExpression, expression);
2006
+ }
2007
+ else if (type === 'date') {
2008
+ if (expression.displayOption === 'drop-down') {
2009
+ update = await this.updateStringExpression(layerExpression, expression);
2010
+ }
2011
+ else {
2012
+ update = await this.updateDateExpression(layerExpression, expression);
2013
+ }
2014
+ }
2015
+ else if (type === 'coded-value') {
2016
+ update = this.updateCodedValueExpression(expression, layerField);
2017
+ }
2018
+ else if (type === 'range') {
2019
+ if (expression.displayOption === 'drop-down') {
2020
+ update = await this.updateStringExpression(layerExpression, expression);
2021
+ }
2022
+ else {
2023
+ update = this.updateRangeExpression(expression, layerField);
2024
+ }
2025
+ }
2026
+ else if (expression.active && (type === 'checkbox' || type == null)) {
2027
+ update = true;
2028
+ }
2029
+ if (update) {
2030
+ this.generateOutput(layerExpression);
2031
+ }
2032
+ }
2033
+ updateRangeExpressions(expression, layerExpression, max, min) {
2034
+ const initExp = this.getInitDefExprFromLayerExpression(layerExpression);
2035
+ if ((min || min === 0) && (max || max === 0)) {
2036
+ if (min === (expression === null || expression === void 0 ? void 0 : expression.min) && max === (expression === null || expression === void 0 ? void 0 : expression.max)) {
2037
+ expression.definitionExpression = undefined;
2038
+ expression.active = false;
2039
+ }
2040
+ else {
2041
+ 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}`;
2042
+ expression.active = true;
2043
+ }
2044
+ }
2045
+ expression.range = { min, max };
2046
+ }
2047
+ handleCheckboxChange(layerExpression, expression, event) {
2048
+ const node = event.target;
2049
+ expression.active = node.checked;
2050
+ this.generateOutput(layerExpression);
2051
+ }
2052
+ handleSliderChange(expression, layerExpression, event) {
2053
+ const { maxValue, minValue } = event.target;
2054
+ this.updateRangeExpressions(expression, layerExpression, maxValue, minValue);
2055
+ this.generateOutput(layerExpression);
2056
+ }
2057
+ handleComboSelect(expression, layerExpression, event) {
2058
+ const combobox = event.target;
2059
+ const items = combobox.selectedItems;
2060
+ const { field, type } = expression;
2061
+ if (items && items.length) {
2062
+ const values = items.map(({ value }) => (typeof value === 'number' ? value : `'${handleSingleQuote(value)}'`));
2063
+ if (type === 'date') {
2064
+ expression.selectedFields = items.map(({ value }) => value);
2065
+ expression.definitionExpression = values.map(value => this.buildDateExpression(value, field)).join(' OR ');
2066
+ }
2067
+ else {
2068
+ expression.selectedFields = items.map(({ value }) => value);
2069
+ const definitionExpression = `${field} IN (${values.join(',')})`;
2070
+ expression.definitionExpression = definitionExpression;
2071
+ }
2072
+ expression.active = true;
2073
+ }
2074
+ else {
2075
+ expression.definitionExpression = undefined;
2076
+ expression.active = false;
2077
+ }
2078
+ this.generateOutput(layerExpression);
2079
+ }
2080
+ handleDatePickerRangeChange(expression, layerExpression, event) {
2081
+ const datePicker = event.target;
2082
+ const [startDate, endDate] = datePicker.valueAsDate;
2083
+ const start = startDate != null ? convertToDate(Math.floor(startDate.getTime()), true) : undefined;
2084
+ const end = endDate != null ? convertToDate(Math.floor(endDate.getTime()), true) : undefined;
2085
+ if (start != null || end != null) {
2086
+ const chevron = end && start == null ? '<' : end == null && start ? '>' : null;
2087
+ if (chevron) {
2088
+ expression.definitionExpression = `${expression.field} ${chevron} '${start !== null && start !== void 0 ? start : end}'`;
2089
+ }
2090
+ else {
2091
+ expression.definitionExpression = `${expression.field} BETWEEN '${start}' AND '${end}'`;
2092
+ }
2093
+ expression.range = { min: start, max: end };
2094
+ expression.active = true;
2095
+ this.generateOutput(layerExpression);
2096
+ }
2097
+ }
2098
+ handleURLParams() {
2099
+ var _a;
2100
+ if ('URLSearchParams' in window) {
2101
+ const params = new URLSearchParams(document.location.search);
2102
+ const filters = (_a = params.get('filter')) === null || _a === void 0 ? void 0 : _a.split(';');
2103
+ let filterCount = 0;
2104
+ filters === null || filters === void 0 ? void 0 : filters.forEach(filter => {
2105
+ var _a;
2106
+ const tmpFilter = JSON.parse(filter);
2107
+ (_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpression => {
2108
+ var _a;
2109
+ if ((tmpFilter === null || tmpFilter === void 0 ? void 0 : tmpFilter.layerId) === layerExpression.id) {
2110
+ (_a = layerExpression.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
2111
+ var _a, _b;
2112
+ 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())) {
2113
+ expression.active = true;
2114
+ filterCount++;
2115
+ if (tmpFilter.type === 'range') {
2116
+ expression.range = tmpFilter.range;
2117
+ }
2118
+ else if (tmpFilter.type === 'select') {
2119
+ expression.selectedFields = tmpFilter.selectedFields;
2120
+ }
2121
+ }
2122
+ });
2123
+ }
2124
+ });
2125
+ });
2126
+ this.filterCount = filterCount;
2127
+ }
2128
+ }
2129
+ createURLParamExpression(layerExpression, expression) {
2130
+ const { id, range, selectedFields, type } = expression;
2131
+ 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') {
2132
+ return {
2133
+ type: 'select',
2134
+ layerId: layerExpression.id,
2135
+ expressionId: id.toString(),
2136
+ selectedFields,
2137
+ };
2138
+ }
2139
+ else if (type === 'number' || type === 'range' || type === 'date') {
2140
+ return {
2141
+ type: 'range',
2142
+ layerId: layerExpression.id,
2143
+ expressionId: id.toString(),
2144
+ range,
2145
+ };
2146
+ }
2147
+ else {
2148
+ return {
2149
+ layerId: layerExpression.id,
2150
+ expressionId: id.toString(),
2151
+ };
2152
+ }
2153
+ }
2154
+ autoUpdateURLCheck(params) {
2155
+ if (this.autoUpdateUrl) {
2156
+ if (params.toString()) {
2157
+ window.history.replaceState({}, '', `${window.location.pathname}?${params} `);
2158
+ }
2159
+ else {
2160
+ window.history.replaceState({}, '', window.location.pathname);
2161
+ }
2162
+ }
2163
+ }
2164
+ generateURLParams() {
2165
+ var _a;
2166
+ if ('URLSearchParams' in window) {
2167
+ const params = new URLSearchParams(window.location.search);
2168
+ const expressions = [];
2169
+ let filterCount = 0;
2170
+ (_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.forEach(layerExpr => {
2171
+ var _a;
2172
+ (_a = layerExpr === null || layerExpr === void 0 ? void 0 : layerExpr.expressions) === null || _a === void 0 ? void 0 : _a.forEach(expression => {
2173
+ if (expression.active) {
2174
+ filterCount++;
2175
+ const paramExpression = this.createURLParamExpression(layerExpr, expression);
2176
+ expressions.push(JSON.stringify(paramExpression));
2177
+ }
2178
+ });
2179
+ });
2180
+ this.filterCount = filterCount;
2181
+ if (expressions.length > 0) {
2182
+ params.set('filter', expressions.join(';'));
2183
+ }
2184
+ else {
2185
+ params.delete('filter');
2186
+ }
2187
+ this.autoUpdateURLCheck(params);
2188
+ this.urlParams = params;
2189
+ }
2190
+ }
2191
+ updateFilter(layerExpression, defExpressions, filters) {
2192
+ const { id } = layerExpression;
2193
+ const fl = (this.view.map.findLayerById(id) || this.view.map.findTableById(id));
2194
+ if (fl != null) {
2195
+ if (fl.type === 'point-cloud') {
2196
+ this.updateFilterLayerPCLFilter(fl, filters);
2197
+ }
2198
+ else if (fl.type === 'map-image') {
2199
+ const sublayer = fl.findSublayerById(layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId);
2200
+ if (sublayer != null) {
2201
+ this.updateFilterLayerDefExpression(sublayer, defExpressions, layerExpression);
2202
+ }
2203
+ }
2204
+ else {
2205
+ this.updateFilterLayerDefExpression(fl, defExpressions, layerExpression);
2206
+ }
2207
+ }
2208
+ }
2209
+ updateFilterLayerDefExpression(layer, defExpressions, layerExpression) {
2210
+ const { operator } = layerExpression;
2211
+ let initDefExpressions = this.getInitDefExprFromLayer(layer);
2212
+ const combinedExpressions = (defExpressions === null || defExpressions === void 0 ? void 0 : defExpressions.length) > 0 && initDefExpressions != null
2213
+ ? `(${defExpressions.join(operator)}) AND (${initDefExpressions})`
2214
+ : defExpressions.length > 0
2215
+ ? defExpressions.join(operator)
2216
+ : initDefExpressions;
2217
+ layer.definitionExpression = combinedExpressions;
2218
+ }
2219
+ updateFilterLayerPCLFilter(layer, filters) {
2220
+ layer.filters = filters;
2221
+ }
2222
+ async handleWhenView() {
2223
+ if (this.view == null)
2224
+ return;
2225
+ const map = this.view.map;
2226
+ await map.loadAll();
2227
+ this.handleLayerExpressionsUpdate();
2228
+ }
2229
+ async handleLayerExpressionsUpdate() {
2230
+ if (this.view == null)
2231
+ return;
2232
+ const map = this.view.map;
2233
+ this.initDefExpressions = {};
2234
+ this.initPointCloudFilters = {};
2235
+ this.initMapImageExpressions = {};
2236
+ const layersAndTables = map.allLayers.concat(map.allTables);
2237
+ for (let i = 0; i < layersAndTables.length; i++) {
2238
+ const layer = layersAndTables.getItemAt(i);
2239
+ if (supportedTypes.includes(layer.type)) {
2240
+ const fl = layer;
2241
+ if (fl.type === 'point-cloud') {
2242
+ this.initPointCloudFilters[fl.id] = fl.filters;
2243
+ }
2244
+ else if (fl.type === 'map-image') {
2245
+ this.initMapImageExpressions[fl.id] = {};
2246
+ fl.allSublayers.forEach(sublayer => {
2247
+ this.initMapImageExpressions[fl.id][sublayer.id] = sublayer.definitionExpression;
2248
+ });
2249
+ }
2250
+ else {
2251
+ this.initDefExpressions[fl.id] = fl.definitionExpression;
2252
+ }
2253
+ }
2254
+ }
2255
+ this.initExpressions();
2256
+ this.handleURLParams();
2257
+ }
2258
+ async handleZoomTo(layerExpression) {
2259
+ const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
2260
+ const zoomToBtn = this.panelEl.querySelector(zoomId);
2261
+ if (zoomToBtn != null) {
2262
+ zoomToBtn.loading = true;
2263
+ zoomToBtn.disabled = true;
2264
+ }
2265
+ this.zoomToGraphics = [];
2266
+ let loadingTime = 0;
2267
+ let startGoTo = false;
2268
+ const zoomToInterval = setInterval(() => {
2269
+ if (loadingTime >= 1000 && startGoTo) {
2270
+ this.view.goTo(this.zoomToGraphics);
2271
+ if (zoomToBtn != null) {
2272
+ zoomToBtn.loading = false;
2273
+ zoomToBtn.disabled = false;
2274
+ }
2275
+ clearInterval(zoomToInterval);
2276
+ }
2277
+ loadingTime += 500;
2278
+ }, 500);
2279
+ await this.getZoomToGraphics(layerExpression);
2280
+ startGoTo = true;
2281
+ }
2282
+ async getZoomToGraphics(layerExpression) {
2283
+ var _a, _b, _c, _d, _e;
2284
+ const lv = this.view.allLayerViews.find(({ layer }) => layer.id === layerExpression.id);
2285
+ const layer = lv.layer;
2286
+ const queryLayer = layer.type === 'map-image' ? layer.findSublayerById(layerExpression.sublayerId) : layer;
2287
+ if (queryLayer.type !== 'point-cloud' && supportedTypes.includes(queryLayer === null || queryLayer === void 0 ? void 0 : queryLayer.type)) {
2288
+ const query = queryLayer.createQuery();
2289
+ 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']) {
2290
+ query.cacheHint = true;
2291
+ }
2292
+ query.where = (_c = queryLayer.definitionExpression) !== null && _c !== void 0 ? _c : '1=1';
2293
+ query.returnGeometry = true;
2294
+ query.returnDistinctValues = true;
2295
+ query.maxRecordCountFactor = 3;
2296
+ query.returnExceededLimitFeatures = true;
2297
+ query.outFields = [];
2298
+ if (this.extentSelector && this.extentSelectorConfig) {
2299
+ const geo = this.getExtent(this.extentSelector, this.extentSelectorConfig);
2300
+ if (geo != null)
2301
+ query.geometry = geo;
2302
+ query.spatialRelationship = 'intersects';
2303
+ }
2304
+ 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;
2305
+ if (filter != null) {
2306
+ if (filter.objectIds != null) {
2307
+ query.objectIds = filter.objectIds;
2308
+ }
2309
+ if (filter.distance != null) {
2310
+ query.distance = filter.distance;
2311
+ }
2312
+ if (filter.geometry != null) {
2313
+ query.geometry = filter.geometry;
2314
+ }
2315
+ if (filter.distance != null) {
2316
+ query.distance = filter.distance;
2317
+ }
2318
+ if (filter.spatialRelationship != null) {
2319
+ query.spatialRelationship = filter.spatialRelationship;
2320
+ }
2321
+ if (filter.units != null) {
2322
+ query.units = filter.units;
2323
+ }
2324
+ if (filter.where != null) {
2325
+ query.where = filter.where;
2326
+ }
2327
+ if (filter.timeExtent != null) {
2328
+ query.timeExtent = filter.timeExtent;
2329
+ }
2330
+ }
2331
+ try {
2332
+ const results = await queryLayer.queryFeatures(query);
2333
+ this.zoomToGraphics.push(...results.features);
2334
+ }
2335
+ catch (error) {
2336
+ if ((_e = error === null || error === void 0 ? void 0 : error.message) === null || _e === void 0 ? void 0 : _e.toLowerCase().includes('distinct')) {
2337
+ try {
2338
+ query.returnDistinctValues = false;
2339
+ const results = await queryLayer.queryFeatures(query);
2340
+ this.zoomToGraphics.push(...results.features);
2341
+ }
2342
+ catch (_f) { }
2343
+ }
2344
+ }
2345
+ }
2346
+ return Promise.resolve();
2347
+ }
2348
+ generateOutput(layerExpression) {
2349
+ if (this.view == null)
2350
+ return;
2351
+ const defExpressions = [];
2352
+ let filters = [];
2353
+ if (layerExpression) {
2354
+ for (const expression of layerExpression.expressions) {
2355
+ const { active, definitionExpression, pointCloudFilters } = expression;
2356
+ if (active && definitionExpression) {
2357
+ defExpressions.push(`(${definitionExpression})`);
2358
+ }
2359
+ if (active && pointCloudFilters != null && pointCloudFilters.length > 0) {
2360
+ filters = filters.concat(pointCloudFilters);
2361
+ }
2362
+ }
2363
+ this.updateFilter(layerExpression, defExpressions, filters);
2364
+ this.generateURLParams();
2365
+ this.filterUpdate.emit();
2366
+ }
2367
+ }
2368
+ numberWithCommas(num) {
2369
+ return num.toLocaleString('en-US', { maximumFractionDigits: 20 });
2370
+ }
2371
+ // If fieldInfo.format.places limits decimal digits then use this for min value to make sure the min is actually included in slider.
2372
+ // 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.
2373
+ // Inverse of this reasoning for roundMaxNumberUp().
2374
+ roundMinNumberDown(num, decimalPlaces) {
2375
+ if (num == null)
2376
+ return;
2377
+ if (!('' + num).includes('e')) {
2378
+ return +(Math.floor((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
2379
+ }
2380
+ else {
2381
+ var arr = ('' + num).split('e');
2382
+ var sig = '';
2383
+ if (+arr[1] + decimalPlaces > 0) {
2384
+ sig = '+';
2385
+ }
2386
+ return +(Math.floor((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
2387
+ }
2388
+ }
2389
+ roundMaxNumberUp(num, decimalPlaces) {
2390
+ if (num == null)
2391
+ return;
2392
+ if (!('' + num).includes('e')) {
2393
+ return +(Math.ceil((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
2394
+ }
2395
+ else {
2396
+ var arr = ('' + num).split('e');
2397
+ var sig = '';
2398
+ if (+arr[1] + decimalPlaces > 0) {
2399
+ sig = '+';
2400
+ }
2401
+ return +(Math.ceil((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
2402
+ }
2403
+ }
2404
+ roundNumber(num, decimalPlaces) {
2405
+ if (num == null)
2406
+ return;
2407
+ if (!('' + num).includes('e')) {
2408
+ return +(Math.round((num + 'e+' + decimalPlaces)) + 'e-' + decimalPlaces);
2409
+ }
2410
+ else {
2411
+ var arr = ('' + num).split('e');
2412
+ var sig = '';
2413
+ if (+arr[1] + decimalPlaces > 0) {
2414
+ sig = '+';
2415
+ }
2416
+ return +(Math.round((+arr[0] + 'e' + sig + (+arr[1] + decimalPlaces))) + 'e-' + decimalPlaces);
2417
+ }
2418
+ }
2419
+ setExpressionFormat(layer, expression, field) {
2420
+ if ((layer === null || layer === void 0 ? void 0 : layer.popupTemplate) != null) {
2421
+ const fieldInfo = layer.popupTemplate.fieldInfos.find(({ fieldName }) => fieldName === field);
2422
+ expression.format = fieldInfo === null || fieldInfo === void 0 ? void 0 : fieldInfo.format;
2423
+ }
2424
+ }
2425
+ getInitDefExprFromLayer(layer) {
2426
+ var _a, _b, _c;
2427
+ 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];
2428
+ }
2429
+ getInitDefExprFromLayerExpression(layerExpression) {
2430
+ var _a, _b, _c;
2431
+ 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];
2432
+ }
2433
+ findFilterLayer(layerExpression) {
2434
+ const allLayersAndTables = this.view.map.allLayers.concat(this.view.map.allTables);
2435
+ const layer = allLayersAndTables.find(({ id }) => id === layerExpression.id);
2436
+ if (layer.type === 'map-image') {
2437
+ return layer === null || layer === void 0 ? void 0 : layer.findSublayerById(layerExpression.sublayerId);
2438
+ }
2439
+ else {
2440
+ return layer;
2441
+ }
2442
+ }
2443
+ createLabel(expression, value) {
2444
+ var _a;
2445
+ let label = value;
2446
+ if (expression.type === 'coded-value') {
2447
+ label = (_a = expression.codedValues) === null || _a === void 0 ? void 0 : _a[value];
2448
+ }
2449
+ else if (expression.type === 'number' && typeof value === 'number' && expression.format != null) {
2450
+ if (expression.format.places != null) {
2451
+ label = this.roundNumber(value, expression.format.places);
2452
+ }
2453
+ if (expression.format.digitSeparator) {
2454
+ label = this.numberWithCommas(label);
2455
+ }
2456
+ }
2457
+ else if (expression.type === 'date' && !expression.dateOnly) {
2458
+ const format = expression.dateOnly ? this.intl.convertDateFormatToIntlOptions('short-date-long-time') : undefined;
2459
+ label = this.intl.formatDate(value, format);
2460
+ }
2461
+ return label;
2462
+ }
2463
+ buildDateExpression(date, field) {
2464
+ if (date) {
2465
+ const tmpDate = new Date(date);
2466
+ const tmpCompareDate = new Date(date);
2467
+ const tmpCompareDate1 = new Date(tmpCompareDate.setDate(tmpDate.getDate() + 1));
2468
+ const formattedDate = `${tmpDate.getFullYear()}-${tmpDate.getMonth() + 1}-${tmpDate.getDate()}`;
2469
+ const time = `${tmpDate.getHours()}:${tmpDate.getMinutes()}:${tmpDate.getSeconds()}`;
2470
+ const compareTime = `${tmpCompareDate1.getHours()}:${tmpCompareDate1.getMinutes()}:${tmpCompareDate1.getSeconds()}`;
2471
+ const compareFormattedDate = `${tmpCompareDate1.getFullYear()}-${tmpCompareDate1.getMonth() + 1}-${tmpCompareDate1.getDate()}`;
2472
+ return `${field} BETWEEN '${formattedDate} ${time}' AND '${compareFormattedDate} ${compareTime}'`;
2473
+ }
2474
+ return;
2475
+ }
2476
+ get el() { return index.getElement(this); }
2477
+ static get watchers() { return {
2478
+ "view": ["watchViewHandler"],
2479
+ "layerExpressions": ["watchLayerExpressions"]
2480
+ }; }
2481
+ };
2482
+ InstantAppsFilterList.style = InstantAppsFilterListStyle0;
2483
+
2484
+ 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)}";
2485
+ const InstantAppsSocialShareStyle0 = instantAppsSocialShareCss;
2486
+
2487
+ const base = 'instant-apps-social-share';
2488
+ const CALCITE_MODE_DARK = '.calcite-mode-dark';
2489
+ const CSS = {
2490
+ base,
2491
+ dialog: `${base}__dialog`,
2492
+ dialogEmbed: `${base}__dialog-embed`,
2493
+ dialogContent: `${base}__dialog-content`,
2494
+ options: `${base}__options`,
2495
+ tipContainer: `${base}__tip`,
2496
+ tipHeader: `${base}__tip-header`,
2497
+ tipContent: `${base}__tip-content`,
2498
+ icon: `${base}__icon`,
2499
+ iconContainer: `${base}__icon-container`,
2500
+ optionText: `${base}__option-text`,
2501
+ popoverButton: `${base}__popover-button`,
2502
+ layout: {
2503
+ vertical: `${base}__layout--vertical`,
2504
+ horizontal: `${base}__layout--horizontal`,
2505
+ },
2506
+ xLogo: {
2507
+ light: `${base}__x-logo--light`,
2508
+ dark: `${base}__x-logo--dark`,
2509
+ },
2510
+ success: {
2511
+ container: `${base}__success`,
2512
+ header: `${base}__success-header`,
2513
+ message: `${base}__success-message`,
2514
+ icon: `${base}__success-icon`,
2515
+ },
2516
+ embed: {
2517
+ container: `${base}__embed`,
2518
+ header: `${base}__embed-header`,
2519
+ embedCode: {
2520
+ container: `${base}__embed-code`,
2521
+ textArea: `${base}__embed-code-text-area`,
2522
+ copyButton: `${base}__embed-code-copy-button`,
2523
+ },
2524
+ textAreaText: `${base}__embed-text-area-text`,
2525
+ dimensions: {
2526
+ container: `${base}__embed-dimensions`,
2527
+ input: `${base}__embed-dimensions-input`,
2528
+ },
2529
+ },
2530
+ rtl: {
2531
+ optionText: `${base}__option-text--rtl`,
2532
+ textArea: `${base}__text-area--rtl`,
2533
+ },
2534
+ };
2535
+ const SOCIAL_URL_TEMPLATES = {
2536
+ facebook: 'https://www.facebook.com/sharer/sharer.php?u={url}',
2537
+ x: 'https://x.com/intent/post?url={url}',
2538
+ linkedIn: 'https://www.linkedin.com/sharing/share-offsite/?url={url}',
2539
+ };
2540
+ const SHORTEN_API = 'https://arcg.is/prod/shorten';
2541
+ const MIN_WIDTH_HEIGHT_VALUE = '1';
2542
+ const InstantAppsSocialShare = class {
2543
+ constructor(hostRef) {
2544
+ index.registerInstance(this, hostRef);
2545
+ this.mode = 'popover';
2546
+ this.shareUrl = window.location.href;
2547
+ this.autoUpdateShareUrl = true;
2548
+ this.shareText = '';
2549
+ this.embed = false;
2550
+ this.shareButtonColor = 'neutral';
2551
+ this.shareButtonType = 'button';
2552
+ this.shareButtonScale = undefined;
2553
+ this.iframeInnerText = '';
2554
+ this.popoverButtonIconScale = 'm';
2555
+ this.view = undefined;
2556
+ this.displayTipText = true;
2557
+ this.shortenShareUrl = true;
2558
+ this.socialMedia = true;
2559
+ this.shareIconsLayout = 'vertical';
2560
+ this.scale = 'm';
2561
+ this.successMessage = '';
2562
+ this.defaultUrlParams = null;
2563
+ this.inlineSuccessPopoverPlacement = 'trailing';
2564
+ this.popoverPositioning = 'absolute';
2565
+ this.removePopoverOffset = false;
2566
+ this.messages = undefined;
2567
+ this.opened = false;
2568
+ this.copied = false;
2569
+ this.inlineCopyLinkOpened = false;
2570
+ this.inlineCopyEmbedOpened = false;
2571
+ this.embedWidth = 400;
2572
+ this.embedHeight = 600;
2573
+ }
2574
+ componentDidLoad() {
2575
+ var _a, _b;
2576
+ locale$1.getMessages(this);
2577
+ this.setupAutoCloseListeners();
2578
+ if (this.mode === 'popover') {
2579
+ if (this.opened)
2580
+ this.popoverRef.open = true;
2581
+ this.popoverRef.addEventListener('calcitePopoverOpen', () => {
2582
+ if (!this.shareListRef)
2583
+ return;
2584
+ const firstNode = this.shareListRef.children[0];
2585
+ firstNode.focus();
2586
+ });
2587
+ this.popoverRef.addEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
2588
+ }
2589
+ if (this.embed) {
2590
+ (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.addEventListener('change', this.updateDimensions.bind(this, 'width'));
2591
+ (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.addEventListener('change', this.updateDimensions.bind(this, 'height'));
2592
+ }
2593
+ }
2594
+ disconnectedCallback() {
2595
+ var _a, _b, _c;
2596
+ document.documentElement.removeEventListener('click', this.autoCloseCallback.bind(this));
2597
+ if (this.mode === 'popover') {
2598
+ if (this.popoverRef != null) {
2599
+ this.popoverRef.removeEventListener('click', this.stopPropagationCallback.bind(this));
2600
+ this.popoverRef.removeEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
2601
+ this.popoverRef.removeEventListener('keydown', this.handlePopoverRefKeyDown.bind(this));
2602
+ }
2603
+ }
2604
+ else {
2605
+ (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', this.updateDimensions.bind(this));
2606
+ (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('change', this.updateDimensions.bind(this));
2607
+ (_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('click', this.stopPropagationCallback.bind(this));
2608
+ }
2609
+ }
2610
+ setupAutoCloseListeners() {
2611
+ var _a, _b, _c;
2612
+ document.documentElement.addEventListener('click', this.autoCloseCallback.bind(this));
2613
+ if (this.mode === 'popover') {
2614
+ (_a = this.popoverRef) === null || _a === void 0 ? void 0 : _a.addEventListener('click', this.stopPropagationCallback.bind(this));
2615
+ (_b = this.popoverRef) === null || _b === void 0 ? void 0 : _b.addEventListener('calcitePopoverClose', this.resetPopoverCopyState.bind(this));
2616
+ }
2617
+ else {
2618
+ (_c = this.dialogContentRef) === null || _c === void 0 ? void 0 : _c.addEventListener('click', this.stopPropagationCallback.bind(this));
2619
+ }
2620
+ }
2621
+ handlePopoverRefKeyDown(e) {
2622
+ var _a, _b;
2623
+ if (e.code === 'Tab') {
2624
+ if (!this.shareListRef)
2625
+ return;
2626
+ const node = e.target;
2627
+ const firstFocusableEl = this.shareListRef.children[0];
2628
+ const lastFocusableEl = this.shareListRef.children[((_a = this.shareListRef) === null || _a === void 0 ? void 0 : _a.children.length) - 1];
2629
+ if (e.shiftKey && node === firstFocusableEl) {
2630
+ e.preventDefault();
2631
+ lastFocusableEl.focus();
2632
+ }
2633
+ else if (!e.shiftKey && node === lastFocusableEl) {
2634
+ e.preventDefault();
2635
+ firstFocusableEl.focus();
2636
+ }
2637
+ }
2638
+ else if (e.code === 'Escape') {
2639
+ this.closePopover();
2640
+ (_b = this.popoverButtonRef) === null || _b === void 0 ? void 0 : _b.setFocus();
2641
+ }
2642
+ }
2643
+ autoCloseCallback() {
2644
+ if (this.mode === 'popover') {
2645
+ this.opened = false;
2646
+ this.popoverRef.open = this.opened;
2647
+ }
2648
+ else {
2649
+ if (this.copyLinkPopoverRef)
2650
+ this.copyLinkPopoverRef.open = false;
2651
+ this.inlineCopyLinkOpened = false;
2652
+ if (this.copyEmbedPopoverRef)
2653
+ this.copyEmbedPopoverRef.open = false;
2654
+ this.inlineCopyEmbedOpened = false;
2655
+ }
2656
+ }
2657
+ stopPropagationCallback(event) {
2658
+ event.stopPropagation();
2659
+ }
2660
+ resetPopoverCopyState() {
2661
+ var _a;
2662
+ (_a = this.popoverButtonRef) === null || _a === void 0 ? void 0 : _a.setFocus();
2663
+ setTimeout(() => {
2664
+ this.copied = false;
2665
+ }, 200);
2666
+ }
2667
+ updateDimensions(type) {
2668
+ var _a, _b;
2669
+ if (type === 'width') {
2670
+ const value = (_a = this.embedWidthRef) === null || _a === void 0 ? void 0 : _a.value;
2671
+ this.embedWidth = parseInt(value);
2672
+ }
2673
+ else {
2674
+ const value = (_b = this.embedHeightRef) === null || _b === void 0 ? void 0 : _b.value;
2675
+ this.embedHeight = parseInt(value);
2676
+ }
2677
+ }
2678
+ render() {
2679
+ var _a, _b, _c, _d, _e, _f;
2680
+ const content = this.copied && this.mode === 'popover' ? (this.renderSuccess()) : (index.h("div", { class: CSS.dialogContent }, this.renderOptions(), this.displayTipText ? this.renderTip() : null, this.embed ? this.renderEmbed() : null));
2681
+ const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
2682
+ const dialogContent = (index.h("div", { key: 'e3ae70f01dba11ef4bc9e293e13b922a38eab5a3', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}` }, content));
2683
+ const defaultOffset = 6;
2684
+ const offsetDistance = this.removePopoverOffset ? 0 : defaultOffset;
2685
+ return (index.h(index.Host, { key: '84a7ab996010b4263040db789d4d726a874af30a' }, this.mode === 'popover'
2686
+ ? [
2687
+ index.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),
2688
+ this.renderButton(),
2689
+ ]
2690
+ : [
2691
+ dialogContent,
2692
+ index.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()),
2693
+ index.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()),
2694
+ ]));
2695
+ }
2696
+ renderButton() {
2697
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2698
+ const scale = this.shareButtonScale != null ? this.shareButtonScale : this.scale;
2699
+ return this.shareButtonType === 'button' ? (index.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 }, index.h("div", { class: CSS.iconContainer }, index.h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale })))) : (index.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" }, index.h("div", { class: CSS.iconContainer }, index.h("calcite-icon", { icon: "share", scale: this.popoverButtonIconScale }))));
2700
+ }
2701
+ renderSuccess() {
2702
+ var _a;
2703
+ const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
2704
+ return (index.h("div", { class: CSS.success.container }, index.h("span", { class: CSS.success.header }, index.h("span", { class: CSS.success.icon }, index.h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
2705
+ success.label), index.h("span", { class: CSS.success.message }, this.successMessage || (success === null || success === void 0 ? void 0 : success.url))));
2706
+ }
2707
+ renderEmbedSuccess() {
2708
+ var _a;
2709
+ const success = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.success;
2710
+ return (index.h("div", { class: CSS.success.container }, index.h("span", { class: CSS.success.header }, index.h("span", { class: CSS.success.icon }, index.h("calcite-icon", { icon: "check-circle-f", scale: this.scale })), success === null || success === void 0 ? void 0 :
2711
+ success.label), index.h("span", { class: CSS.success.message }, success === null || success === void 0 ? void 0 : success.embed)));
2712
+ }
2713
+ renderOptions() {
2714
+ var _a, _b, _c, _d;
2715
+ const options = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.options;
2716
+ const optionText_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.optionText}` : '';
2717
+ return (index.h("ul", { ref: el => (this.shareListRef = el), class: CSS.options, role: "menu" }, index.h("li", { id: "copyToClipboard", onClick: this.handleShareItem.bind(this, 'link'), onKeyDown: this.handleOptionKeyDown('link'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, index.h("calcite-icon", { icon: "link", scale: this.scale })), index.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
2718
+ ? [
2719
+ index.h("li", { onClick: this.handleShareItem.bind(this, 'facebook'), onKeyDown: this.handleOptionKeyDown('facebook'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, this.renderFacebookIcon()), index.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)),
2720
+ index.h("li", { onClick: this.handleShareItem.bind(this, 'x'), onKeyDown: this.handleOptionKeyDown('x'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, this.renderXIcon()), index.h("span", { class: `${CSS.optionText}${optionText_RTL}` }, "X")),
2721
+ index.h("li", { onClick: this.handleShareItem.bind(this, 'linkedIn'), onKeyDown: this.handleOptionKeyDown('linkedIn'), role: "menuitem", tabindex: "0" }, index.h("span", { class: CSS.icon }, this.renderLinkedInIcon()), index.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)),
2722
+ ]
2723
+ : null));
2724
+ }
2725
+ handleOptionKeyDown(type) {
2726
+ return (e) => {
2727
+ const keyCode = e.code;
2728
+ const canActivate = keyCode === 'Space' || keyCode === 'Enter';
2729
+ if (!canActivate)
2730
+ return;
2731
+ this.handleShareItem(type);
2732
+ };
2733
+ }
2734
+ renderFacebookIcon() {
2735
+ return (index.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" }, index.h("g", null, index.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' } }), index.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' } }))));
2736
+ }
2737
+ renderXIcon() {
2738
+ const isCalciteModeDark = !!this.el.closest(CALCITE_MODE_DARK);
2739
+ return (index.h("svg", { class: isCalciteModeDark ? CSS.xLogo.dark : CSS.xLogo.light, viewBox: "0 0 1200 1227", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("rect", { height: "400", style: { fill: 'none' }, width: "400", x: "56", y: "56" }), index.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' })));
2740
+ }
2741
+ renderLinkedInIcon() {
2742
+ return (index.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" }, index.h("g", { id: "g5891" }, index.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' } }), index.h("g", { id: "shapes" }, index.h("rect", { height: "257.962", id: "rect11", style: { fill: '#fff' }, width: "85.76", x: "61.053", y: "178.667" }), index.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' } }), index.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' } })))));
2743
+ }
2744
+ renderTip() {
2745
+ var _a;
2746
+ const info = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.info;
2747
+ return (index.h("div", { class: CSS.tipContainer }, index.h("span", { class: CSS.tipHeader }, index.h("calcite-icon", { icon: "lightbulb", scale: this.scale }), index.h("span", null, info === null || info === void 0 ? void 0 : info.label)), index.h("p", { class: CSS.tipContent }, info === null || info === void 0 ? void 0 : info.tooltip)));
2748
+ }
2749
+ renderEmbed() {
2750
+ var _a, _b, _c;
2751
+ const embedMessages = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.embed;
2752
+ const textarea_RTL = document.dir === 'rtl' ? ` ${CSS.rtl.textArea}` : '';
2753
+ return (index.h("div", { class: CSS.embed.container }, index.h("span", { class: CSS.embed.header }, index.h("calcite-icon", { icon: "code", scale: this.scale }), index.h("span", null, (_c = (_b = this.messages) === null || _b === void 0 ? void 0 : _b.embed) === null || _c === void 0 ? void 0 : _c.label)), index.h("div", { class: CSS.embed.embedCode.container }, index.h("div", { class: CSS.embed.embedCode.textArea }, index.h("textarea", { ref: el => (this.embedCodeRef = el), cols: 30, rows: 5, readonly: true, class: textarea_RTL, value: this.getEmbedCode() }), index.h("button", { id: "copyEmbedToClipboard", onClick: this.copyEmbedCode.bind(this), class: CSS.embed.embedCode.copyButton }, index.h("calcite-icon", { icon: "copy", scale: this.scale }), index.h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.copy))), index.h("span", { class: CSS.embed.textAreaText }, index.h("slot", { name: "text-area-text" })), index.h("div", { class: CSS.embed.dimensions.container }, index.h("label", { class: CSS.embed.dimensions.input }, index.h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.width), index.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" })), index.h("label", { class: CSS.embed.dimensions.input }, index.h("span", null, embedMessages === null || embedMessages === void 0 ? void 0 : embedMessages.height), index.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" }))))));
2754
+ }
2755
+ handleNumberInputOnChange(type) {
2756
+ const ref = (type === 'width' ? this.embedWidthRef : this.embedHeightRef);
2757
+ const valType = type === 'width' ? 'embedWidth' : 'embedHeight';
2758
+ return () => {
2759
+ if (ref) {
2760
+ const value = parseFloat(ref.value);
2761
+ if (value <= 0) {
2762
+ this[valType] = parseInt(MIN_WIDTH_HEIGHT_VALUE);
2763
+ ref.value = MIN_WIDTH_HEIGHT_VALUE;
2764
+ }
2765
+ }
2766
+ };
2767
+ }
2768
+ togglePopover(event) {
2769
+ event.stopPropagation();
2770
+ this.opened = !this.opened;
2771
+ this.popoverRef.open = this.opened;
2772
+ }
2773
+ closePopover() {
2774
+ this.opened = false;
2775
+ this.popoverRef.open = this.opened;
2776
+ }
2777
+ async handleShareItem(type) {
2778
+ var _a, _b, _c, _d;
2779
+ this.shareUrl = await this.generateShareUrl();
2780
+ let shortenedUrl = null;
2781
+ // Detects Safari - If Safari, do not shorten URL due to Safari not allowing clipboard copy after network requests
2782
+ 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;
2783
+ 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;
2784
+ if (!isSafari && this.shortenShareUrl) {
2785
+ shortenedUrl = await this.shortenUrl(this.shareUrl);
2786
+ }
2787
+ let urlToUse = shortenedUrl ? shortenedUrl : this.shareUrl;
2788
+ switch (type) {
2789
+ case 'link':
2790
+ navigator.clipboard.writeText(urlToUse);
2791
+ if (this.embed) {
2792
+ this.copyEmbedPopoverRef.open = false;
2793
+ this.inlineCopyEmbedOpened = false;
2794
+ }
2795
+ if (this.mode === 'inline') {
2796
+ this.copyLinkPopoverRef.open = true;
2797
+ setTimeout(() => (this.copyLinkPopoverRef.open = false), 3000);
2798
+ }
2799
+ this.inlineCopyLinkOpened = true;
2800
+ this.copied = true;
2801
+ if (this.mode === 'popover')
2802
+ setTimeout(() => this.closePopover(), 2000);
2803
+ return;
2804
+ case 'facebook':
2805
+ case 'x':
2806
+ case 'linkedIn':
2807
+ let socialWin;
2808
+ if (isSafari) {
2809
+ socialWin = window.open('', '_blank');
2810
+ if (this.shortenShareUrl) {
2811
+ urlToUse = (await this.shortenUrl(this.shareUrl)) || urlToUse;
2812
+ }
2813
+ }
2814
+ const urlData = {
2815
+ url: encodeURI(urlToUse),
2816
+ };
2817
+ const data = type === 'x' ? Object.assign(Object.assign({}, urlData), { text: this.shareText }) : urlData;
2818
+ const [intl] = await loadModules.loadModules(['esri/intl']);
2819
+ const url = intl.substitute(SOCIAL_URL_TEMPLATES[type], data);
2820
+ if (this.mode === 'popover') {
2821
+ this.closePopover();
2822
+ }
2823
+ // With Safari, need to open new tab using the triggering event, so add shortened URL after opening.
2824
+ // Safari truncates URL without this approach.
2825
+ if (isSafari && socialWin) {
2826
+ socialWin.location = url;
2827
+ socialWin.focus();
2828
+ }
2829
+ else {
2830
+ window.open(encodeURI(url), '_blank');
2831
+ }
2832
+ return;
2833
+ }
2834
+ }
2835
+ async shortenUrl(url) {
2836
+ var _a, _b;
2837
+ const [esriRequest] = await loadModules.loadModules(['esri/request']);
2838
+ const request = await esriRequest(SHORTEN_API, {
2839
+ query: {
2840
+ longUrl: url,
2841
+ f: 'json',
2842
+ },
2843
+ });
2844
+ 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;
2845
+ if (shortUrl) {
2846
+ return shortUrl.replace('http://', 'https://');
2847
+ }
2848
+ }
2849
+ getEmbedCode() {
2850
+ return `<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`;
2851
+ }
2852
+ copyEmbedCode() {
2853
+ navigator.clipboard.writeText(this.getEmbedCode());
2854
+ this.copyLinkPopoverRef.open = false;
2855
+ this.inlineCopyLinkOpened = false;
2856
+ this.copyEmbedPopoverRef.open = true;
2857
+ setTimeout(() => (this.copyEmbedPopoverRef.open = false), 3000);
2858
+ this.inlineCopyEmbedOpened = true;
2859
+ }
2860
+ // VIEW LOGIC
2861
+ async generateShareUrl() {
2862
+ var _a;
2863
+ if (this.autoUpdateShareUrl) {
2864
+ // Update shareUrl--it may have changes since the component was loaded
2865
+ this.shareUrl = window.location.href;
2866
+ }
2867
+ // If view is not ready
2868
+ if (!this.view || !((_a = this.view) === null || _a === void 0 ? void 0 : _a.ready)) {
2869
+ return this.shareUrl;
2870
+ }
2871
+ // Use x/y values and the spatial reference of the view to instantiate a geometry point
2872
+ const { x, y } = this.view.center;
2873
+ const { spatialReference } = this.view;
2874
+ const [Point, SpatialReference] = await loadModules.loadModules(['esri/geometry/Point', 'esri/geometry/SpatialReference']);
2875
+ const updatedSpatialReference = new SpatialReference(Object.assign({}, spatialReference.toJSON()));
2876
+ const centerPoint = new Point({
2877
+ x,
2878
+ y,
2879
+ spatialReference: updatedSpatialReference,
2880
+ });
2881
+ // Use pointToConvert to project point. Once projected, pass point to generate the share URL parameters
2882
+ const point = await this.processPoint(centerPoint);
2883
+ const { isWGS84, isWebMercator } = point.spatialReference;
2884
+ const isNotProjected = isWGS84 || isWebMercator;
2885
+ return this.generateShareUrlParams(point, isNotProjected);
2886
+ }
2887
+ async processPoint(point) {
2888
+ const { isWGS84, isWebMercator } = point.spatialReference;
2889
+ // If spatial reference is WGS84 or Web Mercator, use longitude/latitude values to generate the share URL parameters
2890
+ if (isWGS84 || isWebMercator) {
2891
+ return point;
2892
+ }
2893
+ const [SpatialReference, projection] = await loadModules.loadModules(['esri/geometry/SpatialReference', 'esri/geometry/projection']);
2894
+ const outputSpatialReference = new SpatialReference({ wkid: 4326 });
2895
+ try {
2896
+ await projection.load();
2897
+ const projectedPoint = projection.project(point, outputSpatialReference);
2898
+ return Promise.resolve(projectedPoint);
2899
+ }
2900
+ catch (err) {
2901
+ console.error('Failed to project point', err);
2902
+ return Promise.reject(null);
2903
+ }
2904
+ }
2905
+ generateShareUrlParams(point, isNotProjected) {
2906
+ var _a, _b, _c, _d, _e;
2907
+ const { longitude, latitude, x, y } = point;
2908
+ if (longitude === undefined || latitude === undefined) {
2909
+ return this.shareUrl;
2910
+ }
2911
+ const roundedLon = this.roundValue(isNotProjected ? longitude : x);
2912
+ const roundedLat = this.roundValue(isNotProjected ? latitude : y);
2913
+ const { zoom } = this.view;
2914
+ const roundedZoom = this.roundValue(zoom);
2915
+ const graphic = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.popup) === null || _b === void 0 ? void 0 : _b.selectedFeature;
2916
+ const visible = (_d = (_c = this.view) === null || _c === void 0 ? void 0 : _c.popup) === null || _d === void 0 ? void 0 : _d.visible;
2917
+ let layerId;
2918
+ let oid;
2919
+ let hiddenLayers;
2920
+ if (graphic && visible && ((_e = graphic === null || graphic === void 0 ? void 0 : graphic.layer) === null || _e === void 0 ? void 0 : _e.type) === 'feature') {
2921
+ const featureLayer = graphic === null || graphic === void 0 ? void 0 : graphic.layer;
2922
+ layerId = featureLayer === null || featureLayer === void 0 ? void 0 : featureLayer.id;
2923
+ oid = graphic.attributes[featureLayer.objectIdField];
2924
+ hiddenLayers = this.view.map.allLayers
2925
+ .filter(layer => !layer.visible)
2926
+ .toArray()
2927
+ .map(featureLayer => featureLayer.id)
2928
+ .toString()
2929
+ .replaceAll(',', ';');
2930
+ }
2931
+ const { type } = this.view;
2932
+ const { defaultUrlParams } = this;
2933
+ const url = new URL(this.shareUrl);
2934
+ const { searchParams } = url;
2935
+ // Resets existing URL params
2936
+ if (searchParams.get('center'))
2937
+ searchParams.delete('center');
2938
+ if (searchParams.get('level'))
2939
+ searchParams.delete('level');
2940
+ if (searchParams.get('selectedFeature'))
2941
+ searchParams.delete('selectedFeature');
2942
+ if (searchParams.get('hiddenLayers'))
2943
+ searchParams.delete('hiddenLayers');
2944
+ if (searchParams.get('viewpoint'))
2945
+ searchParams.delete('viewpoint');
2946
+ // Checks if view.type is 3D, if so, set 3D url parameters
2947
+ if (type === '3d') {
2948
+ // viewpoint=cam:{camera.position.longitude},{camera.position.latitude},{camera.position.z};{camera.heading},{camera.tilt}
2949
+ const { camera } = this.view;
2950
+ const { heading, position, tilt } = camera;
2951
+ const { longitude, latitude, z } = position;
2952
+ const viewpoint_Values = {
2953
+ longitude: this.roundValue(longitude, 8),
2954
+ latitude: this.roundValue(latitude, 8),
2955
+ z: this.roundValue(z, 3),
2956
+ heading: this.roundValue(heading, 3),
2957
+ tilt: this.roundValue(tilt, 3),
2958
+ };
2959
+ const viewpointVal = `cam:${viewpoint_Values.longitude},${viewpoint_Values.latitude},${viewpoint_Values.z};${viewpoint_Values.heading},${viewpoint_Values.tilt}`;
2960
+ if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.viewpoint) !== false)
2961
+ url.searchParams.set('viewpoint', viewpointVal);
2962
+ if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
2963
+ url.searchParams.set('selectedFeature', `${layerId};${oid}`);
2964
+ if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
2965
+ url.searchParams.set('hiddenLayers', hiddenLayers);
2966
+ url.search = decodeURIComponent(url.search);
2967
+ return url.href;
2968
+ }
2969
+ // Otherwise, just return original url for 2D
2970
+ if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.center) !== false)
2971
+ url.searchParams.set('center', `${roundedLon};${roundedLat}`);
2972
+ if ((defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.level) !== false)
2973
+ url.searchParams.set('level', `${roundedZoom}`);
2974
+ if (layerId && oid && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.selectedFeature) !== false)
2975
+ url.searchParams.set('selectedFeature', `${layerId};${oid}`);
2976
+ if (hiddenLayers && (defaultUrlParams === null || defaultUrlParams === void 0 ? void 0 : defaultUrlParams.hiddenLayers) !== false)
2977
+ url.searchParams.set('hiddenLayers', hiddenLayers);
2978
+ url.search = decodeURIComponent(url.search);
2979
+ return url.href;
2980
+ }
2981
+ roundValue(val, decimalPoints = 4) {
2982
+ return parseFloat(val.toFixed(decimalPoints));
2983
+ }
2984
+ get el() { return index.getElement(this); }
2985
+ };
2986
+ InstantAppsSocialShare.style = InstantAppsSocialShareStyle0;
2987
+
2988
+ exports.calcite_block = Block;
2989
+ exports.calcite_date_picker = DatePicker;
2990
+ exports.calcite_input_date_picker = InputDatePicker;
2991
+ exports.instant_apps_filter_list = InstantAppsFilterList;
2992
+ exports.instant_apps_social_share = InstantAppsSocialShare;