@esri/solutions-components 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (978) hide show
  1. package/dist/cjs/ExpandToggle-73df0d51.js +0 -2
  2. package/dist/cjs/Heading-6b7b374c.js +0 -2
  3. package/dist/cjs/_commonjsHelpers-6aafa5de.js +0 -2
  4. package/dist/cjs/app-globals-2f48e57e.js +0 -2
  5. package/dist/cjs/array-ace6d4b5.js +0 -2
  6. package/dist/cjs/buffer-tools_6.cjs.entry.js +0 -2
  7. package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
  8. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
  9. package/dist/cjs/calcite-action-bar_6.cjs.entry.js +0 -2
  10. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
  11. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -2
  12. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
  13. package/dist/cjs/calcite-action_2.cjs.entry.js +0 -2
  14. package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
  15. package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
  16. package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
  17. package/dist/cjs/calcite-block.cjs.entry.js +0 -2
  18. package/dist/cjs/calcite-button.cjs.entry.js +0 -2
  19. package/dist/cjs/calcite-card.cjs.entry.js +0 -2
  20. package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -2
  21. package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
  22. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -2
  23. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -2
  24. package/dist/cjs/calcite-color-picker.cjs.entry.js +0 -2
  25. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
  26. package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -2
  27. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
  28. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
  29. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
  30. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
  31. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
  32. package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
  33. package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
  34. package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -2
  35. package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
  36. package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
  37. package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
  38. package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
  39. package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
  40. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
  41. package/dist/cjs/calcite-input-number.cjs.entry.js +0 -2
  42. package/dist/cjs/calcite-input-text.cjs.entry.js +0 -2
  43. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
  44. package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
  45. package/dist/cjs/calcite-label.cjs.entry.js +0 -2
  46. package/dist/cjs/calcite-link.cjs.entry.js +0 -2
  47. package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
  48. package/dist/cjs/calcite-list_2.cjs.entry.js +0 -2
  49. package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
  50. package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
  51. package/dist/cjs/calcite-option_2.cjs.entry.js +0 -2
  52. package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
  53. package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -2
  54. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
  55. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
  56. package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
  57. package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
  58. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
  59. package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
  60. package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
  61. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
  62. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
  63. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -13
  64. package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
  65. package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
  66. package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
  67. package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
  68. package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
  69. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
  70. package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
  71. package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
  72. package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
  73. package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
  74. package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
  75. package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
  76. package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +0 -2
  77. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
  78. package/dist/cjs/calcite-tree_3.cjs.entry.js +0 -2
  79. package/dist/cjs/check-list.cjs.entry.js +0 -2
  80. package/dist/cjs/conditionalSlot-2defe83d.js +0 -2
  81. package/dist/cjs/config-buffer-tools.cjs.entry.js +0 -2
  82. package/dist/cjs/config-draw-tools.cjs.entry.js +0 -2
  83. package/dist/cjs/config-layer-picker.cjs.entry.js +0 -2
  84. package/dist/cjs/config-pdf-download.cjs.entry.js +0 -2
  85. package/dist/cjs/date-e21b2052.js +0 -2
  86. package/dist/cjs/debounce-69c3bada.js +0 -2
  87. package/dist/cjs/dom-4a580af6.js +0 -2
  88. package/dist/cjs/filter-325f654f.js +0 -2
  89. package/dist/cjs/floating-ui-ca1bcead.js +0 -2
  90. package/dist/cjs/form-45849654.js +0 -2
  91. package/dist/cjs/guid-84ac4d91.js +0 -2
  92. package/dist/cjs/index-7af21b6f.js +0 -2
  93. package/dist/cjs/index-a86078a0.js +0 -2
  94. package/dist/cjs/index-d7f9770d.js +0 -2
  95. package/dist/cjs/index.cjs.js +0 -2
  96. package/dist/cjs/interactive-0a68ab99.js +0 -2
  97. package/dist/cjs/interfaces-ab603e16.js +0 -2
  98. package/dist/cjs/interfaces-e76f31e9.js +0 -2
  99. package/dist/cjs/key-55aca5c0.js +0 -2
  100. package/dist/cjs/label-24fcd8a5.js +0 -2
  101. package/dist/cjs/labelFormats-3236d2e0.js +0 -2
  102. package/dist/cjs/loadModules-38269f99.js +0 -2
  103. package/dist/cjs/loader.cjs.js +0 -2
  104. package/dist/cjs/locale-73cab8e8.js +0 -2
  105. package/dist/cjs/locale-746a095d.js +0 -2
  106. package/dist/cjs/map-search.cjs.entry.js +0 -2
  107. package/dist/cjs/mapViewUtils-67cfc412.js +0 -2
  108. package/dist/cjs/math-460fffaf.js +0 -2
  109. package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +0 -2
  110. package/dist/cjs/observers-5311faf8.js +0 -2
  111. package/dist/cjs/openCloseComponent-bf986132.js +0 -2
  112. package/dist/cjs/public-notification.cjs.entry.js +0 -2
  113. package/dist/cjs/publicNotificationStore-6a3d40b3.js +0 -2
  114. package/dist/cjs/publicNotificationUtils-9d585d8d.js +0 -2
  115. package/dist/cjs/resources-1f785471.js +0 -2
  116. package/dist/cjs/resources-2260d186.js +0 -2
  117. package/dist/cjs/resources-2a9862c7.js +0 -2
  118. package/dist/cjs/resources-308edbd8.js +0 -2
  119. package/dist/cjs/resources-6152b073.js +0 -2
  120. package/dist/cjs/resources-808cfca8.js +0 -2
  121. package/dist/cjs/resources-9c55e05c.js +0 -2
  122. package/dist/cjs/resources-aa19bf8c.js +0 -2
  123. package/dist/cjs/resources-b56bce71.js +0 -2
  124. package/dist/cjs/resources-cc7f63b0.js +0 -2
  125. package/dist/cjs/shared-list-render-4c7d84bf.js +0 -2
  126. package/dist/cjs/solution-configuration.cjs.entry.js +1 -9
  127. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -5
  128. package/dist/cjs/{solution-store-893499a5.js → solution-store-e2fc11ac.js} +0 -4
  129. package/dist/cjs/solutions-components.cjs.js +0 -2
  130. package/dist/cjs/sortable.esm-bf47019d.js +0 -2
  131. package/dist/cjs/store-manager.cjs.entry.js +0 -2
  132. package/dist/cjs/time-3f5577cb.js +0 -2
  133. package/dist/cjs/utils-120bbbeb.js +0 -2
  134. package/dist/cjs/utils-b4236001.js +0 -2
  135. package/dist/collection/components/buffer-tools/buffer-tools.js +0 -1
  136. package/dist/collection/components/check-list/check-list.js +0 -1
  137. package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +0 -1
  138. package/dist/collection/components/config-draw-tools/config-draw-tools.js +0 -1
  139. package/dist/collection/components/config-layer-picker/config-layer-picker.js +0 -1
  140. package/dist/collection/components/config-pdf-download/config-pdf-download.js +0 -1
  141. package/dist/collection/components/json-editor/json-editor.js +0 -1
  142. package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -1
  143. package/dist/collection/components/map-layer-picker/map-layer-picker.js +0 -1
  144. package/dist/collection/components/map-search/map-search.js +0 -1
  145. package/dist/collection/components/map-select-tools/map-select-tools.js +0 -1
  146. package/dist/collection/components/pdf-download/pdf-download.js +0 -1
  147. package/dist/collection/components/public-notification/public-notification.js +0 -1
  148. package/dist/collection/components/refine-selection/refine-selection.js +0 -1
  149. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +0 -1
  150. package/dist/collection/components/solution-configuration/solution-configuration.js +0 -7
  151. package/dist/collection/components/solution-contents/solution-contents.js +0 -1
  152. package/dist/collection/components/solution-item/solution-item.js +0 -3
  153. package/dist/collection/components/solution-item-details/solution-item-details.js +0 -14
  154. package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
  155. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +0 -1
  156. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +0 -1
  157. package/dist/collection/components/solution-resource-item/solution-resource-item.js +0 -1
  158. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +0 -1
  159. package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -1
  160. package/dist/collection/components/solution-template-data/solution-template-data.js +0 -1
  161. package/dist/collection/components/solution-variables/solution-variables.js +0 -1
  162. package/dist/collection/components/store-manager/store-manager.js +0 -1
  163. package/dist/collection/index.js +0 -1
  164. package/dist/collection/utils/common.js +0 -1
  165. package/dist/collection/utils/csvUtils.js +0 -1
  166. package/dist/collection/utils/interfaces.js +0 -1
  167. package/dist/collection/utils/languageUtil.js +0 -1
  168. package/dist/collection/utils/loadModules.js +0 -1
  169. package/dist/collection/utils/locale.js +0 -1
  170. package/dist/collection/utils/mapViewUtils.js +0 -1
  171. package/dist/collection/utils/publicNotificationStore.js +0 -1
  172. package/dist/collection/utils/publicNotificationUtils.js +0 -1
  173. package/dist/collection/utils/queryUtils.js +0 -1
  174. package/dist/collection/utils/solution-store.js +0 -3
  175. package/dist/collection/utils/solution-store.ts +0 -2
  176. package/dist/collection/utils/templates.js +0 -1
  177. package/dist/collection/utils/test/testUtils.js +0 -1
  178. package/dist/collection/utils/types.js +0 -1
  179. package/dist/esm/ExpandToggle-b7d1fb3c.js +0 -2
  180. package/dist/esm/Heading-1efb4837.js +0 -2
  181. package/dist/esm/_commonjsHelpers-8fd39c50.js +0 -2
  182. package/dist/esm/app-globals-09b9efee.js +0 -2
  183. package/dist/esm/array-2ab3b18f.js +0 -2
  184. package/dist/esm/buffer-tools_6.entry.js +0 -2
  185. package/dist/esm/calcite-accordion-item.entry.js +0 -2
  186. package/dist/esm/calcite-accordion.entry.js +0 -2
  187. package/dist/esm/calcite-action-bar_6.entry.js +0 -2
  188. package/dist/esm/calcite-action-group.entry.js +0 -2
  189. package/dist/esm/calcite-action-menu_2.entry.js +0 -2
  190. package/dist/esm/calcite-action-pad.entry.js +0 -2
  191. package/dist/esm/calcite-action_2.entry.js +0 -2
  192. package/dist/esm/calcite-alert.entry.js +0 -2
  193. package/dist/esm/calcite-avatar.entry.js +0 -2
  194. package/dist/esm/calcite-block-section.entry.js +0 -2
  195. package/dist/esm/calcite-block.entry.js +0 -2
  196. package/dist/esm/calcite-button.entry.js +0 -2
  197. package/dist/esm/calcite-card.entry.js +0 -2
  198. package/dist/esm/calcite-checkbox.entry.js +0 -2
  199. package/dist/esm/calcite-chip.entry.js +0 -2
  200. package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -2
  201. package/dist/esm/calcite-color-picker-swatch.entry.js +0 -2
  202. package/dist/esm/calcite-color-picker.entry.js +0 -2
  203. package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
  204. package/dist/esm/calcite-combobox_3.entry.js +0 -2
  205. package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
  206. package/dist/esm/calcite-date-picker.entry.js +0 -2
  207. package/dist/esm/calcite-dropdown-group.entry.js +0 -2
  208. package/dist/esm/calcite-dropdown-item.entry.js +0 -2
  209. package/dist/esm/calcite-dropdown.entry.js +0 -2
  210. package/dist/esm/calcite-fab.entry.js +0 -2
  211. package/dist/esm/calcite-filter.entry.js +0 -2
  212. package/dist/esm/calcite-flow-item.entry.js +0 -2
  213. package/dist/esm/calcite-flow.entry.js +0 -2
  214. package/dist/esm/calcite-graph.entry.js +0 -2
  215. package/dist/esm/calcite-handle.entry.js +0 -2
  216. package/dist/esm/calcite-icon.entry.js +0 -2
  217. package/dist/esm/calcite-inline-editable.entry.js +0 -2
  218. package/dist/esm/calcite-input-date-picker.entry.js +0 -2
  219. package/dist/esm/calcite-input-number.entry.js +0 -2
  220. package/dist/esm/calcite-input-text.entry.js +0 -2
  221. package/dist/esm/calcite-input-time-picker.entry.js +0 -2
  222. package/dist/esm/calcite-input_2.entry.js +0 -2
  223. package/dist/esm/calcite-label.entry.js +0 -2
  224. package/dist/esm/calcite-link.entry.js +0 -2
  225. package/dist/esm/calcite-list-item-group.entry.js +0 -2
  226. package/dist/esm/calcite-list_2.entry.js +0 -2
  227. package/dist/esm/calcite-modal.entry.js +0 -2
  228. package/dist/esm/calcite-option-group.entry.js +0 -2
  229. package/dist/esm/calcite-option_2.entry.js +0 -2
  230. package/dist/esm/calcite-pagination.entry.js +0 -2
  231. package/dist/esm/calcite-panel_2.entry.js +0 -2
  232. package/dist/esm/calcite-pick-list-group.entry.js +0 -2
  233. package/dist/esm/calcite-pick-list-item.entry.js +0 -2
  234. package/dist/esm/calcite-pick-list.entry.js +0 -2
  235. package/dist/esm/calcite-popover-manager.entry.js +0 -2
  236. package/dist/esm/calcite-radio-button-group.entry.js +0 -2
  237. package/dist/esm/calcite-radio-button.entry.js +0 -2
  238. package/dist/esm/calcite-rating.entry.js +0 -2
  239. package/dist/esm/calcite-scrim.entry.js +0 -2
  240. package/dist/esm/calcite-shell-center-row.entry.js +0 -2
  241. package/dist/esm/calcite-shell-panel_14.entry.js +1 -13
  242. package/dist/esm/calcite-sortable-list.entry.js +0 -2
  243. package/dist/esm/calcite-split-button.entry.js +0 -2
  244. package/dist/esm/calcite-stepper-item.entry.js +0 -2
  245. package/dist/esm/calcite-stepper.entry.js +0 -2
  246. package/dist/esm/calcite-switch.entry.js +0 -2
  247. package/dist/esm/calcite-tile-select-group.entry.js +0 -2
  248. package/dist/esm/calcite-tile-select.entry.js +0 -2
  249. package/dist/esm/calcite-tile.entry.js +0 -2
  250. package/dist/esm/calcite-time-picker.entry.js +0 -2
  251. package/dist/esm/calcite-tip-group.entry.js +0 -2
  252. package/dist/esm/calcite-tip-manager.entry.js +0 -2
  253. package/dist/esm/calcite-tip.entry.js +0 -2
  254. package/dist/esm/calcite-tooltip-manager.entry.js +0 -2
  255. package/dist/esm/calcite-tooltip.entry.js +0 -2
  256. package/dist/esm/calcite-tree_3.entry.js +0 -2
  257. package/dist/esm/check-list.entry.js +0 -2
  258. package/dist/esm/conditionalSlot-bb4cab11.js +0 -2
  259. package/dist/esm/config-buffer-tools.entry.js +0 -2
  260. package/dist/esm/config-draw-tools.entry.js +0 -2
  261. package/dist/esm/config-layer-picker.entry.js +0 -2
  262. package/dist/esm/config-pdf-download.entry.js +0 -2
  263. package/dist/esm/date-45de0016.js +0 -2
  264. package/dist/esm/debounce-4c884e5c.js +0 -2
  265. package/dist/esm/dom-e593bf85.js +0 -2
  266. package/dist/esm/filter-82935f2d.js +0 -2
  267. package/dist/esm/floating-ui-69a55a27.js +0 -2
  268. package/dist/esm/form-dbfde8ce.js +0 -2
  269. package/dist/esm/guid-15fce7c0.js +0 -2
  270. package/dist/esm/index-15022d11.js +0 -2
  271. package/dist/esm/index-9c882a6e.js +0 -2
  272. package/dist/esm/index-d33ebc35.js +0 -2
  273. package/dist/esm/index.js +0 -2
  274. package/dist/esm/interactive-822ffed6.js +0 -2
  275. package/dist/esm/interfaces-4ae145eb.js +0 -2
  276. package/dist/esm/interfaces-e2a2064d.js +0 -2
  277. package/dist/esm/key-acb660e7.js +0 -2
  278. package/dist/esm/label-d411de44.js +0 -2
  279. package/dist/esm/labelFormats-b37958c3.js +0 -2
  280. package/dist/esm/loadModules-d3b50f95.js +0 -2
  281. package/dist/esm/loader.js +0 -2
  282. package/dist/esm/locale-0b490b02.js +0 -2
  283. package/dist/esm/locale-0e10d7e5.js +0 -2
  284. package/dist/esm/map-search.entry.js +0 -2
  285. package/dist/esm/mapViewUtils-09f1e7bd.js +0 -2
  286. package/dist/esm/math-552c5420.js +0 -2
  287. package/dist/esm/nonChromiumPlatformUtils-ee349005.js +0 -2
  288. package/dist/esm/observers-31601001.js +0 -2
  289. package/dist/esm/openCloseComponent-5caff873.js +0 -2
  290. package/dist/esm/public-notification.entry.js +0 -2
  291. package/dist/esm/publicNotificationStore-060c59c8.js +0 -2
  292. package/dist/esm/publicNotificationUtils-5cb5a607.js +0 -2
  293. package/dist/esm/resources-2235e4ff.js +0 -2
  294. package/dist/esm/resources-3d641588.js +0 -2
  295. package/dist/esm/resources-436ae282.js +0 -2
  296. package/dist/esm/resources-4d02cb48.js +0 -2
  297. package/dist/esm/resources-78132e50.js +0 -2
  298. package/dist/esm/resources-7d4a587f.js +0 -2
  299. package/dist/esm/resources-971845d1.js +0 -2
  300. package/dist/esm/resources-9eb63965.js +0 -2
  301. package/dist/esm/resources-d60362c3.js +0 -2
  302. package/dist/esm/resources-e3a5cf27.js +0 -2
  303. package/dist/esm/shared-list-render-4e9d47a3.js +0 -2
  304. package/dist/esm/solution-configuration.entry.js +1 -9
  305. package/dist/esm/solution-contents_3.entry.js +1 -5
  306. package/dist/esm/{solution-store-0c58c852.js → solution-store-b3c65467.js} +0 -4
  307. package/dist/esm/solutions-components.js +0 -2
  308. package/dist/esm/sortable.esm-3b2eaa5c.js +0 -2
  309. package/dist/esm/store-manager.entry.js +0 -2
  310. package/dist/esm/time-f014778c.js +0 -2
  311. package/dist/esm/utils-3f4ee4c3.js +0 -2
  312. package/dist/esm/utils-583554bc.js +0 -2
  313. package/dist/solutions-components/index.esm.js +0 -2
  314. package/dist/solutions-components/p-006c6ae1.entry.js +11 -0
  315. package/dist/solutions-components/p-04a37fc0.entry.js +6 -0
  316. package/dist/solutions-components/p-062dbde8.entry.js +6 -0
  317. package/dist/solutions-components/p-0b941521.entry.js +11 -0
  318. package/dist/solutions-components/p-0c80eb51.entry.js +11 -0
  319. package/dist/solutions-components/p-10501e21.entry.js +23 -0
  320. package/dist/solutions-components/p-109e4684.entry.js +6 -0
  321. package/dist/solutions-components/p-12dfd43e.entry.js +11 -0
  322. package/dist/solutions-components/p-13b37f05.js +3 -308
  323. package/dist/solutions-components/p-1c3bcd99.entry.js +12 -0
  324. package/dist/solutions-components/p-1c589630.entry.js +6 -0
  325. package/dist/solutions-components/p-1e15b1a3.js +2 -183
  326. package/dist/solutions-components/p-1fb471cf.entry.js +11 -0
  327. package/dist/solutions-components/p-20bdf42f.js +14 -407
  328. package/dist/solutions-components/p-23275dbd.entry.js +6 -0
  329. package/dist/solutions-components/p-236d76e7.entry.js +11 -0
  330. package/dist/solutions-components/p-23904a3d.js +3 -401
  331. package/dist/solutions-components/p-29246858.entry.js +11 -0
  332. package/dist/solutions-components/p-2ac06389.js +16 -25
  333. package/dist/solutions-components/p-2af67c67.entry.js +6 -0
  334. package/dist/solutions-components/p-2bee764f.entry.js +11 -0
  335. package/dist/solutions-components/p-2e9ed892.js +1 -48
  336. package/dist/solutions-components/p-2f6b4f04.entry.js +6 -0
  337. package/dist/solutions-components/p-305ae3fe.entry.js +11 -0
  338. package/dist/solutions-components/p-32a67cb2.js +2 -207
  339. package/dist/solutions-components/p-343e325d.entry.js +11 -0
  340. package/dist/solutions-components/p-3485601e.entry.js +6 -0
  341. package/dist/solutions-components/p-374a5031.js +2 -107
  342. package/dist/solutions-components/p-395e9b6c.entry.js +6 -0
  343. package/dist/solutions-components/p-39c5f2d2.entry.js +6 -0
  344. package/dist/solutions-components/p-3b010ce1.js +1 -19
  345. package/dist/solutions-components/p-3c4f2257.entry.js +11 -0
  346. package/dist/solutions-components/p-3c8ec7a3.entry.js +12 -0
  347. package/dist/solutions-components/p-3f6b0af4.js +2 -221
  348. package/dist/solutions-components/p-4130fbcd.entry.js +11 -0
  349. package/dist/solutions-components/p-421cbb15.entry.js +6 -0
  350. package/dist/solutions-components/p-43fa414d.entry.js +11 -0
  351. package/dist/solutions-components/p-4760f22a.entry.js +6 -0
  352. package/dist/solutions-components/p-4e32bf8c.js +1 -484
  353. package/dist/solutions-components/p-4fb6d2cf.entry.js +11 -0
  354. package/dist/solutions-components/p-54384555.entry.js +11 -0
  355. package/dist/solutions-components/p-5493f036.entry.js +6 -0
  356. package/dist/solutions-components/p-551fd063.entry.js +11 -0
  357. package/dist/solutions-components/p-56350bff.js +2 -173
  358. package/dist/solutions-components/p-58c69df2.js +2 -2024
  359. package/dist/solutions-components/p-5a61ef0d.entry.js +6 -0
  360. package/dist/solutions-components/p-5b0d7c7d.js +16 -35
  361. package/dist/solutions-components/p-5cf33602.js +2 -43
  362. package/dist/solutions-components/p-600e23c6.js +2 -1770
  363. package/dist/solutions-components/p-63f6e8f1.js +1 -16
  364. package/dist/solutions-components/p-6a3ce8f6.entry.js +6 -0
  365. package/dist/solutions-components/p-6b9dc092.js +16 -67
  366. package/dist/solutions-components/p-6be581f5.entry.js +6 -0
  367. package/dist/solutions-components/p-6cf432f9.entry.js +11 -0
  368. package/dist/solutions-components/p-6e0da576.js +1 -15
  369. package/dist/solutions-components/p-6fe17794.js +1 -11
  370. package/dist/solutions-components/p-70368b2b.entry.js +6 -0
  371. package/dist/solutions-components/p-708a63a8.js +1 -14
  372. package/dist/solutions-components/p-708ffad0.entry.js +11 -0
  373. package/dist/solutions-components/p-729708a3.js +1 -16
  374. package/dist/solutions-components/p-7321ba65.entry.js +11 -0
  375. package/dist/solutions-components/p-73e23995.js +1 -8
  376. package/dist/solutions-components/p-75b35018.entry.js +11 -0
  377. package/dist/solutions-components/p-764c0a90.entry.js +11 -0
  378. package/dist/solutions-components/p-77031b01.entry.js +11 -0
  379. package/dist/solutions-components/p-77182c3a.js +1 -3017
  380. package/dist/solutions-components/p-778a1b4a.entry.js +11 -0
  381. package/dist/solutions-components/p-7cdc6089.entry.js +6 -0
  382. package/dist/solutions-components/p-7daea1df.js +1 -43
  383. package/dist/solutions-components/p-81467529.entry.js +6 -0
  384. package/dist/solutions-components/p-834380d6.entry.js +11 -0
  385. package/dist/solutions-components/p-86908777.js +3 -62
  386. package/dist/solutions-components/p-89cc843b.entry.js +11 -0
  387. package/dist/solutions-components/p-8e3a2736.entry.js +11 -0
  388. package/dist/solutions-components/p-8e8b182f.entry.js +12 -0
  389. package/dist/solutions-components/p-8f052987.entry.js +11 -0
  390. package/dist/solutions-components/p-93790a9e.entry.js +37 -0
  391. package/dist/solutions-components/p-93d3119d.js +1 -1950
  392. package/dist/solutions-components/p-991ee695.js +1 -111
  393. package/dist/solutions-components/p-9a9955db.js +1 -43
  394. package/dist/solutions-components/p-9bbee464.entry.js +6 -0
  395. package/dist/solutions-components/p-9bdd4abe.entry.js +17 -0
  396. package/dist/solutions-components/p-a4a7d49d.entry.js +17 -0
  397. package/dist/solutions-components/p-a7036d68.entry.js +11 -0
  398. package/dist/solutions-components/p-a80b3880.js +1 -16
  399. package/dist/solutions-components/p-ac91cd40.entry.js +11 -0
  400. package/dist/solutions-components/p-acd0a09f.entry.js +11 -0
  401. package/dist/solutions-components/p-acd3b2bf.entry.js +11 -0
  402. package/dist/solutions-components/p-ae1fd76b.js +1 -13
  403. package/dist/solutions-components/p-aea937fb.entry.js +12 -0
  404. package/dist/solutions-components/p-b1b36556.entry.js +11 -0
  405. package/dist/solutions-components/p-b25f6ebe.js +257 -0
  406. package/dist/solutions-components/p-b2ae8634.entry.js +6 -0
  407. package/dist/solutions-components/p-b359dc78.js +1 -43
  408. package/dist/solutions-components/p-b978636e.js +1 -16
  409. package/dist/solutions-components/p-ba104266.entry.js +11 -0
  410. package/dist/solutions-components/p-bfcab358.entry.js +11 -0
  411. package/dist/solutions-components/p-c848d1bd.entry.js +29 -0
  412. package/dist/solutions-components/p-c9766584.entry.js +6 -0
  413. package/dist/solutions-components/p-cbd9fecf.js +2 -500
  414. package/dist/solutions-components/p-d2cc1b94.entry.js +12 -0
  415. package/dist/solutions-components/p-d48a24e6.js +2 -756
  416. package/dist/solutions-components/p-d51a72d2.entry.js +11 -0
  417. package/dist/solutions-components/p-d88fe54b.entry.js +18 -0
  418. package/dist/solutions-components/p-daee23cc.entry.js +11 -0
  419. package/dist/solutions-components/p-db7d14d5.entry.js +12 -0
  420. package/dist/solutions-components/p-dbad98e8.js +2 -124
  421. package/dist/solutions-components/p-dc724c1d.entry.js +11 -0
  422. package/dist/solutions-components/p-dc7bc20f.entry.js +11 -0
  423. package/dist/solutions-components/p-de242ea9.entry.js +6 -0
  424. package/dist/solutions-components/p-de5416e8.js +1 -30
  425. package/dist/solutions-components/p-e4ebb82a.entry.js +11 -0
  426. package/dist/solutions-components/p-e611d8c8.js +1 -30
  427. package/dist/solutions-components/p-e64c5c11.entry.js +6 -0
  428. package/dist/solutions-components/p-e6a695a5.js +2 -103
  429. package/dist/solutions-components/p-e947d3b0.js +1 -7
  430. package/dist/solutions-components/p-e99b1247.js +1 -207
  431. package/dist/solutions-components/p-e9e47eab.entry.js +6 -0
  432. package/dist/solutions-components/p-eb3be6d4.entry.js +6 -0
  433. package/dist/solutions-components/p-eb976965.js +3 -35
  434. package/dist/solutions-components/p-ed27c151.entry.js +6 -0
  435. package/dist/solutions-components/p-eeb0321d.js +2 -15
  436. package/dist/solutions-components/p-ef170bb1.entry.js +6 -0
  437. package/dist/solutions-components/p-f044863f.entry.js +16 -0
  438. package/dist/solutions-components/p-f0bae2f0.entry.js +37 -0
  439. package/dist/solutions-components/p-f48821a2.js +7 -60
  440. package/dist/solutions-components/p-f5a3b34f.entry.js +23 -0
  441. package/dist/solutions-components/p-f759a6e7.js +1 -196
  442. package/dist/solutions-components/p-fa2575c2.entry.js +6 -0
  443. package/dist/solutions-components/p-fc884dd6.js +16 -30
  444. package/dist/solutions-components/p-fe0fdd8b.js +31 -279
  445. package/dist/solutions-components/solutions-components.css +1 -10531
  446. package/dist/solutions-components/solutions-components.esm.js +1 -22
  447. package/dist/solutions-components/utils/solution-store.ts +0 -2
  448. package/dist/solutions-components_commit.txt +7 -9
  449. package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
  450. package/package.json +1 -1
  451. package/dist/cjs/ExpandToggle-73df0d51.js.map +0 -1
  452. package/dist/cjs/Heading-6b7b374c.js.map +0 -1
  453. package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +0 -1
  454. package/dist/cjs/app-globals-2f48e57e.js.map +0 -1
  455. package/dist/cjs/array-ace6d4b5.js.map +0 -1
  456. package/dist/cjs/buffer-tools_6.cjs.entry.js.map +0 -1
  457. package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
  458. package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
  459. package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +0 -1
  460. package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
  461. package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +0 -1
  462. package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
  463. package/dist/cjs/calcite-action_2.cjs.entry.js.map +0 -1
  464. package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
  465. package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
  466. package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
  467. package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
  468. package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
  469. package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
  470. package/dist/cjs/calcite-checkbox.cjs.entry.js.map +0 -1
  471. package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
  472. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
  473. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
  474. package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
  475. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
  476. package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +0 -1
  477. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
  478. package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
  479. package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
  480. package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
  481. package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
  482. package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
  483. package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
  484. package/dist/cjs/calcite-flow-item.cjs.entry.js.map +0 -1
  485. package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
  486. package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
  487. package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
  488. package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
  489. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
  490. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
  491. package/dist/cjs/calcite-input-number.cjs.entry.js.map +0 -1
  492. package/dist/cjs/calcite-input-text.cjs.entry.js.map +0 -1
  493. package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
  494. package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
  495. package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
  496. package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
  497. package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
  498. package/dist/cjs/calcite-list_2.cjs.entry.js.map +0 -1
  499. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  500. package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
  501. package/dist/cjs/calcite-option_2.cjs.entry.js.map +0 -1
  502. package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
  503. package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
  504. package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
  505. package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
  506. package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
  507. package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
  508. package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
  509. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
  510. package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
  511. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  512. package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
  513. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
  514. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
  515. package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
  516. package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
  517. package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
  518. package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
  519. package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
  520. package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
  521. package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
  522. package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
  523. package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
  524. package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
  525. package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
  526. package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +0 -1
  527. package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
  528. package/dist/cjs/calcite-tree_3.cjs.entry.js.map +0 -1
  529. package/dist/cjs/check-list.cjs.entry.js.map +0 -1
  530. package/dist/cjs/conditionalSlot-2defe83d.js.map +0 -1
  531. package/dist/cjs/config-buffer-tools.cjs.entry.js.map +0 -1
  532. package/dist/cjs/config-draw-tools.cjs.entry.js.map +0 -1
  533. package/dist/cjs/config-layer-picker.cjs.entry.js.map +0 -1
  534. package/dist/cjs/config-pdf-download.cjs.entry.js.map +0 -1
  535. package/dist/cjs/date-e21b2052.js.map +0 -1
  536. package/dist/cjs/debounce-69c3bada.js.map +0 -1
  537. package/dist/cjs/dom-4a580af6.js.map +0 -1
  538. package/dist/cjs/filter-325f654f.js.map +0 -1
  539. package/dist/cjs/floating-ui-ca1bcead.js.map +0 -1
  540. package/dist/cjs/form-45849654.js.map +0 -1
  541. package/dist/cjs/guid-84ac4d91.js.map +0 -1
  542. package/dist/cjs/index-7af21b6f.js.map +0 -1
  543. package/dist/cjs/index-a86078a0.js.map +0 -1
  544. package/dist/cjs/index-d7f9770d.js.map +0 -1
  545. package/dist/cjs/index.cjs.js.map +0 -1
  546. package/dist/cjs/interactive-0a68ab99.js.map +0 -1
  547. package/dist/cjs/interfaces-ab603e16.js.map +0 -1
  548. package/dist/cjs/interfaces-e76f31e9.js.map +0 -1
  549. package/dist/cjs/key-55aca5c0.js.map +0 -1
  550. package/dist/cjs/label-24fcd8a5.js.map +0 -1
  551. package/dist/cjs/labelFormats-3236d2e0.js.map +0 -1
  552. package/dist/cjs/loadModules-38269f99.js.map +0 -1
  553. package/dist/cjs/loader.cjs.js.map +0 -1
  554. package/dist/cjs/locale-73cab8e8.js.map +0 -1
  555. package/dist/cjs/locale-746a095d.js.map +0 -1
  556. package/dist/cjs/map-search.cjs.entry.js.map +0 -1
  557. package/dist/cjs/mapViewUtils-67cfc412.js.map +0 -1
  558. package/dist/cjs/math-460fffaf.js.map +0 -1
  559. package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +0 -1
  560. package/dist/cjs/observers-5311faf8.js.map +0 -1
  561. package/dist/cjs/openCloseComponent-bf986132.js.map +0 -1
  562. package/dist/cjs/public-notification.cjs.entry.js.map +0 -1
  563. package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +0 -1
  564. package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +0 -1
  565. package/dist/cjs/resources-1f785471.js.map +0 -1
  566. package/dist/cjs/resources-2260d186.js.map +0 -1
  567. package/dist/cjs/resources-2a9862c7.js.map +0 -1
  568. package/dist/cjs/resources-308edbd8.js.map +0 -1
  569. package/dist/cjs/resources-6152b073.js.map +0 -1
  570. package/dist/cjs/resources-808cfca8.js.map +0 -1
  571. package/dist/cjs/resources-9c55e05c.js.map +0 -1
  572. package/dist/cjs/resources-aa19bf8c.js.map +0 -1
  573. package/dist/cjs/resources-b56bce71.js.map +0 -1
  574. package/dist/cjs/resources-cc7f63b0.js.map +0 -1
  575. package/dist/cjs/shared-list-render-4c7d84bf.js.map +0 -1
  576. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  577. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  578. package/dist/cjs/solution-store-893499a5.js.map +0 -1
  579. package/dist/cjs/solutions-components.cjs.js.map +0 -1
  580. package/dist/cjs/sortable.esm-bf47019d.js.map +0 -1
  581. package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
  582. package/dist/cjs/time-3f5577cb.js.map +0 -1
  583. package/dist/cjs/utils-120bbbeb.js.map +0 -1
  584. package/dist/cjs/utils-b4236001.js.map +0 -1
  585. package/dist/collection/components/buffer-tools/buffer-tools.js.map +0 -1
  586. package/dist/collection/components/check-list/check-list.js.map +0 -1
  587. package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +0 -1
  588. package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +0 -1
  589. package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +0 -1
  590. package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +0 -1
  591. package/dist/collection/components/json-editor/json-editor.js.map +0 -1
  592. package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +0 -1
  593. package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +0 -1
  594. package/dist/collection/components/map-search/map-search.js.map +0 -1
  595. package/dist/collection/components/map-select-tools/map-select-tools.js.map +0 -1
  596. package/dist/collection/components/pdf-download/pdf-download.js.map +0 -1
  597. package/dist/collection/components/public-notification/public-notification.js.map +0 -1
  598. package/dist/collection/components/refine-selection/refine-selection.js.map +0 -1
  599. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +0 -1
  600. package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
  601. package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
  602. package/dist/collection/components/solution-item/solution-item.js.map +0 -1
  603. package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
  604. package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
  605. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
  606. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
  607. package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
  608. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
  609. package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
  610. package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
  611. package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
  612. package/dist/collection/components/store-manager/store-manager.js.map +0 -1
  613. package/dist/collection/index.js.map +0 -1
  614. package/dist/collection/utils/common.js.map +0 -1
  615. package/dist/collection/utils/csvUtils.js.map +0 -1
  616. package/dist/collection/utils/interfaces.js.map +0 -1
  617. package/dist/collection/utils/languageUtil.js.map +0 -1
  618. package/dist/collection/utils/loadModules.js.map +0 -1
  619. package/dist/collection/utils/locale.js.map +0 -1
  620. package/dist/collection/utils/mapViewUtils.js.map +0 -1
  621. package/dist/collection/utils/publicNotificationStore.js.map +0 -1
  622. package/dist/collection/utils/publicNotificationUtils.js.map +0 -1
  623. package/dist/collection/utils/queryUtils.js.map +0 -1
  624. package/dist/collection/utils/solution-store.js.map +0 -1
  625. package/dist/collection/utils/templates.js.map +0 -1
  626. package/dist/collection/utils/test/testUtils.js.map +0 -1
  627. package/dist/collection/utils/types.js.map +0 -1
  628. package/dist/esm/ExpandToggle-b7d1fb3c.js.map +0 -1
  629. package/dist/esm/Heading-1efb4837.js.map +0 -1
  630. package/dist/esm/_commonjsHelpers-8fd39c50.js.map +0 -1
  631. package/dist/esm/app-globals-09b9efee.js.map +0 -1
  632. package/dist/esm/array-2ab3b18f.js.map +0 -1
  633. package/dist/esm/buffer-tools_6.entry.js.map +0 -1
  634. package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
  635. package/dist/esm/calcite-accordion.entry.js.map +0 -1
  636. package/dist/esm/calcite-action-bar_6.entry.js.map +0 -1
  637. package/dist/esm/calcite-action-group.entry.js.map +0 -1
  638. package/dist/esm/calcite-action-menu_2.entry.js.map +0 -1
  639. package/dist/esm/calcite-action-pad.entry.js.map +0 -1
  640. package/dist/esm/calcite-action_2.entry.js.map +0 -1
  641. package/dist/esm/calcite-alert.entry.js.map +0 -1
  642. package/dist/esm/calcite-avatar.entry.js.map +0 -1
  643. package/dist/esm/calcite-block-section.entry.js.map +0 -1
  644. package/dist/esm/calcite-block.entry.js.map +0 -1
  645. package/dist/esm/calcite-button.entry.js.map +0 -1
  646. package/dist/esm/calcite-card.entry.js.map +0 -1
  647. package/dist/esm/calcite-checkbox.entry.js.map +0 -1
  648. package/dist/esm/calcite-chip.entry.js.map +0 -1
  649. package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
  650. package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
  651. package/dist/esm/calcite-color-picker.entry.js.map +0 -1
  652. package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
  653. package/dist/esm/calcite-combobox_3.entry.js.map +0 -1
  654. package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
  655. package/dist/esm/calcite-date-picker.entry.js.map +0 -1
  656. package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
  657. package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
  658. package/dist/esm/calcite-dropdown.entry.js.map +0 -1
  659. package/dist/esm/calcite-fab.entry.js.map +0 -1
  660. package/dist/esm/calcite-filter.entry.js.map +0 -1
  661. package/dist/esm/calcite-flow-item.entry.js.map +0 -1
  662. package/dist/esm/calcite-flow.entry.js.map +0 -1
  663. package/dist/esm/calcite-graph.entry.js.map +0 -1
  664. package/dist/esm/calcite-handle.entry.js.map +0 -1
  665. package/dist/esm/calcite-icon.entry.js.map +0 -1
  666. package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
  667. package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
  668. package/dist/esm/calcite-input-number.entry.js.map +0 -1
  669. package/dist/esm/calcite-input-text.entry.js.map +0 -1
  670. package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
  671. package/dist/esm/calcite-input_2.entry.js.map +0 -1
  672. package/dist/esm/calcite-label.entry.js.map +0 -1
  673. package/dist/esm/calcite-link.entry.js.map +0 -1
  674. package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
  675. package/dist/esm/calcite-list_2.entry.js.map +0 -1
  676. package/dist/esm/calcite-modal.entry.js.map +0 -1
  677. package/dist/esm/calcite-option-group.entry.js.map +0 -1
  678. package/dist/esm/calcite-option_2.entry.js.map +0 -1
  679. package/dist/esm/calcite-pagination.entry.js.map +0 -1
  680. package/dist/esm/calcite-panel_2.entry.js.map +0 -1
  681. package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
  682. package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
  683. package/dist/esm/calcite-pick-list.entry.js.map +0 -1
  684. package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
  685. package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
  686. package/dist/esm/calcite-radio-button.entry.js.map +0 -1
  687. package/dist/esm/calcite-rating.entry.js.map +0 -1
  688. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  689. package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
  690. package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
  691. package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
  692. package/dist/esm/calcite-split-button.entry.js.map +0 -1
  693. package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
  694. package/dist/esm/calcite-stepper.entry.js.map +0 -1
  695. package/dist/esm/calcite-switch.entry.js.map +0 -1
  696. package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
  697. package/dist/esm/calcite-tile-select.entry.js.map +0 -1
  698. package/dist/esm/calcite-tile.entry.js.map +0 -1
  699. package/dist/esm/calcite-time-picker.entry.js.map +0 -1
  700. package/dist/esm/calcite-tip-group.entry.js.map +0 -1
  701. package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
  702. package/dist/esm/calcite-tip.entry.js.map +0 -1
  703. package/dist/esm/calcite-tooltip-manager.entry.js.map +0 -1
  704. package/dist/esm/calcite-tooltip.entry.js.map +0 -1
  705. package/dist/esm/calcite-tree_3.entry.js.map +0 -1
  706. package/dist/esm/check-list.entry.js.map +0 -1
  707. package/dist/esm/conditionalSlot-bb4cab11.js.map +0 -1
  708. package/dist/esm/config-buffer-tools.entry.js.map +0 -1
  709. package/dist/esm/config-draw-tools.entry.js.map +0 -1
  710. package/dist/esm/config-layer-picker.entry.js.map +0 -1
  711. package/dist/esm/config-pdf-download.entry.js.map +0 -1
  712. package/dist/esm/date-45de0016.js.map +0 -1
  713. package/dist/esm/debounce-4c884e5c.js.map +0 -1
  714. package/dist/esm/dom-e593bf85.js.map +0 -1
  715. package/dist/esm/filter-82935f2d.js.map +0 -1
  716. package/dist/esm/floating-ui-69a55a27.js.map +0 -1
  717. package/dist/esm/form-dbfde8ce.js.map +0 -1
  718. package/dist/esm/guid-15fce7c0.js.map +0 -1
  719. package/dist/esm/index-15022d11.js.map +0 -1
  720. package/dist/esm/index-9c882a6e.js.map +0 -1
  721. package/dist/esm/index-d33ebc35.js.map +0 -1
  722. package/dist/esm/index.js.map +0 -1
  723. package/dist/esm/interactive-822ffed6.js.map +0 -1
  724. package/dist/esm/interfaces-4ae145eb.js.map +0 -1
  725. package/dist/esm/interfaces-e2a2064d.js.map +0 -1
  726. package/dist/esm/key-acb660e7.js.map +0 -1
  727. package/dist/esm/label-d411de44.js.map +0 -1
  728. package/dist/esm/labelFormats-b37958c3.js.map +0 -1
  729. package/dist/esm/loadModules-d3b50f95.js.map +0 -1
  730. package/dist/esm/loader.js.map +0 -1
  731. package/dist/esm/locale-0b490b02.js.map +0 -1
  732. package/dist/esm/locale-0e10d7e5.js.map +0 -1
  733. package/dist/esm/map-search.entry.js.map +0 -1
  734. package/dist/esm/mapViewUtils-09f1e7bd.js.map +0 -1
  735. package/dist/esm/math-552c5420.js.map +0 -1
  736. package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +0 -1
  737. package/dist/esm/observers-31601001.js.map +0 -1
  738. package/dist/esm/openCloseComponent-5caff873.js.map +0 -1
  739. package/dist/esm/public-notification.entry.js.map +0 -1
  740. package/dist/esm/publicNotificationStore-060c59c8.js.map +0 -1
  741. package/dist/esm/publicNotificationUtils-5cb5a607.js.map +0 -1
  742. package/dist/esm/resources-2235e4ff.js.map +0 -1
  743. package/dist/esm/resources-3d641588.js.map +0 -1
  744. package/dist/esm/resources-436ae282.js.map +0 -1
  745. package/dist/esm/resources-4d02cb48.js.map +0 -1
  746. package/dist/esm/resources-78132e50.js.map +0 -1
  747. package/dist/esm/resources-7d4a587f.js.map +0 -1
  748. package/dist/esm/resources-971845d1.js.map +0 -1
  749. package/dist/esm/resources-9eb63965.js.map +0 -1
  750. package/dist/esm/resources-d60362c3.js.map +0 -1
  751. package/dist/esm/resources-e3a5cf27.js.map +0 -1
  752. package/dist/esm/shared-list-render-4e9d47a3.js.map +0 -1
  753. package/dist/esm/solution-configuration.entry.js.map +0 -1
  754. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  755. package/dist/esm/solution-store-0c58c852.js.map +0 -1
  756. package/dist/esm/solutions-components.js.map +0 -1
  757. package/dist/esm/sortable.esm-3b2eaa5c.js.map +0 -1
  758. package/dist/esm/store-manager.entry.js.map +0 -1
  759. package/dist/esm/time-f014778c.js.map +0 -1
  760. package/dist/esm/utils-3f4ee4c3.js.map +0 -1
  761. package/dist/esm/utils-583554bc.js.map +0 -1
  762. package/dist/solutions-components/index.esm.js.map +0 -1
  763. package/dist/solutions-components/p-06dab43c.entry.js +0 -140
  764. package/dist/solutions-components/p-06dab43c.entry.js.map +0 -1
  765. package/dist/solutions-components/p-0bbe4865.entry.js +0 -620
  766. package/dist/solutions-components/p-0bbe4865.entry.js.map +0 -1
  767. package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
  768. package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
  769. package/dist/solutions-components/p-0fddf8a4.entry.js +0 -349
  770. package/dist/solutions-components/p-0fddf8a4.entry.js.map +0 -1
  771. package/dist/solutions-components/p-11bc6805.entry.js +0 -87
  772. package/dist/solutions-components/p-11bc6805.entry.js.map +0 -1
  773. package/dist/solutions-components/p-13b37f05.js.map +0 -1
  774. package/dist/solutions-components/p-1dfb5fae.entry.js +0 -713
  775. package/dist/solutions-components/p-1dfb5fae.entry.js.map +0 -1
  776. package/dist/solutions-components/p-1e15b1a3.js.map +0 -1
  777. package/dist/solutions-components/p-1e5bc9c3.entry.js +0 -96
  778. package/dist/solutions-components/p-1e5bc9c3.entry.js.map +0 -1
  779. package/dist/solutions-components/p-1ed05745.entry.js +0 -214
  780. package/dist/solutions-components/p-1ed05745.entry.js.map +0 -1
  781. package/dist/solutions-components/p-20bdf42f.js.map +0 -1
  782. package/dist/solutions-components/p-22574d83.entry.js +0 -74
  783. package/dist/solutions-components/p-22574d83.entry.js.map +0 -1
  784. package/dist/solutions-components/p-23904a3d.js.map +0 -1
  785. package/dist/solutions-components/p-24d75151.entry.js +0 -107
  786. package/dist/solutions-components/p-24d75151.entry.js.map +0 -1
  787. package/dist/solutions-components/p-26484399.entry.js +0 -108
  788. package/dist/solutions-components/p-26484399.entry.js.map +0 -1
  789. package/dist/solutions-components/p-291fd295.entry.js +0 -1250
  790. package/dist/solutions-components/p-291fd295.entry.js.map +0 -1
  791. package/dist/solutions-components/p-29bdbd3e.entry.js +0 -280
  792. package/dist/solutions-components/p-29bdbd3e.entry.js.map +0 -1
  793. package/dist/solutions-components/p-2ac06389.js.map +0 -1
  794. package/dist/solutions-components/p-2bce7fa2.entry.js +0 -45
  795. package/dist/solutions-components/p-2bce7fa2.entry.js.map +0 -1
  796. package/dist/solutions-components/p-2e9ed892.js.map +0 -1
  797. package/dist/solutions-components/p-2f12ff1b.entry.js +0 -202
  798. package/dist/solutions-components/p-2f12ff1b.entry.js.map +0 -1
  799. package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
  800. package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
  801. package/dist/solutions-components/p-30a6199a.entry.js +0 -445
  802. package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
  803. package/dist/solutions-components/p-32a67cb2.js.map +0 -1
  804. package/dist/solutions-components/p-341ff921.entry.js +0 -449
  805. package/dist/solutions-components/p-341ff921.entry.js.map +0 -1
  806. package/dist/solutions-components/p-36ce64e4.entry.js +0 -215
  807. package/dist/solutions-components/p-36ce64e4.entry.js.map +0 -1
  808. package/dist/solutions-components/p-374a5031.js.map +0 -1
  809. package/dist/solutions-components/p-3b010ce1.js.map +0 -1
  810. package/dist/solutions-components/p-3f6b0af4.js.map +0 -1
  811. package/dist/solutions-components/p-400e1427.entry.js +0 -236
  812. package/dist/solutions-components/p-400e1427.entry.js.map +0 -1
  813. package/dist/solutions-components/p-40d7cf01.entry.js +0 -228
  814. package/dist/solutions-components/p-40d7cf01.entry.js.map +0 -1
  815. package/dist/solutions-components/p-45556aff.entry.js +0 -215
  816. package/dist/solutions-components/p-45556aff.entry.js.map +0 -1
  817. package/dist/solutions-components/p-49aaa793.entry.js +0 -95
  818. package/dist/solutions-components/p-49aaa793.entry.js.map +0 -1
  819. package/dist/solutions-components/p-4e32bf8c.js.map +0 -1
  820. package/dist/solutions-components/p-4e89b243.entry.js +0 -479
  821. package/dist/solutions-components/p-4e89b243.entry.js.map +0 -1
  822. package/dist/solutions-components/p-515637fb.entry.js +0 -183
  823. package/dist/solutions-components/p-515637fb.entry.js.map +0 -1
  824. package/dist/solutions-components/p-5243a654.entry.js +0 -147
  825. package/dist/solutions-components/p-5243a654.entry.js.map +0 -1
  826. package/dist/solutions-components/p-55673790.entry.js +0 -82
  827. package/dist/solutions-components/p-55673790.entry.js.map +0 -1
  828. package/dist/solutions-components/p-56350bff.js.map +0 -1
  829. package/dist/solutions-components/p-58b374c0.entry.js +0 -347
  830. package/dist/solutions-components/p-58b374c0.entry.js.map +0 -1
  831. package/dist/solutions-components/p-58c69df2.js.map +0 -1
  832. package/dist/solutions-components/p-59fd6684.entry.js +0 -22
  833. package/dist/solutions-components/p-59fd6684.entry.js.map +0 -1
  834. package/dist/solutions-components/p-5b0d7c7d.js.map +0 -1
  835. package/dist/solutions-components/p-5cf33602.js.map +0 -1
  836. package/dist/solutions-components/p-600e23c6.js.map +0 -1
  837. package/dist/solutions-components/p-61398a7b.entry.js +0 -74
  838. package/dist/solutions-components/p-61398a7b.entry.js.map +0 -1
  839. package/dist/solutions-components/p-63a05701.entry.js +0 -45
  840. package/dist/solutions-components/p-63a05701.entry.js.map +0 -1
  841. package/dist/solutions-components/p-63f6e8f1.js.map +0 -1
  842. package/dist/solutions-components/p-64a2040e.entry.js +0 -63
  843. package/dist/solutions-components/p-64a2040e.entry.js.map +0 -1
  844. package/dist/solutions-components/p-64c63eb2.entry.js +0 -157
  845. package/dist/solutions-components/p-64c63eb2.entry.js.map +0 -1
  846. package/dist/solutions-components/p-659edb14.js +0 -4096
  847. package/dist/solutions-components/p-659edb14.js.map +0 -1
  848. package/dist/solutions-components/p-6940e2fd.entry.js +0 -100
  849. package/dist/solutions-components/p-6940e2fd.entry.js.map +0 -1
  850. package/dist/solutions-components/p-69900b68.entry.js +0 -152
  851. package/dist/solutions-components/p-69900b68.entry.js.map +0 -1
  852. package/dist/solutions-components/p-699125b6.entry.js +0 -44
  853. package/dist/solutions-components/p-699125b6.entry.js.map +0 -1
  854. package/dist/solutions-components/p-6b9dc092.js.map +0 -1
  855. package/dist/solutions-components/p-6d0899c8.entry.js +0 -118
  856. package/dist/solutions-components/p-6d0899c8.entry.js.map +0 -1
  857. package/dist/solutions-components/p-6e0da576.js.map +0 -1
  858. package/dist/solutions-components/p-6fe17794.js.map +0 -1
  859. package/dist/solutions-components/p-708a63a8.js.map +0 -1
  860. package/dist/solutions-components/p-729708a3.js.map +0 -1
  861. package/dist/solutions-components/p-73e23995.js.map +0 -1
  862. package/dist/solutions-components/p-75f54a34.entry.js +0 -883
  863. package/dist/solutions-components/p-75f54a34.entry.js.map +0 -1
  864. package/dist/solutions-components/p-77182c3a.js.map +0 -1
  865. package/dist/solutions-components/p-77c75f3a.entry.js +0 -21534
  866. package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
  867. package/dist/solutions-components/p-77e6b03c.entry.js +0 -1872
  868. package/dist/solutions-components/p-77e6b03c.entry.js.map +0 -1
  869. package/dist/solutions-components/p-794ba85d.entry.js +0 -175
  870. package/dist/solutions-components/p-794ba85d.entry.js.map +0 -1
  871. package/dist/solutions-components/p-79cde78e.entry.js +0 -203
  872. package/dist/solutions-components/p-79cde78e.entry.js.map +0 -1
  873. package/dist/solutions-components/p-7a2c75a4.entry.js +0 -230
  874. package/dist/solutions-components/p-7a2c75a4.entry.js.map +0 -1
  875. package/dist/solutions-components/p-7daea1df.js.map +0 -1
  876. package/dist/solutions-components/p-7de77097.entry.js +0 -162
  877. package/dist/solutions-components/p-7de77097.entry.js.map +0 -1
  878. package/dist/solutions-components/p-7f2b74a9.entry.js +0 -56
  879. package/dist/solutions-components/p-7f2b74a9.entry.js.map +0 -1
  880. package/dist/solutions-components/p-81e606c0.entry.js +0 -915
  881. package/dist/solutions-components/p-81e606c0.entry.js.map +0 -1
  882. package/dist/solutions-components/p-86908777.js.map +0 -1
  883. package/dist/solutions-components/p-87a0ccb4.entry.js +0 -254
  884. package/dist/solutions-components/p-87a0ccb4.entry.js.map +0 -1
  885. package/dist/solutions-components/p-90629c1d.entry.js +0 -1986
  886. package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
  887. package/dist/solutions-components/p-9393631c.entry.js +0 -542
  888. package/dist/solutions-components/p-9393631c.entry.js.map +0 -1
  889. package/dist/solutions-components/p-93d3119d.js.map +0 -1
  890. package/dist/solutions-components/p-958e2979.entry.js +0 -111
  891. package/dist/solutions-components/p-958e2979.entry.js.map +0 -1
  892. package/dist/solutions-components/p-95ddb529.entry.js +0 -181
  893. package/dist/solutions-components/p-95ddb529.entry.js.map +0 -1
  894. package/dist/solutions-components/p-97c4a268.entry.js +0 -725
  895. package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
  896. package/dist/solutions-components/p-984cb687.entry.js +0 -2632
  897. package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
  898. package/dist/solutions-components/p-991ee695.js.map +0 -1
  899. package/dist/solutions-components/p-99d9b624.entry.js +0 -177
  900. package/dist/solutions-components/p-99d9b624.entry.js.map +0 -1
  901. package/dist/solutions-components/p-9a9955db.js.map +0 -1
  902. package/dist/solutions-components/p-9d925d5b.entry.js +0 -233
  903. package/dist/solutions-components/p-9d925d5b.entry.js.map +0 -1
  904. package/dist/solutions-components/p-9dc0210f.entry.js +0 -125
  905. package/dist/solutions-components/p-9dc0210f.entry.js.map +0 -1
  906. package/dist/solutions-components/p-9fec2884.entry.js +0 -216
  907. package/dist/solutions-components/p-9fec2884.entry.js.map +0 -1
  908. package/dist/solutions-components/p-a2ada355.entry.js +0 -135
  909. package/dist/solutions-components/p-a2ada355.entry.js.map +0 -1
  910. package/dist/solutions-components/p-a57adb27.entry.js +0 -154
  911. package/dist/solutions-components/p-a57adb27.entry.js.map +0 -1
  912. package/dist/solutions-components/p-a80b3880.js.map +0 -1
  913. package/dist/solutions-components/p-a88dd457.entry.js +0 -123
  914. package/dist/solutions-components/p-a88dd457.entry.js.map +0 -1
  915. package/dist/solutions-components/p-ac6efd19.entry.js +0 -57
  916. package/dist/solutions-components/p-ac6efd19.entry.js.map +0 -1
  917. package/dist/solutions-components/p-ae1fd76b.js.map +0 -1
  918. package/dist/solutions-components/p-afffa81a.entry.js +0 -140
  919. package/dist/solutions-components/p-afffa81a.entry.js.map +0 -1
  920. package/dist/solutions-components/p-b0f3ed4d.entry.js +0 -376
  921. package/dist/solutions-components/p-b0f3ed4d.entry.js.map +0 -1
  922. package/dist/solutions-components/p-b359dc78.js.map +0 -1
  923. package/dist/solutions-components/p-b66cba3e.entry.js +0 -97
  924. package/dist/solutions-components/p-b66cba3e.entry.js.map +0 -1
  925. package/dist/solutions-components/p-b6c2f470.entry.js +0 -574
  926. package/dist/solutions-components/p-b6c2f470.entry.js.map +0 -1
  927. package/dist/solutions-components/p-b978636e.js.map +0 -1
  928. package/dist/solutions-components/p-bd19837e.entry.js +0 -96
  929. package/dist/solutions-components/p-bd19837e.entry.js.map +0 -1
  930. package/dist/solutions-components/p-be1ed982.entry.js +0 -1121
  931. package/dist/solutions-components/p-be1ed982.entry.js.map +0 -1
  932. package/dist/solutions-components/p-be8cc144.entry.js +0 -567
  933. package/dist/solutions-components/p-be8cc144.entry.js.map +0 -1
  934. package/dist/solutions-components/p-bfd20deb.entry.js +0 -80
  935. package/dist/solutions-components/p-bfd20deb.entry.js.map +0 -1
  936. package/dist/solutions-components/p-c2c8442d.entry.js +0 -140
  937. package/dist/solutions-components/p-c2c8442d.entry.js.map +0 -1
  938. package/dist/solutions-components/p-c3f93cec.entry.js +0 -158
  939. package/dist/solutions-components/p-c3f93cec.entry.js.map +0 -1
  940. package/dist/solutions-components/p-c9870dc4.entry.js +0 -38
  941. package/dist/solutions-components/p-c9870dc4.entry.js.map +0 -1
  942. package/dist/solutions-components/p-cbd9fecf.js.map +0 -1
  943. package/dist/solutions-components/p-cfb300c6.entry.js +0 -250
  944. package/dist/solutions-components/p-cfb300c6.entry.js.map +0 -1
  945. package/dist/solutions-components/p-d48a24e6.js.map +0 -1
  946. package/dist/solutions-components/p-dbad98e8.js.map +0 -1
  947. package/dist/solutions-components/p-dd79118e.entry.js +0 -708
  948. package/dist/solutions-components/p-dd79118e.entry.js.map +0 -1
  949. package/dist/solutions-components/p-de5416e8.js.map +0 -1
  950. package/dist/solutions-components/p-de881187.entry.js +0 -87
  951. package/dist/solutions-components/p-de881187.entry.js.map +0 -1
  952. package/dist/solutions-components/p-e1905f7b.entry.js +0 -120
  953. package/dist/solutions-components/p-e1905f7b.entry.js.map +0 -1
  954. package/dist/solutions-components/p-e515767a.entry.js +0 -116
  955. package/dist/solutions-components/p-e515767a.entry.js.map +0 -1
  956. package/dist/solutions-components/p-e611d8c8.js.map +0 -1
  957. package/dist/solutions-components/p-e6a695a5.js.map +0 -1
  958. package/dist/solutions-components/p-e947d3b0.js.map +0 -1
  959. package/dist/solutions-components/p-e99b1247.js.map +0 -1
  960. package/dist/solutions-components/p-eb5b78c3.entry.js +0 -125
  961. package/dist/solutions-components/p-eb5b78c3.entry.js.map +0 -1
  962. package/dist/solutions-components/p-eb976965.js.map +0 -1
  963. package/dist/solutions-components/p-ed075c2f.entry.js +0 -186
  964. package/dist/solutions-components/p-ed075c2f.entry.js.map +0 -1
  965. package/dist/solutions-components/p-eeb0321d.js.map +0 -1
  966. package/dist/solutions-components/p-f0294899.entry.js +0 -84
  967. package/dist/solutions-components/p-f0294899.entry.js.map +0 -1
  968. package/dist/solutions-components/p-f477f146.entry.js +0 -310
  969. package/dist/solutions-components/p-f477f146.entry.js.map +0 -1
  970. package/dist/solutions-components/p-f48821a2.js.map +0 -1
  971. package/dist/solutions-components/p-f496ed0c.entry.js +0 -150
  972. package/dist/solutions-components/p-f496ed0c.entry.js.map +0 -1
  973. package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
  974. package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
  975. package/dist/solutions-components/p-f759a6e7.js.map +0 -1
  976. package/dist/solutions-components/p-fc884dd6.js.map +0 -1
  977. package/dist/solutions-components/p-fe0fdd8b.js.map +0 -1
  978. package/dist/solutions-components/solutions-components.esm.js.map +0 -1
