@esri/solutions-components 0.6.2 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1234) hide show
  1. package/dist/assets/t9n/card-manager/resources.json +2 -1
  2. package/dist/assets/t9n/card-manager/resources_en.json +2 -1
  3. package/dist/assets/t9n/comment-card/resources.json +2 -1
  4. package/dist/assets/t9n/comment-card/resources_en.json +2 -1
  5. package/dist/assets/t9n/crowdsource-manager/resources.json +2 -1
  6. package/dist/assets/t9n/crowdsource-manager/resources_en.json +2 -1
  7. package/dist/assets/t9n/edit-card/resources.json +3 -0
  8. package/dist/assets/t9n/edit-card/resources_en.json +3 -0
  9. package/dist/assets/t9n/info-card/resources.json +6 -0
  10. package/dist/assets/t9n/info-card/resources_en.json +6 -0
  11. package/dist/assets/t9n/layer-table/resources.json +10 -1
  12. package/dist/assets/t9n/layer-table/resources_en.json +10 -1
  13. package/dist/assets/t9n/map-card/resources.json +1 -7
  14. package/dist/assets/t9n/map-card/resources_en.json +1 -7
  15. package/dist/assets/t9n/map-tools/resources.json +9 -0
  16. package/dist/assets/t9n/map-tools/resources_en.json +9 -0
  17. package/dist/assets/t9n/media-card/resources.json +2 -1
  18. package/dist/assets/t9n/media-card/resources_en.json +2 -1
  19. package/dist/cjs/ExpandToggle-df2e8eee.js +117 -0
  20. package/dist/cjs/FloatingArrow-d1fa2c13.js +48 -0
  21. package/dist/cjs/Heading-9abe4b02.js +25 -0
  22. package/dist/cjs/app-globals-953584e9.js +64 -0
  23. package/dist/cjs/ar-88fbb2bf.js +98 -0
  24. package/dist/cjs/array-38a9541f.js +17 -0
  25. package/dist/cjs/bg-53305961.js +79 -0
  26. package/dist/cjs/browser-e514d838.js +24 -0
  27. package/dist/cjs/bs-8fb0c8a8.js +48 -0
  28. package/dist/cjs/buffer-tools_4.cjs.entry.js +18 -15
  29. package/dist/cjs/ca-33170ec7.js +68 -0
  30. package/dist/cjs/calcite-accordion-item.cjs.entry.js +10 -7
  31. package/dist/cjs/calcite-action-bar_2.cjs.entry.js +655 -0
  32. package/dist/cjs/calcite-action-group_2.cjs.entry.js +384 -0
  33. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
  34. package/dist/cjs/calcite-action_2.cjs.entry.js +407 -69
  35. package/dist/cjs/calcite-alert.cjs.entry.js +23 -12
  36. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  37. package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-block.cjs.entry.js +170 -0
  39. package/dist/cjs/calcite-button.cjs.entry.js +15 -12
  40. package/dist/cjs/calcite-card.cjs.entry.js +9 -9
  41. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -8
  42. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -6
  43. package/dist/cjs/calcite-chip.cjs.entry.js +14 -11
  44. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  45. package/dist/cjs/calcite-color-picker.cjs.entry.js +15 -12
  46. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
  47. package/dist/cjs/calcite-combobox_6.cjs.entry.js +1890 -0
  48. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -10
  49. package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
  50. package/dist/cjs/calcite-fab.cjs.entry.js +13 -6
  51. package/dist/cjs/calcite-filter_3.cjs.entry.js +778 -0
  52. package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -11
  53. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  54. package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
  55. package/dist/cjs/calcite-handle.cjs.entry.js +136 -0
  56. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  57. package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -11
  58. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -19
  59. package/dist/cjs/calcite-input-number.cjs.entry.js +16 -13
  60. package/dist/cjs/calcite-input-text_4.cjs.entry.js +1852 -0
  61. package/dist/cjs/calcite-input-time-picker-a27cc51a.js +1624 -0
  62. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +15 -14
  63. package/dist/cjs/calcite-input_2.cjs.entry.js +16 -13
  64. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  65. package/dist/cjs/calcite-link.cjs.entry.js +12 -5
  66. package/dist/cjs/calcite-list-item-group.cjs.entry.js +8 -3
  67. package/dist/cjs/calcite-loader.cjs.entry.js +80 -0
  68. package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
  69. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  70. package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  72. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
  74. package/dist/cjs/calcite-notice.cjs.entry.js +139 -0
  75. package/dist/cjs/calcite-option_2.cjs.entry.js +12 -9
  76. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  77. package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -14
  78. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  79. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -12
  80. package/dist/cjs/calcite-pick-list.cjs.entry.js +146 -0
  81. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +35 -6
  82. package/dist/cjs/calcite-radio-button.cjs.entry.js +56 -26
  83. package/dist/cjs/calcite-rating.cjs.entry.js +15 -12
  84. package/dist/cjs/calcite-scrim.cjs.entry.js +44 -9
  85. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +258 -0
  86. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  87. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +32 -25
  88. package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -7
  89. package/dist/cjs/calcite-split-button.cjs.entry.js +122 -0
  90. package/dist/cjs/calcite-stack.cjs.entry.js +4 -4
  91. package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -8
  92. package/dist/cjs/calcite-stepper.cjs.entry.js +3 -3
  93. package/dist/cjs/calcite-switch.cjs.entry.js +11 -8
  94. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -12
  95. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +8 -1
  96. package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -4
  97. package/dist/cjs/calcite-tile.cjs.entry.js +10 -7
  98. package/dist/cjs/calcite-time-picker.cjs.entry.js +10 -10
  99. package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
  101. package/dist/cjs/calcite-tree_3.cjs.entry.js +15 -48
  102. package/dist/cjs/card-manager_3.cjs.entry.js +665 -0
  103. package/dist/cjs/conditionalSlot-981d22ef.js +63 -0
  104. package/dist/cjs/crowdsource-manager.cjs.entry.js +22 -10
  105. package/dist/cjs/cs-00bf51dd.js +144 -0
  106. package/dist/cjs/da-b4fe1bf6.js +63 -0
  107. package/dist/cjs/date-c378755c.js +250 -0
  108. package/dist/cjs/de-9df08c96.js +88 -0
  109. package/dist/cjs/de-at-dac7c3a1.js +87 -0
  110. package/dist/cjs/de-ch-2e005f38.js +87 -0
  111. package/dist/cjs/deduct-calculator.cjs.entry.js +3 -3
  112. package/dist/cjs/dom-af578b3b.js +954 -0
  113. package/dist/cjs/downloadUtils-4aadf4b0.js +2730 -0
  114. package/dist/cjs/edit-card_2.cjs.entry.js +344 -0
  115. package/dist/cjs/el-bea67f78.js +63 -0
  116. package/dist/cjs/en-au-1d459a65.js +63 -0
  117. package/dist/cjs/en-ca-edc65793.js +62 -0
  118. package/dist/cjs/en-gb-6346d6a4.js +66 -0
  119. package/dist/cjs/es-aa822160.js +63 -0
  120. package/dist/cjs/es-mx-64988455.js +62 -0
  121. package/dist/cjs/et-e5a47682.js +89 -0
  122. package/dist/cjs/fi-92ac3b85.js +112 -0
  123. package/dist/cjs/filter-56d64d02.js +765 -0
  124. package/dist/cjs/floating-ui-b2a26a9a.js +1874 -0
  125. package/dist/cjs/focusTrapComponent-65d39be9.js +851 -0
  126. package/dist/cjs/form-f62ca3df.js +288 -0
  127. package/dist/cjs/fr-1c9ab5db.js +65 -0
  128. package/dist/cjs/fr-ch-67ccddcd.js +63 -0
  129. package/dist/cjs/guid-100bd1be.js +26 -0
  130. package/dist/cjs/he-2306f19e.js +102 -0
  131. package/dist/cjs/hi-18b2364f.js +62 -0
  132. package/dist/cjs/hr-f47dfd73.js +77 -0
  133. package/dist/cjs/hu-9533083e.js +85 -0
  134. package/dist/cjs/id-b98eb252.js +63 -0
  135. package/dist/cjs/index.es-17db3b89.js +10808 -0
  136. package/dist/cjs/interactive-e8f05d26.js +147 -0
  137. package/dist/cjs/interfaces-ad03ec39.js +85 -0
  138. package/dist/cjs/it-43222f60.js +63 -0
  139. package/dist/cjs/it-ch-f9eb4007.js +63 -0
  140. package/dist/cjs/ja-8c6ec082.js +69 -0
  141. package/dist/cjs/key-2522c20b.js +19 -0
  142. package/dist/cjs/ko-d2889748.js +69 -0
  143. package/dist/cjs/label-71d4d3b5.js +136 -0
  144. package/dist/cjs/loadable-6571b6b9.js +69 -0
  145. package/dist/cjs/loader.cjs.js +3 -3
  146. package/dist/cjs/locale-83870af6.js +570 -0
  147. package/dist/cjs/lt-1ebac21f.js +94 -0
  148. package/dist/cjs/lv-cb236d46.js +63 -0
  149. package/dist/cjs/map-tools.cjs.entry.js +111 -0
  150. package/dist/cjs/mapViewUtils-77a1ff88.js +411 -0
  151. package/dist/cjs/math-0eb2ec5c.js +28 -0
  152. package/dist/cjs/mk-00e34bda.js +63 -0
  153. package/dist/cjs/nb-6e0d9b4c.js +64 -0
  154. package/dist/cjs/nl-bb4f7d59.js +64 -0
  155. package/dist/cjs/observers-5c9538b2.js +53 -0
  156. package/dist/cjs/openCloseComponent-0b7ace48.js +100 -0
  157. package/dist/cjs/pl-2cf4efab.js +111 -0
  158. package/dist/cjs/pt-4c4a3aa2.js +64 -0
  159. package/dist/cjs/pt-br-6abb7f76.js +62 -0
  160. package/dist/cjs/public-notification.cjs.entry.js +19 -6
  161. package/dist/cjs/publicNotificationStore-ec1bdd2d.js +51 -0
  162. package/dist/cjs/resources-11930a56.js +22 -0
  163. package/dist/cjs/resources-31971fd8.js +39 -0
  164. package/dist/cjs/resources-3910592f.js +20 -0
  165. package/dist/cjs/resources-3a47be9f.js +32 -0
  166. package/dist/cjs/resources-6c4c932c.js +2057 -0
  167. package/dist/cjs/resources-c751bdd1.js +50 -0
  168. package/dist/cjs/resources-d4061075.js +27 -0
  169. package/dist/cjs/resources-d8a4240f.js +23 -0
  170. package/dist/cjs/resources-e4e8d49f.js +27 -0
  171. package/dist/cjs/ro-c257efaf.js +63 -0
  172. package/dist/cjs/ru-e31a6ee1.js +123 -0
  173. package/dist/cjs/shared-list-render-d4e4e7b1.js +364 -0
  174. package/dist/cjs/sk-4d6d340c.js +145 -0
  175. package/dist/cjs/sl-01804d73.js +63 -0
  176. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  177. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  178. package/dist/cjs/solution-store-bd956f06.js +4100 -0
  179. package/dist/cjs/solutions-components.cjs.js +3 -3
  180. package/dist/cjs/sortableComponent-76967993.js +3087 -0
  181. package/dist/cjs/sr-76730aad.js +98 -0
  182. package/dist/cjs/sv-c1e40108.js +68 -0
  183. package/dist/cjs/t9n-f82f4304.js +100 -0
  184. package/dist/cjs/th-758abef8.js +62 -0
  185. package/dist/cjs/time-a1d60db6.js +208 -0
  186. package/dist/cjs/tr-36efd084.js +63 -0
  187. package/dist/cjs/uk-f5a49848.js +101 -0
  188. package/dist/cjs/utils-300573e5.js +64 -0
  189. package/dist/cjs/utils-369d7746.js +218 -0
  190. package/dist/cjs/utils-46e2a6ec.js +55 -0
  191. package/dist/cjs/utils-cedf26ae.js +87 -0
  192. package/dist/cjs/vi-f87def37.js +67 -0
  193. package/dist/cjs/zh-cn-6d3c38fc.js +91 -0
  194. package/dist/cjs/zh-hk-1bd0e62f.js +68 -0
  195. package/dist/cjs/zh-tw-40912bdf.js +89 -0
  196. package/dist/collection/collection-manifest.json +2 -5
  197. package/dist/collection/components/card-manager/card-manager.css +26 -9
  198. package/dist/collection/components/card-manager/card-manager.js +96 -29
  199. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +41 -9
  200. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +22 -10
  201. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  202. package/dist/collection/components/deduct-calculator/deduct-calculator.js +5 -5
  203. package/dist/collection/components/edit-card/edit-card.css +54 -0
  204. package/dist/collection/components/edit-card/edit-card.js +300 -0
  205. package/dist/collection/components/info-card/info-card.css +21 -0
  206. package/dist/collection/components/info-card/info-card.js +198 -36
  207. package/dist/collection/components/layer-table/layer-table.css +19 -2
  208. package/dist/collection/components/layer-table/layer-table.js +239 -85
  209. package/dist/collection/components/map-card/map-card.css +8 -2
  210. package/dist/collection/components/map-card/map-card.js +24 -93
  211. package/dist/collection/components/map-layer-picker/map-layer-picker.css +9 -0
  212. package/dist/collection/components/map-layer-picker/map-layer-picker.js +210 -54
  213. package/dist/collection/components/map-select-tools/map-select-tools.js +6 -7
  214. package/dist/collection/components/map-tools/map-tools.css +31 -0
  215. package/dist/collection/components/map-tools/map-tools.js +196 -0
  216. package/dist/collection/components/pdf-download/pdf-download.js +19 -1
  217. package/dist/collection/components/public-notification/public-notification.js +51 -3
  218. package/dist/collection/components/refine-selection/refine-selection.js +4 -4
  219. package/dist/collection/demos/buffer-tools.html +2 -2
  220. package/dist/collection/demos/card-manager.html +49 -3
  221. package/dist/collection/demos/crowdsource-manager.html +34 -9
  222. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  223. package/dist/collection/demos/demo-map.html +2 -2
  224. package/dist/collection/demos/edit-card.html +34 -0
  225. package/dist/collection/demos/index.html +1 -1
  226. package/dist/collection/demos/layer-table.html +2 -2
  227. package/dist/collection/demos/list-item.html +2 -2
  228. package/dist/collection/demos/map-card.html +2 -2
  229. package/dist/collection/demos/map-draw-tools.html +2 -2
  230. package/dist/collection/demos/map-layer-picker.html +2 -2
  231. package/dist/collection/demos/map-select-tools.html +2 -2
  232. package/dist/collection/utils/downloadUtils.js +3 -2
  233. package/dist/collection/utils/downloadUtils.ts +2 -2
  234. package/dist/collection/utils/interfaces.js +5 -0
  235. package/dist/collection/utils/interfaces.ts +24 -11
  236. package/dist/collection/utils/mapViewUtils.js +44 -5
  237. package/dist/collection/utils/mapViewUtils.ts +52 -7
  238. package/dist/collection/utils/publicNotificationStore.js +5 -1
  239. package/dist/collection/utils/publicNotificationStore.ts +5 -1
  240. package/dist/collection/utils/queryUtils.js +39 -2
  241. package/dist/collection/utils/queryUtils.ts +48 -3
  242. package/dist/components/ExpandToggle.js +5 -7
  243. package/dist/components/FloatingArrow.js +1 -1
  244. package/dist/components/Heading.js +1 -1
  245. package/dist/components/action-bar.js +19 -19
  246. package/dist/components/action-group.js +1 -1
  247. package/dist/components/action-menu.js +2 -2
  248. package/dist/components/action.js +4 -2
  249. package/dist/components/alert.js +328 -0
  250. package/dist/components/array.js +1 -1
  251. package/dist/components/avatar.js +2 -2
  252. package/dist/components/browser.js +21 -0
  253. package/dist/components/button.js +4 -2
  254. package/dist/components/calcite-accordion-item.js +6 -3
  255. package/dist/components/calcite-action-pad.js +3 -3
  256. package/dist/components/calcite-alert.js +1 -310
  257. package/dist/components/calcite-block-section.js +1 -1
  258. package/dist/components/calcite-block.js +227 -1
  259. package/dist/components/calcite-card.js +1 -1
  260. package/dist/components/calcite-chip-group.js +4 -2
  261. package/dist/components/calcite-color-picker.js +3 -1
  262. package/dist/components/calcite-combobox-item-group.js +1 -1
  263. package/dist/components/calcite-fab.js +9 -3
  264. package/dist/components/calcite-flow-item.js +4 -2
  265. package/dist/components/calcite-flow.js +1 -1
  266. package/dist/components/calcite-inline-editable.js +4 -2
  267. package/dist/components/calcite-input-date-picker.js +7 -4
  268. package/dist/components/calcite-input-time-picker.js +5 -3
  269. package/dist/components/calcite-list-item-group.js +6 -2
  270. package/dist/components/calcite-menu-item.js +2 -2
  271. package/dist/components/calcite-modal.js +408 -1
  272. package/dist/components/calcite-navigation-logo.js +1 -1
  273. package/dist/components/calcite-navigation-user.js +1 -1
  274. package/dist/components/calcite-navigation.js +2 -2
  275. package/dist/components/calcite-pagination.js +1 -1
  276. package/dist/components/calcite-pick-list.js +159 -1
  277. package/dist/components/calcite-radio-button-group.js +38 -7
  278. package/dist/components/calcite-radio-button.js +50 -21
  279. package/dist/components/calcite-rating.js +4 -2
  280. package/dist/components/calcite-shell-center-row.js +1 -1
  281. package/dist/components/calcite-sortable-list.js +5 -3
  282. package/dist/components/calcite-split-button.js +167 -1
  283. package/dist/components/calcite-stack.js +2 -2
  284. package/dist/components/calcite-stepper-item.js +3 -1
  285. package/dist/components/calcite-stepper.js +1 -1
  286. package/dist/components/calcite-text-area.js +5 -3
  287. package/dist/components/calcite-tile-select-group.js +7 -1
  288. package/dist/components/calcite-tile-select.js +4 -2
  289. package/dist/components/calcite-tip-manager.js +1 -1
  290. package/dist/components/calcite-tip.js +1 -1
  291. package/dist/components/card-manager.js +1 -133
  292. package/dist/components/card-manager2.js +177 -0
  293. package/dist/components/checkbox.js +3 -1
  294. package/dist/components/chip.js +5 -3
  295. package/dist/components/color-picker-hex-input.js +3 -3
  296. package/dist/components/color-picker-swatch.js +2 -2
  297. package/dist/components/combobox-item.js +4 -2
  298. package/dist/components/combobox.js +5 -3
  299. package/dist/components/conditionalSlot.js +1 -1
  300. package/dist/components/crowdsource-manager.js +93 -69
  301. package/dist/components/date-picker-day.js +8 -2
  302. package/dist/components/date-picker-month-header.js +2 -2
  303. package/dist/components/date-picker.js +2 -2
  304. package/dist/components/date.js +1 -1
  305. package/dist/components/deduct-calculator2.js +3 -3
  306. package/dist/components/dom.js +3 -3
  307. package/dist/components/downloadUtils.js +4 -3
  308. package/dist/components/dropdown-group.js +1 -1
  309. package/dist/components/dropdown-item.js +1 -1
  310. package/dist/components/dropdown.js +6 -4
  311. package/dist/components/edit-card.d.ts +11 -0
  312. package/dist/components/edit-card.js +11 -0
  313. package/dist/components/edit-card2.js +207 -0
  314. package/dist/components/filter.js +4 -2
  315. package/dist/components/filter2.js +1 -1
  316. package/dist/components/floating-ui.js +228 -179
  317. package/dist/components/focusTrapComponent.js +47 -5
  318. package/dist/components/form.js +2 -2
  319. package/dist/components/graph.js +1 -1
  320. package/dist/components/guid.js +1 -1
  321. package/dist/components/handle.js +1 -1
  322. package/dist/components/icon.js +2 -2
  323. package/dist/components/index.d.ts +2 -5
  324. package/dist/components/index.js +3 -6
  325. package/dist/components/info-card2.js +182 -28
  326. package/dist/components/input-message.js +2 -2
  327. package/dist/components/input-number.js +6 -4
  328. package/dist/components/input-text.js +5 -3
  329. package/dist/components/input.js +6 -4
  330. package/dist/components/interactive.js +80 -10
  331. package/dist/components/interfaces.js +6 -1
  332. package/dist/components/key.js +1 -1
  333. package/dist/components/label.js +1 -1
  334. package/dist/components/label2.js +2 -2
  335. package/dist/components/layer-table2.js +238 -127
  336. package/dist/components/link.js +8 -2
  337. package/dist/components/list-item2.js +7 -7
  338. package/dist/components/list.js +8 -8
  339. package/dist/components/loadable.js +1 -1
  340. package/dist/components/locale2.js +7 -4
  341. package/dist/components/map-card2.js +65 -92
  342. package/dist/components/map-draw-tools2.js +1 -1
  343. package/dist/components/map-layer-picker2.js +165 -247
  344. package/dist/components/map-select-tools2.js +40 -16
  345. package/dist/components/map-tools.d.ts +11 -0
  346. package/dist/components/map-tools.js +11 -0
  347. package/dist/components/map-tools2.js +176 -0
  348. package/dist/components/mapViewUtils.js +243 -0
  349. package/dist/components/math.js +1 -1
  350. package/dist/components/menu.js +2 -2
  351. package/dist/components/notice.js +2 -2
  352. package/dist/components/observers.js +1 -1
  353. package/dist/components/openCloseComponent.js +1 -1
  354. package/dist/components/panel.js +5 -3
  355. package/dist/components/pdf-download2.js +3 -1
  356. package/dist/components/pick-list-item.js +4 -2
  357. package/dist/components/popover.js +3 -3
  358. package/dist/components/public-notification.js +57 -23
  359. package/dist/components/publicNotificationStore.js +5 -1
  360. package/dist/components/queryUtils.js +11 -17
  361. package/dist/components/refine-selection2.js +37 -12
  362. package/dist/components/resources.js +1 -1
  363. package/dist/components/resources2.js +1 -1
  364. package/dist/components/resources3.js +1 -1
  365. package/dist/components/scrim.js +39 -2
  366. package/dist/components/segmented-control-item.js +1 -1
  367. package/dist/components/segmented-control.js +3 -1
  368. package/dist/components/select.js +5 -3
  369. package/dist/components/shared-list-render.js +3 -3
  370. package/dist/components/shell-panel.js +1 -1
  371. package/dist/components/shell.js +2 -2
  372. package/dist/components/slider.js +4 -2
  373. package/dist/components/sortableComponent.js +1 -1
  374. package/dist/components/switch.js +4 -2
  375. package/dist/components/t9n.js +1 -1
  376. package/dist/components/tab-nav.js +1 -1
  377. package/dist/components/tab-title.js +4 -2
  378. package/dist/components/tabs.js +1 -1
  379. package/dist/components/tile.js +4 -2
  380. package/dist/components/time-picker.js +2 -2
  381. package/dist/components/tooltip.js +45 -28
  382. package/dist/components/tree-item.js +9 -43
  383. package/dist/components/tree.js +2 -2
  384. package/dist/components/utils.js +1 -1
  385. package/dist/components/utils2.js +3 -3
  386. package/dist/components/utils3.js +2 -2
  387. package/dist/components/value-list-item.js +4 -2
  388. package/dist/components/value-list.js +6 -4
  389. package/dist/esm/ExpandToggle-4683a6dc.js +109 -0
  390. package/dist/esm/FloatingArrow-fa0da351.js +46 -0
  391. package/dist/esm/Heading-14bfe249.js +22 -0
  392. package/dist/esm/app-globals-b5877644.js +62 -0
  393. package/dist/esm/ar-8e6281b5.js +96 -0
  394. package/dist/esm/array-e32fb269.js +15 -0
  395. package/dist/esm/bg-89c46a11.js +77 -0
  396. package/dist/esm/browser-f8ca09b7.js +21 -0
  397. package/dist/esm/bs-567a72ac.js +46 -0
  398. package/dist/esm/buffer-tools_4.entry.js +18 -15
  399. package/dist/esm/ca-0d08cce0.js +66 -0
  400. package/dist/esm/calcite-accordion-item.entry.js +10 -7
  401. package/dist/esm/calcite-action-bar_2.entry.js +650 -0
  402. package/dist/esm/calcite-action-group_2.entry.js +379 -0
  403. package/dist/esm/calcite-action-pad.entry.js +15 -15
  404. package/dist/esm/calcite-action_2.entry.js +408 -70
  405. package/dist/esm/calcite-alert.entry.js +23 -12
  406. package/dist/esm/calcite-avatar.entry.js +5 -5
  407. package/dist/esm/calcite-block-section.entry.js +8 -8
  408. package/dist/esm/calcite-block.entry.js +166 -0
  409. package/dist/esm/calcite-button.entry.js +15 -12
  410. package/dist/esm/calcite-card.entry.js +9 -9
  411. package/dist/esm/calcite-checkbox.entry.js +11 -8
  412. package/dist/esm/calcite-chip-group.entry.js +9 -6
  413. package/dist/esm/calcite-chip.entry.js +14 -11
  414. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  415. package/dist/esm/calcite-color-picker.entry.js +15 -12
  416. package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
  417. package/dist/esm/calcite-combobox_6.entry.js +1881 -0
  418. package/dist/esm/calcite-date-picker-day_3.entry.js +17 -10
  419. package/dist/esm/calcite-date-picker.entry.js +11 -11
  420. package/dist/esm/calcite-fab.entry.js +13 -6
  421. package/dist/esm/calcite-filter_3.entry.js +772 -0
  422. package/dist/esm/calcite-flow-item.entry.js +14 -11
  423. package/dist/esm/calcite-flow.entry.js +2 -2
  424. package/dist/esm/calcite-graph.entry.js +3 -3
  425. package/dist/esm/calcite-handle.entry.js +132 -0
  426. package/dist/esm/calcite-icon.entry.js +6 -6
  427. package/dist/esm/calcite-inline-editable.entry.js +14 -11
  428. package/dist/esm/calcite-input-date-picker.entry.js +23 -19
  429. package/dist/esm/calcite-input-number.entry.js +16 -13
  430. package/dist/esm/calcite-input-text_4.entry.js +1845 -0
  431. package/dist/esm/calcite-input-time-picker-d5606a45.js +1621 -0
  432. package/dist/esm/calcite-input-time-picker.entry.js +15 -14
  433. package/dist/esm/calcite-input_2.entry.js +16 -13
  434. package/dist/esm/calcite-label.entry.js +5 -5
  435. package/dist/esm/calcite-link.entry.js +12 -5
  436. package/dist/esm/calcite-list-item-group.entry.js +8 -3
  437. package/dist/esm/calcite-loader.entry.js +76 -0
  438. package/dist/esm/calcite-menu-item.entry.js +10 -10
  439. package/dist/esm/calcite-menu.entry.js +9 -9
  440. package/dist/esm/calcite-modal.entry.js +14 -14
  441. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  442. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  443. package/dist/esm/calcite-navigation.entry.js +5 -5
  444. package/dist/esm/calcite-notice.entry.js +135 -0
  445. package/dist/esm/calcite-option_2.entry.js +12 -9
  446. package/dist/esm/calcite-pagination.entry.js +9 -9
  447. package/dist/esm/calcite-panel_2.entry.js +17 -14
  448. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  449. package/dist/esm/calcite-pick-list-item.entry.js +15 -12
  450. package/dist/esm/calcite-pick-list.entry.js +142 -0
  451. package/dist/esm/calcite-radio-button-group.entry.js +35 -6
  452. package/dist/esm/calcite-radio-button.entry.js +57 -27
  453. package/dist/esm/calcite-rating.entry.js +15 -12
  454. package/dist/esm/calcite-scrim.entry.js +44 -9
  455. package/dist/esm/calcite-segmented-control_2.entry.js +253 -0
  456. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  457. package/dist/esm/calcite-shell-panel_14.entry.js +32 -25
  458. package/dist/esm/calcite-sortable-list.entry.js +10 -7
  459. package/dist/esm/calcite-split-button.entry.js +118 -0
  460. package/dist/esm/calcite-stack.entry.js +4 -4
  461. package/dist/esm/calcite-stepper-item.entry.js +11 -8
  462. package/dist/esm/calcite-stepper.entry.js +3 -3
  463. package/dist/esm/calcite-switch.entry.js +11 -8
  464. package/dist/esm/calcite-text-area.entry.js +15 -12
  465. package/dist/esm/calcite-tile-select-group.entry.js +8 -1
  466. package/dist/esm/calcite-tile-select.entry.js +7 -4
  467. package/dist/esm/calcite-tile.entry.js +10 -7
  468. package/dist/esm/calcite-time-picker.entry.js +10 -10
  469. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  470. package/dist/esm/calcite-tip.entry.js +10 -10
  471. package/dist/esm/calcite-tree_3.entry.js +15 -48
  472. package/dist/esm/card-manager_3.entry.js +659 -0
  473. package/dist/esm/conditionalSlot-b651e48a.js +60 -0
  474. package/dist/esm/crowdsource-manager.entry.js +22 -10
  475. package/dist/esm/cs-4ea5bb28.js +142 -0
  476. package/dist/esm/da-8121b2c6.js +61 -0
  477. package/dist/esm/date-3f48db3f.js +235 -0
  478. package/dist/esm/de-4f0e6db4.js +86 -0
  479. package/dist/esm/de-at-6f914992.js +85 -0
  480. package/dist/esm/de-ch-ba51285a.js +85 -0
  481. package/dist/esm/deduct-calculator.entry.js +3 -3
  482. package/dist/esm/dom-03275741.js +927 -0
  483. package/dist/esm/downloadUtils-3b5f85d9.js +2724 -0
  484. package/dist/esm/edit-card_2.entry.js +339 -0
  485. package/dist/esm/el-2fb644ad.js +61 -0
  486. package/dist/esm/en-au-469a4963.js +61 -0
  487. package/dist/esm/en-ca-a110f04a.js +60 -0
  488. package/dist/esm/en-gb-04dd59df.js +64 -0
  489. package/dist/esm/es-901bbd11.js +61 -0
  490. package/dist/esm/es-mx-c3cff8d1.js +60 -0
  491. package/dist/esm/et-0ded5035.js +87 -0
  492. package/dist/esm/fi-767e7505.js +110 -0
  493. package/dist/esm/filter-4ba3be5f.js +763 -0
  494. package/dist/esm/floating-ui-1e70279f.js +1866 -0
  495. package/dist/esm/focusTrapComponent-eaa62505.js +846 -0
  496. package/dist/esm/form-8396f037.js +280 -0
  497. package/dist/esm/fr-ch-8c34f192.js +61 -0
  498. package/dist/esm/fr-e6bda0a2.js +63 -0
  499. package/dist/esm/guid-1fbbc894.js +24 -0
  500. package/dist/esm/he-00779397.js +100 -0
  501. package/dist/esm/hi-f3d5ecb7.js +60 -0
  502. package/dist/esm/hr-1d8c2cad.js +75 -0
  503. package/dist/esm/hu-4290c5fe.js +83 -0
  504. package/dist/esm/id-58d1a3cb.js +61 -0
  505. package/dist/esm/index.es-bb9196f6.js +10722 -0
  506. package/dist/esm/interactive-e5b2cca0.js +143 -0
  507. package/dist/esm/interfaces-bf20e69c.js +85 -0
  508. package/dist/esm/it-ch-74c5b6dd.js +61 -0
  509. package/dist/esm/it-ef33898d.js +61 -0
  510. package/dist/esm/ja-7f21d57b.js +67 -0
  511. package/dist/esm/key-d6bc268b.js +16 -0
  512. package/dist/esm/ko-0790a2d9.js +67 -0
  513. package/dist/esm/label-6db1573f.js +130 -0
  514. package/dist/esm/loadable-3cf62971.js +65 -0
  515. package/dist/esm/loader.js +3 -3
  516. package/dist/esm/locale-ead7fa24.js +558 -0
  517. package/dist/esm/lt-6e66fa4a.js +92 -0
  518. package/dist/esm/lv-0c39ca8e.js +61 -0
  519. package/dist/esm/map-tools.entry.js +107 -0
  520. package/dist/esm/mapViewUtils-55ea1e10.js +395 -0
  521. package/dist/esm/math-5e1080da.js +25 -0
  522. package/dist/esm/mk-0e1b5772.js +61 -0
  523. package/dist/esm/nb-8b0c8dcb.js +62 -0
  524. package/dist/esm/nl-89c00bbe.js +62 -0
  525. package/dist/esm/observers-76deadbc.js +51 -0
  526. package/dist/esm/openCloseComponent-7d3ca222.js +96 -0
  527. package/dist/esm/pl-2c7583e1.js +109 -0
  528. package/dist/esm/pt-br-0544aa11.js +60 -0
  529. package/dist/esm/pt-eb653341.js +62 -0
  530. package/dist/esm/public-notification.entry.js +19 -6
  531. package/dist/esm/publicNotificationStore-6ef555f3.js +49 -0
  532. package/dist/esm/resources-3600c05b.js +46 -0
  533. package/dist/esm/resources-4d6ec614.js +24 -0
  534. package/dist/esm/resources-684bbbfe.js +23 -0
  535. package/dist/esm/resources-85e89a13.js +19 -0
  536. package/dist/esm/resources-885142d2.js +2048 -0
  537. package/dist/esm/resources-a3b9b875.js +20 -0
  538. package/dist/esm/resources-e7e4115c.js +35 -0
  539. package/dist/esm/resources-ee3b03a3.js +28 -0
  540. package/dist/esm/resources-f5948e92.js +20 -0
  541. package/dist/esm/ro-f5c8d5e2.js +61 -0
  542. package/dist/esm/ru-7725d9a9.js +121 -0
  543. package/dist/esm/shared-list-render-19de1661.js +342 -0
  544. package/dist/esm/sk-606ae6cd.js +143 -0
  545. package/dist/esm/sl-8a06145d.js +61 -0
  546. package/dist/esm/solution-configuration.entry.js +2 -2
  547. package/dist/esm/solution-contents_3.entry.js +2 -2
  548. package/dist/esm/solution-store-c107ca4d.js +4092 -0
  549. package/dist/esm/solutions-components.js +3 -3
  550. package/dist/esm/sortableComponent-dab8ef70.js +3082 -0
  551. package/dist/esm/sr-7eff7ca4.js +96 -0
  552. package/dist/esm/sv-0ab2f707.js +66 -0
  553. package/dist/esm/t9n-ece1047e.js +95 -0
  554. package/dist/esm/th-29a9e340.js +60 -0
  555. package/dist/esm/time-7b08c631.js +195 -0
  556. package/dist/esm/tr-6748b764.js +61 -0
  557. package/dist/esm/uk-de4e1b64.js +99 -0
  558. package/dist/esm/utils-33f2d835.js +200 -0
  559. package/dist/esm/utils-43f27af6.js +61 -0
  560. package/dist/esm/utils-a29ac888.js +45 -0
  561. package/dist/esm/utils-d1d9ff93.js +79 -0
  562. package/dist/esm/vi-6830c744.js +65 -0
  563. package/dist/esm/zh-cn-ad4dc9be.js +89 -0
  564. package/dist/esm/zh-hk-81513d7a.js +66 -0
  565. package/dist/esm/zh-tw-4ff4db52.js +87 -0
  566. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
  567. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +11 -0
  568. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
  569. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +3 -2
  570. package/dist/solutions-components/assets/icon/circlePause16.json +1 -0
  571. package/dist/solutions-components/assets/icon/circlePause16F.json +1 -0
  572. package/dist/solutions-components/assets/icon/circlePause24.json +1 -0
  573. package/dist/solutions-components/assets/icon/circlePause24F.json +1 -0
  574. package/dist/solutions-components/assets/icon/circlePause32.json +1 -0
  575. package/dist/solutions-components/assets/icon/circlePause32F.json +1 -0
  576. package/dist/solutions-components/assets/icon/h3Hexagon16.json +1 -0
  577. package/dist/solutions-components/assets/icon/h3Hexagon24.json +1 -0
  578. package/dist/solutions-components/assets/icon/h3Hexagon32.json +1 -0
  579. package/dist/solutions-components/assets/icon/merge216.json +1 -0
  580. package/dist/solutions-components/assets/icon/merge224.json +1 -0
  581. package/dist/solutions-components/assets/icon/merge232.json +1 -0
  582. package/dist/solutions-components/assets/icon/recycleBin16.json +1 -0
  583. package/dist/solutions-components/assets/icon/recycleBin24.json +1 -0
  584. package/dist/solutions-components/assets/icon/recycleBin32.json +1 -0
  585. package/dist/solutions-components/assets/icon/transverseHexagon16.json +1 -0
  586. package/dist/solutions-components/assets/icon/transverseHexagon24.json +1 -0
  587. package/dist/solutions-components/assets/icon/transverseHexagon32.json +1 -0
  588. package/dist/solutions-components/assets/icon/unmerge16.json +1 -0
  589. package/dist/solutions-components/assets/icon/unmerge24.json +1 -0
  590. package/dist/solutions-components/assets/icon/unmerge32.json +1 -0
  591. package/dist/solutions-components/demos/buffer-tools.html +2 -2
  592. package/dist/solutions-components/demos/card-manager.html +49 -3
  593. package/dist/solutions-components/demos/crowdsource-manager.html +34 -9
  594. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  595. package/dist/solutions-components/demos/demo-map.html +2 -2
  596. package/dist/solutions-components/demos/edit-card.html +34 -0
  597. package/dist/solutions-components/demos/index.html +1 -1
  598. package/dist/solutions-components/demos/layer-table.html +2 -2
  599. package/dist/solutions-components/demos/list-item.html +2 -2
  600. package/dist/solutions-components/demos/map-card.html +2 -2
  601. package/dist/solutions-components/demos/map-draw-tools.html +2 -2
  602. package/dist/solutions-components/demos/map-layer-picker.html +2 -2
  603. package/dist/solutions-components/demos/map-select-tools.html +2 -2
  604. package/dist/solutions-components/p-0036e829.js +11 -0
  605. package/dist/solutions-components/p-004eb0a6.entry.js +6 -0
  606. package/dist/solutions-components/p-03179924.entry.js +6 -0
  607. package/dist/solutions-components/p-04c41e35.js +6 -0
  608. package/dist/solutions-components/p-058f02c9.js +6 -0
  609. package/dist/solutions-components/p-05f6859f.js +11 -0
  610. package/dist/solutions-components/p-0bb57140.js +16 -0
  611. package/dist/solutions-components/p-0d2c9050.js +6 -0
  612. package/dist/solutions-components/p-0e024d20.entry.js +11 -0
  613. package/dist/solutions-components/p-0ef9e367.entry.js +17 -0
  614. package/dist/solutions-components/p-0ff7b311.js +16 -0
  615. package/dist/solutions-components/p-1085b789.js +11 -0
  616. package/dist/solutions-components/p-10dd03be.js +6 -0
  617. package/dist/solutions-components/p-10e93b31.entry.js +11 -0
  618. package/dist/solutions-components/p-132843d2.entry.js +11 -0
  619. package/dist/solutions-components/p-13a8349e.js +6 -0
  620. package/dist/solutions-components/p-16146013.js +6 -0
  621. package/dist/solutions-components/p-161ac069.entry.js +6 -0
  622. package/dist/solutions-components/p-16643fca.entry.js +11 -0
  623. package/dist/solutions-components/p-1aca2237.js +17 -0
  624. package/dist/solutions-components/p-1b69c50d.entry.js +11 -0
  625. package/dist/solutions-components/p-1d81a92e.entry.js +11 -0
  626. package/dist/solutions-components/p-1f1bd18d.js +11 -0
  627. package/dist/solutions-components/p-214657d6.entry.js +6 -0
  628. package/dist/solutions-components/p-2284cd37.js +11 -0
  629. package/dist/solutions-components/p-22c4225f.entry.js +11 -0
  630. package/dist/solutions-components/p-2455a61f.entry.js +11 -0
  631. package/dist/solutions-components/p-293a0267.entry.js +11 -0
  632. package/dist/solutions-components/p-2c049a6d.entry.js +37 -0
  633. package/dist/solutions-components/p-2d651417.js +6 -0
  634. package/dist/solutions-components/p-2f632334.entry.js +11 -0
  635. package/dist/solutions-components/p-309d3096.js +6 -0
  636. package/dist/solutions-components/p-34737573.js +6 -0
  637. package/dist/solutions-components/p-35195436.entry.js +11 -0
  638. package/dist/solutions-components/p-37a78329.js +6 -0
  639. package/dist/solutions-components/p-386dbde1.js +6 -0
  640. package/dist/solutions-components/p-3b57fcc6.js +11 -0
  641. package/dist/solutions-components/p-40bdd836.js +11 -0
  642. package/dist/solutions-components/p-41f5a5fc.js +12 -0
  643. package/dist/solutions-components/p-438560cf.js +6 -0
  644. package/dist/solutions-components/p-474b00d7.entry.js +11 -0
  645. package/dist/solutions-components/p-4766a668.entry.js +6 -0
  646. package/dist/solutions-components/p-477ae127.js +21 -0
  647. package/dist/solutions-components/p-4989e987.js +6 -0
  648. package/dist/solutions-components/p-4aab2c0d.entry.js +6 -0
  649. package/dist/solutions-components/p-4af3f843.js +36 -0
  650. package/dist/solutions-components/p-4b738e52.entry.js +11 -0
  651. package/dist/solutions-components/p-4ea9094a.js +6 -0
  652. package/dist/solutions-components/p-5173b841.js +11 -0
  653. package/dist/solutions-components/p-5652bbda.js +6 -0
  654. package/dist/solutions-components/p-57fa8ff3.entry.js +6 -0
  655. package/dist/solutions-components/p-58448ac4.entry.js +11 -0
  656. package/dist/solutions-components/p-5a6f8f15.entry.js +17 -0
  657. package/dist/solutions-components/p-5bab0d9d.entry.js +11 -0
  658. package/dist/solutions-components/p-5ca01455.entry.js +11 -0
  659. package/dist/solutions-components/p-5f05045a.entry.js +6 -0
  660. package/dist/solutions-components/p-5fc99541.js +257 -0
  661. package/dist/solutions-components/p-6015e2ee.js +61 -0
  662. package/dist/solutions-components/p-60dba0cb.js +11 -0
  663. package/dist/solutions-components/p-610ff7ca.js +6 -0
  664. package/dist/solutions-components/p-612c38cc.js +6 -0
  665. package/dist/solutions-components/p-628f2a83.entry.js +11 -0
  666. package/dist/solutions-components/p-62a49383.js +6 -0
  667. package/dist/solutions-components/p-67d0ce8c.entry.js +11 -0
  668. package/dist/solutions-components/p-67d75135.js +6 -0
  669. package/dist/solutions-components/p-693bafa4.js +6 -0
  670. package/dist/solutions-components/p-6960ce47.js +6 -0
  671. package/dist/solutions-components/p-696de9a4.entry.js +6 -0
  672. package/dist/solutions-components/p-69cd4b76.entry.js +17 -0
  673. package/dist/solutions-components/p-6c1d694f.js +6 -0
  674. package/dist/solutions-components/p-743451a5.entry.js +6 -0
  675. package/dist/solutions-components/p-7479f322.entry.js +28 -0
  676. package/dist/solutions-components/p-75ed8af0.entry.js +12 -0
  677. package/dist/solutions-components/p-76716055.js +6 -0
  678. package/dist/solutions-components/p-77649e3a.js +11 -0
  679. package/dist/solutions-components/p-7764def7.js +11 -0
  680. package/dist/solutions-components/p-7a42ffab.js +11 -0
  681. package/dist/solutions-components/p-7ab9d4a8.js +11 -0
  682. package/dist/solutions-components/p-7cbe5354.js +6 -0
  683. package/dist/solutions-components/p-7f3c3a5d.entry.js +11 -0
  684. package/dist/solutions-components/p-7fd8e783.js +18 -0
  685. package/dist/solutions-components/p-800e94cb.entry.js +11 -0
  686. package/dist/solutions-components/p-81c695d6.entry.js +11 -0
  687. package/dist/solutions-components/p-8249c47b.js +11 -0
  688. package/dist/solutions-components/p-82922f3a.entry.js +37 -0
  689. package/dist/solutions-components/p-84d9dacf.entry.js +11 -0
  690. package/dist/solutions-components/p-87cc78f1.js +6 -0
  691. package/dist/solutions-components/p-892d0a1d.js +6 -0
  692. package/dist/solutions-components/p-8bf81a2e.js +11 -0
  693. package/dist/solutions-components/p-8e003792.js +6 -0
  694. package/dist/solutions-components/p-8e541da0.js +6 -0
  695. package/dist/solutions-components/p-944c2f33.entry.js +11 -0
  696. package/dist/solutions-components/p-9630e3b7.js +11 -0
  697. package/dist/solutions-components/p-96bd78ec.entry.js +11 -0
  698. package/dist/solutions-components/p-978b9ba3.entry.js +6 -0
  699. package/dist/solutions-components/p-9807924d.js +474 -0
  700. package/dist/solutions-components/p-99b55177.js +11 -0
  701. package/dist/solutions-components/p-9a19cfb6.js +6 -0
  702. package/dist/solutions-components/p-9ab03591.js +21 -0
  703. package/dist/solutions-components/p-9bc20eff.entry.js +6 -0
  704. package/dist/solutions-components/p-9c42e5ca.js +6 -0
  705. package/dist/solutions-components/p-9ed9ea6a.js +6 -0
  706. package/dist/solutions-components/p-9f214b82.entry.js +11 -0
  707. package/dist/solutions-components/p-a3b55d2b.js +6 -0
  708. package/dist/solutions-components/p-a56f965e.entry.js +6 -0
  709. package/dist/solutions-components/p-a5d44d7d.js +11 -0
  710. package/dist/solutions-components/p-a6730996.js +6 -0
  711. package/dist/solutions-components/p-a738e38f.js +11 -0
  712. package/dist/solutions-components/p-a74094e4.js +17 -0
  713. package/dist/solutions-components/p-a8253173.js +6 -0
  714. package/dist/solutions-components/p-a94f0d7b.entry.js +11 -0
  715. package/dist/solutions-components/p-a9dab418.entry.js +11 -0
  716. package/dist/solutions-components/p-ac36a101.js +6 -0
  717. package/dist/solutions-components/p-b018bd03.js +6 -0
  718. package/dist/solutions-components/p-b39e12ab.js +6 -0
  719. package/dist/solutions-components/p-b4c65a27.entry.js +6 -0
  720. package/dist/solutions-components/p-b64401a3.entry.js +6 -0
  721. package/dist/solutions-components/p-b70a3d8d.entry.js +11 -0
  722. package/dist/solutions-components/p-b940aa2f.entry.js +6 -0
  723. package/dist/solutions-components/p-b9a21972.js +6 -0
  724. package/dist/solutions-components/p-ba34ef55.js +6 -0
  725. package/dist/solutions-components/p-ba8ec9b6.entry.js +35 -0
  726. package/dist/solutions-components/p-bb322078.entry.js +11 -0
  727. package/dist/solutions-components/p-bc6ce0ff.js +6 -0
  728. package/dist/solutions-components/p-c0738483.entry.js +11 -0
  729. package/dist/solutions-components/p-c2316631.entry.js +16 -0
  730. package/dist/solutions-components/p-c2a141cc.js +11 -0
  731. package/dist/solutions-components/p-c2d148da.js +11 -0
  732. package/dist/solutions-components/p-c52de940.entry.js +11 -0
  733. package/dist/solutions-components/p-c844e615.js +12 -0
  734. package/dist/solutions-components/p-c8835780.js +11 -0
  735. package/dist/solutions-components/p-ca67597d.js +6 -0
  736. package/dist/solutions-components/p-ca6edad0.js +11 -0
  737. package/dist/solutions-components/p-cd9579c6.js +11 -0
  738. package/dist/solutions-components/p-cdc0bb97.entry.js +35 -0
  739. package/dist/solutions-components/p-ce57ecf3.entry.js +6 -0
  740. package/dist/solutions-components/p-d042dd6a.entry.js +12 -0
  741. package/dist/solutions-components/p-d088d13a.entry.js +6 -0
  742. package/dist/solutions-components/p-d102a71f.js +6 -0
  743. package/dist/solutions-components/p-d164a8b0.entry.js +12 -0
  744. package/dist/solutions-components/p-d17b0020.entry.js +11 -0
  745. package/dist/solutions-components/p-d3fd28e9.entry.js +18 -0
  746. package/dist/solutions-components/p-d4c9dda7.entry.js +11 -0
  747. package/dist/solutions-components/p-d5104492.js +6 -0
  748. package/dist/solutions-components/p-d60a77a4.js +11 -0
  749. package/dist/solutions-components/p-d83da8a0.entry.js +11 -0
  750. package/dist/solutions-components/p-d866ff25.js +11 -0
  751. package/dist/solutions-components/p-d875f38c.entry.js +6 -0
  752. package/dist/solutions-components/p-dac4f4cb.js +6 -0
  753. package/dist/solutions-components/p-db08ef87.js +11 -0
  754. package/dist/solutions-components/p-db546438.entry.js +11 -0
  755. package/dist/solutions-components/p-de9d2167.entry.js +11 -0
  756. package/dist/solutions-components/p-e0af78a4.js +6 -0
  757. package/dist/solutions-components/p-e13ba5ae.js +6 -0
  758. package/dist/solutions-components/p-e320f0ed.entry.js +11 -0
  759. package/dist/solutions-components/p-e5d839f8.js +6 -0
  760. package/dist/solutions-components/p-e5e20990.js +11 -0
  761. package/dist/solutions-components/p-e617f6e9.js +6 -0
  762. package/dist/solutions-components/p-ea7c74b7.entry.js +11 -0
  763. package/dist/solutions-components/p-eafc4b73.js +11 -0
  764. package/dist/solutions-components/p-ed2eea7f.entry.js +23 -0
  765. package/dist/solutions-components/p-ed65f44c.entry.js +11 -0
  766. package/dist/solutions-components/p-ef235c88.entry.js +6 -0
  767. package/dist/solutions-components/p-f08e454f.entry.js +11 -0
  768. package/dist/solutions-components/p-f1d4f341.js +6 -0
  769. package/dist/solutions-components/p-f54ca1e4.entry.js +11 -0
  770. package/dist/solutions-components/p-f62c655b.entry.js +11 -0
  771. package/dist/solutions-components/p-f68a8cd4.entry.js +11 -0
  772. package/dist/solutions-components/p-f6ec5e80.js +11 -0
  773. package/dist/solutions-components/p-f9b91640.js +11 -0
  774. package/dist/solutions-components/p-fae853e9.js +16 -0
  775. package/dist/solutions-components/p-fb233add.entry.js +6 -0
  776. package/dist/solutions-components/p-ff27b297.js +11 -0
  777. package/dist/solutions-components/p-ffb12960.entry.js +11 -0
  778. package/dist/solutions-components/solutions-components.esm.js +1 -1
  779. package/dist/solutions-components/utils/downloadUtils.ts +2 -2
  780. package/dist/solutions-components/utils/interfaces.ts +24 -11
  781. package/dist/solutions-components/utils/mapViewUtils.ts +52 -7
  782. package/dist/solutions-components/utils/publicNotificationStore.ts +5 -1
  783. package/dist/solutions-components/utils/queryUtils.ts +48 -3
  784. package/dist/types/components/card-manager/card-manager.d.ts +33 -5
  785. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +12 -4
  786. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +2 -2
  787. package/dist/types/components/edit-card/edit-card.d.ts +140 -0
  788. package/dist/types/components/info-card/info-card.d.ts +89 -9
  789. package/dist/types/components/layer-table/layer-table.d.ts +105 -36
  790. package/dist/types/components/map-card/map-card.d.ts +12 -42
  791. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +69 -15
  792. package/dist/types/components/map-select-tools/map-select-tools.d.ts +1 -1
  793. package/dist/types/components/map-tools/map-tools.d.ts +87 -0
  794. package/dist/types/components/pdf-download/pdf-download.d.ts +4 -0
  795. package/dist/types/components/public-notification/public-notification.d.ts +18 -2
  796. package/dist/types/components/refine-selection/refine-selection.d.ts +1 -1
  797. package/dist/types/components.d.ts +181 -113
  798. package/dist/types/preact.d.ts +10 -13
  799. package/dist/types/utils/interfaces.d.ts +20 -7
  800. package/dist/types/utils/mapViewUtils.d.ts +22 -5
  801. package/dist/types/utils/publicNotificationStore.d.ts +2 -0
  802. package/dist/types/utils/queryUtils.d.ts +17 -1
  803. package/package.json +2 -2
  804. package/dist/assets/t9n/edit-record-modal/resources.json +0 -8
  805. package/dist/assets/t9n/edit-record-modal/resources_en.json +0 -8
  806. package/dist/cjs/ExpandToggle-8e23a37e.js +0 -119
  807. package/dist/cjs/FloatingArrow-7747dddf.js +0 -48
  808. package/dist/cjs/Heading-52c0152b.js +0 -25
  809. package/dist/cjs/add-record-modal.cjs.entry.js +0 -106
  810. package/dist/cjs/app-globals-cd063150.js +0 -64
  811. package/dist/cjs/ar-06e23092.js +0 -97
  812. package/dist/cjs/array-cb509bfb.js +0 -17
  813. package/dist/cjs/bg-b197c685.js +0 -78
  814. package/dist/cjs/bs-b7279fd9.js +0 -47
  815. package/dist/cjs/ca-c127e2c7.js +0 -67
  816. package/dist/cjs/calcite-action-bar_4.cjs.entry.js +0 -629
  817. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -116
  818. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -691
  819. package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -1156
  820. package/dist/cjs/calcite-dropdown_5.cjs.entry.js +0 -866
  821. package/dist/cjs/calcite-filter_5.cjs.entry.js +0 -1014
  822. package/dist/cjs/calcite-input-text_5.cjs.entry.js +0 -1969
  823. package/dist/cjs/calcite-input-time-picker-1c90d5aa.js +0 -1622
  824. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -413
  825. package/dist/cjs/card-manager.cjs.entry.js +0 -91
  826. package/dist/cjs/comment-card.cjs.entry.js +0 -75
  827. package/dist/cjs/conditionalSlot-df3ccf68.js +0 -63
  828. package/dist/cjs/cs-f482fe72.js +0 -143
  829. package/dist/cjs/da-b8ab4c7b.js +0 -62
  830. package/dist/cjs/date-23702871.js +0 -250
  831. package/dist/cjs/de-6bc1f7ac.js +0 -87
  832. package/dist/cjs/de-at-46963b6b.js +0 -86
  833. package/dist/cjs/de-ch-160af810.js +0 -86
  834. package/dist/cjs/dom-5fd13fa0.js +0 -954
  835. package/dist/cjs/downloadUtils-fd585157.js +0 -2729
  836. package/dist/cjs/el-64fa4e5b.js +0 -62
  837. package/dist/cjs/en-au-d6d05b1c.js +0 -62
  838. package/dist/cjs/en-ca-e4c76e21.js +0 -61
  839. package/dist/cjs/en-gb-bbc542f7.js +0 -65
  840. package/dist/cjs/es-13c046da.js +0 -62
  841. package/dist/cjs/es-mx-bc0dcd4b.js +0 -61
  842. package/dist/cjs/et-96792c05.js +0 -88
  843. package/dist/cjs/fi-228557cc.js +0 -111
  844. package/dist/cjs/filter-8be5307a.js +0 -765
  845. package/dist/cjs/floating-ui-72d35286.js +0 -1825
  846. package/dist/cjs/focusTrapComponent-8e851fe9.js +0 -809
  847. package/dist/cjs/form-bbb48e39.js +0 -288
  848. package/dist/cjs/fr-cfe747ac.js +0 -64
  849. package/dist/cjs/fr-ch-ff5aa897.js +0 -62
  850. package/dist/cjs/guid-66679eda.js +0 -26
  851. package/dist/cjs/he-fb6d2d39.js +0 -101
  852. package/dist/cjs/hi-30c7826f.js +0 -61
  853. package/dist/cjs/hr-c1eab940.js +0 -76
  854. package/dist/cjs/hu-fba39a67.js +0 -84
  855. package/dist/cjs/id-b5e6f8ba.js +0 -62
  856. package/dist/cjs/index.es-d125163b.js +0 -10808
  857. package/dist/cjs/info-card_2.cjs.entry.js +0 -203
  858. package/dist/cjs/interactive-39ec70c2.js +0 -75
  859. package/dist/cjs/interfaces-842c84a1.js +0 -80
  860. package/dist/cjs/it-ca0d0aac.js +0 -62
  861. package/dist/cjs/it-ch-65c41132.js +0 -62
  862. package/dist/cjs/ja-a5f9afc7.js +0 -68
  863. package/dist/cjs/key-5b33d77d.js +0 -19
  864. package/dist/cjs/ko-852f5312.js +0 -68
  865. package/dist/cjs/label-345b79b7.js +0 -136
  866. package/dist/cjs/layer-table_2.cjs.entry.js +0 -517
  867. package/dist/cjs/loadable-30ee9cda.js +0 -69
  868. package/dist/cjs/locale-180f4242.js +0 -567
  869. package/dist/cjs/lt-255c3b01.js +0 -93
  870. package/dist/cjs/lv-7ed56721.js +0 -62
  871. package/dist/cjs/map-search.cjs.entry.js +0 -176
  872. package/dist/cjs/mapViewUtils-9c67134b.js +0 -375
  873. package/dist/cjs/math-c948c17d.js +0 -28
  874. package/dist/cjs/mk-f6d33563.js +0 -62
  875. package/dist/cjs/nb-bd0ca554.js +0 -63
  876. package/dist/cjs/nl-eadfdfb4.js +0 -63
  877. package/dist/cjs/observers-f7aad52c.js +0 -53
  878. package/dist/cjs/openCloseComponent-84b60d30.js +0 -100
  879. package/dist/cjs/pl-c9d0eeb6.js +0 -110
  880. package/dist/cjs/pt-abc4d582.js +0 -63
  881. package/dist/cjs/pt-br-217ada13.js +0 -61
  882. package/dist/cjs/publicNotificationStore-cd1a32c3.js +0 -47
  883. package/dist/cjs/resources-1687ac3b.js +0 -27
  884. package/dist/cjs/resources-17e31c94.js +0 -32
  885. package/dist/cjs/resources-2194e840.js +0 -2057
  886. package/dist/cjs/resources-5d9c0817.js +0 -23
  887. package/dist/cjs/resources-840442cb.js +0 -22
  888. package/dist/cjs/resources-8f85e83e.js +0 -27
  889. package/dist/cjs/resources-b2a52eac.js +0 -50
  890. package/dist/cjs/resources-b9022801.js +0 -39
  891. package/dist/cjs/resources-c050c6cd.js +0 -20
  892. package/dist/cjs/ro-1618e102.js +0 -62
  893. package/dist/cjs/ru-a23bea65.js +0 -122
  894. package/dist/cjs/shared-list-render-e49ee33c.js +0 -364
  895. package/dist/cjs/sk-dcacc22d.js +0 -144
  896. package/dist/cjs/sl-313d5585.js +0 -62
  897. package/dist/cjs/solution-store-ca4639d5.js +0 -4100
  898. package/dist/cjs/sortableComponent-e91c4b54.js +0 -3087
  899. package/dist/cjs/sr-c7b2c043.js +0 -97
  900. package/dist/cjs/sv-d8327a96.js +0 -67
  901. package/dist/cjs/t9n-44f8e750.js +0 -100
  902. package/dist/cjs/th-871548cb.js +0 -61
  903. package/dist/cjs/time-0ae619db.js +0 -208
  904. package/dist/cjs/tr-799e3306.js +0 -62
  905. package/dist/cjs/uk-eb7261c3.js +0 -100
  906. package/dist/cjs/utils-3c384fb2.js +0 -55
  907. package/dist/cjs/utils-49d0aa19.js +0 -218
  908. package/dist/cjs/utils-5c1c33cf.js +0 -64
  909. package/dist/cjs/utils-da61890c.js +0 -87
  910. package/dist/cjs/vi-ebbac61c.js +0 -66
  911. package/dist/cjs/zh-cn-dfcfe1fe.js +0 -90
  912. package/dist/cjs/zh-hk-64eeb0f6.js +0 -67
  913. package/dist/cjs/zh-tw-3d6f9661.js +0 -88
  914. package/dist/collection/components/add-record-modal/add-record-modal.css +0 -36
  915. package/dist/collection/components/add-record-modal/add-record-modal.js +0 -149
  916. package/dist/collection/components/comment-card/comment-card.css +0 -19
  917. package/dist/collection/components/comment-card/comment-card.js +0 -89
  918. package/dist/collection/components/edit-record-modal/edit-record-modal.css +0 -35
  919. package/dist/collection/components/edit-record-modal/edit-record-modal.js +0 -141
  920. package/dist/collection/components/map-search/map-search.css +0 -24
  921. package/dist/collection/components/map-search/map-search.js +0 -284
  922. package/dist/collection/components/media-card/media-card.css +0 -58
  923. package/dist/collection/components/media-card/media-card.js +0 -187
  924. package/dist/collection/demos/add-record-modal.html +0 -34
  925. package/dist/collection/demos/comment-card.html +0 -81
  926. package/dist/collection/demos/edit-record-modal.html +0 -34
  927. package/dist/collection/demos/map-search.html +0 -81
  928. package/dist/collection/demos/media-card.html +0 -71
  929. package/dist/components/add-record-modal.d.ts +0 -11
  930. package/dist/components/add-record-modal.js +0 -171
  931. package/dist/components/block.js +0 -232
  932. package/dist/components/comment-card.d.ts +0 -11
  933. package/dist/components/comment-card.js +0 -90
  934. package/dist/components/edit-record-modal.d.ts +0 -11
  935. package/dist/components/edit-record-modal.js +0 -11
  936. package/dist/components/edit-record-modal2.js +0 -161
  937. package/dist/components/map-search.d.ts +0 -11
  938. package/dist/components/map-search.js +0 -195
  939. package/dist/components/media-card.d.ts +0 -11
  940. package/dist/components/media-card.js +0 -11
  941. package/dist/components/media-card2.js +0 -177
  942. package/dist/components/modal.js +0 -415
  943. package/dist/components/pick-list.js +0 -164
  944. package/dist/components/split-button.js +0 -168
  945. package/dist/esm/ExpandToggle-ed0c4899.js +0 -111
  946. package/dist/esm/FloatingArrow-e769cdda.js +0 -46
  947. package/dist/esm/Heading-c36f4400.js +0 -22
  948. package/dist/esm/add-record-modal.entry.js +0 -102
  949. package/dist/esm/app-globals-4c1c4b90.js +0 -62
  950. package/dist/esm/ar-5fce09b4.js +0 -95
  951. package/dist/esm/array-af5e433b.js +0 -15
  952. package/dist/esm/bg-88930ab8.js +0 -76
  953. package/dist/esm/bs-83095544.js +0 -45
  954. package/dist/esm/ca-2452be3f.js +0 -65
  955. package/dist/esm/calcite-action-bar_4.entry.js +0 -622
  956. package/dist/esm/calcite-action-group.entry.js +0 -112
  957. package/dist/esm/calcite-action-menu_2.entry.js +0 -686
  958. package/dist/esm/calcite-combobox_3.entry.js +0 -1150
  959. package/dist/esm/calcite-dropdown_5.entry.js +0 -858
  960. package/dist/esm/calcite-filter_5.entry.js +0 -1006
  961. package/dist/esm/calcite-input-text_5.entry.js +0 -1961
  962. package/dist/esm/calcite-input-time-picker-379ab2c4.js +0 -1619
  963. package/dist/esm/calcite-tooltip.entry.js +0 -409
  964. package/dist/esm/card-manager.entry.js +0 -87
  965. package/dist/esm/comment-card.entry.js +0 -71
  966. package/dist/esm/conditionalSlot-e9ec914f.js +0 -60
  967. package/dist/esm/cs-c4999998.js +0 -141
  968. package/dist/esm/da-6e7eb415.js +0 -60
  969. package/dist/esm/date-85b54b18.js +0 -235
  970. package/dist/esm/de-39db71ff.js +0 -85
  971. package/dist/esm/de-at-0b43fa52.js +0 -84
  972. package/dist/esm/de-ch-345e1007.js +0 -84
  973. package/dist/esm/dom-e14bb980.js +0 -927
  974. package/dist/esm/downloadUtils-c4d8f012.js +0 -2723
  975. package/dist/esm/el-3d3eb2d9.js +0 -60
  976. package/dist/esm/en-au-f85fb0f9.js +0 -60
  977. package/dist/esm/en-ca-ae24e23b.js +0 -59
  978. package/dist/esm/en-gb-9f56a48f.js +0 -63
  979. package/dist/esm/es-00ec702d.js +0 -60
  980. package/dist/esm/es-mx-5fb19224.js +0 -59
  981. package/dist/esm/et-1a294618.js +0 -86
  982. package/dist/esm/fi-1bcfd731.js +0 -109
  983. package/dist/esm/filter-09439c1d.js +0 -763
  984. package/dist/esm/floating-ui-421b8ed2.js +0 -1817
  985. package/dist/esm/focusTrapComponent-45081255.js +0 -804
  986. package/dist/esm/form-58f5ab7c.js +0 -280
  987. package/dist/esm/fr-3a844513.js +0 -62
  988. package/dist/esm/fr-ch-32438415.js +0 -60
  989. package/dist/esm/guid-5c8ddb45.js +0 -24
  990. package/dist/esm/he-4d2d41f5.js +0 -99
  991. package/dist/esm/hi-e5a5cf07.js +0 -59
  992. package/dist/esm/hr-003c79cb.js +0 -74
  993. package/dist/esm/hu-a679b97b.js +0 -82
  994. package/dist/esm/id-8ce09f04.js +0 -60
  995. package/dist/esm/index.es-ba252f56.js +0 -10722
  996. package/dist/esm/info-card_2.entry.js +0 -198
  997. package/dist/esm/interactive-eaa1e00b.js +0 -73
  998. package/dist/esm/interfaces-523c6558.js +0 -80
  999. package/dist/esm/it-8a20f6f9.js +0 -60
  1000. package/dist/esm/it-ch-b829ceb9.js +0 -60
  1001. package/dist/esm/ja-ab479dce.js +0 -66
  1002. package/dist/esm/key-2c25459c.js +0 -16
  1003. package/dist/esm/ko-a523df7c.js +0 -66
  1004. package/dist/esm/label-10a81bc6.js +0 -130
  1005. package/dist/esm/layer-table_2.entry.js +0 -512
  1006. package/dist/esm/loadable-fca3f617.js +0 -65
  1007. package/dist/esm/locale-b550eae4.js +0 -555
  1008. package/dist/esm/lt-6061d0cc.js +0 -91
  1009. package/dist/esm/lv-c8234418.js +0 -60
  1010. package/dist/esm/map-search.entry.js +0 -172
  1011. package/dist/esm/mapViewUtils-06a77be9.js +0 -362
  1012. package/dist/esm/math-778f9699.js +0 -25
  1013. package/dist/esm/mk-d08e7df4.js +0 -60
  1014. package/dist/esm/nb-35ca03d9.js +0 -61
  1015. package/dist/esm/nl-e815c488.js +0 -61
  1016. package/dist/esm/observers-b17e5da7.js +0 -51
  1017. package/dist/esm/openCloseComponent-1aef0328.js +0 -96
  1018. package/dist/esm/pl-a1c11e8b.js +0 -108
  1019. package/dist/esm/pt-8874bd08.js +0 -61
  1020. package/dist/esm/pt-br-cb76472e.js +0 -59
  1021. package/dist/esm/publicNotificationStore-c36d95bf.js +0 -45
  1022. package/dist/esm/resources-09757d0c.js +0 -23
  1023. package/dist/esm/resources-23bce35b.js +0 -20
  1024. package/dist/esm/resources-6c49ff61.js +0 -2048
  1025. package/dist/esm/resources-78b20773.js +0 -20
  1026. package/dist/esm/resources-a9874e81.js +0 -28
  1027. package/dist/esm/resources-ac65ccee.js +0 -35
  1028. package/dist/esm/resources-bf1eeffc.js +0 -24
  1029. package/dist/esm/resources-c59151a8.js +0 -19
  1030. package/dist/esm/resources-f5fec753.js +0 -46
  1031. package/dist/esm/ro-0e8b863a.js +0 -60
  1032. package/dist/esm/ru-f3224893.js +0 -120
  1033. package/dist/esm/shared-list-render-86d8dcb7.js +0 -342
  1034. package/dist/esm/sk-eccf534f.js +0 -142
  1035. package/dist/esm/sl-a8e0c24f.js +0 -60
  1036. package/dist/esm/solution-store-70f874f8.js +0 -4092
  1037. package/dist/esm/sortableComponent-267e5853.js +0 -3082
  1038. package/dist/esm/sr-0e5973cb.js +0 -95
  1039. package/dist/esm/sv-ff8fbe95.js +0 -65
  1040. package/dist/esm/t9n-4c43412c.js +0 -95
  1041. package/dist/esm/th-90f7d79c.js +0 -59
  1042. package/dist/esm/time-18f4bea6.js +0 -195
  1043. package/dist/esm/tr-8a61ecaa.js +0 -60
  1044. package/dist/esm/uk-cb40a88d.js +0 -98
  1045. package/dist/esm/utils-701a66a0.js +0 -45
  1046. package/dist/esm/utils-d5304067.js +0 -200
  1047. package/dist/esm/utils-e59e3392.js +0 -79
  1048. package/dist/esm/utils-fbb44364.js +0 -61
  1049. package/dist/esm/vi-03f26f71.js +0 -64
  1050. package/dist/esm/zh-cn-b40fefb9.js +0 -88
  1051. package/dist/esm/zh-hk-846adb7a.js +0 -65
  1052. package/dist/esm/zh-tw-5e6c0c4c.js +0 -86
  1053. package/dist/solutions-components/demos/add-record-modal.html +0 -34
  1054. package/dist/solutions-components/demos/comment-card.html +0 -81
  1055. package/dist/solutions-components/demos/edit-record-modal.html +0 -34
  1056. package/dist/solutions-components/demos/map-search.html +0 -81
  1057. package/dist/solutions-components/demos/media-card.html +0 -71
  1058. package/dist/solutions-components/p-0004c7cf.js +0 -11
  1059. package/dist/solutions-components/p-028fe399.js +0 -11
  1060. package/dist/solutions-components/p-02934a73.js +0 -6
  1061. package/dist/solutions-components/p-0350a94c.js +0 -6
  1062. package/dist/solutions-components/p-03630cc2.js +0 -11
  1063. package/dist/solutions-components/p-0c0ae47e.entry.js +0 -6
  1064. package/dist/solutions-components/p-100a644d.js +0 -6
  1065. package/dist/solutions-components/p-10ee8954.js +0 -11
  1066. package/dist/solutions-components/p-14b581f0.js +0 -6
  1067. package/dist/solutions-components/p-156616b5.js +0 -6
  1068. package/dist/solutions-components/p-163f9453.entry.js +0 -22
  1069. package/dist/solutions-components/p-16a85289.entry.js +0 -11
  1070. package/dist/solutions-components/p-18c285a2.entry.js +0 -6
  1071. package/dist/solutions-components/p-1c6b3fcc.js +0 -11
  1072. package/dist/solutions-components/p-1ff86baf.js +0 -6
  1073. package/dist/solutions-components/p-21894ee1.entry.js +0 -6
  1074. package/dist/solutions-components/p-21d890eb.js +0 -11
  1075. package/dist/solutions-components/p-22367f3b.entry.js +0 -11
  1076. package/dist/solutions-components/p-224fc498.js +0 -6
  1077. package/dist/solutions-components/p-253c9105.entry.js +0 -11
  1078. package/dist/solutions-components/p-274e2b43.entry.js +0 -16
  1079. package/dist/solutions-components/p-29de380e.entry.js +0 -23
  1080. package/dist/solutions-components/p-2ab62909.entry.js +0 -12
  1081. package/dist/solutions-components/p-2ba08c44.js +0 -11
  1082. package/dist/solutions-components/p-2c91149c.entry.js +0 -17
  1083. package/dist/solutions-components/p-2d79dcaa.entry.js +0 -6
  1084. package/dist/solutions-components/p-2e02d0c6.js +0 -6
  1085. package/dist/solutions-components/p-2fb33412.js +0 -6
  1086. package/dist/solutions-components/p-2ff245e3.entry.js +0 -11
  1087. package/dist/solutions-components/p-309ab62c.entry.js +0 -6
  1088. package/dist/solutions-components/p-30fff23a.js +0 -6
  1089. package/dist/solutions-components/p-31084785.entry.js +0 -11
  1090. package/dist/solutions-components/p-322657e1.js +0 -6
  1091. package/dist/solutions-components/p-333fece7.js +0 -11
  1092. package/dist/solutions-components/p-33f7b5ad.entry.js +0 -12
  1093. package/dist/solutions-components/p-34b5fd3f.js +0 -11
  1094. package/dist/solutions-components/p-354a1a55.js +0 -16
  1095. package/dist/solutions-components/p-360652a6.js +0 -6
  1096. package/dist/solutions-components/p-361a2107.js +0 -6
  1097. package/dist/solutions-components/p-36b68fb9.js +0 -11
  1098. package/dist/solutions-components/p-3918da18.js +0 -6
  1099. package/dist/solutions-components/p-3965e731.js +0 -6
  1100. package/dist/solutions-components/p-3b2f8f0d.entry.js +0 -11
  1101. package/dist/solutions-components/p-3ed956eb.js +0 -36
  1102. package/dist/solutions-components/p-3fba8b91.js +0 -6
  1103. package/dist/solutions-components/p-40494687.js +0 -11
  1104. package/dist/solutions-components/p-441a995d.js +0 -11
  1105. package/dist/solutions-components/p-453cd5e4.entry.js +0 -11
  1106. package/dist/solutions-components/p-460d4659.entry.js +0 -11
  1107. package/dist/solutions-components/p-486ea405.js +0 -11
  1108. package/dist/solutions-components/p-48fd5600.entry.js +0 -11
  1109. package/dist/solutions-components/p-4a0899a1.entry.js +0 -6
  1110. package/dist/solutions-components/p-4a7214b3.js +0 -6
  1111. package/dist/solutions-components/p-4a86a776.js +0 -474
  1112. package/dist/solutions-components/p-4f308c0c.entry.js +0 -11
  1113. package/dist/solutions-components/p-50ebdbe1.entry.js +0 -6
  1114. package/dist/solutions-components/p-55a4d846.entry.js +0 -18
  1115. package/dist/solutions-components/p-563863b1.entry.js +0 -11
  1116. package/dist/solutions-components/p-56ee8fcf.entry.js +0 -6
  1117. package/dist/solutions-components/p-5730082b.entry.js +0 -17
  1118. package/dist/solutions-components/p-5798a8e1.entry.js +0 -11
  1119. package/dist/solutions-components/p-5a9f7d1d.entry.js +0 -11
  1120. package/dist/solutions-components/p-5dc70753.entry.js +0 -6
  1121. package/dist/solutions-components/p-5ed755a2.entry.js +0 -37
  1122. package/dist/solutions-components/p-5f9044e9.entry.js +0 -6
  1123. package/dist/solutions-components/p-67dce98d.js +0 -11
  1124. package/dist/solutions-components/p-681822de.entry.js +0 -11
  1125. package/dist/solutions-components/p-68ae67e2.js +0 -6
  1126. package/dist/solutions-components/p-6aabe903.entry.js +0 -6
  1127. package/dist/solutions-components/p-6aeb2614.entry.js +0 -6
  1128. package/dist/solutions-components/p-6b0437e2.js +0 -11
  1129. package/dist/solutions-components/p-6b16e621.js +0 -17
  1130. package/dist/solutions-components/p-6bca27ae.entry.js +0 -6
  1131. package/dist/solutions-components/p-6e8fc013.js +0 -11
  1132. package/dist/solutions-components/p-6f090d92.entry.js +0 -11
  1133. package/dist/solutions-components/p-71f15882.js +0 -6
  1134. package/dist/solutions-components/p-72bd2198.js +0 -6
  1135. package/dist/solutions-components/p-734fb637.entry.js +0 -11
  1136. package/dist/solutions-components/p-737ebddb.js +0 -6
  1137. package/dist/solutions-components/p-74ab524f.entry.js +0 -17
  1138. package/dist/solutions-components/p-751105bf.entry.js +0 -11
  1139. package/dist/solutions-components/p-758a5902.js +0 -6
  1140. package/dist/solutions-components/p-75d44bac.entry.js +0 -11
  1141. package/dist/solutions-components/p-76fd5733.js +0 -11
  1142. package/dist/solutions-components/p-78315271.entry.js +0 -11
  1143. package/dist/solutions-components/p-78719506.js +0 -257
  1144. package/dist/solutions-components/p-7903b163.js +0 -12
  1145. package/dist/solutions-components/p-7b49e5e3.js +0 -11
  1146. package/dist/solutions-components/p-7b4a714b.js +0 -11
  1147. package/dist/solutions-components/p-7b7091d4.js +0 -16
  1148. package/dist/solutions-components/p-7c96a204.entry.js +0 -11
  1149. package/dist/solutions-components/p-7d1fd0ab.js +0 -11
  1150. package/dist/solutions-components/p-7d3582a2.js +0 -18
  1151. package/dist/solutions-components/p-7d5a1cdb.js +0 -11
  1152. package/dist/solutions-components/p-7dfb2d00.entry.js +0 -17
  1153. package/dist/solutions-components/p-7ed79fea.entry.js +0 -6
  1154. package/dist/solutions-components/p-805d62b8.js +0 -6
  1155. package/dist/solutions-components/p-817b174b.js +0 -6
  1156. package/dist/solutions-components/p-851fd101.entry.js +0 -6
  1157. package/dist/solutions-components/p-85706e85.js +0 -11
  1158. package/dist/solutions-components/p-8b1bac08.entry.js +0 -11
  1159. package/dist/solutions-components/p-90abad32.js +0 -6
  1160. package/dist/solutions-components/p-9151a991.js +0 -17
  1161. package/dist/solutions-components/p-918b08f8.js +0 -6
  1162. package/dist/solutions-components/p-92123a6f.js +0 -6
  1163. package/dist/solutions-components/p-92de1de9.js +0 -21
  1164. package/dist/solutions-components/p-93015b7f.entry.js +0 -29
  1165. package/dist/solutions-components/p-963026b1.js +0 -11
  1166. package/dist/solutions-components/p-96601723.entry.js +0 -11
  1167. package/dist/solutions-components/p-966deb61.js +0 -16
  1168. package/dist/solutions-components/p-987fc85a.js +0 -6
  1169. package/dist/solutions-components/p-9ae83468.js +0 -6
  1170. package/dist/solutions-components/p-9d8ba56e.js +0 -11
  1171. package/dist/solutions-components/p-a29ba58a.js +0 -21
  1172. package/dist/solutions-components/p-a3539120.js +0 -11
  1173. package/dist/solutions-components/p-a36a4f4c.entry.js +0 -11
  1174. package/dist/solutions-components/p-a390ad52.js +0 -6
  1175. package/dist/solutions-components/p-a4f6cb03.js +0 -6
  1176. package/dist/solutions-components/p-a58a83f5.entry.js +0 -11
  1177. package/dist/solutions-components/p-a5f966da.js +0 -6
  1178. package/dist/solutions-components/p-a717b838.entry.js +0 -11
  1179. package/dist/solutions-components/p-aa2b508b.js +0 -6
  1180. package/dist/solutions-components/p-ad77361c.entry.js +0 -11
  1181. package/dist/solutions-components/p-b05c0dab.js +0 -6
  1182. package/dist/solutions-components/p-b2175b0f.js +0 -11
  1183. package/dist/solutions-components/p-b32b130a.entry.js +0 -11
  1184. package/dist/solutions-components/p-b34f269f.entry.js +0 -6
  1185. package/dist/solutions-components/p-b4b19fd3.entry.js +0 -37
  1186. package/dist/solutions-components/p-b62c14e9.entry.js +0 -23
  1187. package/dist/solutions-components/p-b85c70ff.js +0 -6
  1188. package/dist/solutions-components/p-b9569aa8.js +0 -6
  1189. package/dist/solutions-components/p-b9df29d5.entry.js +0 -6
  1190. package/dist/solutions-components/p-c68c6cfc.js +0 -6
  1191. package/dist/solutions-components/p-c7f63eae.entry.js +0 -6
  1192. package/dist/solutions-components/p-c80b582f.js +0 -11
  1193. package/dist/solutions-components/p-c9c400b0.js +0 -6
  1194. package/dist/solutions-components/p-cfdcbbc4.entry.js +0 -11
  1195. package/dist/solutions-components/p-d0a0d58e.js +0 -6
  1196. package/dist/solutions-components/p-d0bd5dc8.js +0 -11
  1197. package/dist/solutions-components/p-d13c5d43.js +0 -6
  1198. package/dist/solutions-components/p-d2dfbb78.entry.js +0 -11
  1199. package/dist/solutions-components/p-d4c7b0b0.entry.js +0 -11
  1200. package/dist/solutions-components/p-d54d34a3.entry.js +0 -11
  1201. package/dist/solutions-components/p-d6c1abd1.js +0 -11
  1202. package/dist/solutions-components/p-d7e59435.entry.js +0 -35
  1203. package/dist/solutions-components/p-dadd5bfb.js +0 -11
  1204. package/dist/solutions-components/p-dc9c209f.entry.js +0 -11
  1205. package/dist/solutions-components/p-e12458f7.js +0 -6
  1206. package/dist/solutions-components/p-e1384eb6.entry.js +0 -6
  1207. package/dist/solutions-components/p-e13bc246.entry.js +0 -18
  1208. package/dist/solutions-components/p-e19a5718.entry.js +0 -11
  1209. package/dist/solutions-components/p-e470b2c7.entry.js +0 -6
  1210. package/dist/solutions-components/p-e4e33d1c.js +0 -6
  1211. package/dist/solutions-components/p-e6330f55.entry.js +0 -11
  1212. package/dist/solutions-components/p-e7b96c06.js +0 -11
  1213. package/dist/solutions-components/p-e84ff0f8.entry.js +0 -6
  1214. package/dist/solutions-components/p-e90f8998.entry.js +0 -11
  1215. package/dist/solutions-components/p-e9f43fe1.entry.js +0 -11
  1216. package/dist/solutions-components/p-ebd369cf.js +0 -6
  1217. package/dist/solutions-components/p-eda91258.entry.js +0 -11
  1218. package/dist/solutions-components/p-ee853883.entry.js +0 -11
  1219. package/dist/solutions-components/p-eea493bc.js +0 -6
  1220. package/dist/solutions-components/p-eec28f93.js +0 -6
  1221. package/dist/solutions-components/p-eee3969d.entry.js +0 -11
  1222. package/dist/solutions-components/p-f03a6d9c.js +0 -61
  1223. package/dist/solutions-components/p-f1aaf8d9.entry.js +0 -6
  1224. package/dist/solutions-components/p-f226673c.js +0 -11
  1225. package/dist/solutions-components/p-f546e45d.js +0 -6
  1226. package/dist/solutions-components/p-fa3d2b1f.js +0 -6
  1227. package/dist/solutions-components/p-fb33ea5f.js +0 -6
  1228. package/dist/solutions-components/p-fb553e61.js +0 -6
  1229. package/dist/solutions-components/p-fb8aa15c.entry.js +0 -11
  1230. package/dist/types/components/add-record-modal/add-record-modal.d.ts +0 -68
  1231. package/dist/types/components/comment-card/comment-card.d.ts +0 -26
  1232. package/dist/types/components/edit-record-modal/edit-record-modal.d.ts +0 -49
  1233. package/dist/types/components/map-search/map-search.d.ts +0 -120
  1234. package/dist/types/components/media-card/media-card.d.ts +0 -80
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as n,H as e,g as s}from"./p-f8be5d5f.js";import{s as r,c as a,d as o,H as c}from"./p-c844e615.js";import{g as h}from"./p-a738e38f.js";import{c as u,d,u as m}from"./p-41f5a5fc.js";import{n as l}from"./p-40bdd836.js";import{c as f,d as p,g as v}from"./p-8bf81a2e.js";import{c as M,s as g,a as y}from"./p-5173b841.js";import{n as b,g as D,c as Y,d as S}from"./p-0ff7b311.js";import{d as j,a as w,c as L}from"./p-0bb57140.js";import{l as k,t as _,f as H,i as A}from"./p-2284cd37.js";import{c as T,s as C,d as $}from"./p-db08ef87.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */var x=6e4,O=36e5,z="millisecond",W="second",F="minute",I="hour",Z="day",P="week",E="month",N="quarter",R="year",J="date",U="YYYY-MM-DDTHH:mm:ssZ",X="Invalid Date",q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const G={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],n=t%100;return"["+t+(i[(n-20)%10]||i[n]||i[0])+"]"}},K=Object.freeze({__proto__:null,default:G});var Q=function(t,i,n){var e=String(t);return!e||e.length>=i?t:""+Array(i+1-e.length).join(n)+t};const V={s:Q,z:function(t){var i=-t.utcOffset(),n=Math.abs(i),e=Math.floor(n/60),s=n%60;return(i<=0?"+":"-")+Q(e,2,"0")+":"+Q(s,2,"0")},m:function t(i,n){if(i.date()<n.date())return-t(n,i);var e=12*(n.year()-i.year())+(n.month()-i.month()),s=i.clone().add(e,E),r=n-s<0,a=i.clone().add(e+(r?-1:1),E);return+(-(e+(n-s)/(r?s-a:a-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:E,y:R,w:P,d:Z,D:J,h:I,m:F,s:W,ms:z,Q:N}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var tt="en",it={};it[tt]=G;var nt=function(t){return t instanceof at},et=function t(i,n,e){var s;if(!i)return tt;if("string"==typeof i){var r=i.toLowerCase();it[r]&&(s=r),n&&(it[r]=n,s=r);var a=i.split("-");if(!s&&a.length>1)return t(a[0])}else{var o=i.name;it[o]=i,s=o}return!e&&s&&(tt=s),s||!e&&tt},st=function(t,i){if(nt(t))return t.clone();var n="object"==typeof i?i:{};return n.date=t,n.args=arguments,new at(n)},rt=V;rt.l=et,rt.i=nt,rt.w=function(t,i){return st(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var at=function(){function t(t){this.$L=et(t.locale,null,!0),this.parse(t)}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,n=t.utc;if(null===i)return new Date(NaN);if(rt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var e=i.match(q);if(e){var s=e[2]-1||0,r=(e[7]||"0").substring(0,3);return n?new Date(Date.UTC(e[1],s,e[3]||1,e[4]||0,e[5]||0,e[6]||0,r)):new Date(e[1],s,e[3]||1,e[4]||0,e[5]||0,e[6]||0,r)}}return new Date(i)}(t),this.$x=t.x||{},this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return rt},i.isValid=function(){return!(this.$d.toString()===X)},i.isSame=function(t,i){var n=st(t);return this.startOf(i)<=n&&n<=this.endOf(i)},i.isAfter=function(t,i){return st(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<st(t)},i.$g=function(t,i,n){return rt.u(t)?this[i]:this.set(n,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var n=this,e=!!rt.u(i)||i,s=rt.p(t),r=function(t,i){var s=rt.w(n.$u?Date.UTC(n.$y,i,t):new Date(n.$y,i,t),n);return e?s:s.endOf(Z)},a=function(t,i){return rt.w(n.toDate()[t].apply(n.toDate("s"),(e?[0,0,0,0]:[23,59,59,999]).slice(i)),n)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(s){case R:return e?r(1,0):r(31,11);case E:return e?r(1,c):r(0,c+1);case P:var d=this.$locale().weekStart||0,m=(o<d?o+7:o)-d;return r(e?h-m:h+(6-m),c);case Z:case J:return a(u+"Hours",0);case I:return a(u+"Minutes",1);case F:return a(u+"Seconds",2);case W:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var n,e=rt.p(t),s="set"+(this.$u?"UTC":""),r=(n={},n[Z]=s+"Date",n[J]=s+"Date",n[E]=s+"Month",n[R]=s+"FullYear",n[I]=s+"Hours",n[F]=s+"Minutes",n[W]=s+"Seconds",n[z]=s+"Milliseconds",n)[e],a=e===Z?this.$D+(i-this.$W):i;if(e===E||e===R){var o=this.clone().set(J,1);o.$d[r](a),o.init(),this.$d=o.set(J,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[rt.p(t)]()},i.add=function(t,i){var n,e=this;t=Number(t);var s=rt.p(i),r=function(i){var n=st(e);return rt.w(n.date(n.date()+Math.round(i*t)),e)};if(s===E)return this.set(E,this.$M+t);if(s===R)return this.set(R,this.$y+t);if(s===Z)return r(1);if(s===P)return r(7);var a=(n={},n[F]=x,n[I]=O,n[W]=1e3,n)[s]||1,o=this.$d.getTime()+t*a;return rt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,n=this.$locale();if(!this.isValid())return n.invalidDate||X;var e=t||U,s=rt.z(this),r=this.$H,a=this.$m,o=this.$M,c=n.weekdays,h=n.months,u=function(t,n,s,r){return t&&(t[n]||t(i,e))||s[n].slice(0,r)},d=function(t){return rt.s(r%12||12,t,"0")},m=n.meridiem||function(t,i,n){var e=t<12?"AM":"PM";return n?e.toLowerCase():e},l={YY:String(this.$y).slice(-2),YYYY:rt.s(this.$y,4,"0"),M:o+1,MM:rt.s(o+1,2,"0"),MMM:u(n.monthsShort,o,h,3),MMMM:u(h,o),D:this.$D,DD:rt.s(this.$D,2,"0"),d:String(this.$W),dd:u(n.weekdaysMin,this.$W,c,2),ddd:u(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(r),HH:rt.s(r,2,"0"),h:d(1),hh:d(2),a:m(r,a,!0),A:m(r,a,!1),m:String(a),mm:rt.s(a,2,"0"),s:String(this.$s),ss:rt.s(this.$s,2,"0"),SSS:rt.s(this.$ms,3,"0"),Z:s};return e.replace(B,(function(t,i){return i||l[t]||s.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,n){var e,s=rt.p(i),r=st(t),a=(r.utcOffset()-this.utcOffset())*x,o=this-r,c=rt.m(this,r);return c=(e={},e[R]=c/12,e[E]=c,e[N]=c/3,e[P]=(o-a)/6048e5,e[Z]=(o-a)/864e5,e[I]=o/O,e[F]=o/x,e[W]=o/1e3,e)[s]||o,n?c:rt.a(c)},i.daysInMonth=function(){return this.endOf(E).$D},i.$locale=function(){return it[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var n=this.clone(),e=et(t,i,!0);return e&&(n.$L=e),n},i.clone=function(){return rt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),ot=at.prototype;st.prototype=ot,[["$ms",z],["$s",W],["$m",F],["$H",I],["$W",Z],["$M",E],["$y",R],["$D",J]].forEach((function(t){ot[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),st.extend=function(t,i){return t.$i||(t(i,at,st),t.$i=!0),st},st.locale=et,st.isDayjs=nt,st.unix=function(t){return st(1e3*t)},st.en=it[tt],st.Ls=it,st.p={};var ct=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,n){return i||n.slice(1)}))},ht={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ut=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,e){var s=e&&e.toUpperCase();return n||i[e]||ht[e]||ct(i[s])}))},dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,mt=/\d\d/,lt=/\d\d?/,ft=/\d*[^-_:/,()\s\d]+/,pt={},vt=function(t){return(t=+t)+(t>68?1900:2e3)},Mt=function(t){return function(i){this[t]=+i}},gt=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),n=60*i[1]+(+i[2]||0);return 0===n?0:"+"===i[0]?-n:n}(t)}],yt=function(t){var i=pt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},bt=function(t,i){var n,e=pt.meridiem;if(e){for(var s=1;s<=24;s+=1)if(t.indexOf(e(s,0,i))>-1){n=s>12;break}}else n=t===(i?"pm":"PM");return n},Dt={A:[ft,function(t){this.afternoon=bt(t,!1)}],a:[ft,function(t){this.afternoon=bt(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[mt,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[lt,Mt("seconds")],ss:[lt,Mt("seconds")],m:[lt,Mt("minutes")],mm:[lt,Mt("minutes")],H:[lt,Mt("hours")],h:[lt,Mt("hours")],HH:[lt,Mt("hours")],hh:[lt,Mt("hours")],D:[lt,Mt("day")],DD:[mt,Mt("day")],Do:[ft,function(t){var i=pt.ordinal,n=t.match(/\d+/);if(this.day=n[0],i)for(var e=1;e<=31;e+=1)i(e).replace(/\[|\]/g,"")===t&&(this.day=e)}],M:[lt,Mt("month")],MM:[mt,Mt("month")],MMM:[ft,function(t){var i=yt("months"),n=(yt("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[ft,function(t){var i=yt("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,Mt("year")],YY:[mt,function(t){this.year=vt(t)}],YYYY:[/\d{4}/,Mt("year")],Z:gt,ZZ:gt};const Yt=new Map([["ar",()=>import("./p-892d0a1d.js")],["bg",()=>import("./p-d102a71f.js")],["bs",()=>import("./p-309d3096.js")],["ca",()=>import("./p-62a49383.js")],["cs",()=>import("./p-610ff7ca.js")],["da",()=>import("./p-438560cf.js")],["de",()=>import("./p-2d651417.js")],["de-at",()=>import("./p-4989e987.js")],["de-ch",()=>import("./p-16146013.js")],["el",()=>import("./p-058f02c9.js")],["en",()=>Promise.resolve().then((function(){return K}))],["en-au",()=>import("./p-10dd03be.js")],["en-ca",()=>import("./p-e13ba5ae.js")],["en-gb",()=>import("./p-9ed9ea6a.js")],["es",()=>import("./p-a3b55d2b.js")],["es-mx",()=>import("./p-04c41e35.js")],["et",()=>import("./p-6c1d694f.js")],["fi",()=>import("./p-a6730996.js")],["fr",()=>import("./p-7cbe5354.js")],["fr-ch",()=>import("./p-6960ce47.js")],["he",()=>import("./p-67d75135.js")],["hi",()=>import("./p-dac4f4cb.js")],["hr",()=>import("./p-b39e12ab.js")],["hu",()=>import("./p-37a78329.js")],["id",()=>import("./p-9a19cfb6.js")],["it",()=>import("./p-e5d839f8.js")],["it-ch",()=>import("./p-386dbde1.js")],["ja",()=>import("./p-e0af78a4.js")],["ko",()=>import("./p-d5104492.js")],["lt",()=>import("./p-bc6ce0ff.js")],["lv",()=>import("./p-4ea9094a.js")],["mk",()=>import("./p-a8253173.js")],["nl",()=>import("./p-b9a21972.js")],["nb",()=>import("./p-693bafa4.js")],["pl",()=>import("./p-ac36a101.js")],["pt",()=>import("./p-76716055.js")],["pt-br",()=>import("./p-ca67597d.js")],["ro",()=>import("./p-0d2c9050.js")],["ru",()=>import("./p-13a8349e.js")],["sk",()=>import("./p-34737573.js")],["sl",()=>import("./p-b018bd03.js")],["sr",()=>import("./p-ba34ef55.js")],["sv",()=>import("./p-87cc78f1.js")],["th",()=>import("./p-8e541da0.js")],["tr",()=>import("./p-f1d4f341.js")],["uk",()=>import("./p-e617f6e9.js")],["vi",()=>import("./p-8e003792.js")],["zh-cn",()=>import("./p-5652bbda.js")],["zh-hk",()=>import("./p-612c38cc.js")],["zh-tw",()=>import("./p-9c42e5ca.js")]]);st.extend((function(t,i,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(vt=t.parseTwoDigitYear);var e=i.prototype,s=e.parse;e.parse=function(t){var i=t.date,e=t.utc,r=t.args;this.$u=e;var a=r[1];if("string"==typeof a){var o=!0===r[2],c=!0===r[3],h=o||c,u=r[2];c&&(u=r[2]),pt=this.$locale(),!o&&u&&(pt=n.Ls[u]),this.$d=function(t,i,n){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var e=function(t){for(var i=(t=ut(t,pt&&pt.formats)).match(dt),n=i.length,e=0;e<n;e+=1){var s=i[e],r=Dt[s],a=r&&r[1];i[e]=a?{regex:r&&r[0],parser:a}:s.replace(/^\[|\]$/g,"")}return function(t){for(var e={},s=0,r=0;s<n;s+=1){var a=i[s];if("string"==typeof a)r+=a.length;else{var o=a.regex,c=a.parser,h=t.slice(r),u=o.exec(h)[0];c.call(e,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var n=t.hours;i?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}(i),s=e(t),r=s.year,a=s.month,o=s.day,c=s.hours,h=s.minutes,u=s.seconds,d=s.milliseconds,m=s.zone,l=new Date,f=o||(r||a?1:l.getDate()),p=r||l.getFullYear(),v=0;r&&!a||(v=a>0?a-1:l.getMonth());var M=c||0,g=h||0,y=u||0,b=d||0;return m?new Date(Date.UTC(p,v,f,M,g,y,b+60*m.offset*1e3)):n?new Date(Date.UTC(p,v,f,M,g,y,b)):new Date(p,v,f,M,g,y,b)}catch(t){return new Date("")}}(i,a,e),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(a)&&(this.$d=new Date("")),pt={}}else if(a instanceof Array)for(var d=a.length,m=1;m<=d;m+=1){r[1]=a[m-1];var l=n.apply(this,r);if(l.isValid()){this.$d=l.$d,this.$L=l.$L,this.init();break}m===d&&(this.$d=new Date(""))}else s.call(this,t)}})),st.extend((function(t,i,n){var e=function(t){return t&&(t.indexOf?t:t.s)},s=function(t,i,n,s,r){var a=t.name?t:t.$locale(),o=e(a[i]),c=e(a[n]),h=o||c.map((function(t){return t.slice(0,s)}));if(!r)return h;var u=a.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},r=function(){return n.Ls[n.locale()]},a=function(t,i){return t.formats[i]||ct(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):s(t,"months")},monthsShort:function(i){return i?i.format("MMM"):s(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):s(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):s(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):s(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},n.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},n.months=function(){return s(r(),"months")},n.monthsShort=function(){return s(r(),"monthsShort","months",3)},n.weekdays=function(t){return s(r(),"weekdays",null,null,t)},n.weekdaysShort=function(t){return s(r(),"weekdaysShort","weekdays",3,t)},n.weekdaysMin=function(t){return s(r(),"weekdaysMin","weekdays",2,t)}})),st.extend((function(t,i,n){var e=i.prototype,s=e.format;n.en.formats=ht,e.format=function(t){void 0===t&&(t=U);var i=this.$locale().formats,n=ut(t,void 0===i?{}:i);return s.call(this,n)}})),st.extend((function(t,i){var n=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return n.bind(this)(t)};var e=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=e.call.apply(e,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(s):s};var s=i.prototype.fromToBase;s&&(i.prototype.fromToBase=function(t,i,n,e){var r=this.$locale()||n.$locale();return s.call(this,t,i,n,e,r&&r.postformat)})})),st.extend((function(t,i,n){n.updateLocale=function(t,i){var e=n.Ls[t];if(e)return(i?Object.keys(i):[]).forEach((function(t){e[t]=i[t]})),e}}));const St=class{constructor(n){t(this,n),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const n=k({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});n!==t&&this.setInputValue(n),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:n}=this;if(n&&"latn"!==n){const e=t.target;b.numberFormatOptions={locale:i,numberingSystem:n,useGrouping:!1};const s=b.delocalize(e.value).split("").map((t=>l.includes(t)?b.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(s)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,n=this.shouldIncludeSeconds();this.setValue(_(i,n)),this.setInputValue(k({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:n}))},this.popoverCloseHandler=()=>{j(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}})},this.popoverOpenHandler=()=>{w(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:n}=t;if(!i)if("Enter"===n){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);this.setValue(i);const n=k({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()});i&&this.calciteInputEl.value!==n&&this.setInputValue(n)}else"ArrowDown"===n?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===n&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,L(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,n=H(t)||"";n!==i&&(this.userChangedValue=!0,this.value=n||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(k({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=_(t,i),this.setInputValue(this.value?k({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=void 0,this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(t){this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?j(this):w(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(k({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds()}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(k({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}async setFocus(){await M(this),this.el.focus()}async reposition(t=!1){var i;null===(i=this.popoverEl)||void 0===i||i.reposition(t)}delocalizeTimeString(t){st.locale(this.effectiveLocale.toLowerCase());const i=st(t,["LTS","LT"]);if(i.isValid()){let t=`${i.get("hour")}:${i.get("minute")}`;return this.shouldIncludeSeconds()&&(t+=`:${i.get("seconds")||0}`),H(t)||""}return""}async loadDateTimeLocaleData(){let t=D(this.effectiveLocale).toLowerCase();"no"===t&&(t="nb"),"pt-pt"===t&&(t="pt");const{default:i}=await Yt.get(t)();st.locale(i,null,!0),st.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}connectedCallback(){u(this),Y(this),A(this.value)?this.setValueDirectly(this.value):this.value=void 0,f(this),a(this),T(this)}async componentWillLoad(){g(this),await Promise.all([C(this),this.loadDateTimeLocaleData()])}componentDidLoad(){y(this),A(this.value)&&this.setInputValue(k({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds()}))}disconnectedCallback(){d(this),p(this),o(this),S(this),j(this),$(this)}componentDidRender(){m(this)}render(){const{disabled:t,messages:i,readOnly:s,dialogId:r}=this;return n(e,{onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},n("div",{class:"input-wrapper",onClick:this.onInputWrapperClick},n("calcite-input",{"aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:v(this),lang:this.effectiveLocale,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputFocus:this.calciteInternalInputFocusHandler,readOnly:s,role:"combobox",scale:this.scale,step:this.step,ref:this.setCalciteInputEl}),this.renderToggleIcon(this.open)),n("calcite-popover",{focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},n("calcite-time-picker",{lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),n(c,{component:this}))}renderToggleIcon(t){return n("span",{class:"toggle-icon"},n("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};St.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";export{St as I,st as d}
@@ -0,0 +1,11 @@
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
+ /*!
7
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
9
+ * v1.4.3
10
+ */
11
+ const t={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},n={checked:"check",remove:"x"},a={actionsEnd:"actions-end",actionsStart:"actions-start"};export{t as C,n as I,a as S}
@@ -0,0 +1,35 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{h as i,r as t,c as e,H as n,g as a}from"./p-f8be5d5f.js";import{f as s}from"./p-7764def7.js";import{i as o,t as r,g as c,a as l,f as h,e as d}from"./p-1aca2237.js";import{d as m,f as p,c as u,r as b,a as f,F as g}from"./p-d866ff25.js";import{s as v,c as w,a as x,d as y,H as k}from"./p-c844e615.js";import{g as z}from"./p-a738e38f.js";import{c as D,u as C,d as _}from"./p-41f5a5fc.js";import{c as I,d as H,g as E}from"./p-8bf81a2e.js";import{c as $,s as j,a as O}from"./p-5173b841.js";import{c as A,d as L}from"./p-0ff7b311.js";import{c as P}from"./p-99b55177.js";import{c as S,d as F}from"./p-c8835780.js";import{c as R,s as B,d as T,u as M}from"./p-db08ef87.js";import{C as W,b as q,c as N,h as U,d as V,e as G,f as K,g as X,a as Y}from"./p-a74094e4.js";import{d as J}from"./p-4e32bf8c.js";import{c as Q,d as Z}from"./p-7a42ffab.js";import{i as ii}from"./p-40bdd836.js";import{j as ti,l as ei,m as ni,n as ai}from"./p-4af3f843.js";import{s as si}from"./p-477ae127.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";import"./p-9ab03591.js";import"./p-4ff653eb.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const oi="x-button";function ri({disabled:t,key:e,label:n,onClick:a,ref:s,scale:o}){return i("button",{"aria-label":n,class:oi,disabled:t,key:e,onClick:a,tabIndex:-1,type:"button",ref:s},i("calcite-icon",{icon:"x",scale:"l"===o?"m":"s"}))}const ci="combobox-item-",li="combobox-chip-",hi="combobox-label-",di="combobox-listbox-",mi="combobox-input-",pi=class{constructor(i){t(this,i),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=m,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=P("mutation",(()=>this.updateItems())),this.resizeObserver=P("resize",(()=>this.setMaxScrollerHeight())),this.guid=z(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?p(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(i.preventDefault(),this.open=!0,this.shiftActiveItemIndex(1));break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||v(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const n=this.getMaxScrollerHeight();i.style.maxHeight=n>0?`${n}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=i=>{this.open=!1;const t=this.items.find((t=>t===i));t&&this.toggleSelection(t,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=i=>{const t=i.composedPath();return t.some((i=>"CALCITE-CHIP"===i.tagName))?(this.open=!1,void i.preventDefault()):t.some((i=>{var t;return null===(t=i.classList)||void 0===t?void 0:t.contains(oi)}))?(this.clearValue(),void i.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,u(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i,S(this)},this.setReferenceEl=i=>{this.referenceEl=i,u(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===G?e===i.label:e===i.textLabel||e===i.value||t===i.textLabel||t===i.value));return J((t=>{const e=s(this.data,t);this.getCombinedItems().forEach((t=>{const n=!i(t,e);t.hidden=n;const[a,s]=t.ancestors;(i(a,e)||i(s,e))&&(t.hidden=!1),n||t.ancestors.forEach((i=>i.hidden=!1))})),this.filteredItems=this.getfilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=J(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getfilteredItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const i=this.filteredItems[this.activeItemIndex];if(!i)return;const t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:n}=this.listContainerEl;e+n<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<n&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;this.disabled||null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)},this.clearDisabled=!1,this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(i){!this.disabled&&o(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.filteredItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:a,filteredFlipPlacements:s}=this;return b(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:n,flipPlacements:s,type:"menu"},i)}async setFocus(){var i;await $(this),null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;D(this),A(this),R(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),I(this),w(this),S(this),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler()}async componentWillLoad(){j(this),this.updateItems(),await B(this)}componentDidLoad(){x(this,this.getValue()),this.reposition(!0),O(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),C(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),_(this),H(this),y(this),f(this,this.referenceEl,this.floatingEl),F(this),L(this),T(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){M(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((i=>i.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:i}=this,t=0===i.length?0:this.items.indexOf(i[i.length-1]);this.updateActiveItemIndex(t)}getMaxScrollerHeight(){const i=this.getCombinedItems().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,n=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(n+=t,e++)}})),n}calculateSingleItemHeight(i){if(!i)return;let t=i.offsetHeight;return Array.from(i.querySelectorAll(W)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){i&&(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=q(i),e=N(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{U(i)||(i.selected=!1)})))}getfilteredItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!U(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),n=this.selectedItems.indexOf(t);return e>-1&&n>-1?e-n:n-e}))}getData(){return this.items.map((i=>({filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(V)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(G))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(V);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${li}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){this.activeItemIndex=i;let t=null;this.filteredItems.forEach(((e,n)=>{n===i?(e.active=!0,t=`${ci}${e.guid}`):e.active=!1})),this.activeDescendant=t,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:t,scale:e,selectionMode:n,messages:a}=this;return this.selectedItems.map(((s,o)=>{const r={chip:!0,"chip--active":t===o},c=[...[...q(s)].reverse(),s].map((i=>i.textLabel)),l="ancestors"!==n?s.textLabel:c.join(" / ");return i("calcite-chip",{class:r,closable:!0,icon:s.icon,iconFlipRtl:s.iconFlipRtl,id:s.guid?`${li}${s.guid}`:null,key:s.textLabel,messageOverrides:{dismissLabel:a.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(s),scale:e,title:l,value:s.value},l)}))}renderInput(){const{guid:t,disabled:e,placeholder:n,selectionMode:a,selectedItems:s,open:o}=this,r="single"===a,c=s[0],l=!o&&r&&!!c;return i("span",{class:{"input-wrap":!0,"input-wrap--single":r}},l&&i("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),i("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${di}${t}`,"aria-label":E(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":l,"input--icon":!!this.placeholderIcon},disabled:e,id:`${mi}${t}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:n,type:"text",ref:i=>this.textInput=i}))}renderListBoxOptions(){return this.filteredItems.map((t=>i("li",{"aria-selected":r(t.selected),id:t.guid?`${ci}${t.guid}`:null,role:"option",tabindex:"-1"},t.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:t,setContainerEl:e,open:n}=this;return i("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":n},ref:t},i("div",{class:{[K.listContainer]:!0,[g.animation]:!0,[g.animationActive]:n},ref:e},i("ul",{class:{list:!0,"list--hide":!n}},i("slot",null))))}renderIconStart(){const{selectedItems:t,placeholderIcon:e,selectionMode:n,placeholderIconFlipRtl:a}=this,s=t[0],o=null==s?void 0:s.icon,r="single"===n;return(!this.open&&s?!!o&&r:!!this.placeholderIcon&&(!s||r))&&i("span",{class:"icon-start"},i("calcite-icon",{class:"selected-icon",flipRtl:this.open&&s?s.iconFlipRtl:a,icon:!this.open&&s?o:e,scale:"s"}))}renderIconEnd(){const{open:t}=this;return i("span",{class:"icon-end"},i("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}render(){var t;const{guid:e,label:a,open:s}=this,o="single"===this.selectionMode,c=!this.clearDisabled&&(null===(t=this.value)||void 0===t?void 0:t.length)>0;return i(n,{onClick:this.comboboxFocusHandler},i("div",{"aria-autocomplete":"list","aria-controls":`${di}${e}`,"aria-expanded":r(s),"aria-haspopup":"listbox","aria-label":E(this),"aria-live":"polite","aria-owns":`${di}${e}`,class:{wrapper:!0,"wrapper--single":o||!this.selectedItems.length,"wrapper--active":s},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},i("div",{class:"grid-input"},this.renderIconStart(),!o&&this.renderChips(),i("label",{class:"screen-readers-only",htmlFor:`${mi}${e}`,id:`${hi}${e}`},a),this.renderInput()),c?i(ri,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),i("ul",{"aria-labelledby":`${hi}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${di}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),i(k,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};pi.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-ui-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=s]) .x-button{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=m]) .x-button{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}:host([scale=l]) .x-button{-webkit-margin-end:1rem;margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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}";
12
+ /*!
13
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
15
+ * v1.4.3
16
+ */
17
+ const ui="icon",bi="icon--active",fi="icon--indent",gi=class{constructor(i){t(this,i),this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6),this.scale="m",this.itemClickHandler=i=>{i.preventDefault(),this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=z(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=X(this.el),this.scale=c(this.el,"scale",this.scale),Q(this),D(this)}disconnectedCallback(){Z(this),_(this)}componentDidRender(){C(this)}toggleSelected(){this.disabled||(this.selected=!this.selected)}renderIcon(t){return this.icon?i("calcite-icon",{class:{"icon--custom":!!this.icon,[bi]:this.icon&&this.selected,[fi]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||t,key:"icon",scale:"l"===this.scale?"m":"s"}):null}renderSelectIndicator(t,e){return t?i("span",{class:{[ui]:!0,"icon--dot":!0,[fi]:!0}}):i("calcite-icon",{class:{[ui]:!0,[bi]:this.selected,[fi]:!0},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:"l"===this.scale?"m":"s"})}renderChildren(){return l(this.el)?i("ul",{key:"default-slot-container"},i("slot",null)):null}render(){const t="single"===c(this.el,"selection-mode","multiple"),e=t&&!this.disabled,a=this.disabled?"circle-disallowed":t?"dot":"check",s={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},o=Y(this.el);return i(n,{"aria-hidden":"true"},i("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${o}`}},i("li",{class:s,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(e,a),this.renderIcon(a),i("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return a(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};gi.style='@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{-webkit-margin-before:-1px;margin-block-start:-1px;-webkit-padding-start:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';
18
+ /*!
19
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
21
+ * v1.4.3
22
+ */
23
+ const vi=class{constructor(i){t(this,i),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=P("mutation",(()=>this.updateItems())),this.resizeObserver=P("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${z()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?p(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(null==i?void 0:i.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0)},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>null==i?void 0:i.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=null==i?void 0:i.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i,S(this)},this.setReferenceEl=i=>{this.referenceEl=i,u(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,u(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(i.target!==this.referenceEl)return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}ii(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=m,this.scale="m",this.selectedItems=[],this.type="click",this.width=void 0}openHandler(i){this.disabled?this.open=!1:i&&this.reposition(!0)}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}async setFocus(){await $(this),this.el.focus()}connectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&this.openHandler(this.open),D(this),S(this)}componentWillLoad(){j(this)}componentDidLoad(){O(this),this.reposition(!0)}componentDidRender(){C(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),_(this),f(this,this.referenceEl,this.floatingEl),F(this)}render(){const{open:t,guid:e}=this;return i(n,null,i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":r(t),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":r(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[g.animation]:!0,[g.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:n,overlayPositioning:a,filteredFlipPlacements:s}=this;return b(this,{floatingEl:t,referenceEl:e,overlayPositioning:a,placement:n,flipPlacements:s,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&o(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.items.indexOf(e)!==this.items.length-1||t.shiftKey?0===this.items.indexOf(e)&&t.shiftKey&&this.closeCalciteDropdown():this.closeCalciteDropdown();break;case"ArrowDown":h(this.items,e,"next");break;case"ArrowUp":h(this.items,e,"previous");break;case"Home":h(this.items,e,"first");break;case"End":h(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,n=0,a=0;return this.groups.forEach((t=>{i>0&&n<i&&Array.from(t.children).forEach(((t,s)=>{0===s&&(isNaN(e)&&(e=t.offsetTop),a+=e),n<i&&(a+=t.offsetHeight,n+=1)}))})),t.length>i?a:0}closeCalciteDropdown(i=!0){this.open=!1,i&&d(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;d(t)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};vi.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
24
+ /*!
25
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
26
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
27
+ * v1.4.3
28
+ */
29
+ const wi=class{constructor(i){t(this,i),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.groupTitle=void 0,this.selectionMode="single",this.scale=void 0}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=this.scale||c(this.el,"scale","m"),e=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,a=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(n,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{container:!0,"container--s":"s"===t,"container--m":"m"===t,"container--l":"l"===t},title:this.groupTitle},a,e,i("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}};wi.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";
30
+ /*!
31
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
32
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
33
+ * v1.4.3
34
+ */
35
+ const xi=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.scale="m",this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0}async setFocus(){var i;await $(this),null===(i=this.el)||void 0===i||i.focus()}componentWillLoad(){j(this),this.initialize()}componentDidLoad(){O(this)}connectedCallback(){this.initialize()}render(){const t=c(this.el,"scale",this.scale),e=i("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===t?"m":"s"}),a=i("span",{class:"dropdown-item-content"},i("slot",null)),s=i("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===t?"m":"s"}),o=this.iconStart&&this.iconEnd?[e,a,s]:this.iconStart?[e,a]:this.iconEnd?[a,s]:a,l=this.href?i("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},o):o,h=this.href?null:"single"===this.selectionMode?"menuitemradio":"multiple"===this.selectionMode?"menuitemcheckbox":"menuitem",d="none"!==this.selectionMode?r(this.selected):null;return i(n,{"aria-checked":d,role:h,tabindex:"0"},i("div",{class:{container:!0,"container--link":!!this.href,"container--s":"s"===t,"container--m":"m"===t,"container--l":"l"===t,"container--multi-selection":"multiple"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?i("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===this.selectionMode?"check":"bullet-point",scale:"l"===t?"m":"s"}):null,l))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.selectionMode=c(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(this)}};xi.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";const yi=class{constructor(i){t(this,i),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.enabledLayerIds=[],this.enabledTableIds=[],this.mapView=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!0,this.type="select",this.ids=[],this.selectedName=""}async mapViewWatchHandler(){await this._setLayers();const i=Object.keys(si.layerNameHash).length>0,t=Object.keys(si.tableNameHash).length>0&&this.showTables;(i||t)&&this._setSelectedLayer(this.ids[0],i?"layer":"table")}async componentWillLoad(){await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){return i(n,null,i("div",{class:"map-layer-picker-container"},i("div",{class:"map-layer-picker"},"combobox"===this.type?this._getCombobox():"select"===this.type?this._getSelect():this._getDropdown())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const i=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=i:"dropdown"===this.type&&(this.selectedName=Object.keys(si.layerNameHash).indexOf(i)>-1?si.layerNameHash[i]:Object.keys(si.tableNameHash).indexOf(i)>-1?si.tableNameHash[i]:"")}}_getSelect(){return i("calcite-select",{label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:i=>{this._layerElement=i},scale:this.scale},this._getMapLayerOptions())}_getCombobox(){return i("calcite-combobox",{clearDisabled:!0,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:i=>{this._layerElement=i},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(){return i("calcite-dropdown",{class:"layer-picker-dropdown"},i("calcite-action",{slot:"trigger",text:""},i("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",kind:"neutral",width:"full"},i("div",null,this.selectedName))),i("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((i,t)=>(this._validLayer(t)?i.push(this._getItem(t,"layer")):this._validTable(t)&&i.push(this._getItem(t,"table")),i)),[])}_getItem(t,e){const n="layer"===e?si.layerNameHash[t]:si.tableNameHash[t];return"combobox"===this.type?i("calcite-combobox-item",{textLabel:n,value:t}):"select"===this.type?i("calcite-option",{label:n,value:t}):i("calcite-dropdown-item",{onClick:()=>{this._setSelectedLayer(t,e)}},n)}_setSelectedLayer(i,t){this.selectedName="layer"===t?si.layerNameHash[i]:si.tableNameHash[i],this.selectedIds=[i],this.layerSelectionChange.emit(this.selectedIds)}async _setLayers(){if(this.mapView){const i=await ti(this.mapView),t=this.showTables?await ei(this.mapView):[];this.ids=[...i.filter((i=>{var t;return!((null===(t=this.enabledLayerIds)||void 0===t?void 0:t.length)>0)||this.enabledLayerIds.indexOf(i)>-1})),...t.filter((i=>{var t;return!((null===(t=this.enabledTableIds)||void 0===t?void 0:t.length)>0)||this.enabledTableIds.indexOf(i)>-1}))],await this._initStateHash()}}async _initStateHash(){this.mapView&&(si.layerNameHash=await ni(this.mapView),si.tableNameHash=this.showTables?await ai(this.mapView):{})}_validLayer(i){const t=si.layerNameHash[i];return t&&si.managedLayers.indexOf(t)<0&&(this.enabledLayerIds.length>0?this.enabledLayerIds.indexOf(i)>-1:t)}_validTable(i){const t=si.tableNameHash[i],e=t&&this.showTables;return e?si.managedTables.indexOf(t)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(i)>-1):e}_layerSelectionChange(){const i=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(i)!==JSON.stringify([""])&&(this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds))}get el(){return a(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};yi.style=":host{display:block}.map-layer-picker-container{width:100%}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}";export{pi as calcite_combobox,gi as calcite_combobox_item,vi as calcite_dropdown,wi as calcite_dropdown_group,xi as calcite_dropdown_item,yi as map_layer_picker}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as e,g as a}from"./p-f8be5d5f.js";import{f as n}from"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";const s=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6),this.itemMap=new Map,this.items=[],this.enabledItems=[],this.icon=!1,this.layout="horizontal",this.numbered=!1,this.numberingSystem=void 0,this.selectedItem=null,this.scale="m"}numberingSystemChange(){this.setStepperItemNumberingSystem()}componentDidLoad(){"number"!=typeof this.currentPosition&&this.calciteInternalStepperItemChange.emit({position:0})}render(){return e("slot",{onSlotchange:t=>{const i=t.currentTarget.assignedElements().filter((t=>"CALCITE-STEPPER-ITEM"===(null==t?void 0:t.tagName))),e=Array(i.length).fill("1fr").join(" ");this.el.style.gridTemplateAreas=e,this.el.style.gridTemplateColumns=e,this.setStepperItemNumberingSystem()}})}calciteInternalStepperItemKeyEvent(t){const i=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":n(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":n(this.enabledItems,i,"previous");break;case"Home":n(this.enabledItems,i,"first");break;case"End":n(this.enabledItems,i,"last")}t.stopPropagation()}registerItem(t){const i=t.target,{content:e,position:a}=t.detail;this.itemMap.set(i,{position:a,content:e}),this.items=this.sortItems(),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:i}=t.detail;"number"==typeof i&&(this.currentPosition=i,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:i})}handleUserRequestedStepperItemSelect(){this.calciteStepperItemChange.emit()}async nextStep(){const t=this.getEnabledStepIndex(this.currentPosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentPosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const i=t-1;this.currentPosition!==i&&this.updateStep(i)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}getEnabledStepIndex(t,i="next"){var e;const{items:a,currentPosition:n}=this;let s=t;for(;null===(e=a[s])||void 0===e?void 0:e.disabled;)s+="previous"===i?-1:1;return s!==n&&s<a.length&&s>=0?s:null}updateStep(t){this.currentPosition=t,this.calciteInternalStepperItemChange.emit({position:t})}sortItems(){const{itemMap:t}=this;return Array.from(t.keys()).sort(((i,e)=>t.get(i).position-t.get(e).position))}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}get el(){return a(this)}static get watchers(){return{numberingSystem:["numberingSystemChange"]}}};s.style='@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]){flex:1 1 auto;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';export{s as calcite_stepper}
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as e,h as i,F as a,g as n}from"./p-f8be5d5f.js";import{s as o,p as s,t as r,o as l}from"./p-1aca2237.js";import{c,u as d,d as h}from"./p-41f5a5fc.js";import{s as m,a as p,c as f}from"./p-5173b841.js";import{c as u}from"./p-99b55177.js";import{S as b}from"./p-9630e3b7.js";import{H as g}from"./p-e5e20990.js";import{S as x,C as v,I as y}from"./p-77649e3a.js";import{c as w,d as k}from"./p-0ff7b311.js";import{c as z,s as D,d as _,u as C}from"./p-db08ef87.js";import{c as S,d as j}from"./p-7a42ffab.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";const A=class{constructor(i){t(this,i),this.calcitePanelClose=e(this,"calcitePanelClose",6),this.calcitePanelScroll=e(this,"calcitePanelScroll",6),this.resizeObserver=u("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:t}=this;t&&"number"==typeof t.scrollHeight&&"number"==typeof t.offsetHeight&&(t.tabIndex=t.scrollHeight>t.offsetHeight?0:-1)},this.setContainerRef=t=>{this.containerEl=t},this.setCloseRef=t=>{this.closeButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{this.closable&&"Escape"===t.key&&!t.defaultPrevented&&(this.close(),t.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasStartActions=!!e.length},this.handleHeaderActionsEndSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasEndActions=!!e.length},this.handleHeaderMenuActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasMenuItems=!!e.length},this.handleActionBarSlotChange=t=>{const e=o(t).filter((t=>null==t?void 0:t.matches("calcite-action-bar")));e.forEach((t=>t.layout="horizontal")),this.hasActionBar=!!e.length},this.handleHeaderContentSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasHeaderContent=!!e.length},this.handleFooterSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterContent=!!e.length},this.handleFooterActionsSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFooterActions=!!e.length},this.handleFabSlotChange=t=>{const e=t.target.assignedElements({flatten:!0});this.hasFab=!!e.length},this.setPanelScrollEl=t=>{var e,i;this.panelScrollEl=t,null===(e=this.resizeObserver)||void 0===e||e.disconnect(),t&&(null===(i=this.resizeObserver)||void 0===i||i.observe(t),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){c(this),w(this),z(this)}async componentWillLoad(){m(this),await D(this)}componentDidLoad(){p(this)}componentDidRender(){d(this)}disconnectedCallback(){var t;h(this),k(this),_(this),null===(t=this.resizeObserver)||void 0===t||t.disconnect()}effectiveLocaleChange(){C(this,this.effectiveLocale)}async setFocus(){await f(this),s(this.containerEl)}async scrollContentTo(t){var e;null===(e=this.panelScrollEl)||void 0===e||e.scrollTo(t)}renderHeaderContent(){const{heading:t,headingLevel:e,description:a,hasHeaderContent:n}=this,o=t?i(g,{class:v.heading,level:e},t):null,s=a?i("span",{class:v.description},a):null;return n||!o&&!s?null:i("div",{class:v.headerContent,key:"header-content"},o,s)}renderActionBar(){return i("div",{class:v.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:t}=this;return i("div",{class:{[v.headerActionsStart]:!0,[v.headerActions]:!0},hidden:!t,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{close:t,hasEndActions:e,messages:a,closable:n,hasMenuItems:o}=this,s=a.close,r=n?i("calcite-action",{"aria-label":s,"data-test":"close",icon:y.close,onClick:t,text:s,ref:this.setCloseRef}):null,l=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});return i("div",{class:{[v.headerActionsEnd]:!0,[v.headerActions]:!0},hidden:!(e||r||o),key:"header-actions-end"},l,this.renderMenu(),r)}renderMenu(){const{hasMenuItems:t,messages:e,menuOpen:a}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!t,key:"menu",label:e.options,open:a,placement:"bottom-end"},i("calcite-action",{icon:y.menu,slot:b.trigger,text:e.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:t,hasStartActions:e,hasEndActions:a,closable:n,hasMenuItems:o}=this,s=this.renderHeaderContent();return i("header",{class:v.header,hidden:!(t||s||e||a||n||o)},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),s,this.renderHeaderActionsEnd())}renderFooterNode(){const{hasFooterContent:t,hasFooterActions:e}=this;return i("footer",{class:v.footer,hidden:!(t||e)},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){const{hasFab:t}=this,e=i("slot",{key:"default-slot"}),a=t?i("section",{class:v.contentContainer},e):e;return i("div",{class:{[v.contentWrapper]:!0,[v.contentContainer]:!t,[v.contentHeight]:t},onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},a,this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{loading:t,panelKeyDownHandler:e,closed:n,closable:o}=this,s=i("article",{"aria-busy":r(t),class:v.container,hidden:n,onKeyDown:e,tabIndex:o?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderActionBar(),this.renderContent(),this.renderFooterNode());return i(a,null,t?i("calcite-scrim",{loading:t}):null,s)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{-webkit-border-after:1px solid;border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.action-bar-container{-webkit-border-after:1px solid;border-block-end:1px solid;z-index:var(--calcite-app-z-index-header);inline-size:100%;border-block-end-color:var(--calcite-ui-border-3)}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{-webkit-margin-start:auto;margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{-webkit-border-before:1px solid;border-block-start:1px solid;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;padding:var(--calcite-panel-footer-padding)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-app-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */
12
+ const H="content",L=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!l(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!l(t)},this.handleAlertsSlotChange=t=>{var e;this.hasAlerts=!!l(t),null===(e=o(t))||void 0===e||e.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{var e;this.hasModals=!!l(t),null===(e=o(t))||void 0===e||e.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){S(this)}disconnectedCallback(){j(this)}renderHeader(){return i("div",{hidden:!this.hasHeader},i("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return i("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},i("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return i("div",{hidden:!this.hasAlerts},i("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return i("div",{hidden:!this.hasModals},i("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=i("slot",{key:"default-slot"}),e=i("slot",{key:"center-row-slot",name:"center-row"}),a=i("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),n=i("slot",{key:"panel-top-slot",name:"panel-top"}),o="content-container";return this.contentBehind?[i("div",{class:{[H]:!0,"content--behind":!0},key:o},t),i("div",{class:"center-content"},n,a,e)]:[i("div",{class:H,key:o},n,t,a,e)]}renderMain(){return i("div",{class:"main"},i("slot",{name:"panel-start"}),this.renderContent(),i("slot",{name:"panel-end"}))}renderPositionedSlots(){return i("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return i(a,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return n(this)}};L.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-app-z-index) - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-app-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){-webkit-margin-before:auto;margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){-webkit-margin-after:auto;margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}";export{A as calcite_panel,L as calcite_shell}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as a,g as e}from"./p-f8be5d5f.js";import{c as s,d as n,u as o}from"./p-41f5a5fc.js";import{s as r,a as c,c as l}from"./p-5173b841.js";import{c as m}from"./p-99b55177.js";import{I as d}from"./p-1085b789.js";import{m as h,d as p,a as f,s as u,h as b,b as g,g as y,k as x,i as w,c as v,e as k,f as j,r as _,j as D,l as z,n as I,o as L,p as C,L as H}from"./p-fae853e9.js";import"./p-d60a77a4.js";import"./p-60dba0cb.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-eafc4b73.js";import"./p-4e32bf8c.js";const F=class{constructor(a){t(this,a),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=m("mutation",h.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=p.bind(this),this.deselectSiblingItems=f.bind(this),this.selectSiblings=u.bind(this),this.handleFilter=b.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=y.bind(this),this.keyDownHandler=x.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),v.call(this),s(this)}disconnectedCallback(){k.call(this),n(this)}componentWillLoad(){r(this)}componentDidLoad(){c(this),j.call(this)}componentDidRender(){o(this)}calciteListItemRemoveHandler(t){_.call(this,t)}calciteListItemChangeHandler(t){D.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){L.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await l(this),C.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return a(H,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};F.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";export{F as calcite_pick_list}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var p={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(_){var p=_%100;if(p>10&&p<20)return _+"-ти";var m=_%10;return 1===m?_+"-ви":2===m?_+"-ри":7===m||8===m?_+"-ми":_+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};_.locale(p,null,!0);export default p;
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as e,H as a,g as n}from"./p-f8be5d5f.js";import{b as o,g as l,t as r}from"./p-1aca2237.js";import{a as c,c as s,d as m,H as d}from"./p-c844e615.js";import{c as h,d as u,u as f}from"./p-41f5a5fc.js";import{c as p,d as g}from"./p-8bf81a2e.js";import{s as b,a as v,c as y}from"./p-5173b841.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";const k=class{constructor(e){t(this,e),this.calciteSegmentedControlChange=i(this,"calciteSegmentedControlChange",6),this.handleClick=t=>{this.disabled||"calcite-segmented-control-item"===t.target.localName&&this.selectItem(t.target,!0)},this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.layout="horizontal",this.name=void 0,this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}valueHandler(t){this.getItems().forEach((i=>i.checked=i.value===t))}handleSelectedItemChange(t,i){if(this.value=null==t?void 0:t.value,t===i)return;const e=this.getItems(),a=e.filter((i=>i===t)).pop();a?this.selectItem(a):e[0]&&(e[0].tabIndex=0)}componentWillLoad(){b(this);const t=this.getItems(),i=t.filter((t=>t.checked)).pop();i?this.selectItem(i):t[0]&&(t[0].tabIndex=0)}componentDidLoad(){c(this,this.value),v(this)}connectedCallback(){h(this),p(this),s(this)}disconnectedCallback(){u(this),g(this),m(this)}componentDidRender(){f(this)}render(){return e(a,{onClick:this.handleClick,role:"radiogroup"},e("slot",null),e(d,{component:this}))}handleSelected(t){t.preventDefault(),this.selectItem(t.target),t.stopPropagation()}handleKeyDown(t){const{key:i}=t,{el:e,selectedItem:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;let n=i;"rtl"===o(e)&&("ArrowRight"===i&&(n="ArrowLeft"),"ArrowLeft"===i&&(n="ArrowRight"));const l=this.getItems();let r=-1;switch(l.forEach(((t,i)=>{t===a&&(r=i)})),n){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(r<1?l[l.length-1]:l[r-1],!0);case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(-1===r?l[1]:l[r+1]||l[0],!0);case" ":return t.preventDefault(),void this.selectItem(t.target,!0);default:return}}async setFocus(){var t;await y(this),null===(t=this.selectedItem||this.getItems()[0])||void 0===t||t.focus()}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(t,i=!1){if(t===this.selectedItem)return;const e=this.getItems();let a=null;e.forEach((e=>{const n=e===t;(n&&!e.checked||!n&&e.checked)&&(e.checked=n),e.tabIndex=n?0:-1,n&&(a=e,i&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=a,a&&a.focus()}get el(){return n(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};k.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}: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([appearance=outline]){background-color:transparent}: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-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-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}";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */
12
+ const w="segmented-control-item-icon",x=class{constructor(e){t(this,e),this.calciteInternalSegmentedControlItemChange=i(this,"calciteInternalSegmentedControlItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconStart=void 0,this.iconEnd=void 0,this.value=void 0}handleCheckedChange(){this.calciteInternalSegmentedControlItemChange.emit()}render(){const{checked:t,value:i}=this,n=l(this.el,"scale","m"),o=l(this.el,"appearance","solid"),c=l(this.el,"layout","horizontal"),s=this.iconStart?e("calcite-icon",{class:w,flipRtl:this.iconFlipRtl,icon:this.iconStart,key:"icon-start",scale:"s"}):null,m=this.iconEnd?e("calcite-icon",{class:w,flipRtl:this.iconFlipRtl,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;return e(a,{"aria-checked":r(t),"aria-label":i,role:"radio"},e("label",{class:{"label--scale-s":"s"===n,"label--scale-m":"m"===n,"label--scale-l":"l"===n,"label--horizontal":"horizontal"===c,"label--outline":"outline"===o,"label--outline-fill":"outline-fill"===o}},this.iconStart?s:null,e("slot",null,i),e("slot",{name:"input"}),this.iconEnd?m:null))}get el(){return n(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};x.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}: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-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );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,:host([checked]) .label--outline-fill{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)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{-webkit-margin-start:1rem;margin-inline-start:1rem}";export{k as calcite_segmented_control,x as calcite_segmented_control_item}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as a,H as e,g as n}from"./p-f8be5d5f.js";import{b as c,t as o}from"./p-1aca2237.js";import{g as s}from"./p-a738e38f.js";import{i as r}from"./p-40bdd836.js";import{c as l,d}from"./p-0ff7b311.js";import{u as m,c as h,d as g,s as f}from"./p-db08ef87.js";import"./p-c2d148da.js";import"./p-99b55177.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const p="toggle",u={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"},v=class{constructor(a){t(this,a),this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",6),this.guid=s(),this.handleHeaderKeyDown=t=>{r(t.key)&&(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){m(this,this.effectiveLocale)}connectedCallback(){l(this),h(this)}disconnectedCallback(){d(this),g(this)}async componentWillLoad(){await f(this)}renderStatusIcon(){var t;const{status:i}=this,e=null!==(t=u[i])&&void 0!==t&&t;return e?a("calcite-icon",{class:{"status-icon":!0,valid:"valid"==i,invalid:"invalid"==i},icon:e,scale:"s"}):null}render(){const{el:t,messages:i,open:n,text:s,toggleDisplay:r}=this,l=c(t),d=n?u.menuOpen:"rtl"===l?u.menuClosedLeft:u.menuClosedRight,m=n?i.collapse:i.expand,{guid:h}=this,g=`${h}-region`,f=`${h}-button`,v="switch"===r?a("div",{"aria-controls":g,"aria-label":m,class:{[p]:!0,"toggle--switch":!0},id:f,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:m},a("div",{class:"toggle--switch__content"},a("span",{class:"toggle--switch__text"},s)),a("calcite-switch",{checked:n,label:m,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-controls":g,"aria-label":m,class:{"section-header":!0,[p]:!0},id:f,name:m,onClick:this.toggleSection},a("calcite-icon",{icon:d,scale:"s"}),a("span",{class:"section-header__text"},s),this.renderStatusIcon());return a(e,null,v,a("section",{"aria-expanded":o(n),"aria-labelledby":f,class:"content",hidden:!n,id:g},a("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";export{v as calcite_block_section}
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as a,H as e,g as s}from"./p-f8be5d5f.js";import{l as n}from"./p-d7ddd3a2.js";import{g as l}from"./p-fc2277fe.js";import{v as r,i as h,w as o}from"./p-1aca2237.js";import{g as c}from"./p-a738e38f.js";import{c as d,d as u,a as m,H as b}from"./p-c844e615.js";import{c as p,d as f,u as v}from"./p-41f5a5fc.js";import{i as g}from"./p-40bdd836.js";import{c as x,d as _,g as k}from"./p-8bf81a2e.js";import{s as w,a as y,c as z}from"./p-5173b841.js";import{n as V,c as D,d as $}from"./p-0ff7b311.js";import{d as M,c as H}from"./p-8249c47b.js";import{f as I}from"./p-9ab03591.js";import{s as j}from"./p-477ae127.js";import"./p-e1a4994d.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";import"./p-99b55177.js";import"./p-4ff653eb.js";const C=class{constructor(a){t(this,a),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return a(e,null,"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _initModules(){const[t]=await n(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_getUnits(){const t={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers};return Object.keys(t).map((i=>a("calcite-option",{label:t[i],selected:this.unit===i,value:i})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{var t;if((null===(t=this.geometries)||void 0===t?void 0:t.length)>0&&this.unit&&this.distance>0){const t=this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(t)}}),400))}_getTextBoxDisplay(){return a("div",{class:"c-container"},a("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),a("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return a("div",null,a("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}get el(){return s(this)}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */
12
+ var S;C.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{-webkit-padding-end:1rem;padding-inline-end:1rem}.w-50{width:50%}',function(t){t.valid="check-circle",t.invalid="exclamation-mark-triangle",t.idle="information"}(S||(S={}));const O=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=r(S,this.icon,this.status)}connectedCallback(){this.requestedIcon=r(S,this.icon,this.status)}render(){return a(e,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),a("slot",null))}renderIcon(t){if(t)return a("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}get el(){return s(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};O.style="@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([scale=m]),:host([scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([scale=m]),:host([scale=l]){-webkit-margin-before:var(--calcite-input-message-spacing-value);margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
13
+ /*!
14
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
15
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
16
+ * v1.4.3
17
+ */
18
+ const T="handle__label";function F(t){return Array.isArray(t)}const L=class{constructor(a){t(this,a),this.calciteSliderInput=i(this,"calciteSliderInput",6),this.calciteSliderChange=i(this,"calciteSliderChange",6),this.activeProp="value",this.guid=`calcite-slider-${c()}`,this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const i=this.translate(t.clientX||t.pageX);if(F(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,a=i+this.maxValueDragRange;a<=this.max&&t>=this.min&&a-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(a,"maxValue")})}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(i,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&h(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.determineGroupSeparator=t=>{if("number"==typeof t)return V.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},V.localize(t.toString())},this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){p(this),D(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),x(this),d(this)}disconnectedCallback(){f(this),_(this),u(this),$(this),this.removeDragListeners()}componentWillLoad(){w(this),this.tickValues=this.generateTickValues(),F(this.value)||(this.value=this.clamp(this.value)),m(this,this.value),this.snap&&!F(this.value)&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidLoad(){y(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),F(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),v(this)}render(){const t=this.el.id||this.guid,i=F(this.value)?"maxValue":"value",s=F(this.value)?this.maxValue:this.value,n=this.determineGroupSeparator(s),l=this.determineGroupSeparator(this.minValue),r=this.minValue||this.min,h=this.shouldUseMinValue(),o=100*this.getUnitInterval(h?this.minValue:r),c=100*this.getUnitInterval(s),d=this.shouldMirror(),u=`${d?100-o:o}%`,m=`${d?c:100-c}%`,p=F(this.value),f=`${T} handle__label--minValue`,v=`${T} handle__label--value`,g=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("div",{class:"handle"})),x=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("span",{"aria-hidden":"true",class:v},n),a("span",{"aria-hidden":"true",class:`${v} static`},n),a("span",{"aria-hidden":"true",class:`${v} transformed`},n),a("div",{class:"handle"})),_=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:v},n),a("span",{"aria-hidden":"true",class:`${v} static`},n),a("span",{"aria-hidden":"true",class:`${v} transformed`},n)),w=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("div",{class:"handle"}),a("div",{class:"handle-extension"})),y=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("div",{class:"handle-extension"}),a("div",{class:"handle"})),z=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("span",{"aria-hidden":"true",class:v},n),a("span",{"aria-hidden":"true",class:`${v} static`},n),a("span",{"aria-hidden":"true",class:`${v} transformed`},n),a("div",{class:"handle"}),a("div",{class:"handle-extension"})),V=a("div",{"aria-disabled":this.disabled,"aria-label":p?this.maxLabel:this.minLabel,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":s,class:{thumb:!0,"thumb--value":!0,"thumb--active":"minMaxValue"!==this.lastDragProp&&this.dragProp===i,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp=i,onPointerDown:t=>this.pointerDownDragStart(t,i),role:"slider",style:{right:m},tabIndex:0,ref:t=>this.maxHandle=t},a("div",{class:"handle-extension"}),a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:v},n),a("span",{"aria-hidden":"true",class:`${v} static`},n),a("span",{"aria-hidden":"true",class:`${v} transformed`},n)),D=a("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:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:u},tabIndex:0,ref:t=>this.minHandle=t},a("div",{class:"handle"})),$=a("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:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:u},tabIndex:0,ref:t=>this.minHandle=t},a("span",{"aria-hidden":"true",class:f},l),a("span",{"aria-hidden":"true",class:`${f} static`},l),a("span",{"aria-hidden":"true",class:`${f} transformed`},l),a("div",{class:"handle"})),M=a("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:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:u},tabIndex:0,ref:t=>this.minHandle=t},a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:f},l),a("span",{"aria-hidden":"true",class:`${f} static`},l),a("span",{"aria-hidden":"true",class:`${f} transformed`},l)),H=a("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:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:u},tabIndex:0,ref:t=>this.minHandle=t},a("div",{class:"handle-extension"}),a("div",{class:"handle"})),I=a("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:{thumb:!0,"thumb--minValue":!0,"thumb--active":"minValue"===this.dragProp,"thumb--precise":!0},onBlur:()=>this.activeProp=null,onFocus:()=>this.activeProp="minValue",onPointerDown:t=>this.pointerDownDragStart(t,"minValue"),role:"slider",style:{left:u},tabIndex:0,ref:t=>this.minHandle=t},a("div",{class:"handle-extension"}),a("div",{class:"handle"}),a("span",{"aria-hidden":"true",class:f},l),a("span",{"aria-hidden":"true",class:`${f} static`},l),a("span",{"aria-hidden":"true",class:`${f} transformed`},l));return a(e,{id:t,onTouchStart:this.handleTouchStart},a("div",{"aria-label":k(this),class:{container:!0,"container--range":p,[`scale--${this.scale}`]:!0}},this.renderGraph(),a("div",{class:"track",ref:this.storeTrackRef},a("div",{class:"track__range",onPointerDown:t=>this.pointerDownDragStart(t,"minMaxValue"),style:{left:`${d?100-c:o}%`,right:`${d?o:100-c}%`}}),a("div",{class:"ticks"},this.tickValues.map((t=>{const i=100*this.getUnitInterval(t)+"%";let e=t>=r&&t<=s;return h&&(e=t>=this.minValue&&t<=this.maxValue),a("span",{class:{tick:!0,"tick--active":e},style:{left:d?"":i,right:d?i:""}},this.renderTickLabel(t))})))),a("div",{class:"thumb-container"},!this.precise&&!this.labelHandles&&p&&D,!this.hasHistogram&&!this.precise&&this.labelHandles&&p&&$,this.precise&&!this.labelHandles&&p&&H,this.precise&&this.labelHandles&&p&&I,this.hasHistogram&&!this.precise&&this.labelHandles&&p&&M,!this.precise&&!this.labelHandles&&g,!this.hasHistogram&&!this.precise&&this.labelHandles&&x,!this.hasHistogram&&this.precise&&!this.labelHandles&&w,this.hasHistogram&&this.precise&&!this.labelHandles&&y,!this.hasHistogram&&this.precise&&this.labelHandles&&z,this.hasHistogram&&!this.precise&&this.labelHandles&&_,this.hasHistogram&&this.precise&&this.labelHandles&&V,a(b,{component:this}))))}renderGraph(){return this.histogram?a("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:F(this.value)?this.maxValue:this.value,highlightMin:F(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const i=F(this.value),e=t===this.min,s=t===this.max,n=this.determineGroupSeparator(t),l=a("span",{class:{tick__label:!0,"tick__label--min":e,"tick__label--max":s}},n);return this.labelTicks&&!this.hasHistogram&&!i||this.labelTicks&&!this.hasHistogram&&i&&!this.precise&&!this.labelHandles||this.labelTicks&&!this.hasHistogram&&i&&!this.precise&&this.labelHandles||this.labelTicks&&!this.hasHistogram&&i&&this.precise&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(e||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(e||s)?l:null}keyDownHandler(t){const i=this.shouldMirror(),{activeProp:a,max:e,min:s,pageStep:n,step:l}=this,r=this[a],{key:h}=t;if(g(h))return void t.preventDefault();let o;if("ArrowUp"===h||"ArrowRight"===h?o=r+l*(i&&"ArrowRight"===h?-1:1):"ArrowDown"===h||"ArrowLeft"===h?o=r-l*(i&&"ArrowLeft"===h?-1:1):"PageUp"===h?n&&(o=r+n):"PageDown"===h?n&&(o=r-n):"Home"===h?o=s:"End"===h&&(o=e),isNaN(o))return;t.preventDefault();const c=Number(o.toFixed(M(l)));this.setValue({[a]:this.clamp(c,a)})}pointerDownHandler(t){if(this.disabled||!h(t))return;const i=t.clientX||t.pageX,a=this.translate(i);let e="value";F(this.value)&&(e=a>=this.minValue&&a<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[e],this.dragStart(e),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue({[e]:this.clamp(a,e)}),this.focusActiveHandle(i)}handleTouchStart(t){t.preventDefault()}async setFocus(){await z(this);const t=this.minHandle?this.minHandle:this.maxHandle;null==t||t.focus()}setValueFromMinMax(){const{minValue:t,maxValue:i}=this;"number"==typeof t&&"number"==typeof i&&(this.value=[t,i])}setMinMaxFromValue(){const{value:t}=this;F(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!F(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}generateTickValues(){const t=[];let i=this.min;for(;this.ticks&&i<this.max+this.ticks;)t.push(Math.min(i,this.max)),i+=this.ticks;return t}pointerDownDragStart(t,i){h(t)&&this.dragStart(i)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,document.addEventListener("pointermove",this.dragUpdate),document.addEventListener("pointerup",this.pointerUpDragEnd),document.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){switch(this.dragProp){case"minValue":this.minHandle.focus();break;case"maxValue":case"value":this.maxHandle.focus();break;case"minMaxValue":this.getClosestHandle(t).focus()}}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){document.removeEventListener("pointermove",this.dragUpdate),document.removeEventListener("pointerup",this.pointerUpDragEnd),document.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let i;Object.keys(t).forEach((a=>{const e=t[a];i||(i=this[a]!==e),this[a]=e})),i&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=H(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:a,width:e}=this.trackEl.getBoundingClientRect(),s=(t-a)/e,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-s:s));let r=Number(l.toFixed(M(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(M(this.step))),this.step){const i=Math.round(t/this.step)*this.step;t=Number(this.clamp(i).toFixed(M(this.step)))}return t}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,i){return Math.abs(t.getBoundingClientRect().left-i)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const i=this.el.shadowRoot.querySelector(`.handle__label--${t}`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=a.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);i.style.transform=`translateX(${n}px)`,e.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),a=i?"value":"minValue",e=i?"minValue":"value",s=t.querySelector(`.handle__label--${a}`),n=t.querySelector(`.handle__label--${a}.static`),l=t.querySelector(`.handle__label--${a}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${e}`),o=t.querySelector(`.handle__label--${e}.static`),c=t.querySelector(`.handle__label--${e}.transformed`),d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),u=this.getFontSizeForElement(s),m=this.getRangeLabelOverlap(l,c),b=s,p=u/2;if(m>0){if(b.classList.add("hyphen","hyphen--wrap"),0===d&&0===r){let t=m/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const i=this.getHostOffset(l.getBoundingClientRect().left+t-p,l.getBoundingClientRect().right+t-p);let a=m/2;const e=this.getHostOffset(c.getBoundingClientRect().left+a,c.getBoundingClientRect().right+a);0!==i&&(t+=i,a+=i),0!==e&&(t+=e,a+=e),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,h.style.transform=`translateX(${a}px)`,c.style.transform=`translateX(${a}px)`}else if(r>0||d>0)s.style.transform=`translateX(${r+p}px)`,h.style.transform=`translateX(${m+d}px)`,c.style.transform=`translateX(${m+d}px)`;else if(r<0||d<0){let t=Math.abs(r)+m-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`}}else b.classList.remove("hyphen","hyphen--wrap"),s.style.transform=`translateX(${r}px)`,l.style.transform=`translateX(${r}px)`,h.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=F(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const i=this.el.shadowRoot.querySelector(".thumb--minValue"),a=this.el.shadowRoot.querySelector(".thumb--value"),e=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!i&&a&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)?"0":"1"),i&&a&&e&&s&&(e.style.opacity=this.isMinTickLabelObscured(e,i)||this.isMinTickLabelObscured(e,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)||this.isMaxTickLabelObscured(s,a)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const a=this.el.getBoundingClientRect();return t+7<a.left?a.left-t-7:i-7>a.right?7-(i-a.right):0}getRangeLabelOverlap(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(a.right+s-e.left,0)}isMinTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return o(a,e)}isMaxTickLabelObscured(t,i){const a=t.getBoundingClientRect(),e=i.getBoundingClientRect();return o(a,e)}static get delegatesFocus(){return!0}get el(){return s(this)}static get watchers(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};L.style='@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-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 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-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.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);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-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 );touch-action:none}: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:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-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-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.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:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{-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:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-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}';const P=class{constructor(a){t(this,a),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=I.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===I.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return a(e,null,a("div",{class:this.drawMode===I.SKETCH?"border":"border esri-widget esri-sketch__panel"},a("div",{ref:t=>{this._sketchElement=t}}),a("div",{class:t},a("calcite-action",{disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),a("calcite-action",{disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,a]=await n(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=a}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),j.managedLayers.push(t),this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch(Object.assign(Object.assign({},t),{container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===I.SKETCH}})),this._sketchViewModel=new this.SketchViewModel(Object.assign({},t)),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===I.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===I.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{var i;if(this.editGraphicsEnabled){const a=null===(i=null==t?void 0:t.toolEventInfo)||void 0===i?void 0:i.type;"reshape-stop"!==a&&"move-stop"!==a||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){var t;this._sketchWidget.viewModel.cancel(),this.graphics=[],null===(t=this._sketchGraphicsLayer)||void 0===t||t.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,a="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;a&&t.forEach((t=>t.symbol=a))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};P.style=':host{display:block}.border{outline:1px solid var(--calcite-ui-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110,110,110,.3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110,110,110,.3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{C as buffer_tools,O as calcite_input_message,L as calcite_slider,P as map_draw_tools}