@esri/solutions-components 0.8.36 → 0.8.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1183) hide show
  1. package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
  2. package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
  3. package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
  4. package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
  5. package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
  6. package/dist/assets/t9n/layer-list/resources_da.json +1 -1
  7. package/dist/assets/t9n/layer-list/resources_de.json +1 -1
  8. package/dist/assets/t9n/layer-list/resources_el.json +1 -1
  9. package/dist/assets/t9n/layer-list/resources_es.json +1 -1
  10. package/dist/assets/t9n/layer-list/resources_et.json +1 -1
  11. package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
  12. package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
  13. package/dist/assets/t9n/layer-list/resources_he.json +1 -1
  14. package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
  15. package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
  16. package/dist/assets/t9n/layer-list/resources_id.json +1 -1
  17. package/dist/assets/t9n/layer-list/resources_it.json +1 -1
  18. package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
  19. package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
  20. package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
  21. package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
  22. package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
  23. package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
  24. package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
  25. package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
  26. package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
  27. package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
  28. package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
  29. package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
  30. package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
  31. package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
  32. package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
  33. package/dist/assets/t9n/layer-list/resources_th.json +1 -1
  34. package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
  35. package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
  36. package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
  37. package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
  38. package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
  39. package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
  40. package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
  41. package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
  42. package/dist/cjs/Heading-f1f9e2dd.js +25 -0
  43. package/dist/cjs/Validation-425b2de4.js +20 -0
  44. package/dist/cjs/ar-a2f57db2.js +105 -0
  45. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  46. package/dist/cjs/basemap-gallery_7.cjs.entry.js +10 -2
  47. package/dist/cjs/bg-cb903045.js +83 -0
  48. package/dist/cjs/breakpoints-7d21666f.js +17 -0
  49. package/dist/cjs/browser-d12b6cd5.js +25 -0
  50. package/dist/cjs/bs-3690f22d.js +52 -0
  51. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  52. package/dist/cjs/ca-fec18921.js +72 -0
  53. package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
  54. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  55. package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
  56. package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
  57. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
  58. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
  59. package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
  60. package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
  61. package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
  62. package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
  64. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  65. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  66. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  67. package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
  68. package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
  69. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  70. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
  72. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  74. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
  75. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  76. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
  78. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
  79. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  80. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  81. package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
  82. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  84. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  85. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  86. package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
  87. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
  88. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  89. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  90. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  91. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  92. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  93. package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
  94. package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
  95. package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
  96. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  98. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  99. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  101. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  103. package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
  104. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
  105. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
  106. package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  108. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  109. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  110. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
  111. package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
  112. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
  113. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
  114. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  115. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  116. package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
  117. package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
  118. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  119. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  120. package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
  121. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  123. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  124. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  125. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  126. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  127. package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
  130. package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
  132. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  133. package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
  134. package/dist/cjs/common-03600219.js +38 -0
  135. package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
  136. package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
  137. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  138. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  139. package/dist/cjs/cs-b061b441.js +148 -0
  140. package/dist/cjs/da-e3c379ae.js +67 -0
  141. package/dist/cjs/date-874bf94e.js +261 -0
  142. package/dist/cjs/de-65d2876f.js +92 -0
  143. package/dist/cjs/de-at-16b7b50e.js +91 -0
  144. package/dist/cjs/de-ch-11dcd113.js +91 -0
  145. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  146. package/dist/cjs/downloadUtils-839a1425.js +3165 -0
  147. package/dist/cjs/el-321d43b5.js +67 -0
  148. package/dist/cjs/en-au-c48e6b73.js +67 -0
  149. package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
  150. package/dist/cjs/en-gb-8ced841b.js +70 -0
  151. package/dist/cjs/es-aca5e6b4.js +67 -0
  152. package/dist/cjs/es-mx-b69f0ebb.js +66 -0
  153. package/dist/cjs/et-7e29340d.js +93 -0
  154. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  155. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  156. package/dist/cjs/feature-list.cjs.entry.js +7 -7
  157. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  158. package/dist/cjs/fi-f215f4d1.js +116 -0
  159. package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
  160. package/dist/cjs/form-71a108a7.js +381 -0
  161. package/dist/cjs/fr-0daba4be.js +69 -0
  162. package/dist/cjs/fr-ch-76f752e9.js +67 -0
  163. package/dist/cjs/he-32860a76.js +106 -0
  164. package/dist/cjs/helpers-7cee3150.js +940 -0
  165. package/dist/cjs/hi-c5639f76.js +66 -0
  166. package/dist/cjs/hr-eb700fd5.js +81 -0
  167. package/dist/cjs/hu-e30e3d3a.js +89 -0
  168. package/dist/cjs/id-a3e96e5b.js +67 -0
  169. package/dist/cjs/index-97020c9d.js +201 -0
  170. package/dist/cjs/index-ff18be0d.js +1739 -0
  171. package/dist/cjs/index.es-dd4d4842.js +11317 -0
  172. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
  173. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  174. package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
  175. package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
  176. package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
  177. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
  178. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  179. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
  180. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
  181. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  182. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  183. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
  184. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  185. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
  186. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  187. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  188. package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
  189. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
  190. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
  191. package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
  192. package/dist/cjs/interactive-7e5c7df4.js +154 -0
  193. package/dist/cjs/it-acd3cf54.js +67 -0
  194. package/dist/cjs/it-ch-c78435e7.js +67 -0
  195. package/dist/cjs/ja-ede2132a.js +73 -0
  196. package/dist/cjs/ko-fcd96551.js +73 -0
  197. package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
  198. package/dist/cjs/languageUtil-d23251cd.js +69 -0
  199. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  200. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  201. package/dist/cjs/loadModules-4189814e.js +23 -0
  202. package/dist/cjs/loadable-5d538ba2.js +94 -0
  203. package/dist/cjs/loader.cjs.js +2 -2
  204. package/dist/cjs/locale-62f4cef2.js +91 -0
  205. package/dist/cjs/locale-6973733d.js +161 -0
  206. package/dist/cjs/locale-d2a1066a.js +584 -0
  207. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  208. package/dist/cjs/lt-a30330ef.js +98 -0
  209. package/dist/cjs/lv-ac3b6560.js +67 -0
  210. package/dist/cjs/map-select-tools_3.cjs.entry.js +14 -12
  211. package/dist/cjs/mapViewUtils-78b14528.js +510 -0
  212. package/dist/cjs/mk-a3053dea.js +67 -0
  213. package/dist/cjs/mode-3478ba36.js +19 -0
  214. package/dist/cjs/nb-7ab0bac1.js +68 -0
  215. package/dist/cjs/nl-7fa437ef.js +68 -0
  216. package/dist/cjs/observers-2a59d471.js +55 -0
  217. package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
  218. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  219. package/dist/cjs/pciUtils-f1adcf64.js +847 -0
  220. package/dist/cjs/pl-ea95b104.js +115 -0
  221. package/dist/cjs/popupUtils-bae7f923.js +111 -0
  222. package/dist/cjs/pt-472083c2.js +68 -0
  223. package/dist/cjs/pt-br-5f18543e.js +66 -0
  224. package/dist/cjs/public-notification.cjs.entry.js +33 -20
  225. package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
  226. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  227. package/dist/cjs/restHelpersGet-afc74285.js +919 -0
  228. package/dist/cjs/ro-e8b3d65c.js +67 -0
  229. package/dist/cjs/ru-becefd01.js +127 -0
  230. package/dist/cjs/share-item.cjs.entry.js +1 -1
  231. package/dist/cjs/shared-list-render-6491aae1.js +365 -0
  232. package/dist/cjs/sk-2f5fd4e0.js +149 -0
  233. package/dist/cjs/sl-3ae17da6.js +169 -0
  234. package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
  235. package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
  236. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  237. package/dist/cjs/solution-resource-ffe3c333.js +145 -0
  238. package/dist/cjs/solution-store-c8bada29.js +1344 -0
  239. package/dist/cjs/solutions-components.cjs.js +3 -3
  240. package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
  241. package/dist/cjs/sr-7d6b8d1b.js +102 -0
  242. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  243. package/dist/cjs/styles-ef2b1e04.js +13 -0
  244. package/dist/cjs/sv-9c51da5c.js +72 -0
  245. package/dist/cjs/t9n-ef615628.js +100 -0
  246. package/dist/cjs/th-fec0a074.js +66 -0
  247. package/dist/cjs/time-089ab043.js +289 -0
  248. package/dist/cjs/tr-8d7c18a1.js +67 -0
  249. package/dist/cjs/uk-46a61312.js +105 -0
  250. package/dist/cjs/utils-1de4eaa0.js +130 -0
  251. package/dist/cjs/utils-d237cb85.js +65 -0
  252. package/dist/cjs/vi-4114aa90.js +71 -0
  253. package/dist/cjs/zh-cn-30aca6fe.js +95 -0
  254. package/dist/cjs/zh-hk-5971eb67.js +72 -0
  255. package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
  256. package/dist/collection/collection-manifest.json +1 -1
  257. package/dist/collection/components/consent-manager/consent-manager.js +1 -0
  258. package/dist/collection/components/feature-details/feature-details.js +10 -15
  259. package/dist/collection/components/floor-filter/floor-filter.js +8 -0
  260. package/dist/collection/components/map-select-tools/map-select-tools.js +21 -3
  261. package/dist/collection/components/public-notification/public-notification.js +42 -12
  262. package/dist/collection/components/refine-selection/refine-selection.js +19 -1
  263. package/dist/collection/utils/mapViewUtils.js +2 -0
  264. package/dist/collection/utils/mapViewUtils.ts +2 -0
  265. package/dist/collection/utils/pciUtils.js +1 -1
  266. package/dist/collection/utils/pciUtils.ts +2 -2
  267. package/dist/components/breakpoints.js +5 -5
  268. package/dist/components/button.js +1 -1
  269. package/dist/components/calcite-accordion-item.js +1 -1
  270. package/dist/components/calcite-navigation-logo.js +1 -1
  271. package/dist/components/calcite-stepper-item.js +1 -1
  272. package/dist/components/combobox-item.js +1 -1
  273. package/dist/components/consent-manager.js +7 -1029
  274. package/dist/components/deduct-calculator2.js +1 -1
  275. package/dist/components/dropdown-item.js +1 -1
  276. package/dist/components/feature-details2.js +10 -15
  277. package/dist/components/floor-filter2.js +8 -0
  278. package/dist/components/helpers.js +723 -691
  279. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  280. package/dist/components/instant-apps-control-panel.js +1 -1
  281. package/dist/components/instant-apps-create.js +47 -45
  282. package/dist/components/instant-apps-export.js +1 -1
  283. package/dist/components/instant-apps-filter-list2.js +24 -24
  284. package/dist/components/instant-apps-header2.js +2 -2
  285. package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
  286. package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
  287. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
  288. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
  289. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
  290. package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
  291. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
  292. package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
  293. package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
  294. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  295. package/dist/components/instant-apps-landing-page.js +10 -10
  296. package/dist/components/instant-apps-language-switcher.js +1 -1
  297. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  298. package/dist/components/instant-apps-language-translator2.js +44 -44
  299. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  300. package/dist/components/instant-apps-measurement.js +1 -1
  301. package/dist/components/instant-apps-popover.js +1 -1
  302. package/dist/components/instant-apps-popovers.js +1 -1
  303. package/dist/components/instant-apps-scoreboard.js +1 -1
  304. package/dist/components/instant-apps-sign-in2.js +3 -3
  305. package/dist/components/instant-apps-social-share2.js +12 -11
  306. package/dist/components/instant-apps-splash.js +7 -7
  307. package/dist/components/languageUtil.js +43 -43
  308. package/dist/components/loadModules2.js +3 -3
  309. package/dist/components/locale3.js +58 -58
  310. package/dist/components/map-select-tools2.js +5 -3
  311. package/dist/components/mapViewUtils.js +2 -0
  312. package/dist/components/mode.js +6 -6
  313. package/dist/components/public-notification.js +26 -12
  314. package/dist/components/refine-selection2.js +3 -1
  315. package/dist/components/restHelpersGet.js +329 -382
  316. package/dist/components/solution-resource.js +107 -107
  317. package/dist/components/solution-store.js +482 -482
  318. package/dist/components/store.js +66 -66
  319. package/dist/components/styles.js +1 -1
  320. package/dist/components/tab-title.js +1 -1
  321. package/dist/components/tree-item.js +1 -1
  322. package/dist/components/utils4.js +80 -80
  323. package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
  324. package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
  325. package/dist/esm/Heading-63031c74.js +22 -0
  326. package/dist/esm/Validation-6712b322.js +18 -0
  327. package/dist/esm/ar-19d4f5c7.js +103 -0
  328. package/dist/esm/arcgis-login.entry.js +1 -1
  329. package/dist/esm/basemap-gallery_7.entry.js +11 -3
  330. package/dist/esm/bg-63235b1a.js +81 -0
  331. package/dist/esm/breakpoints-3afa0fd9.js +15 -0
  332. package/dist/esm/browser-e76c94f7.js +23 -0
  333. package/dist/esm/bs-a1b74ac8.js +50 -0
  334. package/dist/esm/buffer-tools_3.entry.js +5 -5
  335. package/dist/esm/ca-b29c38ed.js +70 -0
  336. package/dist/esm/calcite-accordion-item.entry.js +4 -4
  337. package/dist/esm/calcite-accordion.entry.js +2 -2
  338. package/dist/esm/calcite-action-bar.entry.js +7 -7
  339. package/dist/esm/calcite-action-group.entry.js +6 -6
  340. package/dist/esm/calcite-action-menu_3.entry.js +9 -9
  341. package/dist/esm/calcite-action-pad_2.entry.js +11 -11
  342. package/dist/esm/calcite-action_2.entry.js +7 -7
  343. package/dist/esm/calcite-alert_4.entry.js +13 -13
  344. package/dist/esm/calcite-avatar_2.entry.js +2 -2
  345. package/dist/esm/calcite-block-section.entry.js +5 -5
  346. package/dist/esm/calcite-block_5.entry.js +55 -54
  347. package/dist/esm/calcite-button.entry.js +9 -9
  348. package/dist/esm/calcite-card-group.entry.js +4 -4
  349. package/dist/esm/calcite-card.entry.js +7 -7
  350. package/dist/esm/calcite-carousel-item.entry.js +1 -1
  351. package/dist/esm/calcite-carousel.entry.js +7 -7
  352. package/dist/esm/calcite-checkbox.entry.js +5 -5
  353. package/dist/esm/calcite-chip-group.entry.js +4 -4
  354. package/dist/esm/calcite-chip_2.entry.js +10 -10
  355. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  356. package/dist/esm/calcite-color-picker.entry.js +7 -7
  357. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  358. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  359. package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
  360. package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
  361. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  362. package/dist/esm/calcite-fab.entry.js +4 -4
  363. package/dist/esm/calcite-filter_5.entry.js +7 -7
  364. package/dist/esm/calcite-flow_6.entry.js +20 -25
  365. package/dist/esm/calcite-icon.entry.js +2 -2
  366. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  367. package/dist/esm/calcite-input-number.entry.js +9 -9
  368. package/dist/esm/calcite-input-text.entry.js +9 -9
  369. package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
  370. package/dist/esm/calcite-input-time-picker.entry.js +12 -12
  371. package/dist/esm/calcite-input-time-zone.entry.js +8 -8
  372. package/dist/esm/calcite-input_2.entry.js +9 -9
  373. package/dist/esm/calcite-label.entry.js +1 -1
  374. package/dist/esm/calcite-link.entry.js +4 -4
  375. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  376. package/dist/esm/calcite-menu-item.entry.js +5 -5
  377. package/dist/esm/calcite-menu.entry.js +5 -5
  378. package/dist/esm/calcite-meter.entry.js +5 -5
  379. package/dist/esm/calcite-modal.entry.js +7 -7
  380. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  381. package/dist/esm/calcite-navigation.entry.js +2 -2
  382. package/dist/esm/calcite-notice.entry.js +7 -7
  383. package/dist/esm/calcite-option-group.entry.js +1 -1
  384. package/dist/esm/calcite-option_2.entry.js +7 -7
  385. package/dist/esm/calcite-pagination.entry.js +5 -5
  386. package/dist/esm/calcite-panel_2.entry.js +9 -9
  387. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  388. package/dist/esm/calcite-pick-list-item.entry.js +8 -8
  389. package/dist/esm/calcite-pick-list.entry.js +6 -6
  390. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  391. package/dist/esm/calcite-radio-button.entry.js +5 -5
  392. package/dist/esm/calcite-rating.entry.js +8 -8
  393. package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
  394. package/dist/esm/calcite-sheet.entry.js +4 -4
  395. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  396. package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
  397. package/dist/esm/calcite-sortable-list.entry.js +4 -4
  398. package/dist/esm/calcite-split-button.entry.js +4 -4
  399. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  400. package/dist/esm/calcite-stepper.entry.js +4 -4
  401. package/dist/esm/calcite-switch.entry.js +5 -5
  402. package/dist/esm/calcite-table-cell_2.entry.js +7 -7
  403. package/dist/esm/calcite-table-row.entry.js +3 -3
  404. package/dist/esm/calcite-table.entry.js +6 -6
  405. package/dist/esm/calcite-text-area.entry.js +9 -9
  406. package/dist/esm/calcite-tile-group.entry.js +4 -4
  407. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  408. package/dist/esm/calcite-tile-select.entry.js +4 -4
  409. package/dist/esm/calcite-tile.entry.js +4 -4
  410. package/dist/esm/calcite-time-picker.entry.js +6 -6
  411. package/dist/esm/calcite-tip-group.entry.js +1 -1
  412. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  413. package/dist/esm/calcite-tip.entry.js +6 -6
  414. package/dist/esm/calcite-tooltip.entry.js +4 -4
  415. package/dist/esm/calcite-tree_2.entry.js +6 -6
  416. package/dist/esm/card-manager_3.entry.js +7 -7
  417. package/dist/esm/common-8697fccd.js +36 -0
  418. package/dist/esm/conditionalSlot-56bdb202.js +51 -0
  419. package/dist/esm/consent-manager.entry.js +10 -1031
  420. package/dist/esm/crowdsource-manager.entry.js +4 -4
  421. package/dist/esm/crowdsource-reporter.entry.js +4 -4
  422. package/dist/esm/cs-da7231d6.js +146 -0
  423. package/dist/esm/da-7e105037.js +65 -0
  424. package/dist/esm/date-93ae46b9.js +245 -0
  425. package/dist/esm/de-at-1d9434bb.js +89 -0
  426. package/dist/esm/de-b5646b5d.js +90 -0
  427. package/dist/esm/de-ch-7beada93.js +89 -0
  428. package/dist/esm/deduct-calculator.entry.js +2 -2
  429. package/dist/esm/downloadUtils-97acca92.js +3158 -0
  430. package/dist/esm/el-0f4bf89b.js +65 -0
  431. package/dist/esm/en-au-5c144cef.js +65 -0
  432. package/dist/esm/en-ca-1160089a.js +64 -0
  433. package/dist/esm/en-gb-ae98fc58.js +68 -0
  434. package/dist/esm/es-88e1743a.js +65 -0
  435. package/dist/esm/es-mx-020dfaaa.js +64 -0
  436. package/dist/esm/esri-loader-3080dcc0.js +311 -0
  437. package/dist/esm/et-84f63ef8.js +91 -0
  438. package/dist/esm/feature-comments.entry.js +1 -1
  439. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  440. package/dist/esm/feature-list.entry.js +8 -8
  441. package/dist/esm/features-flow-item.entry.js +1 -1
  442. package/dist/esm/fi-1016ee6e.js +114 -0
  443. package/dist/esm/floating-ui-f086572c.js +2287 -0
  444. package/dist/esm/form-8fd73cbd.js +372 -0
  445. package/dist/esm/fr-0e7ffd73.js +67 -0
  446. package/dist/esm/fr-ch-e18bae2c.js +65 -0
  447. package/dist/esm/he-0cebe004.js +104 -0
  448. package/dist/esm/helpers-7c88b974.js +913 -0
  449. package/dist/esm/hi-cded031d.js +64 -0
  450. package/dist/esm/hr-5643b2ab.js +79 -0
  451. package/dist/esm/html2canvas-fd387d87.js +7845 -0
  452. package/dist/esm/hu-6d605858.js +87 -0
  453. package/dist/esm/id-7d804c46.js +65 -0
  454. package/dist/esm/index-83b693bc.js +1705 -0
  455. package/dist/esm/index-d97f4f15.js +199 -0
  456. package/dist/esm/index.es-ee5497bc.js +11230 -0
  457. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
  458. package/dist/esm/instant-apps-control-panel.entry.js +4 -4
  459. package/dist/esm/instant-apps-create.entry.js +53 -51
  460. package/dist/esm/instant-apps-export.entry.js +7 -7
  461. package/dist/esm/instant-apps-header.entry.js +7 -7
  462. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
  463. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
  464. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
  465. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
  466. package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
  467. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
  468. package/dist/esm/instant-apps-landing-page.entry.js +12 -12
  469. package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
  470. package/dist/esm/instant-apps-language-translator.entry.js +9 -9
  471. package/dist/esm/instant-apps-measurement.entry.js +6 -6
  472. package/dist/esm/instant-apps-popover.entry.js +6 -6
  473. package/dist/esm/instant-apps-popovers.entry.js +2 -2
  474. package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
  475. package/dist/esm/instant-apps-sign-in.entry.js +8 -8
  476. package/dist/esm/instant-apps-splash.entry.js +12 -12
  477. package/dist/esm/interactive-3b9600a6.js +149 -0
  478. package/dist/esm/it-849be361.js +65 -0
  479. package/dist/esm/it-ch-453fa26d.js +65 -0
  480. package/dist/esm/ja-edff1441.js +71 -0
  481. package/dist/esm/ko-dc103450.js +71 -0
  482. package/dist/esm/languageSwitcher-0f693a04.js +57 -0
  483. package/dist/esm/languageUtil-de206286.js +66 -0
  484. package/dist/esm/layout-manager.entry.js +3 -3
  485. package/dist/esm/list-flow-item.entry.js +1 -1
  486. package/dist/esm/loadModules-43119ac8.js +21 -0
  487. package/dist/esm/loadable-b765a6f6.js +89 -0
  488. package/dist/esm/loader.js +3 -3
  489. package/dist/esm/locale-42369411.js +156 -0
  490. package/dist/esm/locale-70630b7c.js +86 -0
  491. package/dist/esm/locale-a4cbae12.js +571 -0
  492. package/dist/esm/location-flow-item.entry.js +1 -1
  493. package/dist/esm/lt-270cc811.js +96 -0
  494. package/dist/esm/lv-c877043c.js +65 -0
  495. package/dist/esm/map-select-tools_3.entry.js +15 -13
  496. package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
  497. package/dist/esm/mk-a816a702.js +65 -0
  498. package/dist/esm/mode-8c5f5dc9.js +17 -0
  499. package/dist/esm/nb-e9c09b70.js +66 -0
  500. package/dist/esm/nl-56e70f3b.js +66 -0
  501. package/dist/esm/observers-fcb1c07b.js +53 -0
  502. package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
  503. package/dist/esm/pci-calculator.entry.js +2 -2
  504. package/dist/esm/pciUtils-986ddad9.js +844 -0
  505. package/dist/esm/pl-687b559a.js +113 -0
  506. package/dist/esm/popupUtils-98ad70f3.js +109 -0
  507. package/dist/esm/pt-8b05fed2.js +66 -0
  508. package/dist/esm/pt-br-85bdf812.js +64 -0
  509. package/dist/esm/public-notification.entry.js +34 -21
  510. package/dist/esm/publicNotificationStore-08faccff.js +45 -0
  511. package/dist/esm/purify-caded4cd.js +1714 -0
  512. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  513. package/dist/esm/restHelpersGet-dab84057.js +906 -0
  514. package/dist/esm/ro-0975d6bb.js +65 -0
  515. package/dist/esm/ru-24b83704.js +125 -0
  516. package/dist/esm/share-item.entry.js +1 -1
  517. package/dist/esm/shared-list-render-07a20fc5.js +343 -0
  518. package/dist/esm/sk-8179af4d.js +147 -0
  519. package/dist/esm/sl-e6922692.js +167 -0
  520. package/dist/esm/solution-configuration.entry.js +7 -7
  521. package/dist/esm/solution-contents_3.entry.js +8 -8
  522. package/dist/esm/solution-item-icon.entry.js +1 -1
  523. package/dist/esm/solution-resource-a2fff3bf.js +142 -0
  524. package/dist/esm/solution-store-30a19a45.js +1342 -0
  525. package/dist/esm/solutions-components.js +4 -4
  526. package/dist/esm/spatial-ref.entry.js +5 -5
  527. package/dist/esm/sr-1d30e69e.js +100 -0
  528. package/dist/esm/store-manager.entry.js +1 -1
  529. package/dist/esm/styles-b3492d9f.js +11 -0
  530. package/dist/esm/sv-ea3c4b80.js +70 -0
  531. package/dist/esm/t9n-dd2a98fc.js +95 -0
  532. package/dist/esm/th-0f1b35bc.js +64 -0
  533. package/dist/esm/time-bc97792f.js +274 -0
  534. package/dist/esm/tr-eb4e860e.js +65 -0
  535. package/dist/esm/uk-f3ebd952.js +103 -0
  536. package/dist/esm/utils-9bb48951.js +121 -0
  537. package/dist/esm/utils-bf012a3f.js +54 -0
  538. package/dist/esm/vi-872e449d.js +69 -0
  539. package/dist/esm/zh-cn-8c5a3222.js +93 -0
  540. package/dist/esm/zh-hk-247683c2.js +70 -0
  541. package/dist/esm/zh-tw-76a429e9.js +91 -0
  542. package/dist/loader/cdn.js +1 -2
  543. package/dist/loader/index.cjs.js +1 -2
  544. package/dist/loader/index.es2017.js +1 -2
  545. package/dist/loader/index.js +1 -2
  546. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
  547. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
  548. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
  549. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
  550. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
  551. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
  552. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
  553. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
  554. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
  555. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
  556. package/dist/solutions-components/p-01ba6099.js +6 -0
  557. package/dist/solutions-components/p-03178c37.js +6 -0
  558. package/dist/solutions-components/p-046acd6b.entry.js +6 -0
  559. package/dist/solutions-components/p-0a053ed7.js +6 -0
  560. package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
  561. package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
  562. package/dist/solutions-components/p-11094d76.entry.js +29 -0
  563. package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
  564. package/dist/solutions-components/p-123fcb43.entry.js +6 -0
  565. package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
  566. package/dist/solutions-components/p-132b1138.entry.js +21 -0
  567. package/dist/solutions-components/p-13b513ed.entry.js +11 -0
  568. package/dist/solutions-components/p-15e08453.js +6 -0
  569. package/dist/solutions-components/p-17feaae0.entry.js +17 -0
  570. package/dist/solutions-components/p-1983d6e8.js +6 -0
  571. package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
  572. package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
  573. package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
  574. package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
  575. package/dist/solutions-components/p-1d369231.js +21 -0
  576. package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
  577. package/dist/solutions-components/p-20a567b0.entry.js +6 -0
  578. package/dist/solutions-components/p-21965dcd.entry.js +11 -0
  579. package/dist/solutions-components/p-2305749d.entry.js +17 -0
  580. package/dist/solutions-components/p-24634430.entry.js +11 -0
  581. package/dist/solutions-components/p-2599399f.entry.js +6 -0
  582. package/dist/solutions-components/p-27c68097.js +11 -0
  583. package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
  584. package/dist/solutions-components/p-28fd26ed.js +6 -0
  585. package/dist/solutions-components/p-293d376c.js +6 -0
  586. package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
  587. package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
  588. package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
  589. package/dist/solutions-components/p-2a990146.entry.js +6 -0
  590. package/dist/solutions-components/p-2b4e50ed.js +6 -0
  591. package/dist/solutions-components/p-2d99bd61.js +6 -0
  592. package/dist/solutions-components/p-2e401f51.js +6 -0
  593. package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
  594. package/dist/solutions-components/p-3102119d.entry.js +11 -0
  595. package/dist/solutions-components/p-3137377f.entry.js +11 -0
  596. package/dist/solutions-components/p-34722455.entry.js +6 -0
  597. package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
  598. package/dist/solutions-components/p-37e2754a.js +6 -0
  599. package/dist/solutions-components/p-398ff315.js +11 -0
  600. package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
  601. package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
  602. package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
  603. package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
  604. package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
  605. package/dist/solutions-components/p-3eb49703.js +489 -0
  606. package/dist/solutions-components/p-42ea2581.js +6 -0
  607. package/dist/solutions-components/p-44043ef6.entry.js +11 -0
  608. package/dist/solutions-components/p-44bfa87d.js +11 -0
  609. package/dist/solutions-components/p-45db29e2.js +6 -0
  610. package/dist/solutions-components/p-465fbfc2.js +6 -0
  611. package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
  612. package/dist/solutions-components/p-49250010.js +6 -0
  613. package/dist/solutions-components/p-4b80b699.entry.js +6 -0
  614. package/dist/solutions-components/p-4b85c3dc.js +6 -0
  615. package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
  616. package/dist/solutions-components/p-4fbd1a02.js +6 -0
  617. package/dist/solutions-components/p-50aa0e5a.js +6 -0
  618. package/dist/solutions-components/p-52bcd209.entry.js +6 -0
  619. package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
  620. package/dist/solutions-components/p-5443995c.entry.js +11 -0
  621. package/dist/solutions-components/p-55730588.js +6 -0
  622. package/dist/solutions-components/p-57961ae0.entry.js +6 -0
  623. package/dist/solutions-components/p-57a03a95.js +17 -0
  624. package/dist/solutions-components/p-59f016a1.js +61 -0
  625. package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
  626. package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
  627. package/dist/solutions-components/p-5db64297.entry.js +11 -0
  628. package/dist/solutions-components/p-5eb6219c.js +11 -0
  629. package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
  630. package/dist/solutions-components/p-5ed825c4.js +6 -0
  631. package/dist/solutions-components/p-5f1fdaf9.js +11 -0
  632. package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
  633. package/dist/solutions-components/p-61dcdc62.js +6 -0
  634. package/dist/solutions-components/p-622f33ee.entry.js +6 -0
  635. package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
  636. package/dist/solutions-components/p-652140aa.entry.js +6 -0
  637. package/dist/solutions-components/p-6809e050.entry.js +11 -0
  638. package/dist/solutions-components/p-69cfc738.entry.js +6 -0
  639. package/dist/solutions-components/p-69db1e2c.js +6 -0
  640. package/dist/solutions-components/p-6acf6c8f.js +7 -0
  641. package/dist/solutions-components/p-6bf91f6e.js +6 -0
  642. package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
  643. package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
  644. package/dist/solutions-components/p-6d51c6bf.js +6 -0
  645. package/dist/solutions-components/p-6df9b158.entry.js +11 -0
  646. package/dist/solutions-components/p-716a0878.js +11 -0
  647. package/dist/solutions-components/p-71c212e6.entry.js +12 -0
  648. package/dist/solutions-components/p-71ed8170.entry.js +11 -0
  649. package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
  650. package/dist/solutions-components/p-7388563d.js +6 -0
  651. package/dist/solutions-components/p-747d4b59.js +21 -0
  652. package/dist/solutions-components/p-74dbad36.js +6 -0
  653. package/dist/solutions-components/p-7638ce3d.js +6 -0
  654. package/dist/solutions-components/p-76f51550.entry.js +11 -0
  655. package/dist/solutions-components/p-7773d8ea.js +6 -0
  656. package/dist/solutions-components/p-7822e93b.js +16 -0
  657. package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
  658. package/dist/solutions-components/p-7996f123.js +50 -0
  659. package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
  660. package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
  661. package/dist/solutions-components/p-7a646a97.js +6 -0
  662. package/dist/solutions-components/p-7afca6b4.js +26 -0
  663. package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
  664. package/dist/solutions-components/p-7efcfb47.js +6 -0
  665. package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
  666. package/dist/solutions-components/p-7fe77355.js +6 -0
  667. package/dist/solutions-components/p-7fea6d8a.js +6 -0
  668. package/dist/solutions-components/p-8008449b.entry.js +16 -0
  669. package/dist/solutions-components/p-813d004f.js +16 -0
  670. package/dist/solutions-components/p-8241b179.entry.js +17 -0
  671. package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
  672. package/dist/solutions-components/p-853d952d.entry.js +6 -0
  673. package/dist/solutions-components/p-89f6ff72.js +6 -0
  674. package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
  675. package/dist/solutions-components/p-8babc507.entry.js +6 -0
  676. package/dist/solutions-components/p-8c6d9b5a.js +6 -0
  677. package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
  678. package/dist/solutions-components/p-8ed6ce4d.js +11 -0
  679. package/dist/solutions-components/p-9088fa3a.js +6 -0
  680. package/dist/solutions-components/p-90e3ce7f.js +6 -0
  681. package/dist/solutions-components/p-9271710d.js +6 -0
  682. package/dist/solutions-components/p-9377260c.js +6 -0
  683. package/dist/solutions-components/p-941e55f0.entry.js +6 -0
  684. package/dist/solutions-components/p-946ee345.js +145 -0
  685. package/dist/solutions-components/p-97421bb9.js +6 -0
  686. package/dist/solutions-components/p-9808250d.entry.js +6 -0
  687. package/dist/solutions-components/p-9a7e00b8.js +6 -0
  688. package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
  689. package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
  690. package/dist/solutions-components/p-9c6c056a.js +12 -0
  691. package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
  692. package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
  693. package/dist/solutions-components/p-9e77f5c7.js +11 -0
  694. package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
  695. package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
  696. package/dist/solutions-components/p-a204dcff.entry.js +11 -0
  697. package/dist/solutions-components/p-a2390bee.entry.js +6 -0
  698. package/dist/solutions-components/p-a805c11f.entry.js +6 -0
  699. package/dist/solutions-components/p-a89e61f4.js +11 -0
  700. package/dist/solutions-components/p-aa967a48.entry.js +6 -0
  701. package/dist/solutions-components/p-ab8039f5.js +6 -0
  702. package/dist/solutions-components/p-acef743f.entry.js +11 -0
  703. package/dist/solutions-components/p-ada34f83.js +6 -0
  704. package/dist/solutions-components/p-af1c9389.entry.js +6 -0
  705. package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
  706. package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
  707. package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
  708. package/dist/solutions-components/p-b25e8339.js +6 -0
  709. package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
  710. package/dist/solutions-components/p-b2f11718.entry.js +11 -0
  711. package/dist/solutions-components/p-b4230022.entry.js +11 -0
  712. package/dist/solutions-components/p-b442aa02.entry.js +17 -0
  713. package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
  714. package/dist/solutions-components/p-b5c88983.js +6 -0
  715. package/dist/solutions-components/p-b64cc55e.js +11 -0
  716. package/dist/solutions-components/p-b77b6c26.js +6 -0
  717. package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
  718. package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
  719. package/dist/solutions-components/p-ba569f8b.js +11 -0
  720. package/dist/solutions-components/p-bac8a4cd.js +6 -0
  721. package/dist/solutions-components/p-bd459df3.entry.js +11 -0
  722. package/dist/solutions-components/p-bf27cd5f.js +6 -0
  723. package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
  724. package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
  725. package/dist/solutions-components/p-c4160bf7.js +6 -0
  726. package/dist/solutions-components/p-c4ddb206.js +21 -0
  727. package/dist/solutions-components/p-c554abce.entry.js +11 -0
  728. package/dist/solutions-components/p-c63a8225.entry.js +6 -0
  729. package/dist/solutions-components/p-c8935707.entry.js +11 -0
  730. package/dist/solutions-components/p-c96bde1d.js +6 -0
  731. package/dist/solutions-components/p-c9b22653.js +36 -0
  732. package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
  733. package/dist/solutions-components/p-cc07069d.entry.js +11 -0
  734. package/dist/solutions-components/p-cc388a08.js +11 -0
  735. package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
  736. package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
  737. package/dist/solutions-components/p-d029b513.js +6 -0
  738. package/dist/solutions-components/p-d11d941c.js +6 -0
  739. package/dist/solutions-components/p-d27ab863.js +37 -0
  740. package/dist/solutions-components/p-d31a139f.entry.js +11 -0
  741. package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
  742. package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
  743. package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
  744. package/dist/solutions-components/p-da75df88.entry.js +6 -0
  745. package/dist/solutions-components/p-de279d51.entry.js +6 -0
  746. package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
  747. package/dist/solutions-components/p-df0a1d4b.js +11 -0
  748. package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
  749. package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
  750. package/dist/solutions-components/p-e11a4728.entry.js +6 -0
  751. package/dist/solutions-components/p-e528c321.js +6 -0
  752. package/dist/solutions-components/p-e6c9e6af.js +11 -0
  753. package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
  754. package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
  755. package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
  756. package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
  757. package/dist/solutions-components/p-ee309d0b.js +6 -0
  758. package/dist/solutions-components/p-ee7f7c24.js +6 -0
  759. package/dist/solutions-components/p-ef54f211.js +6 -0
  760. package/dist/solutions-components/p-ef930f76.entry.js +11 -0
  761. package/dist/solutions-components/p-f163a137.js +6 -0
  762. package/dist/solutions-components/p-f1ae51dc.js +21 -0
  763. package/dist/solutions-components/p-f480b275.js +6 -0
  764. package/dist/solutions-components/p-f539a342.entry.js +11 -0
  765. package/dist/solutions-components/p-f8c45269.entry.js +6 -0
  766. package/dist/solutions-components/p-fa1ceaf9.js +7 -0
  767. package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
  768. package/dist/solutions-components/p-fc9a49db.js +6 -0
  769. package/dist/solutions-components/solutions-components.esm.js +1 -1
  770. package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
  771. package/dist/solutions-components/utils/pciUtils.ts +2 -2
  772. package/dist/types/components/floor-filter/floor-filter.d.ts +4 -0
  773. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  774. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  775. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  776. package/dist/types/components.d.ts +24 -0
  777. package/dist/types/stencil-public-runtime.d.ts +3 -8
  778. package/package.json +41 -40
  779. package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
  780. package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
  781. package/dist/cjs/Heading-1f831135.js +0 -25
  782. package/dist/cjs/Validation-eb9afded.js +0 -20
  783. package/dist/cjs/ar-1013e0a6.js +0 -105
  784. package/dist/cjs/bg-7013971e.js +0 -83
  785. package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
  786. package/dist/cjs/browser-a96d0614.js +0 -25
  787. package/dist/cjs/bs-97bd61eb.js +0 -52
  788. package/dist/cjs/ca-2a76034c.js +0 -72
  789. package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
  790. package/dist/cjs/common-6d2c14c6.js +0 -38
  791. package/dist/cjs/conditionalSlot-93779916.js +0 -54
  792. package/dist/cjs/cs-b189af7b.js +0 -148
  793. package/dist/cjs/da-ebb3b688.js +0 -67
  794. package/dist/cjs/date-456675b2.js +0 -261
  795. package/dist/cjs/de-01ac3f09.js +0 -92
  796. package/dist/cjs/de-at-1437180c.js +0 -91
  797. package/dist/cjs/de-ch-b9a068a3.js +0 -91
  798. package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
  799. package/dist/cjs/el-7ce5c99d.js +0 -67
  800. package/dist/cjs/en-au-c3ca3a9f.js +0 -67
  801. package/dist/cjs/en-ca-34007cde.js +0 -66
  802. package/dist/cjs/en-gb-2db136a2.js +0 -70
  803. package/dist/cjs/es-f00ce3f0.js +0 -67
  804. package/dist/cjs/es-mx-503b9e1a.js +0 -66
  805. package/dist/cjs/et-556f49fd.js +0 -93
  806. package/dist/cjs/fi-47ef7686.js +0 -116
  807. package/dist/cjs/floating-ui-06d961ad.js +0 -2295
  808. package/dist/cjs/form-a27f759c.js +0 -381
  809. package/dist/cjs/fr-5ba5763a.js +0 -69
  810. package/dist/cjs/fr-ch-9b02cb30.js +0 -67
  811. package/dist/cjs/he-07cce409.js +0 -106
  812. package/dist/cjs/helpers-618a3f7d.js +0 -907
  813. package/dist/cjs/hi-7b691fb6.js +0 -66
  814. package/dist/cjs/hr-ebd3ae66.js +0 -81
  815. package/dist/cjs/hu-b177f75e.js +0 -89
  816. package/dist/cjs/id-ffab63fb.js +0 -67
  817. package/dist/cjs/index-79b35510.js +0 -1682
  818. package/dist/cjs/index-c078ea5f.js +0 -201
  819. package/dist/cjs/index.es-4e523f8b.js +0 -11317
  820. package/dist/cjs/interactive-f08f0369.js +0 -154
  821. package/dist/cjs/it-8646ff2a.js +0 -67
  822. package/dist/cjs/it-ch-6c949267.js +0 -67
  823. package/dist/cjs/ja-cf48eff1.js +0 -73
  824. package/dist/cjs/ko-294e5fae.js +0 -73
  825. package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
  826. package/dist/cjs/languageUtil-da436671.js +0 -69
  827. package/dist/cjs/loadModules-b28900c2.js +0 -23
  828. package/dist/cjs/loadable-b374ef4b.js +0 -94
  829. package/dist/cjs/locale-3fd260e3.js +0 -91
  830. package/dist/cjs/locale-48d76c59.js +0 -161
  831. package/dist/cjs/locale-5efdf085.js +0 -584
  832. package/dist/cjs/lt-a592829c.js +0 -98
  833. package/dist/cjs/lv-39a6d278.js +0 -67
  834. package/dist/cjs/mapViewUtils-911698e5.js +0 -508
  835. package/dist/cjs/mk-afea13c6.js +0 -67
  836. package/dist/cjs/mode-d6c12b38.js +0 -19
  837. package/dist/cjs/nb-b7cf648c.js +0 -68
  838. package/dist/cjs/nl-72021978.js +0 -68
  839. package/dist/cjs/observers-4fa351d9.js +0 -55
  840. package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
  841. package/dist/cjs/pciUtils-a238f3a1.js +0 -847
  842. package/dist/cjs/pl-82312f6a.js +0 -115
  843. package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
  844. package/dist/cjs/pt-42d95816.js +0 -68
  845. package/dist/cjs/pt-br-b0b546fc.js +0 -66
  846. package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
  847. package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
  848. package/dist/cjs/ro-e7948270.js +0 -67
  849. package/dist/cjs/ru-3526e86f.js +0 -127
  850. package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
  851. package/dist/cjs/sk-0f35900e.js +0 -149
  852. package/dist/cjs/sl-abc6455f.js +0 -169
  853. package/dist/cjs/solution-resource-a577e84f.js +0 -145
  854. package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
  855. package/dist/cjs/sr-fe2d4b5b.js +0 -102
  856. package/dist/cjs/styles-c9e1375a.js +0 -13
  857. package/dist/cjs/sv-6503d7e1.js +0 -72
  858. package/dist/cjs/t9n-9d199056.js +0 -100
  859. package/dist/cjs/th-9600cb11.js +0 -66
  860. package/dist/cjs/time-d250cbf5.js +0 -289
  861. package/dist/cjs/tr-faae7cc6.js +0 -67
  862. package/dist/cjs/uk-5e626d2b.js +0 -105
  863. package/dist/cjs/utils-e3996e43.js +0 -65
  864. package/dist/cjs/utils-f3710824.js +0 -130
  865. package/dist/cjs/vi-74653398.js +0 -71
  866. package/dist/cjs/zh-cn-b53af030.js +0 -95
  867. package/dist/cjs/zh-hk-96b751d5.js +0 -72
  868. package/dist/cjs/zh-tw-50d1a248.js +0 -93
  869. package/dist/esm/ExpandToggle-73432b0a.js +0 -110
  870. package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
  871. package/dist/esm/Heading-03b41bf8.js +0 -22
  872. package/dist/esm/Validation-59757032.js +0 -18
  873. package/dist/esm/ar-a0f8473e.js +0 -103
  874. package/dist/esm/bg-4a8059f0.js +0 -81
  875. package/dist/esm/breakpoints-f0f1417d.js +0 -15
  876. package/dist/esm/browser-9897260d.js +0 -23
  877. package/dist/esm/bs-3d9fa4b7.js +0 -50
  878. package/dist/esm/ca-a74ba459.js +0 -70
  879. package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
  880. package/dist/esm/common-7f72122b.js +0 -36
  881. package/dist/esm/conditionalSlot-16953b0d.js +0 -51
  882. package/dist/esm/cs-cd3323d4.js +0 -146
  883. package/dist/esm/da-eccb7ace.js +0 -65
  884. package/dist/esm/date-562b6fba.js +0 -245
  885. package/dist/esm/de-269c8d62.js +0 -90
  886. package/dist/esm/de-at-742cc453.js +0 -89
  887. package/dist/esm/de-ch-b4ff8ebb.js +0 -89
  888. package/dist/esm/downloadUtils-571a502d.js +0 -3158
  889. package/dist/esm/el-e7e0181b.js +0 -65
  890. package/dist/esm/en-au-0f12d4ae.js +0 -65
  891. package/dist/esm/en-ca-d692f9a4.js +0 -64
  892. package/dist/esm/en-gb-e91744e9.js +0 -68
  893. package/dist/esm/es-867bace7.js +0 -65
  894. package/dist/esm/es-mx-cde6ed6f.js +0 -64
  895. package/dist/esm/esri-loader-2bf735ed.js +0 -311
  896. package/dist/esm/et-a2613f53.js +0 -91
  897. package/dist/esm/fi-07875b7a.js +0 -114
  898. package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
  899. package/dist/esm/form-6d38f4ee.js +0 -372
  900. package/dist/esm/fr-669ba3b9.js +0 -67
  901. package/dist/esm/fr-ch-da569be6.js +0 -65
  902. package/dist/esm/he-6cbfe53b.js +0 -104
  903. package/dist/esm/helpers-61b05164.js +0 -881
  904. package/dist/esm/hi-913d1595.js +0 -64
  905. package/dist/esm/hr-8f581dc9.js +0 -79
  906. package/dist/esm/html2canvas-28c7de60.js +0 -7845
  907. package/dist/esm/hu-02bb4a04.js +0 -87
  908. package/dist/esm/id-306dcc93.js +0 -65
  909. package/dist/esm/index-ba5da2b0.js +0 -1648
  910. package/dist/esm/index-c06194fa.js +0 -199
  911. package/dist/esm/index.es-2f9f04c5.js +0 -11230
  912. package/dist/esm/interactive-52276a00.js +0 -149
  913. package/dist/esm/it-3f0c20a1.js +0 -65
  914. package/dist/esm/it-ch-fe18a6c5.js +0 -65
  915. package/dist/esm/ja-41455a15.js +0 -71
  916. package/dist/esm/ko-88a4fc75.js +0 -71
  917. package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
  918. package/dist/esm/languageUtil-36f8f4ef.js +0 -66
  919. package/dist/esm/loadModules-496086ee.js +0 -21
  920. package/dist/esm/loadable-cca582a3.js +0 -89
  921. package/dist/esm/locale-353c1c36.js +0 -571
  922. package/dist/esm/locale-69333b8e.js +0 -86
  923. package/dist/esm/locale-a490c4f6.js +0 -156
  924. package/dist/esm/lt-5c1c3aa4.js +0 -96
  925. package/dist/esm/lv-acb76551.js +0 -65
  926. package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
  927. package/dist/esm/mk-b12a886b.js +0 -65
  928. package/dist/esm/mode-66911cb5.js +0 -17
  929. package/dist/esm/nb-50bbf4fa.js +0 -66
  930. package/dist/esm/nl-6dd1488e.js +0 -66
  931. package/dist/esm/observers-19e5cb73.js +0 -53
  932. package/dist/esm/openCloseComponent-04234cea.js +0 -90
  933. package/dist/esm/pciUtils-73d4b6b4.js +0 -844
  934. package/dist/esm/pl-f0ccb3a4.js +0 -113
  935. package/dist/esm/polyfills/core-js.js +0 -11
  936. package/dist/esm/polyfills/dom.js +0 -79
  937. package/dist/esm/polyfills/es5-html-element.js +0 -1
  938. package/dist/esm/polyfills/index.js +0 -34
  939. package/dist/esm/polyfills/system.js +0 -6
  940. package/dist/esm/popupUtils-8efd3cde.js +0 -109
  941. package/dist/esm/pt-3adf4f5e.js +0 -66
  942. package/dist/esm/pt-br-5ad78776.js +0 -64
  943. package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
  944. package/dist/esm/purify-dbd0968e.js +0 -1714
  945. package/dist/esm/restHelpersGet-1bd54274.js +0 -959
  946. package/dist/esm/ro-ba24a126.js +0 -65
  947. package/dist/esm/ru-2feffc99.js +0 -125
  948. package/dist/esm/shared-list-render-aaa69039.js +0 -343
  949. package/dist/esm/sk-097e96ba.js +0 -147
  950. package/dist/esm/sl-27721fe2.js +0 -167
  951. package/dist/esm/solution-resource-0d0eb597.js +0 -142
  952. package/dist/esm/solution-store-997e0cb8.js +0 -1342
  953. package/dist/esm/sr-b421770e.js +0 -100
  954. package/dist/esm/styles-367380b5.js +0 -11
  955. package/dist/esm/sv-3bad8e53.js +0 -70
  956. package/dist/esm/t9n-165900a5.js +0 -95
  957. package/dist/esm/th-7cc88e5d.js +0 -64
  958. package/dist/esm/time-d605c462.js +0 -274
  959. package/dist/esm/tr-0a2743e1.js +0 -65
  960. package/dist/esm/uk-6d2572d0.js +0 -103
  961. package/dist/esm/utils-26baa5d3.js +0 -54
  962. package/dist/esm/utils-bd72a603.js +0 -121
  963. package/dist/esm/vi-e8feb97f.js +0 -69
  964. package/dist/esm/zh-cn-fdec5be5.js +0 -93
  965. package/dist/esm/zh-hk-07c60ac2.js +0 -70
  966. package/dist/esm/zh-tw-b1e4174b.js +0 -91
  967. package/dist/solutions-components/p-011892f2.entry.js +0 -11
  968. package/dist/solutions-components/p-022edd7a.entry.js +0 -11
  969. package/dist/solutions-components/p-02651dd3.entry.js +0 -11
  970. package/dist/solutions-components/p-04af53a2.js +0 -6
  971. package/dist/solutions-components/p-053be79f.entry.js +0 -12
  972. package/dist/solutions-components/p-061da95a.entry.js +0 -6
  973. package/dist/solutions-components/p-0669c156.entry.js +0 -17
  974. package/dist/solutions-components/p-06748b7a.entry.js +0 -6
  975. package/dist/solutions-components/p-070b98cd.entry.js +0 -17
  976. package/dist/solutions-components/p-0894d584.js +0 -6
  977. package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
  978. package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
  979. package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
  980. package/dist/solutions-components/p-0c523112.js +0 -6
  981. package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
  982. package/dist/solutions-components/p-0d17246a.entry.js +0 -6
  983. package/dist/solutions-components/p-0fba267c.entry.js +0 -12
  984. package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
  985. package/dist/solutions-components/p-105d8256.js +0 -6
  986. package/dist/solutions-components/p-11881a54.js +0 -6
  987. package/dist/solutions-components/p-11e873c7.entry.js +0 -6
  988. package/dist/solutions-components/p-12c80030.js +0 -11
  989. package/dist/solutions-components/p-1506751c.entry.js +0 -11
  990. package/dist/solutions-components/p-17674f66.js +0 -6
  991. package/dist/solutions-components/p-177a139d.entry.js +0 -11
  992. package/dist/solutions-components/p-18b27561.entry.js +0 -11
  993. package/dist/solutions-components/p-19dbfe71.js +0 -6
  994. package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
  995. package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
  996. package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
  997. package/dist/solutions-components/p-1e915546.entry.js +0 -47
  998. package/dist/solutions-components/p-229ec6a3.js +0 -11
  999. package/dist/solutions-components/p-238d8710.entry.js +0 -11
  1000. package/dist/solutions-components/p-23d35d76.js +0 -6
  1001. package/dist/solutions-components/p-2445cf51.js +0 -7
  1002. package/dist/solutions-components/p-2455bcb0.js +0 -21
  1003. package/dist/solutions-components/p-246b1648.entry.js +0 -12
  1004. package/dist/solutions-components/p-261880f7.entry.js +0 -11
  1005. package/dist/solutions-components/p-2665663a.entry.js +0 -6
  1006. package/dist/solutions-components/p-26eb1225.entry.js +0 -6
  1007. package/dist/solutions-components/p-2775f82b.js +0 -6
  1008. package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
  1009. package/dist/solutions-components/p-287d2d49.entry.js +0 -11
  1010. package/dist/solutions-components/p-28d2ab1a.js +0 -6
  1011. package/dist/solutions-components/p-28e582b0.entry.js +0 -11
  1012. package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
  1013. package/dist/solutions-components/p-2e625f11.js +0 -11
  1014. package/dist/solutions-components/p-302fccc1.entry.js +0 -6
  1015. package/dist/solutions-components/p-314dc933.entry.js +0 -6
  1016. package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
  1017. package/dist/solutions-components/p-328fbf6d.js +0 -11
  1018. package/dist/solutions-components/p-334e6394.js +0 -37
  1019. package/dist/solutions-components/p-3365a6de.entry.js +0 -11
  1020. package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
  1021. package/dist/solutions-components/p-370283a4.js +0 -6
  1022. package/dist/solutions-components/p-392be4a7.js +0 -6
  1023. package/dist/solutions-components/p-3b7e0d5a.js +0 -26
  1024. package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
  1025. package/dist/solutions-components/p-3ce690d9.js +0 -6
  1026. package/dist/solutions-components/p-3da83eee.entry.js +0 -22
  1027. package/dist/solutions-components/p-3e33078e.entry.js +0 -11
  1028. package/dist/solutions-components/p-400a584e.js +0 -6
  1029. package/dist/solutions-components/p-415d519f.entry.js +0 -6
  1030. package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
  1031. package/dist/solutions-components/p-4370de50.js +0 -6
  1032. package/dist/solutions-components/p-43d1b0bd.js +0 -11
  1033. package/dist/solutions-components/p-4870be89.entry.js +0 -6
  1034. package/dist/solutions-components/p-489be360.entry.js +0 -11
  1035. package/dist/solutions-components/p-490e4875.entry.js +0 -11
  1036. package/dist/solutions-components/p-4ac019d3.js +0 -6
  1037. package/dist/solutions-components/p-4ba6f8f0.js +0 -6
  1038. package/dist/solutions-components/p-4ca83bea.js +0 -6
  1039. package/dist/solutions-components/p-4e07c030.entry.js +0 -11
  1040. package/dist/solutions-components/p-502172da.entry.js +0 -17
  1041. package/dist/solutions-components/p-50741707.entry.js +0 -6
  1042. package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
  1043. package/dist/solutions-components/p-51d5532f.entry.js +0 -6
  1044. package/dist/solutions-components/p-52dba022.js +0 -489
  1045. package/dist/solutions-components/p-530b73ce.js +0 -66
  1046. package/dist/solutions-components/p-533a9cca.entry.js +0 -11
  1047. package/dist/solutions-components/p-570a3777.js +0 -6
  1048. package/dist/solutions-components/p-57eeed77.js +0 -61
  1049. package/dist/solutions-components/p-5862de8d.entry.js +0 -6
  1050. package/dist/solutions-components/p-591175a6.js +0 -6
  1051. package/dist/solutions-components/p-5974ba05.js +0 -16
  1052. package/dist/solutions-components/p-5b654493.entry.js +0 -6
  1053. package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
  1054. package/dist/solutions-components/p-5f873153.js +0 -6
  1055. package/dist/solutions-components/p-6085ab9c.js +0 -11
  1056. package/dist/solutions-components/p-614ebce7.js +0 -6
  1057. package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
  1058. package/dist/solutions-components/p-628874a6.entry.js +0 -6
  1059. package/dist/solutions-components/p-62c34f96.entry.js +0 -11
  1060. package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
  1061. package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
  1062. package/dist/solutions-components/p-680a43bb.entry.js +0 -6
  1063. package/dist/solutions-components/p-6bdafe3f.js +0 -6
  1064. package/dist/solutions-components/p-6d753a3d.js +0 -7
  1065. package/dist/solutions-components/p-6e260ca3.entry.js +0 -6
  1066. package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
  1067. package/dist/solutions-components/p-7348c869.entry.js +0 -6
  1068. package/dist/solutions-components/p-74a283fb.entry.js +0 -11
  1069. package/dist/solutions-components/p-76d70d3e.js +0 -6
  1070. package/dist/solutions-components/p-77cd573b.entry.js +0 -6
  1071. package/dist/solutions-components/p-7883b885.entry.js +0 -17
  1072. package/dist/solutions-components/p-790ab21b.js +0 -6
  1073. package/dist/solutions-components/p-798d20c2.entry.js +0 -11
  1074. package/dist/solutions-components/p-79e2e203.entry.js +0 -6
  1075. package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
  1076. package/dist/solutions-components/p-7b17e929.entry.js +0 -6
  1077. package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
  1078. package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
  1079. package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
  1080. package/dist/solutions-components/p-814ad17b.js +0 -6
  1081. package/dist/solutions-components/p-820d8935.js +0 -11
  1082. package/dist/solutions-components/p-8294d644.js +0 -21
  1083. package/dist/solutions-components/p-82e085d0.js +0 -6
  1084. package/dist/solutions-components/p-84913712.js +0 -6
  1085. package/dist/solutions-components/p-865a9a2b.js +0 -6
  1086. package/dist/solutions-components/p-8674e740.js +0 -11
  1087. package/dist/solutions-components/p-86a8cf0e.js +0 -11
  1088. package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
  1089. package/dist/solutions-components/p-896c9644.js +0 -36
  1090. package/dist/solutions-components/p-89a0889f.js +0 -21
  1091. package/dist/solutions-components/p-8f760a96.js +0 -11
  1092. package/dist/solutions-components/p-8fd36ce2.js +0 -6
  1093. package/dist/solutions-components/p-92eadd14.entry.js +0 -6
  1094. package/dist/solutions-components/p-937f5a14.js +0 -6
  1095. package/dist/solutions-components/p-96c901b4.entry.js +0 -6
  1096. package/dist/solutions-components/p-96e9c88b.js +0 -6
  1097. package/dist/solutions-components/p-972fd6e2.js +0 -11
  1098. package/dist/solutions-components/p-996a9b86.js +0 -6
  1099. package/dist/solutions-components/p-997ed04c.js +0 -6
  1100. package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
  1101. package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
  1102. package/dist/solutions-components/p-9db9645e.js +0 -12
  1103. package/dist/solutions-components/p-9f11bcc0.js +0 -6
  1104. package/dist/solutions-components/p-9f27fdfb.js +0 -6
  1105. package/dist/solutions-components/p-9f635891.js +0 -17
  1106. package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
  1107. package/dist/solutions-components/p-a008937e.entry.js +0 -6
  1108. package/dist/solutions-components/p-a24e5541.js +0 -6
  1109. package/dist/solutions-components/p-a25bbcc1.js +0 -11
  1110. package/dist/solutions-components/p-a520fedd.js +0 -6
  1111. package/dist/solutions-components/p-a5f1bbe9.js +0 -6
  1112. package/dist/solutions-components/p-a87405cb.entry.js +0 -11
  1113. package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
  1114. package/dist/solutions-components/p-ac77e72f.js +0 -6
  1115. package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
  1116. package/dist/solutions-components/p-b0a4644b.js +0 -6
  1117. package/dist/solutions-components/p-b5bfe190.js +0 -16
  1118. package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
  1119. package/dist/solutions-components/p-b965c059.entry.js +0 -16
  1120. package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
  1121. package/dist/solutions-components/p-bb53e532.js +0 -6
  1122. package/dist/solutions-components/p-bc82830a.js +0 -6
  1123. package/dist/solutions-components/p-bda54b12.entry.js +0 -6
  1124. package/dist/solutions-components/p-bdcf99c0.js +0 -6
  1125. package/dist/solutions-components/p-bfd3d428.js +0 -11
  1126. package/dist/solutions-components/p-c02351ae.entry.js +0 -11
  1127. package/dist/solutions-components/p-c0c5c7a9.js +0 -6
  1128. package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
  1129. package/dist/solutions-components/p-c151a297.entry.js +0 -6
  1130. package/dist/solutions-components/p-c4a44f66.js +0 -6
  1131. package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
  1132. package/dist/solutions-components/p-c5becad1.entry.js +0 -6
  1133. package/dist/solutions-components/p-c6be0487.entry.js +0 -6
  1134. package/dist/solutions-components/p-c757c37b.js +0 -6
  1135. package/dist/solutions-components/p-c791e836.entry.js +0 -6
  1136. package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
  1137. package/dist/solutions-components/p-c8260cf0.js +0 -145
  1138. package/dist/solutions-components/p-c9653aec.js +0 -6
  1139. package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
  1140. package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
  1141. package/dist/solutions-components/p-cce71e60.entry.js +0 -11
  1142. package/dist/solutions-components/p-cd190ff9.js +0 -6
  1143. package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
  1144. package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
  1145. package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
  1146. package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
  1147. package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
  1148. package/dist/solutions-components/p-d893cddf.entry.js +0 -11
  1149. package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
  1150. package/dist/solutions-components/p-d8da6406.entry.js +0 -6
  1151. package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
  1152. package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
  1153. package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
  1154. package/dist/solutions-components/p-deb3adb8.js +0 -6
  1155. package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
  1156. package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
  1157. package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
  1158. package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
  1159. package/dist/solutions-components/p-e96d0b39.js +0 -6
  1160. package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
  1161. package/dist/solutions-components/p-ec843a3e.js +0 -6
  1162. package/dist/solutions-components/p-eda6994e.entry.js +0 -6
  1163. package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
  1164. package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
  1165. package/dist/solutions-components/p-ee81a7c3.js +0 -6
  1166. package/dist/solutions-components/p-eeaed243.js +0 -11
  1167. package/dist/solutions-components/p-f1822d63.js +0 -6
  1168. package/dist/solutions-components/p-f22a4439.js +0 -21
  1169. package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
  1170. package/dist/solutions-components/p-f4456214.js +0 -6
  1171. package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
  1172. package/dist/solutions-components/p-f9475704.js +0 -6
  1173. package/dist/solutions-components/p-fac36b42.entry.js +0 -6
  1174. package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
  1175. package/dist/solutions-components/p-fc79eaaf.js +0 -6
  1176. package/dist/solutions-components/p-fcb11407.entry.js +0 -11
  1177. package/dist/solutions-components/p-fd28754c.entry.js +0 -6
  1178. package/dist/solutions-components/p-fd6f2ba3.js +0 -6
  1179. package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
  1180. /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
  1181. /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
  1182. /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
  1183. /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,h as i,H as o,g as r}from"./p-6d753a3d.js";import{c as s,u as a,d as n,I as l}from"./p-9db9645e.js";import{n as c,c as d,d as h}from"./p-b5bfe190.js";import{s as p,a as m,c as u}from"./p-a25bbcc1.js";import{u as b,c as g,s as v,d as f}from"./p-2e625f11.js";import"./p-820d8935.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";import"./p-bfd3d428.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const y=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>{var t;return null===(t=e.classList)||void 0===t?void 0:t.contains("stepper-item-content")}))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.iconFlipRtl=!1,this.numberingSystem=void 0,this.icon=!1,this.layout=void 0,this.messages=void 0,this.numbered=!1,this.scale="m",this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){c.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1},b(this,this.effectiveLocale)}connectedCallback(){s(this),d(this),g(this)}async componentWillLoad(){p(this),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem(),await v(this)}componentDidLoad(){m(this)}componentDidRender(){a(this)}disconnectedCallback(){n(this),h(this),f(this)}render(){return i(o,{key:"cbdfe76eb5b7985cf70b86d2bc5b836bc8d75498","aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler,tabIndex:this.disabled?-1:0},i(l,{key:"7f5296807f7a2e68fbcac907664f5e1a1cec63e7",disabled:this.disabled},i("div",{key:"4b26e6d65f787c2a3d551ede9e6b939c70285493",class:"container"},this.complete&&i("span",{key:"a6c153e3e803e7d00d79cb723581c887d6b244fd","aria-live":"polite",class:"visually-hidden"},this.messages.complete),i("div",{key:"e36628ff97b54239ec2ac2751cc19afca648317b",class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{key:"2b76b746cd911913c982871b2d2ef65357645c31",class:"stepper-item-header-text"},i("span",{key:"3ee0d3499c9348294016e27ccc178b65fa7fa0df",class:"stepper-item-heading"},this.heading),i("span",{key:"87a1ad7d0070c946ccb64847698c41d84e328937",class:"stepper-item-description"},this.description))),i("div",{key:"0e12cbcbd9aadbfe498985eaa038d1b4c68e3512",class:"stepper-item-content"},i("slot",{key:"ae4f822110e61e19f60d2bad71900632220a2594"})))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){var e;await u(this),null===(e="vertical"===this.layout?this.el:this.headerEl)||void 0===e||e.focus()}renderIcon(){let e="circle";return!this.selected||"horizontal-single"===this.layout&&(this.error||this.complete)?this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"):e="circleF",i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:e,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){var e;return Array.from(null===(e=this.parentStepperEl)||void 0===e?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return c.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},c.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};y.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(: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 )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;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 )}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=vertical]) .stepper-item-header:focus{transition-duration:0s}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{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}";export{y as calcite_stepper_item}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,h as i,H as s,g as l}from"./p-6d753a3d.js";import{d as a}from"./p-67b26725.js";import{i as o}from"./p-f50a294b.js";import{c as n,u as r,d as c,I as h}from"./p-9db9645e.js";import{g as d}from"./p-e6e50975.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-820d8935.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const b="last-visible-row",u=class{constructor(i){e(this,i),this.calciteTableRowSelect=t(this,"calciteTableRowSelect",6),this.calciteInternalTableRowFocusRequest=t(this,"calciteInternalTableRowFocusRequest",6),this.rowCells=[],this.keyDownHandler=e=>{var t;if("interactive"!==this.interactionMode)return;const i=e.target,s=e.key,l=e.ctrlKey,o=this.rowCells;if(i.matches("calcite-table-cell")||i.matches("calcite-table-header"))switch(s){case"ArrowUp":this.emitTableRowFocusRequest(i.positionInRow,this.positionAll,"previous"),e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(i.positionInRow,this.positionAll,"next"),e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(i.positionInRow,this.positionAll,"first"),e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(i.positionInRow,this.positionAll,"last"),e.preventDefault();break;case"ArrowLeft":a(o,i,"previous",!1),e.preventDefault();break;case"ArrowRight":a(o,i,"next",!1),e.preventDefault();break;case"Home":l?(this.emitTableRowFocusRequest(1,this.positionAll,"first"),e.preventDefault()):(a(o,i,"first",!1),e.preventDefault());break;case"End":l?(this.emitTableRowFocusRequest(null===(t=this.rowCells)||void 0===t?void 0:t.length,this.positionAll,"last",!0),e.preventDefault()):(a(o,i,"last",!1),e.preventDefault())}},this.emitTableRowFocusRequest=(e,t,i,s)=>{this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:t,destination:i,lastCell:s})},this.updateCells=()=>{var e,t,i,s;const l=this.alignment?this.alignment:"head"!==this.rowType?"center":"start",a=null===(t=null===(e=this.tableRowSlotEl)||void 0===e?void 0:e.assignedElements({flatten:!0}))||void 0===t?void 0:t.filter((e=>e.matches("calcite-table-cell")||e.matches("calcite-table-header"))),o=null===(s=Array.from(null===(i=this.tableRowEl)||void 0===i?void 0:i.querySelectorAll("calcite-table-header, calcite-table-cell")))||void 0===s?void 0:s.filter((e=>e.numberCell||e.selectionCell)),n=o?o.concat(a):a;n.length>0&&(null==n||n.forEach(((e,t)=>{e.interactionMode=this.interactionMode,e.lastCell=t===n.length-1,e.parentRowAlignment=l,e.parentRowIsSelected=this.selected,e.parentRowType=this.rowType,e.positionInRow=t+1,e.scale=this.scale,"CALCITE-TABLE-CELL"===e.nodeName&&(e.readCellContentsToAT=this.readCellContentsToAT,e.disabled=this.disabled)}))),this.rowCells=n||[],this.cellCount=null==n?void 0:n.length},this.handleSelectionOfRow=()=>{this.calciteTableRowSelect.emit()},this.handleKeyboardSelection=e=>{o(e.key)&&(" "===e.key&&e.preventDefault(),this.handleSelectionOfRow())},this.alignment=void 0,this.disabled=!1,this.selected=!1,this.cellCount=void 0,this.interactionMode="interactive",this.lastVisibleRow=void 0,this.rowType=void 0,this.numbered=!1,this.positionSection=void 0,this.positionSectionLocalized=void 0,this.positionAll=void 0,this.readCellContentsToAT=void 0,this.scale=void 0,this.selectionMode="none",this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.bodyRowCount=void 0,this.effectiveLocale=""}handleCellChanges(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleDelayedCellChanges(){this.tableRowEl&&this.rowCells.length>0&&requestAnimationFrame((()=>this.updateCells()))}componentDidLoad(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}connectedCallback(){n(this)}componentDidRender(){r(this)}disconnectedCallback(){c(this)}calciteInternalTableRowFocusChangeHandler(e){var t;if(e.target.contains(this.el)){const i=e.detail.cellPosition,s=e.detail.destination,l=e.detail.lastCell;if(e.detail.rowPosition===this.positionAll){if(this.disabled)return void this.emitTableRowFocusRequest(i,this.positionAll,"last"===s?"previous":"first"===s?"next":s);const e=l?this.rowCells[this.rowCells.length-1]:null===(t=this.rowCells)||void 0===t?void 0:t.find(((e,t)=>t+1===i));e&&e.setFocus()}}}renderSelectionIcon(){return i("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-square-f":"multiple"===this.selectionMode?"square":this.selected?"circle-f":"circle",scale:d(this.scale)})}renderSelectableCell(){return"head"===this.rowType?i("calcite-table-header",{alignment:"center",bodyRowCount:this.bodyRowCount,key:"selection-head",onClick:"multiple"===this.selectionMode&&this.handleSelectionOfRow,onKeyDown:"multiple"===this.selectionMode&&this.handleKeyboardSelection,parentRowAlignment:this.alignment,selectedRowCount:this.selectedRowCount,selectedRowCountLocalized:this.selectedRowCountLocalized,selectionCell:!0,selectionMode:this.selectionMode}):"body"===this.rowType?i("calcite-table-cell",{alignment:"center",key:"selection-body",onClick:this.handleSelectionOfRow,onKeyDown:this.handleKeyboardSelection,parentRowAlignment:this.alignment,parentRowIsSelected:this.selected,parentRowPositionLocalized:this.positionSectionLocalized,selectionCell:!0},this.renderSelectionIcon()):i("calcite-table-cell",{alignment:"center",key:"selection-foot",parentRowAlignment:this.alignment,selectionCell:!0})}renderNumberedCell(){return"head"===this.rowType?i("calcite-table-header",{alignment:"center",key:"numbered-head",numberCell:!0,parentRowAlignment:this.alignment}):"body"===this.rowType?i("calcite-table-cell",{alignment:"center",key:"numbered-body",numberCell:!0,parentRowAlignment:this.alignment},this.positionSectionLocalized):i("calcite-table-cell",{alignment:"center",key:"numbered-foot",numberCell:!0,parentRowAlignment:this.alignment})}render(){return i(s,{key:"1d51f5351ce604d34d7b5a8c6ff241d1f1bb7121"},i(h,{key:"67d835df1a6a91ebddd1742f76bdf45407bce5e5",disabled:this.disabled},i("tr",{key:"b490313209717e71bb18e277d6795895e7f60a25","aria-disabled":this.disabled,"aria-rowindex":this.positionAll+1,"aria-selected":this.selected,class:{[b]:this.lastVisibleRow},onKeyDown:this.keyDownHandler,ref:e=>this.tableRowEl=e},this.numbered&&this.renderNumberedCell(),"none"!==this.selectionMode&&this.renderSelectableCell(),i("slot",{key:"ca447805a4b4a807ee113fd438fca4fe95a6b6c6",onSlotchange:this.updateCells,ref:e=>this.tableRowSlotEl=e}))))}get el(){return l(this)}static get watchers(){return{bodyRowCount:["handleCellChanges"],scale:["handleCellChanges"],selected:["handleCellChanges"],selectedRowCount:["handleCellChanges"],interactionMode:["handleCellChanges"],numbered:["handleDelayedCellChanges"],selectionMode:["handleDelayedCellChanges"]}}};u.style=":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{--calcite-internal-table-row-background:var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color:var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}";export{u as calcite_table_row}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-bc82830a.js";import"./p-6d753a3d.js";import"./p-229ec6a3.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9db9645e.js";import"./p-820d8935.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-a25bbcc1.js";import"./p-b5bfe190.js";import"./p-bfd3d428.js";import"./p-97f0e1b6.js";import"./p-86a8cf0e.js";import"./p-ebf59857.js";import"./p-2e625f11.js";import"./p-12c80030.js";import"./p-972fd6e2.js";var r={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(r,null,!0);export{r as default}
@@ -1,12 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as s,H as e,g as a}from"./p-6d753a3d.js";import{l as n,g as o}from"./p-896c9644.js";import{y as h}from"./p-67b26725.js";import{f as c}from"./p-c1cf3ebc.js";import{s as l}from"./p-f22a4439.js";import"./p-82e085d0.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-bdcf99c0.js";const r=class{constructor(s){t(this,s),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return s(e,{key:"63b775eca8dd10785df7b58be3a79eaa6cf4c049"},"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await n(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>s("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{var t;if((null===(t=this.geometries)||void 0===t?void 0:t.length)>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}get el(){return a(this)}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};r.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}';
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */
12
- const d={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},p=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=h(d,this.icon,this.status)}connectedCallback(){this.requestedIcon=h(d,this.icon,this.status)}render(){return s(e,{key:"7d7329dbca2d5abb5a9b92dbee9767ba14488caa","calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),s("slot",{key:"2fc037f47b40f25698cecdd52df9436da86ecfcf"}))}renderIcon(t){if(t)return s("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}get el(){return a(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};p.style=":host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;--calcite-input-message-spacing-value:0.25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}";const g=class{constructor(s){t(this,s),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=c.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===c.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return s(e,{key:"1f9544ac97df4b51337260e1bb7cf3b5d923fa03"},s("div",{key:"eca20834d2eacf3cc4a30e6ecf15a2f8d894cb8f",class:this.drawMode===c.SKETCH?"border":"border esri-widget esri-sketch__panel"},s("div",{key:"32bbaf5a03251c035821880231acb894a452b8dd",ref:t=>{this._sketchElement=t}}),s("div",{key:"cd446419c2b7d347711a48851baec46f24d20375",class:t},s("calcite-action",{key:"03ce63c7805c1cc1b63e78336ba624199eef3336",disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),s("calcite-action",{key:"0d688389277586163c589561865ab7778021ac10",disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,s]=await n(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=s}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),l.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch(Object.assign(Object.assign({},t),{container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===c.SKETCH}})),this._sketchViewModel=new this.SketchViewModel(Object.assign({},t)),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===c.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===c.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{var i;if(this.editGraphicsEnabled){const s=null===(i=null==t?void 0:t.toolEventInfo)||void 0===i?void 0:i.type;"reshape-stop"!==s&&"move-stop"!==s||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){var t,i;null===(t=this._sketchWidget)||void 0===t||t.viewModel.cancel(),this.graphics=[],null===(i=this._sketchGraphicsLayer)||void 0===i||i.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,s="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;s&&t.forEach((t=>t.symbol=s))}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};g.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110,110,110,.3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110,110,110,.3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{r as buffer_tools,p as calcite_input_message,g as map_draw_tools}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-6d753a3d.js";import{b as o,c as n,a as h}from"./p-c1cf3ebc.js";import{l as c,g as d}from"./p-896c9644.js";import{e as r,h as p}from"./p-5aaa05ef.js";import{s as g}from"./p-f22a4439.js";import{c as b,r as m}from"./p-52dba022.js";import"./p-82e085d0.js";import"./p-bdcf99c0.js";import"./p-334e6394.js";import"./p-a230b270.js";import"./p-530b73ce.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,{key:"e8f77e64e53885bb73a2e29f1c0c0d69977f953b"},e("calcite-shell",{key:"b36489038bf26b7bd29c1e51d62e97f9a1f1240b"},e("calcite-action-bar",{key:"9ae63a448d2284c919d01f667d4184b28dd1d746",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let o=!0;return i.workflowType===h.REFINE&&(o=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),o&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!0,icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},e("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",a=this._addResults?"":"display-none";return e("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),e("div",{class:`padding-top-sides-1 ${a}`},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:`padding-sides-1 ${a}`},e("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:s})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),e("div",{class:`padding-top-sides-1 ${i}`},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),e("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!0,icon:"question",id:"list-graphics-icon",scale:"s"}),e("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},e("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,o){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==h.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,o=""){return e("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:a,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){r(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await d(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
@@ -1,17 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,h as t,H as i,g as l}from"./p-6d753a3d.js";import{s as c,a as o,c as s}from"./p-a25bbcc1.js";import{u as a,s as n,c as r,d}from"./p-2e625f11.js";import{c as h,u as b,d as v,I as p}from"./p-9db9645e.js";import{c as u,d as f}from"./p-b5bfe190.js";import{a as g}from"./p-67b26725.js";import{C as m}from"./p-db50226e.js";import{g as x}from"./p-e6e50975.js";import"./p-820d8935.js";import"./p-f50a294b.js";import"./p-bfd3d428.js";import"./p-b85be429.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const k="content-cell",w="number-cell",y="footer-cell",C="selection-cell",$="selected-cell",z="last-cell",S="static-cell",j=class{constructor(t){e(this,t),this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent},this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.rowSpan=void 0,this.disabled=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=void 0,this.parentRowIsSelected=void 0,this.parentRowAlignment="start",this.parentRowPositionLocalized=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.readCellContentsToAT=void 0,this.scale="m",this.selectionCell=void 0,this.messages=void 0,this.messageOverrides=void 0,this.contentsText="",this.defaultMessages=void 0,this.focused=!1,this.selectionText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){a(this,this.effectiveLocale)}async componentWillLoad(){c(this),await n(this),this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}componentDidLoad(){o(this)}connectedCallback(){u(this),r(this),h(this)}componentDidRender(){b(this)}disconnectedCallback(){f(this),d(this),v(this)}async setFocus(){await s(this),this.containerEl.focus()}updateScreenReaderSelectionText(){var e,t,i,l,c,o;const s=`${null===(e=this.messages)||void 0===e?void 0:e.row} ${this.parentRowPositionLocalized} ${null===(t=this.messages)||void 0===t?void 0:t.selected} ${null===(i=this.messages)||void 0===i?void 0:i.keyboardDeselect}`,a=`${null===(l=this.messages)||void 0===l?void 0:l.row} ${this.parentRowPositionLocalized} ${null===(c=this.messages)||void 0===c?void 0:c.unselected} ${null===(o=this.messages)||void 0===o?void 0:o.keyboardSelect}`;this.selectionText=this.parentRowIsSelected?s:a}render(){const e=g(this.el),l=this.disabled||"static"===this.interactionMode&&(!this.selectionCell||this.selectionCell&&"foot"===this.parentRowType);return t(i,{key:"2c8bd5fb8909c57b46499b5fe8a525cdc46bb3c6"},t(p,{key:"1a7e4d12f5304274f9085e0f0db4b12ba41d51ed",disabled:this.disabled},t("td",{key:"9a5868a78f21da3c9c0d6be7ecefd28c5e40e5c5","aria-disabled":this.disabled,class:{[y]:"foot"===this.parentRowType,[k]:!this.numberCell&&!this.selectionCell,[w]:this.numberCell,[C]:this.selectionCell,[$]:this.parentRowIsSelected,[z]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[m.rtl]:"rtl"===e,[S]:l,[this.parentRowAlignment]:"start"===this.parentRowAlignment||"end"===this.parentRowAlignment},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"interactive"===this.interactionMode?"gridcell":"cell",rowSpan:this.rowSpan,tabIndex:l?-1:0,ref:e=>this.containerEl=e},(this.selectionCell||this.readCellContentsToAT)&&t("span",{key:"09fb148bff0939488862db0f995643ecd96a0e73","aria-hidden":!0,"aria-live":this.focused?"polite":"off",class:"assistive-text"},this.selectionCell&&this.selectionText,this.readCellContentsToAT&&!this.selectionCell&&this.contentsText),t("slot",{key:"0d74a3e77c1655682e59b38054defa9ebfff8714",onSlotchange:this.updateScreenReaderContentsText}))))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{parentRowIsSelected:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};j.style=":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{--calcite-internal-table-cell-background:var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.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}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):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 )}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background:var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -0.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
- * v2.8.2
16
- */
17
- const L="content-cell",R="number-cell",D="selection-cell",F="body-row",I="footer-row",M="cell--multiple-selection",_="active",q="selected-cell",B="last-cell",O="static-cell",T=class{constructor(t){e(this,t),this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.description=void 0,this.heading=void 0,this.rowSpan=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=!1,this.parentRowAlignment="start",this.parentRowIsSelected=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.scale=void 0,this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.selectionCell=!1,this.selectionMode=void 0,this.bodyRowCount=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.focused=!1,this.screenReaderText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){c(this),await n(this),this.updateScreenReaderText()}componentDidLoad(){o(this)}connectedCallback(){u(this),r(this)}disconnectedCallback(){f(this),d(this)}effectiveLocaleChange(){a(this,this.effectiveLocale)}async setFocus(){await s(this),this.containerEl.focus()}updateScreenReaderText(){var e,t,i,l,c,o,s,a;let n="";const r=`${this.selectedRowCountLocalized} ${null===(e=this.messages)||void 0===e?void 0:e.selected}`;n=this.numberCell?null===(t=this.messages)||void 0===t?void 0:t.rowNumber:"single"===this.selectionMode?`${null===(i=this.messages)||void 0===i?void 0:i.selectionColumn}. ${r}`:this.bodyRowCount===this.selectedRowCount?`${null===(l=this.messages)||void 0===l?void 0:l.selectionColumn}. ${null===(c=this.messages)||void 0===c?void 0:c.all} ${r} ${null===(o=this.messages)||void 0===o?void 0:o.keyboardDeselectAll}`:`${null===(s=this.messages)||void 0===s?void 0:s.selectionColumn}. ${r} ${null===(a=this.messages)||void 0===a?void 0:a.keyboardSelectAll}`,this.screenReaderText=n}render(){const e=this.rowSpan?"rowgroup":this.colSpan?"colgroup":"body"===this.parentRowType?"row":"col",l=this.selectedRowCount===this.bodyRowCount,c=l?"check-square-f":"check-square",o="static"===this.interactionMode&&!this.selectionCell;return t(i,{key:"8903d493aaa6fe46c1e7ee00814bc0d409fe05e4"},t("th",{key:"a8268eb7f5f7e272d9f228ee722ff09d2755fea7","aria-colindex":"head"===this.parentRowType?this.positionInRow:void 0,class:{[F]:"body"===this.parentRowType,[I]:"foot"===this.parentRowType,[L]:!this.numberCell&&!this.selectionCell,[R]:this.numberCell,[D]:this.selectionCell,[q]:this.parentRowIsSelected,[M]:"multiple"===this.selectionMode,[O]:o,[B]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[this.parentRowAlignment]:"center"===this.parentRowAlignment||"end"===this.parentRowAlignment},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"head"===this.parentRowType?"columnheader":"rowheader",rowSpan:this.rowSpan,scope:e,tabIndex:this.selectionCell?0:o?-1:0,ref:e=>this.containerEl=e},this.heading&&t("div",{key:"171a02cb89d9db736a4dda50b643e413e4de3828",class:"heading"},this.heading),this.description&&t("div",{key:"29fbf42a560ddcce82713de3003a70b67fd0c596",class:"description"},this.description),this.selectionCell&&"multiple"===this.selectionMode&&t("calcite-icon",{key:"232d1ac6051ad58768b94c5813e96357088b4c4a",class:{[_]:l},icon:c,scale:x(this.scale)}),(this.selectionCell||this.numberCell)&&t("span",{key:"f91e4e2de889f0c8397006470adb8b330d9c50d4","aria-hidden":!0,"aria-live":this.focused?"polite":"off",class:"assistive-text"},this.screenReaderText)))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{selectedRowCount:["onSelectedChange"],selectedRowCountLocalized:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=":host{--calcite-internal-table-header-background:var(--calcite-table-header-background, var(--calcite-color-foreground-2));--calcite-internal-table-header-border-color:var(--calcite-table-border-color, var(--calcite-color-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.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}th{white-space:normal;text-align:start;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{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 )}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-color-text-3)}.cell--multiple-selection:not(.end){vertical-align:middle}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-header-background:var(--calcite-color-foreground-current)}.number-cell,.selection-cell{color:var(--calcite-color-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-color-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-color-text-1)}.description{color:var(--calcite-color-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}";export{j as calcite_table_cell,T as calcite_table_header}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as l,g as s}from"./p-6d753a3d.js";import{g as o}from"./p-6bdafe3f.js";import"./p-4ba6f8f0.js";import"./p-82e085d0.js";import"./p-deb3adb8.js";const n=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,s,o,n,a,e,h;const d="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(l,null,i("calcite-block",{open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts)||void 0===o?void 0:o.label},i("table",null,this.renderTableHeader(),i("tr",null,i("td",null,`${r} + M`),i("td",null,null===(a=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===a?void 0:a.title))),i("calcite-label",null,null===(h=null===(e=null==this?void 0:this.messages)||void 0===e?void 0:e.generalShortcuts)||void 0===h?void 0:h.title),i("table",null,this.renderTableHeader(),d.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,l;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),l=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==l?void 0:l.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return s(this)}};n.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{n as instant_apps_keyboard_shortcuts}
@@ -1,17 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as i,h as t,H as c,g as n}from"./p-6d753a3d.js";import{s as o,t as a,g as s}from"./p-67b26725.js";import{a as l,s as r,c as d}from"./p-a25bbcc1.js";import{u as h,c as p,d as b,s as m}from"./p-2e625f11.js";import{c as v,u,d as g,I as f}from"./p-9db9645e.js";import{c as x,d as k}from"./p-b5bfe190.js";import{i as y}from"./p-f50a294b.js";import{g as w}from"./p-e6e50975.js";import{c as z,d as C}from"./p-6085ab9c.js";import{g as j}from"./p-b85be429.js";import{g as I,i as S,a as H}from"./p-9f635891.js";import"./p-db50226e.js";import"./p-820d8935.js";import"./p-bfd3d428.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const D="text--slotted",L="container",R="image--slotted",E="closable",W="multiple",_="selectable",A="select-icon",F="select-icon--active",K="non-interactive",M="is-circle",T=class{constructor(t){e(this,t),this.calciteChipClose=i(this,"calciteChipClose",6),this.calciteChipSelect=i(this,"calciteChipSelect",6),this.calciteInternalChipKeyEvent=i(this,"calciteInternalChipKeyEvent",6),this.calciteInternalChipSelect=i(this,"calciteInternalChipSelect",6),this.calciteInternalSyncSelectedChips=i(this,"calciteInternalSyncSelectedChips",6),this.handleDefaultSlotChange=()=>{this.updateHasText()},this.close=()=>{this.calciteChipClose.emit(),this.selected=!1,this.closed=!0},this.closeButtonKeyDownHandler=e=>{y(e.key)&&(e.preventDefault(),this.close())},this.handleSlotImageChange=e=>{this.hasImage=o(e)},this.handleEmittingEvent=()=>{this.interactive&&this.calciteChipSelect.emit()},this.disabled=!1,this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.label=void 0,this.value=void 0,this.closed=!1,this.selectionMode="none",this.selected=!1,this.messageOverrides=void 0,this.messages=void 0,this.interactive=!1,this.parentChipGroup=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1,this.hasImage=!1}watchSelected(e){"none"!==this.selectionMode&&this.handleSelectionPropertyChange(e)}onMessagesChange(){}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){v(this),x(this),p(this)}componentDidLoad(){l(this),"none"!==this.selectionMode&&this.interactive&&this.selected&&this.handleSelectionPropertyChange(this.selected)}componentDidRender(){u(this)}disconnectedCallback(){g(this),k(this),b(this)}async componentWillLoad(){r(this),await m(this),this.updateHasText()}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleEmittingEvent(),e.preventDefault();break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(e),e.preventDefault()}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.focus()}async setFocus(){var e,i;await d(this),!this.disabled&&this.interactive?null===(e=this.containerEl)||void 0===e||e.focus():!this.disabled&&this.closable&&(null===(i=this.closeButtonEl)||void 0===i||i.focus())}updateHasText(){this.hasText=this.el.textContent.trim().length>0}handleSelectionPropertyChange(e){"single"===this.selectionMode&&this.calciteInternalSyncSelectedChips.emit(),!this.parentChipGroup.selectedItems.includes(this.el)&&e&&"multiple"!==this.selectionMode&&this.calciteInternalChipSelect.emit(),"single"!==this.selectionMode&&this.calciteInternalSyncSelectedChips.emit()}renderChipImage(){return t("div",{class:"image-container"},t("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}renderSelectionIcon(){const e="multiple"===this.selectionMode&&this.selected?"check-circle-f":"multiple"===this.selectionMode?"circle":this.selected?"circle-f":void 0;return t("div",{class:{[A]:!0,[F]:"multiple"===this.selectionMode||this.selected}},e?t("calcite-icon",{icon:e,scale:w(this.scale)}):null)}renderCloseButton(){return t("button",{"aria-label":this.messages.dismissLabel,class:"close",onClick:this.close,onKeyDown:this.closeButtonKeyDownHandler,tabIndex:this.disabled?-1:0,ref:e=>this.closeButtonEl=e},t("calcite-icon",{icon:"x",scale:w(this.scale)}))}renderIcon(){return t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:w(this.scale)})}render(){const{disabled:e}=this,i=e||!e&&!this.interactive,n="multiple"===this.selectionMode&&this.interactive?"checkbox":"none"!==this.selectionMode&&this.interactive?"radio":this.interactive?"button":void 0;return t(c,{key:"6fde6f4666ca0c145936bcd6e8b1e27d2b7a45d8"},t(f,{key:"2cc3a9f9d8cc06757168f7ea1ecd5816f22d54a9",disabled:e},t("div",{key:"30f6dd924ac68cfa614073dea661c214366987f7","aria-checked":"none"!==this.selectionMode&&this.interactive?a(this.selected):void 0,"aria-disabled":i?a(e):void 0,"aria-label":this.label,class:{[L]:!0,[D]:this.hasText,[R]:this.hasImage,[_]:"none"!==this.selectionMode,[W]:"multiple"===this.selectionMode,[E]:this.closable,[K]:!this.interactive,[M]:!(this.closable||this.hasText||this.icon&&this.hasImage||"none"!==this.selectionMode&&(!this.selectionMode||"multiple"===this.selectionMode||this.selected))},onClick:this.handleEmittingEvent,role:n,tabIndex:i?-1:0,ref:e=>this.containerEl=e},"none"!==this.selectionMode&&this.renderSelectionIcon(),this.renderChipImage(),this.icon&&this.renderIcon(),t("span",{key:"e467f570503aea94f5ef464bd9ab7fd4d2c5fd9a",class:"title"},t("slot",{key:"f228540507f608f36288769a378a4bb73a7afeaf",onSlotchange:this.handleDefaultSlotChange})),this.closable&&this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{selected:["watchSelected"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=":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([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):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 )}:host([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-1);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-color-transparent-hover);--calcite-chip-transparent-press:var(--calcite-color-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);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 )}.close:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-color-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([kind=inverse]){background-color:var(--calcite-color-inverse);color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-color-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([kind=brand]){background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-color-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-color-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-color-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-color-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-color-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-color-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-color-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
- * v2.8.2
16
- */
17
- const $="icon",B="icon--active",O="icon--indent",P="icon--custom",U="icon--dot",q="label--single",G="label",J="label--active",N="label--selected",Q=class{constructor(t){e(this,t),this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",6),this.itemClickHandler=()=>{this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=j(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0,this.selectionMode="multiple",this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=I(this.el),z(this),v(this)}disconnectedCallback(){C(this),g(this)}componentDidRender(){u(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(e){return this.icon?t("calcite-icon",{class:{[P]:!!this.icon,[B]:this.icon&&this.selected,[O]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||e,key:"icon",scale:w(this.scale)}):null}renderSelectIndicator(e,i){return e?t("span",{class:{[$]:!0,[U]:!0,[O]:!0}}):t("calcite-icon",{class:{[$]:!0,[B]:this.selected,[O]:!0},flipRtl:this.iconFlipRtl,icon:i,key:"indicator",scale:w(this.scale)})}renderChildren(){return s(this.el)?t("ul",{key:"default-slot-container"},t("slot",null)):null}render(){const{disabled:e}=this,i=S(this.selectionMode),n=i&&!e,o=e?"":i?"dot":"check",a={[G]:!0,[N]:this.selected,[J]:this.active,[q]:i},s=H(this.el);return t(c,{key:"a10ab7e95408a8cffef4f42d3b87ae98450489b9","aria-hidden":"true"},t(f,{key:"091b8f1a3f713899a3f14c1c39a6fdb70abab7a2",disabled:e},t("div",{key:"43d200730971b71b3030437885e6ab99c55b2ce6",class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${s}`}},t("li",{key:"8de885b34e9bc6b53a30396d54cbcec488790dd7",class:a,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(n,o),this.renderIcon(o),t("span",{key:"daba9ce50923261dce8896a74d8204b1e922a638",class:"title"},this.textLabel)),this.renderChildren())))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};Q.style='@charset "UTF-8";: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([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.label--active{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 )}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-color-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-color-text-3)}.icon--active{color:var(--calcite-color-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}:host(:hover[disabled]) .icon{opacity:1}';export{T as calcite_chip,Q as calcite_combobox_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-bc82830a.js";import"./p-6d753a3d.js";import"./p-229ec6a3.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9db9645e.js";import"./p-820d8935.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-a25bbcc1.js";import"./p-b5bfe190.js";import"./p-bfd3d428.js";import"./p-97f0e1b6.js";import"./p-86a8cf0e.js";import"./p-ebf59857.js";import"./p-2e625f11.js";import"./p-12c80030.js";import"./p-972fd6e2.js";var r={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(r,null,!0);export{r as default}
@@ -1,23 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{h as t,r as i,c as e,H as s,g as a,f as n}from"./p-6d753a3d.js";import{d as l}from"./p-8ad54f5c.js";import{f as o}from"./p-2db55da4.js";import{A as h,B as r,t as c,i as d,u as p}from"./p-67b26725.js";import{d as u,f as m,c as b,r as f,a as g,F as v}from"./p-8f760a96.js";import{s as x,c as k,a as y,d as w,H as $}from"./p-229ec6a3.js";import{g as C}from"./p-b85be429.js";import{c as _,u as z,d as I,I as M}from"./p-9db9645e.js";import{c as V,d as H,g as S}from"./p-6127f49e.js";import{b as L,c as D,s as A,a as E}from"./p-a25bbcc1.js";import{c as j,d as P,n as F}from"./p-b5bfe190.js";import{c as O}from"./p-bfd3d428.js";import{o as T}from"./p-12c80030.js";import{c as X,s as R,d as W,u as B}from"./p-2e625f11.js";import{g as G}from"./p-e6e50975.js";import{V as U}from"./p-972fd6e2.js";import{i as N,h as Z,C as K,b as Y,c as q,d as J,e as Q,f as tt}from"./p-9f635891.js";import{d as it}from"./p-c8d3207e.js";import{i as et}from"./p-f50a294b.js";import{d as st,c as at}from"./p-ebf59857.js";import"./p-db50226e.js";import"./p-820d8935.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const nt="x-button";function lt({disabled:i,key:e,label:s,onClick:a,ref:n,scale:l}){return t("button",{"aria-label":s,class:nt,disabled:i,key:e,onClick:a,tabIndex:-1,type:"button",ref:n},t("calcite-icon",{icon:"x",scale:G(l)}))}const ot="combobox-item-",ht="combobox-chip-",rt="combobox-label-",ct="combobox-listbox-",dt="combobox-input-",pt=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=u,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=O("mutation",(()=>this.updateItems())),this.resizeObserver=O("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=C(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{if(this.readOnly)return;const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.text&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":this.previousChip(),t.preventDefault();break;case"ArrowRight":this.nextChip(),t.preventDefault();break;case"ArrowUp":t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||t.defaultPrevented||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.open&&this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):t.defaultPrevented||x(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{if(this.readOnly)return;const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(nt)}))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await L(this),N(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:a,textInput:n}=this,o=parseInt(getComputedStyle(i).gap.replace("px","")),c=h(i),{fontSize:d,fontFamily:p}=getComputedStyle(n),u=(r(s,`${d} ${p}`)||parseInt(l))+o,m=h(t),b=h(a),f=Math.max(m,b);if(this.setCompactSelectionDisplay({chipContainerElGap:o,chipContainerElWidth:c,inputWidth:u,largestSelectedIndicatorChipWidth:f}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(c-((this.selectedHiddenChipsCount>0?b:0)+o+u+o));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:o,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===tt?i===t.label:e===t.value&&i===t.textLabel));return it((i=>{const e=o(this.data,i);this.getItemsAndGroups().forEach((i=>{const s=!t(i,e);i.hidden=s;const[a,n]=i.ancestors;(t(a,e)||t(n,e))&&(i.hidden=!1),s||i.ancestors.forEach((t=>t.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=it(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!Z(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;this.disabled||null===(t=this.textInput)||void 0===t||t.focus()},this.clearDisabled=!1,this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.readOnly=!1,this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){T(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(t){if(this.disabled)return;const i=t.composedPath();i.includes(this.el)||i.includes(this.referenceEl)||(!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return f(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}async setFocus(){var t;await D(this),null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;_(this),j(this),X(this),V(this),k(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.open&&(this.openHandler(),T(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){A(this),this.updateItems(),await R(this)}componentDidLoad(){y(this,this.getValue()),b(this,this.referenceEl,this.floatingEl),E(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),z(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),I(this),H(this),w(this),g(this,this.referenceEl,this.floatingEl),P(this),W(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){B(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(K.chipInvisible)}showChip(t){t.classList.remove(K.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=h(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const a=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<a)&&(this.maxCompactBreakpoint=a),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(K.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(s+=i,e++)}})),s}calculateSingleItemHeight(t){if(!t)return;let i=t.offsetHeight;return Array.from(t.querySelectorAll(Y)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=q(t),e=J(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{Z(t)||(t.selected=!1)})))}getFilteredItems(){return this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return N(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(Q)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(tt))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#${ht}${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${ot}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!N(this.selectionMode)}renderChips(){const{activeChipIndex:i,readOnly:e,scale:s,selectionMode:a,messages:n}=this;return this.selectedItems.map(((l,o)=>{const h={chip:!0,"chip--active":i===o},r=[...[...q(l)].reverse(),l].map((t=>t.textLabel)),c="ancestors"!==a?l.textLabel:r.join(" / ");return t("calcite-chip",{appearance:e?"outline":"solid",class:h,closable:!e,icon:l.icon,iconFlipRtl:l.iconFlipRtl,id:l.guid?`${ht}${l.guid}`:null,key:l.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(l),scale:s,selected:l.selected,title:c,value:l.value},c)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:a}=this,n=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[K.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},scale:e,title:n,value:"",ref:a},n)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,a=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[K.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:a,value:""},a)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:n,selectedVisibleChipsCount:l,setSelectedIndicatorChipEl:o}=this;let h,r;if(i)h=!0;else if("single"===e){const t=s().length;h=!(!this.isAllSelected()&&t>0),r=`${t} ${this.messages.selected}`}else"fit"===e&&(h=!!(this.isAllSelected()&&0===l||0===n),r=l>0?`+${n}`:`${n} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[K.chipInvisible]:h},scale:a,title:r,value:"",ref:o},r)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:n}=this;let l,o;if(i){const t=s().length;this.isAllSelected()?l=!0:"fit"===e?(l=!(n>0),o=`${n||0}`):"single"===e&&(l=!(t>0),o=`${t}`)}else l=!0;return t("calcite-chip",{class:{chip:!0,[K.chipInvisible]:l},scale:a,title:o,value:""},o)}get showingInlineIcon(){const{placeholderIcon:t,selectionMode:i,selectedItems:e,open:s}=this,a=e[0],n=null==a?void 0:a.icon,l=N(i);return!s&&a?!!n&&l:!!t&&(!a||l)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:a,selectedItems:n,open:l}=this,o=N(a),h=n[0],r=!l&&o&&!!h;return t("span",{class:{"input-wrap":!0,"input-wrap--single":o}},r&&t("span",{class:{label:!0,"label--icon":!!(null==h?void 0:h.icon)},key:"label"},h.textLabel),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${ct}${i}`,"aria-expanded":c(l),"aria-haspopup":"listbox","aria-label":S(this),"aria-owns":`${ct}${i}`,class:{[K.input]:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":r,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon},disabled:e,id:`${dt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,readOnly:this.readOnly,role:"combobox",type:"text",ref:t=>this.textInput=t}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":c(i.selected),id:i.guid?`${ot}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[K.listContainer]:!0,[v.animation]:!0,[v.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderSelectedOrPlaceholderIcon(){const{selectedItems:i,placeholderIcon:e,placeholderIconFlipRtl:s}=this,a=i[0];return this.showingInlineIcon&&t("span",{class:"icon-start",key:"selected-placeholder-icon"},t("calcite-icon",{class:"selected-icon",flipRtl:this.open&&a?a.iconFlipRtl:s,icon:!this.open&&a?null==a?void 0:a.icon:e,scale:G(this.scale)}))}renderChevronIcon(){const{open:i}=this;return t("span",{class:"icon-end",key:"chevron"},t("calcite-icon",{class:K.icon,icon:i?"chevron-up":"chevron-down",scale:G(this.scale)}))}render(){var i;const{selectionDisplay:e,guid:a,label:n,open:l,readOnly:o}=this,h=N(this.selectionMode),r="all"===e,c="single"===e,d=!h&&"fit"===e,p=!this.clearDisabled&&(null===(i=this.value)||void 0===i?void 0:i.length)>0;return t(s,{key:"d7bb6fbd99d46d6baacd027bf67d440156aa8235",onClick:this.comboboxFocusHandler},t(M,{key:"f0e960f155ffed736782818874432e49aec7da43",disabled:this.disabled},t("div",{key:"5b69d59411f589c99d1087ffc9d2f34a02ce4abf","aria-live":"polite",class:{wrapper:!0,"wrapper--single":h||!this.selectedItems.length,"wrapper--active":l},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},this.renderSelectedOrPlaceholderIcon(),t("div",{class:{"grid-input":!0,[K.selectionDisplayFit]:d,[K.selectionDisplaySingle]:c},key:"grid",ref:this.setChipContainerEl},!h&&!c&&this.renderChips(),!h&&!r&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{key:"9b9988f68638cbf4b5379e815dd9ed88b5b83430",class:"screen-readers-only",htmlFor:`${dt}${a}`,id:`${rt}${a}`},n),this.renderInput()),!o&&p?t(lt,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,!o&&this.renderChevronIcon()),t("ul",{key:"e52aae918a2ad75c1f84e6761d4651a59397e5f7","aria-labelledby":`${rt}${a}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${ct}${a}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t($,{key:"feb9c678d698e149bc58b0aed458dee9d6fb8115",component:this}),this.validationMessage&&"invalid"===this.status?t(U,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};function ut(t,i,e){const s=i[0]-t[0];return s?(3*(i[1]-t[1])/s-e)/2:e}function mt(t,i,e,s,a){const[n,l]=t,[o,h]=i,r=(o-n)/3;return`C ${a([n+r,l+r*e]).join(",")} ${a([o-r,h-r*s]).join(",")} ${a([o,h]).join(",")}`}pt.style=":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:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.wrapper:hover .icon{color:var(--calcite-color-text-1)}:host(:focus-within) .wrapper,.wrapper--active{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 )}:host([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-color-text-3)}.floating-ui-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}.floating-ui-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}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.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}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const bt=class{constructor(t){i(this,t),this.graphId=`calcite-graph-${C()}`,this.resizeObserver=O("resize",(()=>n(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:i,colorStops:e,el:s,highlightMax:a,highlightMin:n,min:l,max:o}=this,h=this.graphId,{clientHeight:r,clientWidth:c}=s;if(!i||0===i.length)return t("svg",{"aria-hidden":"true",class:"svg",height:r,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${r}`,width:c});const{min:d,max:p}=function(t){const[i,e]=t[0];return t.reduce((({min:t,max:i},[e,s])=>({min:[Math.min(t[0],e),Math.min(t[1],s)],max:[Math.max(i[0],e),Math.max(i[1],s)]})),{min:[i,e],max:[i,e]})}(i);let u=d,m=p;(l<d[0]||l>d[0])&&(u=[l,0]),(o>p[0]||o<p[0])&&(m=[o,p[1]]);const b=function({width:t,height:i,min:e,max:s}){const a=s[0]-e[0],n=s[1]-e[1];return s=>[(s[0]-e[0])/a*t,i-s[1]/n*i]}({min:u,max:m,width:c,height:r}),[f]=b([n,m[1]]),[g]=b([a,m[1]]),v=function({data:t,min:i,max:e,t:s}){if(0===t.length)return"";const[a,n]=s(t[0]),[l,o]=s(i),[h]=s(e);let r,c,d;const p=t.reduce(((i,e,a)=>{if(c=t[a-2],d=t[a-1],a>1){const t=
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
- * v2.8.2
16
- */
17
- function(t,i,e){const s=i[0]-t[0],a=e[0]-i[0],n=(i[1]-t[1])/(s||a<0&&0),l=(e[1]-i[1])/(a||s<0&&0),o=(n*a+l*s)/(s+a);return(Math.sign(n)+Math.sign(l))*Math.min(Math.abs(n),Math.abs(l),.5*Math.abs(o))||0}(c,d,e),a=void 0===r?ut(c,d,t):r,n=mt(c,d,a,t,s);return r=t,`${i} ${n}`}return i}),`M ${l},${o} L ${l},${n} L ${a},${n}`),u=t[t.length-1];return`${p} ${mt(d,u,r,ut(d,u,r),s)} L ${h},${o} Z`}({data:i,min:d,max:p,t:b}),x=e?`url(#linear-gradient-${h})`:void 0;return t("svg",{"aria-hidden":"true",class:"svg",height:r,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${r}`,width:c},e?t("defs",null,t("linearGradient",{id:`linear-gradient-${h}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:i,color:e,opacity:s})=>t("stop",{offset:100*i+"%","stop-color":e,"stop-opacity":s}))))):null,void 0!==n?[t("mask",{height:"100%",id:`${h}1`,width:"100%",x:"0%",y:"0%"},t("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${r}\n L 0,${r}\n Z\n `,fill:"white"})),t("mask",{height:"100%",id:`${h}2`,width:"100%",x:"0%",y:"0%"},t("path",{d:`\n M ${f+1},0\n L ${g-1},0\n L ${g-1},${r}\n L ${f+1}, ${r}\n Z\n `,fill:"white"})),t("mask",{height:"100%",id:`${h}3`,width:"100%",x:"0%",y:"0%"},t("path",{d:`\n M ${g+1},0\n L ${c},0\n L ${c},${r}\n L ${g+1}, ${r}\n Z\n `,fill:"white"})),t("path",{class:"graph-path",d:v,fill:x,mask:`url(#${h}1)`}),t("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${h}2)`}),t("path",{class:"graph-path",d:v,fill:x,mask:`url(#${h}3)`})]:t("path",{class:"graph-path",d:v,fill:x}))}get el(){return a(this)}};bt.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";
18
- /*!
19
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
21
- * v2.8.2
22
- */
23
- const ft="container",gt="container--range",vt="hyphen",xt="hyphen--wrap",kt="thumb",yt="thumb--active",wt="thumb--minValue",$t="thumb--precise",Ct="thumb--value",_t="tick",zt="tick--active",It="tick__label",Mt="tick__label--max",Vt="tick__label--min";function Ht(t){return Array.isArray(t)}const St=class{constructor(t){i(this,t),this.calciteSliderInput=e(this,"calciteSliderInput",6),this.calciteSliderChange=e(this,"calciteSliderChange",6),this.handleKeyDown=t=>{const i=this.shouldMirror(),{activeProp:e,max:s,min:a,pageStep:n,step:l}=this,o=this[e],{key:h}=t;if(et(h))return void t.preventDefault();let r;if("ArrowUp"===h||"ArrowRight"===h?r=o+l*(i&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?r=o-l*(i&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(r=o+n):"PageDown"===h?n&&(r=o-n):"Home"===h?r=a:"End"===h&&(r=s),isNaN(r))return;t.preventDefault();const c=Number(r.toFixed(st(l)));this.setValue({[e]:this.clamp(c,e)})},this.activeProp="value",this.guid=`calcite-slider-${C()}`,this.onThumbBlur=()=>{this.activeProp=null},this.onThumbFocus=t=>{this.activeProp=t.currentTarget.getAttribute("data-value-prop")},this.onThumbPointerDown=t=>{this.pointerDownDragStart(t,t.currentTarget.getAttribute("data-value-prop"))},this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")},this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const i=this.translate(t.clientX||t.pageX);if(Ht(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,e=i+this.maxValueDragRange;e<=this.max&&t>=this.min&&e-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(e,"maxValue")})}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(i,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&d(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.storeThumbRef=t=>{t&&("minValue"===t.getAttribute("data-value-prop")?this.minHandle=t:this.maxHandle=t)},this.formatValue=t=>(F.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},F.localize(t.toString())),this.disabled=!1,this.fillPlacement="start",this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelFormatter=void 0,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){_(this),j(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),V(this),k(this)}disconnectedCallback(){I(this),H(this),w(this),P(this),this.removeDragListeners()}componentWillLoad(){A(this),Ht(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),this.ticksWatcher(),this.histogramWatcher(this.histogram),y(this,this.value)}componentDidLoad(){E(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),Ht(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),z(this)}render(){const i=this.el.id||this.guid,e=Ht(this.value)?this.maxValue:this.value,a=this.minValue||this.min,n=this.shouldUseMinValue(),l=100*this.getUnitInterval(n?this.minValue:a),o=100*this.getUnitInterval(e),h=this.shouldMirror(),r=Ht(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:o,minInterval:l,mirror:h}),p=this.buildThumbType("min"),u=r&&this.renderThumb({type:p,thumbPlacement:p.includes("histogram")||p.includes("precise")?"below":"above",maxInterval:o,minInterval:l,mirror:h}),m=r?"start":this.fillPlacement,b="none"===m?{left:"unset",right:"unset"}:"end"===m?{left:`${h?l:o}%`,right:`${h?o:l}%`}:{left:`${h?100-o:l}%`,right:`${h?l:100-o}%`};return t(s,{key:"86ec64bfb42495e7fc927751ad7d2a667b0a625d",id:i,onKeyDown:this.handleKeyDown,onTouchStart:this.handleTouchStart},t(M,{key:"842aacebaf4199a088f71b2d2ad7420845cf2629",disabled:this.disabled},t("div",{key:"364511c370bbf454958accdd4c3084a1c339de22","aria-label":S(this),class:{[ft]:!0,[gt]:r,[`scale--${this.scale}`]:!0}},this.renderGraph(),t("div",{key:"b382bc88c07796d339dd972bcea3459ce8664de9",class:"track",ref:this.storeTrackRef},t("div",{key:"ba6aeb6fca50edd0c2d13077a49ac00f0aa93cf3",class:"track__range",onPointerDown:this.onTrackPointerDown,style:b}),t("div",{key:"013d292f6046b456443c9537facac8a6a2b1c4e6",class:"ticks"},this.tickValues.map((i=>{const s=100*this.getUnitInterval(i)+"%";let l=!1;return"start"!==m&&"end"!==m||(l=n?i>=this.minValue&&i<=this.maxValue:i>=("start"===m?a:e)&&i<=("start"===m?e:this.max)),t("span",{class:{[_t]:!0,[zt]:l},style:{left:h?"":s,right:h?s:""}},this.renderTickLabel(i))})))),t("div",{key:"31e1150688ac0371ed3b32a839c855b79ae9ed47",class:"thumb-container"},u,d,t($,{key:"3de3bb38e26cd71ee3a49541d61534b004ff137b",component:this})))))}renderThumb({type:i,mirror:e,thumbPlacement:s,minInterval:a,maxInterval:n}){const l=i.includes("labeled"),o=i.includes("precise"),h=i.includes("min"),r=Ht(this.value),c=h?this.minValue:r?this.maxValue:this.value,d=h?"minValue":r?"maxValue":"value",p=h?this.minLabel:r?this.maxLabel:this.minLabel,u=h?this.minValue:c,m="minValue"===d?this.internalLabelFormatter(this.minValue,"min"):"maxValue"===d?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(c,"value"),b=h?{left:`${e?100-a:a}%`}:{right:`${e?n:100-n}%`},f="handle__label "+(h?"handle__label--minValue":"handle__label--value"),g=[...l?[t("span",{"aria-hidden":"true",class:f},m),t("span",{"aria-hidden":"true",class:`${f} static`},m),t("span",{"aria-hidden":"true",class:`${f} transformed`},m)]:[],t("div",{class:"handle"}),o&&t("div",{class:"handle-extension"})];return"below"===s&&g.reverse(),t("div",{"aria-disabled":this.disabled,"aria-label":p,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":u,class:{[kt]:!0,[Ct]:!h,[yt]:"minMaxValue"!==this.lastDragProp&&this.dragProp===d,[$t]:o,[wt]:h},"data-value-prop":d,key:i,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,role:"slider",style:b,tabIndex:0,ref:this.storeThumbRef},g)}renderGraph(){return this.histogram?t("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:Ht(this.value)?this.maxValue:this.value,highlightMin:Ht(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(i){const{hasHistogram:e,labelHandles:s,labelTicks:a,max:n,min:l,precise:o,value:h}=this,r=Ht(h),c=i===l,d=i===n,p=c||d;return!a||(e||!p&&o&&r)&&(!e||!p&&(o||s))?null:t("span",{class:{[It]:!0,[Vt]:c,[Mt]:d}},this.internalLabelFormatter(i,"tick"))}pointerDownHandler(t){if(this.disabled||!d(t))return;const i=t.clientX||t.pageX,e=this.translate(i);let s="value";Ht(this.value)&&(s=e>=this.minValue&&e<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-e)<Math.abs(this.minValue-e)||e>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[s],this.dragStart(s),this.el.shadowRoot.querySelector(`.${kt}:active`)||this.setValue({[s]:this.clamp(e,s)}),this.focusActiveHandle(i)}handleTouchStart(t){t.preventDefault()}async setFocus(){await D(this);const t=this.minHandle?this.minHandle:this.maxHandle;null==t||t.focus()}buildThumbType(t){const i=[t];return this.labelHandles&&i.push("labeled"),this.precise&&i.push("precise"),this.hasHistogram&&i.push("histogram"),i.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:i}=this;"number"==typeof t&&"number"==typeof i&&(this.value=[t,i])}setMinMaxFromValue(){const{value:t}=this;Ht(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!Ht(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}getTickDensity(){const t=(this.max-this.min)/this.ticks/250;return t<1?1:t}generateTickValues(){var t;const i=null!==(t=this.ticks)&&void 0!==t?t:0;if(i<=0)return[];const e=[this.min],s=i*this.getTickDensity();let a=this.min;for(;a<this.max;)a+=s,e.push(Math.min(a,this.max));return e.includes(this.max)||e.push(this.max),e}pointerDownDragStart(t,i){d(t)&&this.dragStart(i)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){"minValue"===this.dragProp?this.minHandle.focus():"maxValue"===this.dragProp||"value"===this.dragProp?this.maxHandle.focus():"minMaxValue"===this.dragProp&&this.getClosestHandle(t).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let i;Object.keys(t).forEach((e=>{const s=t[e];i||(i=this[e]!==s),this[e]=s})),i&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=at(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:e,width:s}=this.trackEl.getBoundingClientRect(),a=(t-e)/s,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-a:a)),o=Number(l.toFixed(st(this.step)));return this.snap&&this.step?this.getClosestStep(o):o}getClosestStep(t){const{max:i,min:e,step:s}=this;let a=Math.floor((t-e)/s)*s+e;return a=Math.min(Math.max(a,e),i),a>i&&(a-=s),a}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,i){return Math.abs(t.getBoundingClientRect().left-i)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const i=this.el.shadowRoot.querySelector(`.handle__label--${t}`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),s=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),a=e.getBoundingClientRect(),n=this.getHostOffset(a.left,a.right);i.style.transform=`translateX(${n}px)`,s.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),e=i?"value":"minValue",s=i?"minValue":"value",a=t.querySelector(`.handle__label--${e}`),n=t.querySelector(`.handle__label--${e}.static`),l=t.querySelector(`.handle__label--${e}.transformed`),o=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${s}`),r=t.querySelector(`.handle__label--${s}.static`),c=t.querySelector(`.handle__label--${s}.transformed`),d=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right),p=this.getFontSizeForElement(a),u=this.getRangeLabelOverlap(l,c),m=a,b=p/2;if(u>0){if(m.classList.add(vt,xt),0===d&&0===o){let t=u/2-b;t=-1===Math.sign(t)?Math.abs(t):-t;const i=this.getHostOffset(l.getBoundingClientRect().left+t-b,l.getBoundingClientRect().right+t-b);let e=u/2;const s=this.getHostOffset(c.getBoundingClientRect().left+e,c.getBoundingClientRect().right+e);0!==i&&(t+=i,e+=i),0!==s&&(t+=s,e+=s),a.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-b}px)`,h.style.transform=`translateX(${e}px)`,c.style.transform=`translateX(${e}px)`}else if(o>0||d>0)a.style.transform=`translateX(${o+b}px)`,h.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(o<0||d<0){let t=Math.abs(o)+u-b;t=-1===Math.sign(t)?Math.abs(t):-t,a.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-b}px)`}}else m.classList.remove(vt,xt),a.style.transform=`translateX(${o}px)`,l.style.transform=`translateX(${o}px)`,h.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=Ht(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const i=this.el.shadowRoot.querySelector(`.${wt}`),e=this.el.shadowRoot.querySelector(`.${Ct}`),s=this.el.shadowRoot.querySelector(`.${Vt}`),a=this.el.shadowRoot.querySelector(`.${Mt}`);!i&&e&&s&&a&&(s.style.opacity=this.isMinTickLabelObscured(s,e)?"0":"1",a.style.opacity=this.isMaxTickLabelObscured(a,e)?"0":"1"),i&&e&&s&&a&&(s.style.opacity=this.isMinTickLabelObscured(s,i)||this.isMinTickLabelObscured(s,e)?"0":"1",a.style.opacity=this.isMaxTickLabelObscured(a,i)||this.isMaxTickLabelObscured(a,e)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const e=this.el.getBoundingClientRect();return t+7<e.left?e.left-t-7:i-7>e.right?7-(i-e.right):0}getRangeLabelOverlap(t,i){const e=t.getBoundingClientRect(),s=i.getBoundingClientRect(),a=this.getFontSizeForElement(t);return Math.max(e.right+a-s.left,0)}isMinTickLabelObscured(t,i){const e=t.getBoundingClientRect(),s=i.getBoundingClientRect();return p(e,s)}isMaxTickLabelObscured(t,i){const e=t.getBoundingClientRect(),s=i.getBoundingClientRect();return p(e,s)}internalLabelFormatter(t,i){const e=this.labelFormatter;if(!e)return this.formatValue(t);const s=e(t,i,this.formatValue);return null==s?this.formatValue(t):s}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};St.style='@charset "UTF-8";: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}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::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}:host([hidden]){display:none}[hidden]{display:none}';export{pt as calcite_combobox,bt as calcite_graph,St as calcite_slider}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as a,h as t,F as s}from"./p-6d753a3d.js";const d=class{constructor(t){e(this,t),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return t(s,{key:"52990dfd78732b297a9693682994eac13de0ea6c"},t("div",{key:"f8907d01f123eb1f3df0055cafc6bba8d6067080"},this.label),t("slot",{key:"393f15738c365072299d1b60be1408a5e86a95f3"}))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};d.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_option_group}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as i,h as t,F as s,g as a}from"./p-6d753a3d.js";import{c as n,d as o}from"./p-6085ab9c.js";import{g as r}from"./p-67b26725.js";import{c as l,d as c}from"./p-b5bfe190.js";import{u as d,c as h,s as p,d as m}from"./p-2e625f11.js";import{H as f,c as g}from"./p-8674e740.js";import"./p-bfd3d428.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
- * v2.8.2
11
- */const b="thumbnail",v=class{constructor(t){e(this,t),this.calciteTipDismiss=i(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){n(this),l(this),h(this)}async componentWillLoad(){await p(this)}disconnectedCallback(){o(this),c(this),m(this)}renderHeader(){var e;const{heading:i,headingLevel:s,el:a}=this,n=null===(e=a.closest("calcite-tip-manager"))||void 0===e?void 0:e.headingLevel,o=n?g(n+1):null;return i?t("header",{class:"header"},t(f,{class:"heading",level:s||o},i)):null}renderDismissButton(){const{closeDisabled:e,hideTip:i}=this;return e?null:t("calcite-action",{class:"close",icon:"x",onClick:i,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:e}=this;return r(e,b)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:b})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(s,{key:"0c1a204f565a12f4e359f1c6c050258bf70c2b18"},t("article",{key:"1e2ea801101e4280b0b073e780ef1db6f064856b",class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style=":host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.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{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a: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 )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_tip}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-bc82830a.js";import"./p-6d753a3d.js";import"./p-229ec6a3.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9db9645e.js";import"./p-820d8935.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-a25bbcc1.js";import"./p-b5bfe190.js";import"./p-bfd3d428.js";import"./p-97f0e1b6.js";import"./p-86a8cf0e.js";import"./p-ebf59857.js";import"./p-2e625f11.js";import"./p-12c80030.js";import"./p-972fd6e2.js";var r={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var r=["th","st","nd","rd"],a=e%100;return"["+e+(r[(a-20)%10]||r[a]||r[0])+"]"}};e.locale(r,null,!0);export{r as default}