@@ -1,1872 +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 registerInstance, c as createEvent, h, H as Host, g as getElement } from './p-58c69df2.js';
7
- import { l as loadModules } from './p-2ac06389.js';
8
- import { g as getLocaleComponentStrings } from './p-20bdf42f.js';
9
- import { b as getElementDir, g as getElementProp, t as toAriaBoolean, i as isPrimaryPointerButton, k as intersects } from './p-32a67cb2.js';
10
- import { c as connectLabel, d as disconnectLabel } from './p-dbad98e8.js';
11
- import { a as afterConnectDefaultValueSet, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './p-3f6b0af4.js';
12
- import { u as updateHostInteraction } from './p-7daea1df.js';
13
- import { g as guid } from './p-a80b3880.js';
14
- import { d as decimalPlaces, c as clamp } from './p-63f6e8f1.js';
15
- import { i as isActivationKey } from './p-73e23995.js';
16
- import { n as numberStringFormatter, c as connectLocalized, d as disconnectLocalized } from './p-23904a3d.js';
17
- import { s as state } from './p-5b0d7c7d.js';
18
- import { f as ESelectionType, e as ERefineMode, d as ESelectionMode } from './p-6b9dc092.js';
19
- import { b as getMapLayerView, f as queryFeaturesByGeometry, h as highlightFeatures } from './p-fe0fdd8b.js';
20
- import './p-3b010ce1.js';
21
- import './p-729708a3.js';
22
- import './p-9a9955db.js';
23
- import './p-f759a6e7.js';
24
-
25
- const bufferToolsCss = ":host{display:block}.c-container{display:inline-flex}.flex-1{flex:\"1\"}.padding-end-1{-webkit-padding-end:1rem;padding-inline-end:1rem}";
26
-
27
- const BufferTools = class {
28
- constructor(hostRef) {
29
- registerInstance(this, hostRef);
30
- this.bufferComplete = createEvent(this, "bufferComplete", 7);
31
- this.appearance = "text";
32
- this.distance = 0;
33
- this.geometries = [];
34
- this.sliderMax = 100;
35
- this.sliderMin = 0;
36
- this.sliderTicks = 10;
37
- this.unionResults = true;
38
- this.unit = "meters";
39
- this._translations = undefined;
40
- }
41
- //--------------------------------------------------------------------------
42
- //
43
- // Watch handlers
44
- //
45
- //--------------------------------------------------------------------------
46
- /**
47
- * Called each time the geometries prop is changed.
48
- * Buffer each of the geometries.
49
- *
50
- */
51
- geometriesWatchHandler(v, oldV) {
52
- if (v && JSON.stringify(v) !== JSON.stringify(oldV || [])) {
53
- this._buffer();
54
- }
55
- }
56
- //--------------------------------------------------------------------------
57
- //
58
- // Functions (lifecycle)
59
- //
60
- //--------------------------------------------------------------------------
61
- /**
62
- * StencilJS: Called once just after the component is first connected to the DOM.
63
- *
64
- * @returns Promise when complete
65
- */
66
- async componentWillLoad() {
67
- await this._getTranslations();
68
- await this._initModules();
69
- }
70
- /**
71
- * Renders the component.
72
- */
73
- render() {
74
- return (h(Host, null, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
75
- }
76
- //--------------------------------------------------------------------------
77
- //
78
- // Functions (protected)
79
- //
80
- //--------------------------------------------------------------------------
81
- /**
82
- * Load esri javascript api modules
83
- *
84
- * @returns Promise resolving when function is done
85
- *
86
- * @protected
87
- */
88
- async _initModules() {
89
- const [geometryEngine] = await loadModules([
90
- "esri/geometry/geometryEngine"
91
- ]);
92
- this._geometryEngine = geometryEngine;
93
- }
94
- /**
95
- * Gets the nodes for each of the possible distance units
96
- *
97
- * @returns An array of option nodes
98
- *
99
- * @protected
100
- */
101
- _getUnits() {
102
- const units = {
103
- "feet": this._translations.feet || "Feet",
104
- "meters": this._translations.meters || "Meters",
105
- "miles": this._translations.miles || "Miles",
106
- "kilometers": this._translations.kilometers || "Kilometers"
107
- };
108
- return Object.keys(units).map(u => {
109
- let selected = true;
110
- if (!this.unit) {
111
- this.unit = u;
112
- }
113
- else if (this.unit !== u) {
114
- selected = false;
115
- }
116
- return (h("calcite-option", { label: units[u], selected: selected, value: u }));
117
- });
118
- }
119
- /**
120
- * Store the user defined distance value and create a buffer
121
- *
122
- * @param event the event from the calcite input control
123
- *
124
- * @protected
125
- */
126
- _setDistance(event) {
127
- this.distance = event.detail.value;
128
- if (this.distance > 0) {
129
- this._buffer();
130
- }
131
- else {
132
- this.bufferComplete.emit(undefined);
133
- }
134
- }
135
- /**
136
- * Store the user defined unit value and create a buffer
137
- *
138
- * @protected
139
- */
140
- _setUnit() {
141
- this.unit = this._unitElement.value;
142
- this._buffer();
143
- }
144
- /**
145
- * Create buffer geometry based on the user defined unit and distance
146
- *
147
- * @protected
148
- */
149
- _buffer() {
150
- if (this._bufferTimeout) {
151
- clearTimeout(this._bufferTimeout);
152
- }
153
- this._bufferTimeout = setTimeout(() => {
154
- var _a;
155
- // needs to be wgs 84 or Web Mercator
156
- if (((_a = this.geometries) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.unit && this.distance > 0) {
157
- const buffer = this._geometryEngine.geodesicBuffer(this.geometries, this.distance, this.unit, this.unionResults);
158
- this.bufferComplete.emit(buffer);
159
- }
160
- }, 400);
161
- }
162
- /**
163
- * Render distance and unit as calcite input and select controls
164
- * This option will be used when the "appearance" prop is set to "text"
165
- *
166
- * @returns a node with the supporting controls
167
- *
168
- * @protected
169
- */
170
- _getTextBoxDisplay() {
171
- return (h("div", { class: "c-container" }, h("calcite-input", { class: "padding-end-1", "number-button-type": "vertical", onCalciteInputInput: (evt) => this._setDistance(evt), placeholder: "0", type: "number", value: this.distance ? this.distance.toString() : undefined }), h("calcite-select", { class: "flex-1", label: "label", onCalciteSelectChange: () => this._setUnit(), ref: (el) => { this._unitElement = el; } }, this._getUnits())));
172
- }
173
- /**
174
- * Render distance control as a slider
175
- * This option will be used when the "appearance" prop is set to "slider"
176
- *
177
- * @returns a node with the supporting control
178
- *
179
- * @protected
180
- */
181
- _getSliderDisplay() {
182
- return (h("div", null, h("calcite-slider", { labelHandles: true, max: this.sliderMax, min: this.sliderMin, ticks: this.sliderTicks })));
183
- }
184
- /**
185
- * Fetches the component's translations
186
- *
187
- * @returns Promise when complete
188
- * @protected
189
- */
190
- async _getTranslations() {
191
- const messages = await getLocaleComponentStrings(this.el);
192
- this._translations = messages[0];
193
- }
194
- get el() { return getElement(this); }
195
- static get watchers() { return {
196
- "geometries": ["geometriesWatchHandler"]
197
- }; }
198
- };
199
- BufferTools.style = bufferToolsCss;
200
-
201
- const radioGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){justify-content:flex-start}::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}";
202
-
203
- const RadioGroup = class {
204
- constructor(hostRef) {
205
- registerInstance(this, hostRef);
206
- this.calciteRadioGroupChange = createEvent(this, "calciteRadioGroupChange", 6);
207
- //--------------------------------------------------------------------------
208
- //
209
- // Properties
210
- //
211
- //--------------------------------------------------------------------------
212
- /** Specifies the appearance style of the component. */
213
- this.appearance = "solid";
214
- /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
215
- this.disabled = false;
216
- /**
217
- * When `true`, the component must have a value in order for the form to submit.
218
- *
219
- * @internal
220
- */
221
- this.required = false;
222
- /** Defines the layout of the component. */
223
- this.layout = "horizontal";
224
- /** Specifies the size of the component. */
225
- this.scale = "m";
226
- /** The component's `selectedItem` value. */
227
- this.value = null;
228
- /** Specifies the width of the component. */
229
- this.width = "auto";
230
- //--------------------------------------------------------------------------
231
- //
232
- // Event Listeners
233
- //
234
- //--------------------------------------------------------------------------
235
- this.handleClick = (event) => {
236
- if (event.target.localName === "calcite-radio-group-item") {
237
- this.selectItem(event.target, true);
238
- }
239
- };
240
- }
241
- valueHandler(value) {
242
- const items = this.getItems();
243
- items.forEach((item) => (item.checked = item.value === value));
244
- }
245
- handleSelectedItemChange(newItem, oldItem) {
246
- this.value = newItem === null || newItem === void 0 ? void 0 : newItem.value;
247
- if (newItem === oldItem) {
248
- return;
249
- }
250
- const items = this.getItems();
251
- const match = Array.from(items)
252
- .filter((item) => item === newItem)
253
- .pop();
254
- if (match) {
255
- this.selectItem(match);
256
- }
257
- else if (items[0]) {
258
- items[0].tabIndex = 0;
259
- }
260
- }
261
- //--------------------------------------------------------------------------
262
- //
263
- // Lifecycle
264
- //
265
- //--------------------------------------------------------------------------
266
- componentWillLoad() {
267
- const items = this.getItems();
268
- const lastChecked = Array.from(items)
269
- .filter((item) => item.checked)
270
- .pop();
271
- if (lastChecked) {
272
- this.selectItem(lastChecked);
273
- }
274
- else if (items[0]) {
275
- items[0].tabIndex = 0;
276
- }
277
- }
278
- componentDidLoad() {
279
- afterConnectDefaultValueSet(this, this.value);
280
- }
281
- connectedCallback() {
282
- connectLabel(this);
283
- connectForm(this);
284
- }
285
- disconnectedCallback() {
286
- disconnectLabel(this);
287
- disconnectForm(this);
288
- }
289
- componentDidRender() {
290
- updateHostInteraction(this);
291
- }
292
- render() {
293
- return (h(Host, { onClick: this.handleClick, role: "radiogroup" }, h("slot", null), h(HiddenFormInputSlot, { component: this })));
294
- }
295
- handleSelected(event) {
296
- event.preventDefault();
297
- this.selectItem(event.target);
298
- event.stopPropagation();
299
- }
300
- handleKeyDown(event) {
301
- const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
302
- const { key } = event;
303
- const { el, selectedItem } = this;
304
- if (keys.indexOf(key) === -1) {
305
- return;
306
- }
307
- let adjustedKey = key;
308
- if (getElementDir(el) === "rtl") {
309
- if (key === "ArrowRight") {
310
- adjustedKey = "ArrowLeft";
311
- }
312
- if (key === "ArrowLeft") {
313
- adjustedKey = "ArrowRight";
314
- }
315
- }
316
- const items = this.getItems();
317
- let selectedIndex = -1;
318
- items.forEach((item, index) => {
319
- if (item === selectedItem) {
320
- selectedIndex = index;
321
- }
322
- });
323
- switch (adjustedKey) {
324
- case "ArrowLeft":
325
- case "ArrowUp":
326
- event.preventDefault();
327
- const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
328
- this.selectItem(previous, true);
329
- return;
330
- case "ArrowRight":
331
- case "ArrowDown":
332
- event.preventDefault();
333
- const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
334
- this.selectItem(next, true);
335
- return;
336
- case " ":
337
- event.preventDefault();
338
- this.selectItem(event.target, true);
339
- return;
340
- default:
341
- return;
342
- }
343
- }
344
- // --------------------------------------------------------------------------
345
- //
346
- // Methods
347
- //
348
- // --------------------------------------------------------------------------
349
- /** Sets focus on the component. */
350
- async setFocus() {
351
- var _a;
352
- (_a = (this.selectedItem || this.getItems()[0])) === null || _a === void 0 ? void 0 : _a.focus();
353
- }
354
- //--------------------------------------------------------------------------
355
- //
356
- // Private Methods
357
- //
358
- //--------------------------------------------------------------------------
359
- onLabelClick() {
360
- this.setFocus();
361
- }
362
- getItems() {
363
- return this.el.querySelectorAll("calcite-radio-group-item");
364
- }
365
- selectItem(selected, emit = false) {
366
- if (selected === this.selectedItem) {
367
- return;
368
- }
369
- const items = this.getItems();
370
- let match = null;
371
- items.forEach((item) => {
372
- const matches = item.value === selected.value;
373
- if ((matches && !item.checked) || (!matches && item.checked)) {
374
- item.checked = matches;
375
- }
376
- item.tabIndex = matches ? 0 : -1;
377
- if (matches) {
378
- match = item;
379
- if (emit) {
380
- this.calciteRadioGroupChange.emit(match.value);
381
- }
382
- }
383
- });
384
- this.selectedItem = match;
385
- if (match) {
386
- match.focus();
387
- }
388
- }
389
- get el() { return getElement(this); }
390
- static get watchers() { return {
391
- "value": ["valueHandler"],
392
- "selectedItem": ["handleSelectedItemChange"]
393
- }; }
394
- };
395
- RadioGroup.style = radioGroupCss;
396
-
397
- /*!
398
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
399
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
400
- * v1.0.0-beta.97
401
- */
402
- const SLOTS = {
403
- input: "input"
404
- };
405
- const CSS$1 = {
406
- radioGroupItemIcon: "radio-group-item-icon"
407
- };
408
-
409
- const radioGroupItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon{color:highlightText}}.radio-group-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}:host([icon-start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .radio-group-item-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .radio-group-item-icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-end]) .label--scale-l .radio-group-item-icon{-webkit-margin-start:1rem;margin-inline-start:1rem}";
410
-
411
- const RadioGroupItem = class {
412
- constructor(hostRef) {
413
- registerInstance(this, hostRef);
414
- this.calciteInternalRadioGroupItemChange = createEvent(this, "calciteInternalRadioGroupItemChange", 6);
415
- //--------------------------------------------------------------------------
416
- //
417
- // Properties
418
- //
419
- //--------------------------------------------------------------------------
420
- /** When `true`, the component is checked. */
421
- this.checked = false;
422
- /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
423
- this.iconFlipRtl = false;
424
- /**
425
- * Specifies the placement of the icon.
426
- *
427
- * @deprecated Use either `iconStart` or `iconEnd` but do not combine them with `icon` and `iconPosition`.
428
- */
429
- this.iconPosition = "start";
430
- }
431
- handleCheckedChange() {
432
- this.calciteInternalRadioGroupItemChange.emit();
433
- }
434
- render() {
435
- const { checked, value } = this;
436
- const scale = getElementProp(this.el, "scale", "m");
437
- const appearance = getElementProp(this.el, "appearance", "solid");
438
- const layout = getElementProp(this.el, "layout", "horizontal");
439
- const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$1.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
440
- const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$1.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
441
- const iconEl = (h("calcite-icon", { class: CSS$1.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, key: "icon", scale: "s" }));
442
- const iconAtStart = this.icon && this.iconPosition === "start" && !this.iconStart ? iconEl : null;
443
- const iconAtEnd = this.icon && this.iconPosition === "end" && !this.iconEnd ? iconEl : null;
444
- return (h(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, h("label", { class: {
445
- "label--scale-s": scale === "s",
446
- "label--scale-m": scale === "m",
447
- "label--scale-l": scale === "l",
448
- "label--horizontal": layout === "horizontal",
449
- "label--outline": appearance === "outline"
450
- } }, iconAtStart, this.iconStart ? iconStartEl : null, h("slot", null, value), h("slot", { name: SLOTS.input }), iconAtEnd, this.iconEnd ? iconEndEl : null)));
451
- }
452
- get el() { return getElement(this); }
453
- static get watchers() { return {
454
- "checked": ["handleCheckedChange"]
455
- }; }
456
- };
457
- RadioGroupItem.style = radioGroupItemCss;
458
-
459
- /*!
460
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
461
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
462
- * v1.0.0-beta.97
463
- */
464
- const CSS = {
465
- handleLabel: "handle__label",
466
- handleLabelMinValue: "handle__label--minValue",
467
- handleLabelValue: "handle__label--value",
468
- tickMin: "tick__label--min",
469
- tickMax: "tick__label--max"
470
- };
471
-
472
- const sliderCss = "@charset \"UTF-8\";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--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:14px;--calcite-slider-handle-extension-height:8px;--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:16px;--calcite-slider-handle-extension-height:10.5px;--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-ui-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 )}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}: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-ui-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-ui-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-ui-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-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:-2px}: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:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{-webkit-margin-before:0.5em;margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{-webkit-margin-after:0.5em;margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-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-ui-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-ui-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-ui-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-ui-border-input);border-color:var(--calcite-ui-foreground-1);inset-block-start:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;-webkit-margin-before:0.875rem;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-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{-webkit-padding-after:calc(0.875rem + var(--calcite-slider-container-font-size));padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + 1em);padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{-webkit-padding-after:calc(var(--calcite-slider-handle-size) * 0.5 + 1em);padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{-webkit-padding-before:var(--calcite-slider-full-handle-height);padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);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{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);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}";
473
-
474
- function isRange(value) {
475
- return Array.isArray(value);
476
- }
477
- const Slider = class {
478
- constructor(hostRef) {
479
- registerInstance(this, hostRef);
480
- this.calciteSliderInput = createEvent(this, "calciteSliderInput", 6);
481
- this.calciteSliderChange = createEvent(this, "calciteSliderChange", 6);
482
- this.calciteSliderUpdate = createEvent(this, "calciteSliderUpdate", 6);
483
- //--------------------------------------------------------------------------
484
- //
485
- // Properties
486
- //
487
- //--------------------------------------------------------------------------
488
- /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
489
- this.disabled = false;
490
- /**
491
- * When `true`, number values are displayed with a group separator corresponding to the language and country format.
492
- */
493
- this.groupSeparator = false;
494
- /** When `true`, indicates a histogram is present. */
495
- this.hasHistogram = false;
496
- /** When `true`, displays label handles with their numeric value. */
497
- this.labelHandles = false;
498
- /** When `true` and `ticks` is specified, displays label tick marks with their numeric value. */
499
- this.labelTicks = false;
500
- /** The component's maximum selectable value. */
501
- this.max = 100;
502
- /** The component's minimum selectable value. */
503
- this.min = 0;
504
- /**
505
- * When `true`, the slider will display values from high to low.
506
- *
507
- * Note that this value will be ignored if the slider has an associated histogram.
508
- */
509
- this.mirrored = false;
510
- /** When `true`, sets a finer point for handles. */
511
- this.precise = false;
512
- /**
513
- * When `true`, the component must have a value in order for the form to submit.
514
- */
515
- this.required = false;
516
- /** When `true`, enables snap selection in coordination with `step` via a mouse. */
517
- this.snap = false;
518
- /** Specifies the interval to move with the up, or down keys. */
519
- this.step = 1;
520
- /** The component's value. */
521
- this.value = 0;
522
- /**
523
- * Specifies the size of the component.
524
- */
525
- this.scale = "m";
526
- this.activeProp = "value";
527
- this.guid = `calcite-slider-${guid()}`;
528
- this.effectiveLocale = "";
529
- this.minMaxValueRange = null;
530
- this.minValueDragRange = null;
531
- this.maxValueDragRange = null;
532
- this.tickValues = [];
533
- this.dragUpdate = (event) => {
534
- event.preventDefault();
535
- if (this.dragProp) {
536
- const value = this.translate(event.clientX || event.pageX);
537
- if (isRange(this.value) && this.dragProp === "minMaxValue") {
538
- if (this.minValueDragRange && this.maxValueDragRange && this.minMaxValueRange) {
539
- const newMinValue = value - this.minValueDragRange;
540
- const newMaxValue = value + this.maxValueDragRange;
541
- if (newMaxValue <= this.max &&
542
- newMinValue >= this.min &&
543
- newMaxValue - newMinValue === this.minMaxValueRange) {
544
- this.setValue({
545
- minValue: this.clamp(newMinValue, "minValue"),
546
- maxValue: this.clamp(newMaxValue, "maxValue")
547
- });
548
- }
549
- }
550
- else {
551
- this.minValueDragRange = value - this.minValue;
552
- this.maxValueDragRange = this.maxValue - value;
553
- this.minMaxValueRange = this.maxValue - this.minValue;
554
- }
555
- }
556
- else {
557
- this.setValue({ [this.dragProp]: this.clamp(value, this.dragProp) });
558
- }
559
- }
560
- };
561
- this.pointerUpDragEnd = (event) => {
562
- if (!isPrimaryPointerButton(event)) {
563
- return;
564
- }
565
- this.dragEnd(event);
566
- };
567
- this.dragEnd = (event) => {
568
- this.removeDragListeners();
569
- this.focusActiveHandle(event.clientX);
570
- if (this.lastDragPropValue != this[this.dragProp]) {
571
- this.emitChange();
572
- }
573
- this.dragProp = null;
574
- this.lastDragPropValue = null;
575
- this.minValueDragRange = null;
576
- this.maxValueDragRange = null;
577
- this.minMaxValueRange = null;
578
- };
579
- /**
580
- * Set the reference of the track Element
581
- *
582
- * @internal
583
- * @param node
584
- */
585
- this.storeTrackRef = (node) => {
586
- this.trackEl = node;
587
- };
588
- /**
589
- * Returns a string representing the localized label value based if the groupSeparator prop is parsed.
590
- *
591
- * @param value
592
- */
593
- this.determineGroupSeparator = (value) => {
594
- if (typeof value === "number") {
595
- numberStringFormatter.numberFormatOptions = {
596
- locale: this.effectiveLocale,
597
- numberingSystem: this.numberingSystem,
598
- useGrouping: this.groupSeparator
599
- };
600
- return numberStringFormatter.localize(value.toString());
601
- }
602
- };
603
- }
604
- histogramWatcher(newHistogram) {
605
- this.hasHistogram = !!newHistogram;
606
- }
607
- valueHandler() {
608
- this.setMinMaxFromValue();
609
- }
610
- minMaxValueHandler() {
611
- this.setValueFromMinMax();
612
- }
613
- //--------------------------------------------------------------------------
614
- //
615
- // Lifecycle
616
- //
617
- //--------------------------------------------------------------------------
618
- connectedCallback() {
619
- connectLocalized(this);
620
- this.setMinMaxFromValue();
621
- this.setValueFromMinMax();
622
- connectLabel(this);
623
- connectForm(this);
624
- }
625
- disconnectedCallback() {
626
- disconnectLabel(this);
627
- disconnectForm(this);
628
- disconnectLocalized(this);
629
- this.removeDragListeners();
630
- }
631
- componentWillLoad() {
632
- this.tickValues = this.generateTickValues();
633
- if (!isRange(this.value)) {
634
- this.value = this.clamp(this.value);
635
- }
636
- afterConnectDefaultValueSet(this, this.value);
637
- if (this.snap && !isRange(this.value)) {
638
- this.value = this.getClosestStep(this.value);
639
- }
640
- if (this.histogram) {
641
- this.hasHistogram = true;
642
- }
643
- }
644
- componentDidRender() {
645
- if (this.labelHandles) {
646
- this.adjustHostObscuredHandleLabel("value");
647
- if (isRange(this.value)) {
648
- this.adjustHostObscuredHandleLabel("minValue");
649
- if (!(this.precise && !this.hasHistogram)) {
650
- this.hyphenateCollidingRangeHandleLabels();
651
- }
652
- }
653
- }
654
- this.hideObscuredBoundingTickLabels();
655
- updateHostInteraction(this);
656
- }
657
- render() {
658
- const id = this.el.id || this.guid;
659
- const maxProp = isRange(this.value) ? "maxValue" : "value";
660
- const value = isRange(this.value) ? this.maxValue : this.value;
661
- const displayedValue = this.determineGroupSeparator(value);
662
- const displayedMinValue = this.determineGroupSeparator(this.minValue);
663
- const min = this.minValue || this.min;
664
- const useMinValue = this.shouldUseMinValue();
665
- const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;
666
- const maxInterval = this.getUnitInterval(value) * 100;
667
- const mirror = this.shouldMirror();
668
- const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
669
- const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
670
- const valueIsRange = isRange(this.value);
671
- const handleLabelMinValueClasses = `${CSS.handleLabel} ${CSS.handleLabelMinValue}`;
672
- const handleLabelValueClasses = `${CSS.handleLabel} ${CSS.handleLabelValue}`;
673
- const handle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
674
- thumb: true,
675
- "thumb--value": true,
676
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
677
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" })));
678
- const labeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
679
- thumb: true,
680
- "thumb--value": true,
681
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
682
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" })));
683
- const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
684
- thumb: true,
685
- "thumb--value": true,
686
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
687
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
688
- const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
689
- thumb: true,
690
- "thumb--value": true,
691
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
692
- "thumb--precise": true
693
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("div", { class: "handle-extension" })));
694
- const histogramPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
695
- thumb: true,
696
- "thumb--value": true,
697
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
698
- "thumb--precise": true
699
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" })));
700
- const labeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
701
- thumb: true,
702
- "thumb--value": true,
703
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
704
- "thumb--precise": true
705
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" }), h("div", { class: "handle-extension" })));
706
- const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
707
- thumb: true,
708
- "thumb--value": true,
709
- "thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
710
- "thumb--precise": true
711
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
712
- const minHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
713
- thumb: true,
714
- "thumb--minValue": true,
715
- "thumb--active": this.dragProp === "minValue"
716
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" })));
717
- const minLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
718
- thumb: true,
719
- "thumb--minValue": true,
720
- "thumb--active": this.dragProp === "minValue"
721
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue), h("div", { class: "handle" })));
722
- const minHistogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
723
- thumb: true,
724
- "thumb--minValue": true,
725
- "thumb--active": this.dragProp === "minValue"
726
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
727
- const minPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
728
- thumb: true,
729
- "thumb--minValue": true,
730
- "thumb--active": this.dragProp === "minValue",
731
- "thumb--precise": true
732
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" })));
733
- const minLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
734
- thumb: true,
735
- "thumb--minValue": true,
736
- "thumb--active": this.dragProp === "minValue",
737
- "thumb--precise": true
738
- }, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
739
- return (h(Host, { id: id, onTouchStart: this.handleTouchStart }, h("div", { class: {
740
- ["container"]: true,
741
- ["container--range"]: valueIsRange,
742
- [`scale--${this.scale}`]: true
743
- } }, this.renderGraph(), h("div", { class: "track", ref: this.storeTrackRef }, h("div", { class: "track__range", onPointerDown: (event) => this.pointerDownDragStart(event, "minMaxValue"), style: {
744
- left: `${mirror ? 100 - maxInterval : minInterval}%`,
745
- right: `${mirror ? minInterval : 100 - maxInterval}%`
746
- } }), h("div", { class: "ticks" }, this.tickValues.map((tick) => {
747
- const tickOffset = `${this.getUnitInterval(tick) * 100}%`;
748
- let activeTicks = tick >= min && tick <= value;
749
- if (useMinValue) {
750
- activeTicks = tick >= this.minValue && tick <= this.maxValue;
751
- }
752
- return (h("span", { class: {
753
- tick: true,
754
- "tick--active": activeTicks
755
- }, style: {
756
- left: mirror ? "" : tickOffset,
757
- right: mirror ? tickOffset : ""
758
- } }, this.renderTickLabel(tick)));
759
- }))), h("div", { class: "thumb-container" }, !this.precise && !this.labelHandles && valueIsRange && minHandle, !this.hasHistogram &&
760
- !this.precise &&
761
- this.labelHandles &&
762
- valueIsRange &&
763
- minLabeledHandle, this.precise && !this.labelHandles && valueIsRange && minPreciseHandle, this.precise && this.labelHandles && valueIsRange && minLabeledPreciseHandle, this.hasHistogram &&
764
- !this.precise &&
765
- this.labelHandles &&
766
- valueIsRange &&
767
- minHistogramLabeledHandle, !this.precise && !this.labelHandles && handle, !this.hasHistogram && !this.precise && this.labelHandles && labeledHandle, !this.hasHistogram && this.precise && !this.labelHandles && preciseHandle, this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle, !this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle, this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle, this.hasHistogram &&
768
- this.precise &&
769
- this.labelHandles &&
770
- histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this })))));
771
- }
772
- renderGraph() {
773
- return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: isRange(this.value) ? this.maxValue : this.value, highlightMin: isRange(this.value) ? this.minValue : this.min, max: this.max, min: this.min })) : null;
774
- }
775
- renderTickLabel(tick) {
776
- const valueIsRange = isRange(this.value);
777
- const isMinTickLabel = tick === this.min;
778
- const isMaxTickLabel = tick === this.max;
779
- const displayedTickValue = this.determineGroupSeparator(tick);
780
- const tickLabel = (h("span", { class: {
781
- tick__label: true,
782
- [CSS.tickMin]: isMinTickLabel,
783
- [CSS.tickMax]: isMaxTickLabel
784
- } }, displayedTickValue));
785
- if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
786
- return tickLabel;
787
- }
788
- if (this.labelTicks &&
789
- !this.hasHistogram &&
790
- valueIsRange &&
791
- !this.precise &&
792
- !this.labelHandles) {
793
- return tickLabel;
794
- }
795
- if (this.labelTicks &&
796
- !this.hasHistogram &&
797
- valueIsRange &&
798
- !this.precise &&
799
- this.labelHandles) {
800
- return tickLabel;
801
- }
802
- if (this.labelTicks &&
803
- !this.hasHistogram &&
804
- valueIsRange &&
805
- this.precise &&
806
- (isMinTickLabel || isMaxTickLabel)) {
807
- return tickLabel;
808
- }
809
- if (this.labelTicks && this.hasHistogram && !this.precise && !this.labelHandles) {
810
- return tickLabel;
811
- }
812
- if (this.labelTicks &&
813
- this.hasHistogram &&
814
- this.precise &&
815
- !this.labelHandles &&
816
- (isMinTickLabel || isMaxTickLabel)) {
817
- return tickLabel;
818
- }
819
- if (this.labelTicks &&
820
- this.hasHistogram &&
821
- !this.precise &&
822
- this.labelHandles &&
823
- (isMinTickLabel || isMaxTickLabel)) {
824
- return tickLabel;
825
- }
826
- if (this.labelTicks &&
827
- this.hasHistogram &&
828
- this.precise &&
829
- this.labelHandles &&
830
- (isMinTickLabel || isMaxTickLabel)) {
831
- return tickLabel;
832
- }
833
- return null;
834
- }
835
- //--------------------------------------------------------------------------
836
- //
837
- // Event Listeners
838
- //
839
- //--------------------------------------------------------------------------
840
- keyDownHandler(event) {
841
- const mirror = this.shouldMirror();
842
- const { activeProp, max, min, pageStep, step } = this;
843
- const value = this[activeProp];
844
- const { key } = event;
845
- if (isActivationKey(key)) {
846
- event.preventDefault();
847
- return;
848
- }
849
- let adjustment;
850
- if (key === "ArrowUp" || key === "ArrowRight") {
851
- const directionFactor = mirror && key === "ArrowRight" ? -1 : 1;
852
- adjustment = value + step * directionFactor;
853
- }
854
- else if (key === "ArrowDown" || key === "ArrowLeft") {
855
- const directionFactor = mirror && key === "ArrowLeft" ? -1 : 1;
856
- adjustment = value - step * directionFactor;
857
- }
858
- else if (key === "PageUp") {
859
- if (pageStep) {
860
- adjustment = value + pageStep;
861
- }
862
- }
863
- else if (key === "PageDown") {
864
- if (pageStep) {
865
- adjustment = value - pageStep;
866
- }
867
- }
868
- else if (key === "Home") {
869
- adjustment = min;
870
- }
871
- else if (key === "End") {
872
- adjustment = max;
873
- }
874
- if (isNaN(adjustment)) {
875
- return;
876
- }
877
- event.preventDefault();
878
- const fixedDecimalAdjustment = Number(adjustment.toFixed(decimalPlaces(step)));
879
- this.setValue({
880
- [activeProp]: this.clamp(fixedDecimalAdjustment, activeProp)
881
- });
882
- }
883
- pointerDownHandler(event) {
884
- if (!isPrimaryPointerButton(event)) {
885
- return;
886
- }
887
- const x = event.clientX || event.pageX;
888
- const position = this.translate(x);
889
- let prop = "value";
890
- if (isRange(this.value)) {
891
- const inRange = position >= this.minValue && position <= this.maxValue;
892
- if (inRange && this.lastDragProp === "minMaxValue") {
893
- prop = "minMaxValue";
894
- }
895
- else {
896
- const closerToMax = Math.abs(this.maxValue - position) < Math.abs(this.minValue - position);
897
- prop = closerToMax || position > this.maxValue ? "maxValue" : "minValue";
898
- }
899
- }
900
- this.lastDragPropValue = this[prop];
901
- this.dragStart(prop);
902
- const isThumbActive = this.el.shadowRoot.querySelector(".thumb:active");
903
- if (!isThumbActive) {
904
- this.setValue({ [prop]: this.clamp(position, prop) });
905
- }
906
- this.focusActiveHandle(x);
907
- }
908
- handleTouchStart(event) {
909
- // needed to prevent extra click at the end of a handle drag
910
- event.preventDefault();
911
- }
912
- //--------------------------------------------------------------------------
913
- //
914
- // Public Methods
915
- //
916
- //--------------------------------------------------------------------------
917
- /** Sets focus on the component. */
918
- async setFocus() {
919
- const handle = this.minHandle ? this.minHandle : this.maxHandle;
920
- handle === null || handle === void 0 ? void 0 : handle.focus();
921
- }
922
- //--------------------------------------------------------------------------
923
- //
924
- // Private Methods
925
- //
926
- //--------------------------------------------------------------------------
927
- setValueFromMinMax() {
928
- const { minValue, maxValue } = this;
929
- if (typeof minValue === "number" && typeof maxValue === "number") {
930
- this.value = [minValue, maxValue];
931
- }
932
- }
933
- setMinMaxFromValue() {
934
- const { value } = this;
935
- if (isRange(value)) {
936
- this.minValue = value[0];
937
- this.maxValue = value[1];
938
- }
939
- }
940
- onLabelClick() {
941
- this.setFocus();
942
- }
943
- shouldMirror() {
944
- return this.mirrored && !this.hasHistogram;
945
- }
946
- shouldUseMinValue() {
947
- if (!isRange(this.value)) {
948
- return false;
949
- }
950
- return ((this.hasHistogram && this.maxValue === 0) || (!this.hasHistogram && this.minValue === 0));
951
- }
952
- generateTickValues() {
953
- const ticks = [];
954
- let current = this.min;
955
- while (this.ticks && current < this.max + this.ticks) {
956
- ticks.push(Math.min(current, this.max));
957
- current = current + this.ticks;
958
- }
959
- return ticks;
960
- }
961
- pointerDownDragStart(event, prop) {
962
- if (!isPrimaryPointerButton(event)) {
963
- return;
964
- }
965
- this.dragStart(prop);
966
- }
967
- dragStart(prop) {
968
- this.dragProp = prop;
969
- this.lastDragProp = this.dragProp;
970
- this.activeProp = prop;
971
- document.addEventListener("pointermove", this.dragUpdate);
972
- document.addEventListener("pointerup", this.pointerUpDragEnd);
973
- document.addEventListener("pointercancel", this.dragEnd);
974
- }
975
- focusActiveHandle(valueX) {
976
- switch (this.dragProp) {
977
- case "minValue":
978
- this.minHandle.focus();
979
- break;
980
- case "maxValue":
981
- case "value":
982
- this.maxHandle.focus();
983
- break;
984
- case "minMaxValue":
985
- this.getClosestHandle(valueX).focus();
986
- break;
987
- }
988
- }
989
- emitInput() {
990
- this.calciteSliderInput.emit();
991
- this.calciteSliderUpdate.emit();
992
- }
993
- emitChange() {
994
- this.calciteSliderChange.emit();
995
- }
996
- removeDragListeners() {
997
- document.removeEventListener("pointermove", this.dragUpdate);
998
- document.removeEventListener("pointerup", this.pointerUpDragEnd);
999
- document.removeEventListener("pointercancel", this.dragEnd);
1000
- }
1001
- /**
1002
- * Set prop value(s) if changed at the component level
1003
- *
1004
- * @param {object} values - a set of key/value pairs delineating what properties in the component to update
1005
- */
1006
- setValue(values) {
1007
- let valueChanged;
1008
- Object.keys(values).forEach((propName) => {
1009
- const newValue = values[propName];
1010
- if (!valueChanged) {
1011
- const oldValue = this[propName];
1012
- valueChanged = oldValue !== newValue;
1013
- }
1014
- this[propName] = newValue;
1015
- });
1016
- if (!valueChanged) {
1017
- return;
1018
- }
1019
- const dragging = this.dragProp;
1020
- if (!dragging) {
1021
- this.emitChange();
1022
- }
1023
- this.emitInput();
1024
- }
1025
- /**
1026
- * If number is outside range, constrain to min or max
1027
- *
1028
- * @param value
1029
- * @param prop
1030
- * @internal
1031
- */
1032
- clamp(value, prop) {
1033
- value = clamp(value, this.min, this.max);
1034
- // ensure that maxValue and minValue don't swap positions
1035
- if (prop === "maxValue") {
1036
- value = Math.max(value, this.minValue);
1037
- }
1038
- if (prop === "minValue") {
1039
- value = Math.min(value, this.maxValue);
1040
- }
1041
- return value;
1042
- }
1043
- /**
1044
- * Translate a pixel position to value along the range
1045
- *
1046
- * @param x
1047
- * @internal
1048
- */
1049
- translate(x) {
1050
- const range = this.max - this.min;
1051
- const { left, width } = this.trackEl.getBoundingClientRect();
1052
- const percent = (x - left) / width;
1053
- const mirror = this.shouldMirror();
1054
- const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));
1055
- let value = Number(clampedValue.toFixed(decimalPlaces(this.step)));
1056
- if (this.snap && this.step) {
1057
- value = this.getClosestStep(value);
1058
- }
1059
- return value;
1060
- }
1061
- /**
1062
- * Get closest allowed value along stepped values
1063
- *
1064
- * @param num
1065
- * @internal
1066
- */
1067
- getClosestStep(num) {
1068
- num = Number(this.clamp(num).toFixed(decimalPlaces(this.step)));
1069
- if (this.step) {
1070
- const step = Math.round(num / this.step) * this.step;
1071
- num = Number(this.clamp(step).toFixed(decimalPlaces(this.step)));
1072
- }
1073
- return num;
1074
- }
1075
- getClosestHandle(valueX) {
1076
- return this.getDistanceX(this.maxHandle, valueX) > this.getDistanceX(this.minHandle, valueX)
1077
- ? this.minHandle
1078
- : this.maxHandle;
1079
- }
1080
- getDistanceX(el, valueX) {
1081
- return Math.abs(el.getBoundingClientRect().left - valueX);
1082
- }
1083
- getFontSizeForElement(element) {
1084
- return Number(window.getComputedStyle(element).getPropertyValue("font-size").match(/\d+/)[0]);
1085
- }
1086
- /**
1087
- * Get position of value along range as fractional value
1088
- *
1089
- * @param num
1090
- * @return {number} number in the unit interval [0,1]
1091
- * @internal
1092
- */
1093
- getUnitInterval(num) {
1094
- num = this.clamp(num);
1095
- const range = this.max - this.min;
1096
- return (num - this.min) / range;
1097
- }
1098
- adjustHostObscuredHandleLabel(name) {
1099
- const label = this.el.shadowRoot.querySelector(`.handle__label--${name}`);
1100
- const labelStatic = this.el.shadowRoot.querySelector(`.handle__label--${name}.static`);
1101
- const labelTransformed = this.el.shadowRoot.querySelector(`.handle__label--${name}.transformed`);
1102
- const labelStaticBounds = labelStatic.getBoundingClientRect();
1103
- const labelStaticOffset = this.getHostOffset(labelStaticBounds.left, labelStaticBounds.right);
1104
- label.style.transform = `translateX(${labelStaticOffset}px)`;
1105
- labelTransformed.style.transform = `translateX(${labelStaticOffset}px)`;
1106
- }
1107
- hyphenateCollidingRangeHandleLabels() {
1108
- const { shadowRoot } = this.el;
1109
- const mirror = this.shouldMirror();
1110
- const leftModifier = mirror ? "value" : "minValue";
1111
- const rightModifier = mirror ? "minValue" : "value";
1112
- const leftValueLabel = shadowRoot.querySelector(`.handle__label--${leftModifier}`);
1113
- const leftValueLabelStatic = shadowRoot.querySelector(`.handle__label--${leftModifier}.static`);
1114
- const leftValueLabelTransformed = shadowRoot.querySelector(`.handle__label--${leftModifier}.transformed`);
1115
- const leftValueLabelStaticHostOffset = this.getHostOffset(leftValueLabelStatic.getBoundingClientRect().left, leftValueLabelStatic.getBoundingClientRect().right);
1116
- const rightValueLabel = shadowRoot.querySelector(`.handle__label--${rightModifier}`);
1117
- const rightValueLabelStatic = shadowRoot.querySelector(`.handle__label--${rightModifier}.static`);
1118
- const rightValueLabelTransformed = shadowRoot.querySelector(`.handle__label--${rightModifier}.transformed`);
1119
- const rightValueLabelStaticHostOffset = this.getHostOffset(rightValueLabelStatic.getBoundingClientRect().left, rightValueLabelStatic.getBoundingClientRect().right);
1120
- const labelFontSize = this.getFontSizeForElement(leftValueLabel);
1121
- const labelTransformedOverlap = this.getRangeLabelOverlap(leftValueLabelTransformed, rightValueLabelTransformed);
1122
- const hyphenLabel = leftValueLabel;
1123
- const labelOffset = labelFontSize / 2;
1124
- if (labelTransformedOverlap > 0) {
1125
- hyphenLabel.classList.add("hyphen", "hyphen--wrap");
1126
- if (rightValueLabelStaticHostOffset === 0 && leftValueLabelStaticHostOffset === 0) {
1127
- // Neither handle overlaps the host boundary
1128
- let leftValueLabelTranslate = labelTransformedOverlap / 2 - labelOffset;
1129
- leftValueLabelTranslate =
1130
- Math.sign(leftValueLabelTranslate) === -1
1131
- ? Math.abs(leftValueLabelTranslate)
1132
- : -leftValueLabelTranslate;
1133
- const leftValueLabelTransformedHostOffset = this.getHostOffset(leftValueLabelTransformed.getBoundingClientRect().left +
1134
- leftValueLabelTranslate -
1135
- labelOffset, leftValueLabelTransformed.getBoundingClientRect().right +
1136
- leftValueLabelTranslate -
1137
- labelOffset);
1138
- let rightValueLabelTranslate = labelTransformedOverlap / 2;
1139
- const rightValueLabelTransformedHostOffset = this.getHostOffset(rightValueLabelTransformed.getBoundingClientRect().left + rightValueLabelTranslate, rightValueLabelTransformed.getBoundingClientRect().right + rightValueLabelTranslate);
1140
- if (leftValueLabelTransformedHostOffset !== 0) {
1141
- leftValueLabelTranslate += leftValueLabelTransformedHostOffset;
1142
- rightValueLabelTranslate += leftValueLabelTransformedHostOffset;
1143
- }
1144
- if (rightValueLabelTransformedHostOffset !== 0) {
1145
- leftValueLabelTranslate += rightValueLabelTransformedHostOffset;
1146
- rightValueLabelTranslate += rightValueLabelTransformedHostOffset;
1147
- }
1148
- leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;
1149
- leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelTranslate - labelOffset}px)`;
1150
- rightValueLabel.style.transform = `translateX(${rightValueLabelTranslate}px)`;
1151
- rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelTranslate}px)`;
1152
- }
1153
- else if (leftValueLabelStaticHostOffset > 0 || rightValueLabelStaticHostOffset > 0) {
1154
- // labels overlap host boundary on the left side
1155
- leftValueLabel.style.transform = `translateX(${leftValueLabelStaticHostOffset + labelOffset}px)`;
1156
- rightValueLabel.style.transform = `translateX(${labelTransformedOverlap + rightValueLabelStaticHostOffset}px)`;
1157
- rightValueLabelTransformed.style.transform = `translateX(${labelTransformedOverlap + rightValueLabelStaticHostOffset}px)`;
1158
- }
1159
- else if (leftValueLabelStaticHostOffset < 0 || rightValueLabelStaticHostOffset < 0) {
1160
- // labels overlap host boundary on the right side
1161
- let leftValueLabelTranslate = Math.abs(leftValueLabelStaticHostOffset) + labelTransformedOverlap - labelOffset;
1162
- leftValueLabelTranslate =
1163
- Math.sign(leftValueLabelTranslate) === -1
1164
- ? Math.abs(leftValueLabelTranslate)
1165
- : -leftValueLabelTranslate;
1166
- leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;
1167
- leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelTranslate - labelOffset}px)`;
1168
- }
1169
- }
1170
- else {
1171
- hyphenLabel.classList.remove("hyphen", "hyphen--wrap");
1172
- leftValueLabel.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;
1173
- leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;
1174
- rightValueLabel.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;
1175
- rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;
1176
- }
1177
- }
1178
- /**
1179
- * Hides bounding tick labels that are obscured by either handle.
1180
- */
1181
- hideObscuredBoundingTickLabels() {
1182
- const valueIsRange = isRange(this.value);
1183
- if (!this.hasHistogram && !valueIsRange && !this.labelHandles && !this.precise) {
1184
- return;
1185
- }
1186
- if (!this.hasHistogram && !valueIsRange && this.labelHandles && !this.precise) {
1187
- return;
1188
- }
1189
- if (!this.hasHistogram && !valueIsRange && !this.labelHandles && this.precise) {
1190
- return;
1191
- }
1192
- if (!this.hasHistogram && !valueIsRange && this.labelHandles && this.precise) {
1193
- return;
1194
- }
1195
- if (!this.hasHistogram && valueIsRange && !this.precise) {
1196
- return;
1197
- }
1198
- if (this.hasHistogram && !this.precise && !this.labelHandles) {
1199
- return;
1200
- }
1201
- const minHandle = this.el.shadowRoot.querySelector(".thumb--minValue");
1202
- const maxHandle = this.el.shadowRoot.querySelector(".thumb--value");
1203
- const minTickLabel = this.el.shadowRoot.querySelector(".tick__label--min");
1204
- const maxTickLabel = this.el.shadowRoot.querySelector(".tick__label--max");
1205
- if (!minHandle && maxHandle && minTickLabel && maxTickLabel) {
1206
- minTickLabel.style.opacity = this.isMinTickLabelObscured(minTickLabel, maxHandle) ? "0" : "1";
1207
- maxTickLabel.style.opacity = this.isMaxTickLabelObscured(maxTickLabel, maxHandle) ? "0" : "1";
1208
- }
1209
- if (minHandle && maxHandle && minTickLabel && maxTickLabel) {
1210
- minTickLabel.style.opacity =
1211
- this.isMinTickLabelObscured(minTickLabel, minHandle) ||
1212
- this.isMinTickLabelObscured(minTickLabel, maxHandle)
1213
- ? "0"
1214
- : "1";
1215
- maxTickLabel.style.opacity =
1216
- this.isMaxTickLabelObscured(maxTickLabel, minHandle) ||
1217
- (this.isMaxTickLabelObscured(maxTickLabel, maxHandle) && this.hasHistogram)
1218
- ? "0"
1219
- : "1";
1220
- }
1221
- }
1222
- /**
1223
- * Returns an integer representing the number of pixels to offset on the left or right side based on desired position behavior.
1224
- *
1225
- * @param leftBounds
1226
- * @param rightBounds
1227
- * @internal
1228
- */
1229
- getHostOffset(leftBounds, rightBounds) {
1230
- const hostBounds = this.el.getBoundingClientRect();
1231
- const buffer = 7;
1232
- if (leftBounds + buffer < hostBounds.left) {
1233
- return hostBounds.left - leftBounds - buffer;
1234
- }
1235
- if (rightBounds - buffer > hostBounds.right) {
1236
- return -(rightBounds - hostBounds.right) + buffer;
1237
- }
1238
- return 0;
1239
- }
1240
- /**
1241
- * Returns an integer representing the number of pixels that the two given span elements are overlapping, taking into account
1242
- * a space in between the two spans equal to the font-size set on them to account for the space needed to render a hyphen.
1243
- *
1244
- * @param leftLabel
1245
- * @param rightLabel
1246
- */
1247
- getRangeLabelOverlap(leftLabel, rightLabel) {
1248
- const leftLabelBounds = leftLabel.getBoundingClientRect();
1249
- const rightLabelBounds = rightLabel.getBoundingClientRect();
1250
- const leftLabelFontSize = this.getFontSizeForElement(leftLabel);
1251
- const rangeLabelOverlap = leftLabelBounds.right + leftLabelFontSize - rightLabelBounds.left;
1252
- return Math.max(rangeLabelOverlap, 0);
1253
- }
1254
- /**
1255
- * Returns a boolean value representing if the minLabel span element is obscured (being overlapped) by the given handle div element.
1256
- *
1257
- * @param minLabel
1258
- * @param handle
1259
- */
1260
- isMinTickLabelObscured(minLabel, handle) {
1261
- const minLabelBounds = minLabel.getBoundingClientRect();
1262
- const handleBounds = handle.getBoundingClientRect();
1263
- return intersects(minLabelBounds, handleBounds);
1264
- }
1265
- /**
1266
- * Returns a boolean value representing if the maxLabel span element is obscured (being overlapped) by the given handle div element.
1267
- *
1268
- * @param maxLabel
1269
- * @param handle
1270
- */
1271
- isMaxTickLabelObscured(maxLabel, handle) {
1272
- const maxLabelBounds = maxLabel.getBoundingClientRect();
1273
- const handleBounds = handle.getBoundingClientRect();
1274
- return intersects(maxLabelBounds, handleBounds);
1275
- }
1276
- get el() { return getElement(this); }
1277
- static get watchers() { return {
1278
- "histogram": ["histogramWatcher"],
1279
- "value": ["valueHandler"],
1280
- "minValue": ["minMaxValueHandler"],
1281
- "maxValue": ["minMaxValueHandler"]
1282
- }; }
1283
- };
1284
- Slider.style = sliderCss;
1285
-
1286
- const mapDrawToolsCss = ":host{display:block}.border{outline:1px solid var(--calcite-ui-border-input)}";
1287
-
1288
- const MapDrawTools = class {
1289
- constructor(hostRef) {
1290
- registerInstance(this, hostRef);
1291
- this.sketchGraphicsChange = createEvent(this, "sketchGraphicsChange", 7);
1292
- this.active = false;
1293
- this.border = false;
1294
- this.mapView = undefined;
1295
- this.pointSymbol = undefined;
1296
- this.polylineSymbol = undefined;
1297
- this.polygonSymbol = undefined;
1298
- this.graphics = [];
1299
- this._translations = undefined;
1300
- }
1301
- //--------------------------------------------------------------------------
1302
- //
1303
- // Watch handlers
1304
- //
1305
- //--------------------------------------------------------------------------
1306
- /**
1307
- * Called each time the graphics prop is changed.
1308
- *
1309
- */
1310
- graphicsWatchHandler(v, oldV) {
1311
- if (v && v.length > 0 && JSON.stringify(v) !== JSON.stringify(oldV || [])) {
1312
- this._sketchGraphicsLayer.removeAll();
1313
- this._sketchGraphicsLayer.addMany(v);
1314
- }
1315
- }
1316
- /**
1317
- * Called each time the mapView prop is changed.
1318
- *
1319
- */
1320
- mapViewWatchHandler(v, oldV) {
1321
- if (v && v !== oldV) {
1322
- this._init();
1323
- }
1324
- }
1325
- //--------------------------------------------------------------------------
1326
- //
1327
- // Methods (public)
1328
- //
1329
- //--------------------------------------------------------------------------
1330
- /**
1331
- * Clears the user drawn graphics
1332
- *
1333
- * @returns Promise that resolves when the operation is complete
1334
- */
1335
- async clear() {
1336
- this._clearSketch();
1337
- }
1338
- //--------------------------------------------------------------------------
1339
- //
1340
- // Functions (lifecycle)
1341
- //
1342
- //--------------------------------------------------------------------------
1343
- /**
1344
- * StencilJS: Called once just after the component is first connected to the DOM.
1345
- *
1346
- * @returns Promise when complete
1347
- */
1348
- async componentWillLoad() {
1349
- await this._getTranslations();
1350
- await this._initModules();
1351
- }
1352
- /**
1353
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
1354
- *
1355
- * @returns Promise when complete
1356
- */
1357
- componentDidLoad() {
1358
- this._init();
1359
- }
1360
- /**
1361
- * Renders the component.
1362
- */
1363
- render() {
1364
- const drawClass = this.border ? "border" : "";
1365
- return (h(Host, null, h("div", { class: drawClass }, h("div", { ref: (el) => { this._sketchElement = el; } }))));
1366
- }
1367
- //--------------------------------------------------------------------------
1368
- //
1369
- // Functions (protected)
1370
- //
1371
- //--------------------------------------------------------------------------
1372
- /**
1373
- * Load esri javascript api modules
1374
- *
1375
- * @returns Promise resolving when function is done
1376
- *
1377
- * @protected
1378
- */
1379
- async _initModules() {
1380
- const [GraphicsLayer, Sketch] = await loadModules([
1381
- "esri/layers/GraphicsLayer",
1382
- "esri/widgets/Sketch"
1383
- ]);
1384
- this.GraphicsLayer = GraphicsLayer;
1385
- this.Sketch = Sketch;
1386
- }
1387
- /**
1388
- * Initialize the graphics layer and the tools that support creating new graphics
1389
- *
1390
- * @protected
1391
- */
1392
- _init() {
1393
- if (this.mapView && this._sketchElement) {
1394
- this._initGraphicsLayer();
1395
- this._initDrawTools();
1396
- }
1397
- }
1398
- /**
1399
- * Create or find the graphics layer and add any existing graphics
1400
- *
1401
- * @protected
1402
- */
1403
- _initGraphicsLayer() {
1404
- const title = this._translations.sketchLayer;
1405
- const sketchIndex = this.mapView.map.layers.findIndex((l) => l.title === title);
1406
- if (sketchIndex > -1) {
1407
- this._sketchGraphicsLayer = this.mapView.map.layers.getItemAt(sketchIndex);
1408
- }
1409
- else {
1410
- this._sketchGraphicsLayer = new this.GraphicsLayer({ title });
1411
- state.managedLayers.push(title);
1412
- this.mapView.map.layers.add(this._sketchGraphicsLayer);
1413
- }
1414
- if (this.graphics && this.graphics.length > 0) {
1415
- this._sketchGraphicsLayer.addMany(this.graphics);
1416
- }
1417
- }
1418
- /**
1419
- * Initialize the skecth widget and store the associated symbols for each geometry type
1420
- *
1421
- * @protected
1422
- */
1423
- _initDrawTools() {
1424
- this._sketchWidget = new this.Sketch({
1425
- layer: this._sketchGraphicsLayer,
1426
- view: this.mapView,
1427
- container: this._sketchElement,
1428
- creationMode: "update",
1429
- defaultCreateOptions: {
1430
- "mode": "hybrid"
1431
- }
1432
- });
1433
- this.pointSymbol = this._sketchWidget.viewModel.pointSymbol;
1434
- this.polylineSymbol = this._sketchWidget.viewModel.polylineSymbol;
1435
- this.polygonSymbol = this._sketchWidget.viewModel.polygonSymbol;
1436
- this._sketchWidget.visibleElements = {
1437
- selectionTools: {
1438
- "lasso-selection": false,
1439
- "rectangle-selection": false
1440
- }, createTools: {
1441
- "circle": false,
1442
- "point": false
1443
- }
1444
- };
1445
- this._sketchWidget.on("update", (evt) => {
1446
- if (evt.state === "complete" && this.active) {
1447
- this.graphics = this._sketchGraphicsLayer.graphics.toArray();
1448
- this.sketchGraphicsChange.emit(this.graphics);
1449
- }
1450
- });
1451
- }
1452
- /**
1453
- * Clear any stored graphics and remove all graphics from the graphics layer
1454
- *
1455
- * @protected
1456
- */
1457
- _clearSketch() {
1458
- this.graphics = undefined;
1459
- this._sketchGraphicsLayer.removeAll();
1460
- }
1461
- /**
1462
- * Fetches the component's translations
1463
- *
1464
- * @protected
1465
- */
1466
- async _getTranslations() {
1467
- const translations = await getLocaleComponentStrings(this.el);
1468
- this._translations = translations[0];
1469
- }
1470
- get el() { return getElement(this); }
1471
- static get watchers() { return {
1472
- "graphics": ["graphicsWatchHandler"],
1473
- "mapView": ["mapViewWatchHandler"]
1474
- }; }
1475
- };
1476
- MapDrawTools.style = mapDrawToolsCss;
1477
-
1478
- const refineSelectionToolsCss = ":host{display:block}.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}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.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-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}";
1479
-
1480
- const RefineSelectionTools = class {
1481
- constructor(hostRef) {
1482
- registerInstance(this, hostRef);
1483
- this.refineSelectionGraphicsChange = createEvent(this, "refineSelectionGraphicsChange", 7);
1484
- this.refineSelectionIdsChange = createEvent(this, "refineSelectionIdsChange", 7);
1485
- /**
1486
- * {<layer title>: Graphic[]}: Collection of graphics returned from queries to the layer
1487
- */
1488
- this._featuresCollection = {};
1489
- /**
1490
- * IRefineOperation[]: Array to maintain the possible redo operations
1491
- */
1492
- this._redoStack = [];
1493
- /**
1494
- * IRefineOperation[]: Array to maintain the possible undo operations
1495
- */
1496
- this._undoStack = [];
1497
- this.active = false;
1498
- this.border = false;
1499
- this.graphics = undefined;
1500
- this.ids = [];
1501
- this.layerView = undefined;
1502
- this.layerViews = [];
1503
- this.mapView = undefined;
1504
- this.mode = undefined;
1505
- this.refineMode = undefined;
1506
- this.useLayerPicker = true;
1507
- this._selectEnabled = false;
1508
- this._selectionMode = undefined;
1509
- this._translations = undefined;
1510
- }
1511
- //--------------------------------------------------------------------------
1512
- //
1513
- // Watch handlers
1514
- //
1515
- //--------------------------------------------------------------------------
1516
- /**
1517
- * Called each time the ids prop is changed.
1518
- * Highlight the features based on the provided ids
1519
- */
1520
- idsWatchHandler(v, oldV) {
1521
- if (v && JSON.stringify(v) !== JSON.stringify(oldV)) {
1522
- void this._highlightFeatures(v);
1523
- }
1524
- }
1525
- //--------------------------------------------------------------------------
1526
- //
1527
- // Methods (public)
1528
- //
1529
- //--------------------------------------------------------------------------
1530
- /**
1531
- * Reset the ids collection
1532
- *
1533
- * @returns Promise when complete
1534
- */
1535
- async reset() {
1536
- this.ids = [];
1537
- }
1538
- /**
1539
- * Clear current highlight handle
1540
- *
1541
- * @returns Promise when complete
1542
- */
1543
- async clearHighlight() {
1544
- this._clearHighlight();
1545
- }
1546
- //--------------------------------------------------------------------------
1547
- //
1548
- // Functions (lifecycle)
1549
- //
1550
- //--------------------------------------------------------------------------
1551
- /**
1552
- * StencilJS: Called once just after the component is first connected to the DOM.
1553
- */
1554
- async componentWillLoad() {
1555
- await this._getTranslations();
1556
- await this._initModules();
1557
- }
1558
- /**
1559
- * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
1560
- */
1561
- componentDidLoad() {
1562
- this._init();
1563
- }
1564
- /**
1565
- * StencilJS: Called every time the component is disconnected from the DOM, ie,
1566
- * it can be dispatched more than once, DO not confuse with a "onDestroy" kind of event.
1567
- */
1568
- disconnectedCallback() {
1569
- this.active = false;
1570
- }
1571
- /**
1572
- * Called every time the component is connected to the DOM.
1573
- * When the component is first connected, this method is called before componentWillLoad.
1574
- */
1575
- connectedCallback() {
1576
- this.active = true;
1577
- if (this.ids.length > 0) {
1578
- this._selectEnabled = true;
1579
- void this._highlightFeatures(this.ids);
1580
- }
1581
- }
1582
- /**
1583
- * Renders the component.
1584
- */
1585
- render() {
1586
- const showLayerPickerClass = this.useLayerPicker ? "div-visible" : "div-not-visible";
1587
- const drawClass = this.border ? " border" : "";
1588
- return (h(Host, null, h("div", null, h("div", { class: "main-label " + showLayerPickerClass }, h("calcite-label", null, this._translations.selectLayers)), h("map-layer-picker", { class: showLayerPickerClass, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayers: this.layerViews.map(l => l.layer.title), selectionMode: "single" }), h("div", { class: "margin-top-1" + drawClass }, h("div", { class: "esri-sketch esri-widget" }, h("div", { class: "esri-sketch__panel" }, h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(ESelectionType.POINT), scale: "s", text: this._translations.select })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
1589
- }
1590
- //--------------------------------------------------------------------------
1591
- //
1592
- // Functions (protected)
1593
- //
1594
- //--------------------------------------------------------------------------
1595
- /**
1596
- * Load esri javascript api modules
1597
- *
1598
- * @returns Promise resolving when function is done
1599
- *
1600
- * @protected
1601
- */
1602
- async _initModules() {
1603
- const [GraphicsLayer, SketchViewModel] = await loadModules([
1604
- "esri/layers/GraphicsLayer",
1605
- "esri/widgets/Sketch/SketchViewModel"
1606
- ]);
1607
- this.GraphicsLayer = GraphicsLayer;
1608
- this.SketchViewModel = SketchViewModel;
1609
- }
1610
- /**
1611
- * Initialize the graphics layer and skecth view model
1612
- *
1613
- * @returns Promise when the operation has completed
1614
- * @protected
1615
- */
1616
- _init() {
1617
- this._initGraphicsLayer();
1618
- this._initSketchViewModel();
1619
- }
1620
- /**
1621
- * Initialize the skecth view model
1622
- *
1623
- * @returns Promise when the operation has completed
1624
- * @protected
1625
- */
1626
- _initSketchViewModel() {
1627
- this._sketchViewModel = new this.SketchViewModel({
1628
- layer: this._sketchGraphicsLayer,
1629
- defaultUpdateOptions: {
1630
- tool: "reshape",
1631
- toggleToolOnClick: false
1632
- },
1633
- view: this.mapView
1634
- });
1635
- this._sketchViewModel.on("create", (event) => {
1636
- if (event.state === "complete" && this.active) {
1637
- this._featuresCollection = {};
1638
- this._sketchGeometry = event.graphic.geometry;
1639
- void this._selectFeatures(this._sketchGeometry);
1640
- }
1641
- });
1642
- }
1643
- /**
1644
- * Clear any skecth graphics
1645
- *
1646
- * @returns Promise when the operation has completed
1647
- * @protected
1648
- */
1649
- _clear() {
1650
- this._sketchGeometry = null;
1651
- this._sketchViewModel.cancel();
1652
- this._sketchGraphicsLayer.removeAll();
1653
- }
1654
- /**
1655
- * Initialize the graphics layer
1656
- *
1657
- * @returns Promise when the operation has completed
1658
- * @protected
1659
- */
1660
- _initGraphicsLayer() {
1661
- const title = this._translations.sketchLayer;
1662
- const sketchIndex = this.mapView.map.layers.findIndex((l) => l.title === title);
1663
- if (sketchIndex > -1) {
1664
- this._sketchGraphicsLayer = this.mapView.map.layers.getItemAt(sketchIndex);
1665
- }
1666
- else {
1667
- this._sketchGraphicsLayer = new this.GraphicsLayer({ title });
1668
- state.managedLayers.push(title);
1669
- this.mapView.map.layers.add(this._sketchGraphicsLayer);
1670
- }
1671
- if (this.graphics && this.graphics.length > 0) {
1672
- this._sketchGraphicsLayer.addMany(this.graphics);
1673
- }
1674
- }
1675
- /**
1676
- * Clear selection based on map click
1677
- *
1678
- * @protected
1679
- */
1680
- _initHitTest() {
1681
- if (this._hitTestHandle) {
1682
- this._hitTestHandle.remove();
1683
- }
1684
- this._hitTestHandle = this.mapView.on("click", (event) => {
1685
- event.stopPropagation();
1686
- const opts = {
1687
- include: this.layerViews.map(lv => lv.layer)
1688
- };
1689
- void this.mapView.hitTest(event, opts).then((response) => {
1690
- let graphics = [];
1691
- if (response.results.length > 0) {
1692
- graphics = response.results.reduce((prev, cur) => {
1693
- const g = cur === null || cur === void 0 ? void 0 : cur.graphic;
1694
- if (g) {
1695
- prev.push(g);
1696
- }
1697
- return prev;
1698
- }, []);
1699
- }
1700
- this.refineSelectionGraphicsChange.emit(graphics);
1701
- this._clear();
1702
- });
1703
- });
1704
- }
1705
- /**
1706
- * Gets the layer views from the map when the layer selection changes
1707
- *
1708
- * @returns Promise resolving when function is done
1709
- *
1710
- * @protected
1711
- */
1712
- async _layerSelectionChange(evt) {
1713
- if (Array.isArray(evt.detail) && evt.detail.length > 0) {
1714
- this._selectEnabled = true;
1715
- const layerPromises = evt.detail.map(title => {
1716
- return getMapLayerView(this.mapView, title);
1717
- });
1718
- return Promise.all(layerPromises).then((layerViews) => {
1719
- this.layerViews = layerViews;
1720
- });
1721
- }
1722
- else {
1723
- this._selectEnabled = false;
1724
- }
1725
- }
1726
- /**
1727
- * Store the current selection mode
1728
- *
1729
- * @protected
1730
- */
1731
- _setSelectionMode(mode) {
1732
- this._selectionMode = mode;
1733
- if (this._hitTestHandle) {
1734
- this._hitTestHandle.remove();
1735
- }
1736
- switch (this._selectionMode) {
1737
- case ESelectionType.POINT:
1738
- this._sketchViewModel.create("point");
1739
- //this._initHitTest();
1740
- break;
1741
- case ESelectionType.LINE:
1742
- this._sketchViewModel.create("polyline");
1743
- break;
1744
- case ESelectionType.POLY:
1745
- this._sketchViewModel.create("polygon");
1746
- break;
1747
- case ESelectionType.RECT:
1748
- this._sketchViewModel.create("rectangle");
1749
- break;
1750
- }
1751
- }
1752
- /**
1753
- * Select features based on the input geometry
1754
- *
1755
- * @param geom the geometry used for selection
1756
- *
1757
- * @returns Promise resolving when function is done
1758
- *
1759
- * @protected
1760
- */
1761
- async _selectFeatures(geom) {
1762
- const queryFeaturePromises = this.layerViews.map(layerView => {
1763
- this._featuresCollection[layerView.layer.title] = [];
1764
- return queryFeaturesByGeometry(0, layerView.layer, geom, this._featuresCollection);
1765
- });
1766
- return Promise.all(queryFeaturePromises).then(async (response) => {
1767
- let graphics = [];
1768
- response.forEach(r => {
1769
- Object.keys(r).forEach(k => {
1770
- graphics = graphics.concat(r[k]);
1771
- });
1772
- });
1773
- if (this.refineMode === ERefineMode.SUBSET) {
1774
- this.refineSelectionGraphicsChange.emit(graphics);
1775
- }
1776
- else {
1777
- const oids = Array.isArray(graphics) ? graphics.map(g => { var _a; return g.attributes[(_a = g === null || g === void 0 ? void 0 : g.layer) === null || _a === void 0 ? void 0 : _a.objectIdField]; }) : [];
1778
- await this._updateIds(oids, this.mode, this._undoStack, this.mode);
1779
- }
1780
- this._clear();
1781
- });
1782
- }
1783
- /**
1784
- * Highlight any selected features in the map
1785
- *
1786
- * @returns Promise resolving when function is done
1787
- * @protected
1788
- */
1789
- async _highlightFeatures(ids, updateExtent = false) {
1790
- this._clearHighlight();
1791
- if (ids.length > 0) {
1792
- state.highlightHandle = await highlightFeatures(ids, this.layerViews[0], this.mapView, updateExtent);
1793
- }
1794
- }
1795
- /**
1796
- * Clear any highlighted features in the map
1797
- *
1798
- * @protected
1799
- */
1800
- _clearHighlight() {
1801
- var _a;
1802
- (_a = state.highlightHandle) === null || _a === void 0 ? void 0 : _a.remove();
1803
- }
1804
- /**
1805
- * Update the ids for any ADD or REMOVE operation and highlight the features.
1806
- *
1807
- * @param oids the ids to add or remove
1808
- * @param mode ADD or REMOVE this will control if the ids are added or removed
1809
- * @param operationStack the undo or redo stack to push the operation to
1810
- * @param operationMode ADD or REMOVE the mode of the individual refine operation
1811
- *
1812
- * @returns Promise resolving when function is done
1813
- *
1814
- * @protected
1815
- */
1816
- async _updateIds(oids, mode, operationStack, operationMode) {
1817
- const idUpdates = { addIds: [], removeIds: [] };
1818
- if (mode === ESelectionMode.ADD) {
1819
- idUpdates.addIds = oids.filter(id => this.ids.indexOf(id) < 0);
1820
- this.ids = [...this.ids, ...idUpdates.addIds];
1821
- operationStack.push({ mode: operationMode, ids: idUpdates.addIds });
1822
- }
1823
- else {
1824
- idUpdates.removeIds = oids.filter(id => this.ids.indexOf(id) > -1);
1825
- this.ids = this.ids.filter(id => idUpdates.removeIds.indexOf(id) < 0);
1826
- operationStack.push({ mode: operationMode, ids: idUpdates.removeIds });
1827
- }
1828
- await this._highlightFeatures(this.ids).then(() => {
1829
- this.refineSelectionIdsChange.emit(idUpdates);
1830
- });
1831
- }
1832
- /**
1833
- * Undo the most current ADD or REMOVE operation
1834
- *
1835
- * @returns Promise resolving when function is done
1836
- *
1837
- * @protected
1838
- */
1839
- async _undo() {
1840
- const undoOp = this._undoStack.pop();
1841
- return this._updateIds(undoOp.ids, undoOp.mode === ESelectionMode.ADD ? ESelectionMode.REMOVE : ESelectionMode.ADD, this._redoStack, undoOp.mode);
1842
- }
1843
- /**
1844
- * Redo the most current ADD or REMOVE operation
1845
- *
1846
- * @returns Promise resolving when function is done
1847
- *
1848
- * @protected
1849
- */
1850
- async _redo() {
1851
- const redoOp = this._redoStack.pop();
1852
- return this._updateIds(redoOp.ids, redoOp.mode, this._undoStack, redoOp.mode);
1853
- }
1854
- /**
1855
- * Fetches the component's translations
1856
- *
1857
- * @protected
1858
- */
1859
- async _getTranslations() {
1860
- const translations = await getLocaleComponentStrings(this.el);
1861
- this._translations = translations[0];
1862
- }
1863
- get el() { return getElement(this); }
1864
- static get watchers() { return {
1865
- "ids": ["idsWatchHandler"]
1866
- }; }
1867
- };
1868
- RefineSelectionTools.style = refineSelectionToolsCss;
1869
-
1870
- export { BufferTools as buffer_tools, RadioGroup as calcite_radio_group, RadioGroupItem as calcite_radio_group_item, Slider as calcite_slider, MapDrawTools as map_draw_tools, RefineSelectionTools as refine_selection_tools };
1871
-
1872
- //# sourceMappingURL=p-77e6b03c.entry.js.map