@esri/solutions-components 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1219) 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 +17 -14
  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 +1868 -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 +658 -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-6d4e269f.js +2729 -0
  114. package/dist/cjs/edit-card_2.cjs.entry.js +339 -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-fc923796.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-efc49df7.js +369 -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 +18 -5
  161. package/dist/cjs/resources-11930a56.js +22 -0
  162. package/dist/cjs/resources-31971fd8.js +39 -0
  163. package/dist/cjs/resources-3910592f.js +20 -0
  164. package/dist/cjs/resources-3a47be9f.js +32 -0
  165. package/dist/cjs/resources-6c4c932c.js +2057 -0
  166. package/dist/cjs/resources-c751bdd1.js +50 -0
  167. package/dist/cjs/resources-d4061075.js +27 -0
  168. package/dist/cjs/resources-d8a4240f.js +23 -0
  169. package/dist/cjs/resources-e4e8d49f.js +27 -0
  170. package/dist/cjs/ro-c257efaf.js +63 -0
  171. package/dist/cjs/ru-e31a6ee1.js +123 -0
  172. package/dist/cjs/shared-list-render-d4e4e7b1.js +364 -0
  173. package/dist/cjs/sk-4d6d340c.js +145 -0
  174. package/dist/cjs/sl-01804d73.js +63 -0
  175. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  176. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  177. package/dist/cjs/solution-store-bd956f06.js +4100 -0
  178. package/dist/cjs/solutions-components.cjs.js +3 -3
  179. package/dist/cjs/sortableComponent-76967993.js +3087 -0
  180. package/dist/cjs/sr-76730aad.js +98 -0
  181. package/dist/cjs/sv-c1e40108.js +68 -0
  182. package/dist/cjs/t9n-f82f4304.js +100 -0
  183. package/dist/cjs/th-758abef8.js +62 -0
  184. package/dist/cjs/time-a1d60db6.js +208 -0
  185. package/dist/cjs/tr-36efd084.js +63 -0
  186. package/dist/cjs/uk-f5a49848.js +101 -0
  187. package/dist/cjs/utils-300573e5.js +64 -0
  188. package/dist/cjs/utils-369d7746.js +218 -0
  189. package/dist/cjs/utils-46e2a6ec.js +55 -0
  190. package/dist/cjs/utils-cedf26ae.js +87 -0
  191. package/dist/cjs/vi-f87def37.js +67 -0
  192. package/dist/cjs/zh-cn-6d3c38fc.js +91 -0
  193. package/dist/cjs/zh-hk-1bd0e62f.js +68 -0
  194. package/dist/cjs/zh-tw-40912bdf.js +89 -0
  195. package/dist/collection/collection-manifest.json +2 -5
  196. package/dist/collection/components/card-manager/card-manager.css +26 -9
  197. package/dist/collection/components/card-manager/card-manager.js +96 -29
  198. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +39 -7
  199. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +22 -10
  200. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  201. package/dist/collection/components/deduct-calculator/deduct-calculator.js +5 -5
  202. package/dist/collection/components/edit-card/edit-card.css +54 -0
  203. package/dist/collection/components/edit-card/edit-card.js +294 -0
  204. package/dist/collection/components/info-card/info-card.css +21 -0
  205. package/dist/collection/components/info-card/info-card.js +199 -36
  206. package/dist/collection/components/layer-table/layer-table.css +19 -2
  207. package/dist/collection/components/layer-table/layer-table.js +222 -75
  208. package/dist/collection/components/map-card/map-card.css +8 -2
  209. package/dist/collection/components/map-card/map-card.js +24 -93
  210. package/dist/collection/components/map-layer-picker/map-layer-picker.css +9 -0
  211. package/dist/collection/components/map-layer-picker/map-layer-picker.js +145 -45
  212. package/dist/collection/components/map-select-tools/map-select-tools.js +3 -4
  213. package/dist/collection/components/map-tools/map-tools.css +31 -0
  214. package/dist/collection/components/map-tools/map-tools.js +196 -0
  215. package/dist/collection/components/pdf-download/pdf-download.js +19 -1
  216. package/dist/collection/components/public-notification/public-notification.js +51 -3
  217. package/dist/collection/components/refine-selection/refine-selection.js +2 -2
  218. package/dist/collection/demos/buffer-tools.html +2 -2
  219. package/dist/collection/demos/card-manager.html +49 -3
  220. package/dist/collection/demos/crowdsource-manager.html +15 -5
  221. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  222. package/dist/collection/demos/demo-map.html +2 -2
  223. package/dist/collection/demos/edit-card.html +34 -0
  224. package/dist/collection/demos/index.html +1 -1
  225. package/dist/collection/demos/layer-table.html +2 -2
  226. package/dist/collection/demos/list-item.html +2 -2
  227. package/dist/collection/demos/map-card.html +2 -2
  228. package/dist/collection/demos/map-draw-tools.html +2 -2
  229. package/dist/collection/demos/map-layer-picker.html +2 -2
  230. package/dist/collection/demos/map-select-tools.html +2 -2
  231. package/dist/collection/utils/downloadUtils.js +1 -1
  232. package/dist/collection/utils/downloadUtils.ts +1 -1
  233. package/dist/collection/utils/interfaces.js +5 -0
  234. package/dist/collection/utils/interfaces.ts +18 -6
  235. package/dist/collection/utils/queryUtils.js +39 -2
  236. package/dist/collection/utils/queryUtils.ts +48 -3
  237. package/dist/components/ExpandToggle.js +5 -7
  238. package/dist/components/FloatingArrow.js +1 -1
  239. package/dist/components/Heading.js +1 -1
  240. package/dist/components/action-bar.js +19 -19
  241. package/dist/components/action-group.js +1 -1
  242. package/dist/components/action-menu.js +2 -2
  243. package/dist/components/action.js +4 -2
  244. package/dist/components/alert.js +328 -0
  245. package/dist/components/array.js +1 -1
  246. package/dist/components/avatar.js +2 -2
  247. package/dist/components/browser.js +21 -0
  248. package/dist/components/button.js +4 -2
  249. package/dist/components/calcite-accordion-item.js +6 -3
  250. package/dist/components/calcite-action-pad.js +3 -3
  251. package/dist/components/calcite-alert.js +1 -310
  252. package/dist/components/calcite-block-section.js +1 -1
  253. package/dist/components/calcite-block.js +227 -1
  254. package/dist/components/calcite-card.js +1 -1
  255. package/dist/components/calcite-chip-group.js +4 -2
  256. package/dist/components/calcite-color-picker.js +3 -1
  257. package/dist/components/calcite-combobox-item-group.js +1 -1
  258. package/dist/components/calcite-fab.js +9 -3
  259. package/dist/components/calcite-flow-item.js +4 -2
  260. package/dist/components/calcite-flow.js +1 -1
  261. package/dist/components/calcite-inline-editable.js +4 -2
  262. package/dist/components/calcite-input-date-picker.js +7 -4
  263. package/dist/components/calcite-input-time-picker.js +5 -3
  264. package/dist/components/calcite-list-item-group.js +6 -2
  265. package/dist/components/calcite-menu-item.js +2 -2
  266. package/dist/components/calcite-modal.js +408 -1
  267. package/dist/components/calcite-navigation-logo.js +1 -1
  268. package/dist/components/calcite-navigation-user.js +1 -1
  269. package/dist/components/calcite-navigation.js +2 -2
  270. package/dist/components/calcite-pagination.js +1 -1
  271. package/dist/components/calcite-pick-list.js +159 -1
  272. package/dist/components/calcite-radio-button-group.js +38 -7
  273. package/dist/components/calcite-radio-button.js +50 -21
  274. package/dist/components/calcite-rating.js +4 -2
  275. package/dist/components/calcite-shell-center-row.js +1 -1
  276. package/dist/components/calcite-sortable-list.js +5 -3
  277. package/dist/components/calcite-split-button.js +167 -1
  278. package/dist/components/calcite-stack.js +2 -2
  279. package/dist/components/calcite-stepper-item.js +3 -1
  280. package/dist/components/calcite-stepper.js +1 -1
  281. package/dist/components/calcite-text-area.js +5 -3
  282. package/dist/components/calcite-tile-select-group.js +7 -1
  283. package/dist/components/calcite-tile-select.js +4 -2
  284. package/dist/components/calcite-tip-manager.js +1 -1
  285. package/dist/components/calcite-tip.js +1 -1
  286. package/dist/components/card-manager.js +1 -133
  287. package/dist/components/card-manager2.js +177 -0
  288. package/dist/components/checkbox.js +3 -1
  289. package/dist/components/chip.js +5 -3
  290. package/dist/components/color-picker-hex-input.js +3 -3
  291. package/dist/components/color-picker-swatch.js +2 -2
  292. package/dist/components/combobox-item.js +4 -2
  293. package/dist/components/combobox.js +5 -3
  294. package/dist/components/conditionalSlot.js +1 -1
  295. package/dist/components/crowdsource-manager.js +93 -69
  296. package/dist/components/date-picker-day.js +8 -2
  297. package/dist/components/date-picker-month-header.js +2 -2
  298. package/dist/components/date-picker.js +2 -2
  299. package/dist/components/date.js +1 -1
  300. package/dist/components/deduct-calculator2.js +3 -3
  301. package/dist/components/dom.js +3 -3
  302. package/dist/components/downloadUtils.js +2 -2
  303. package/dist/components/dropdown-group.js +1 -1
  304. package/dist/components/dropdown-item.js +1 -1
  305. package/dist/components/dropdown.js +6 -4
  306. package/dist/components/edit-card.d.ts +11 -0
  307. package/dist/components/edit-card.js +11 -0
  308. package/dist/components/edit-card2.js +201 -0
  309. package/dist/components/filter.js +4 -2
  310. package/dist/components/filter2.js +1 -1
  311. package/dist/components/floating-ui.js +228 -179
  312. package/dist/components/focusTrapComponent.js +47 -5
  313. package/dist/components/form.js +2 -2
  314. package/dist/components/graph.js +1 -1
  315. package/dist/components/guid.js +1 -1
  316. package/dist/components/handle.js +1 -1
  317. package/dist/components/icon.js +2 -2
  318. package/dist/components/index.d.ts +2 -5
  319. package/dist/components/index.js +3 -6
  320. package/dist/components/info-card2.js +183 -28
  321. package/dist/components/input-message.js +2 -2
  322. package/dist/components/input-number.js +6 -4
  323. package/dist/components/input-text.js +5 -3
  324. package/dist/components/input.js +6 -4
  325. package/dist/components/interactive.js +80 -10
  326. package/dist/components/interfaces.js +6 -1
  327. package/dist/components/key.js +1 -1
  328. package/dist/components/label.js +1 -1
  329. package/dist/components/label2.js +2 -2
  330. package/dist/components/layer-table2.js +221 -117
  331. package/dist/components/link.js +8 -2
  332. package/dist/components/list-item2.js +7 -7
  333. package/dist/components/list.js +8 -8
  334. package/dist/components/loadable.js +1 -1
  335. package/dist/components/locale2.js +7 -4
  336. package/dist/components/map-card2.js +65 -92
  337. package/dist/components/map-draw-tools2.js +1 -1
  338. package/dist/components/map-layer-picker2.js +133 -239
  339. package/dist/components/map-select-tools2.js +38 -14
  340. package/dist/components/map-tools.d.ts +11 -0
  341. package/dist/components/map-tools.js +11 -0
  342. package/dist/components/map-tools2.js +176 -0
  343. package/dist/components/mapViewUtils.js +204 -0
  344. package/dist/components/math.js +1 -1
  345. package/dist/components/menu.js +2 -2
  346. package/dist/components/notice.js +2 -2
  347. package/dist/components/observers.js +1 -1
  348. package/dist/components/openCloseComponent.js +1 -1
  349. package/dist/components/panel.js +5 -3
  350. package/dist/components/pdf-download2.js +3 -1
  351. package/dist/components/pick-list-item.js +4 -2
  352. package/dist/components/popover.js +3 -3
  353. package/dist/components/public-notification.js +57 -23
  354. package/dist/components/queryUtils.js +11 -17
  355. package/dist/components/refine-selection2.js +36 -11
  356. package/dist/components/resources.js +1 -1
  357. package/dist/components/resources2.js +1 -1
  358. package/dist/components/resources3.js +1 -1
  359. package/dist/components/scrim.js +39 -2
  360. package/dist/components/segmented-control-item.js +1 -1
  361. package/dist/components/segmented-control.js +3 -1
  362. package/dist/components/select.js +5 -3
  363. package/dist/components/shared-list-render.js +3 -3
  364. package/dist/components/shell-panel.js +1 -1
  365. package/dist/components/shell.js +2 -2
  366. package/dist/components/slider.js +4 -2
  367. package/dist/components/sortableComponent.js +1 -1
  368. package/dist/components/switch.js +4 -2
  369. package/dist/components/t9n.js +1 -1
  370. package/dist/components/tab-nav.js +1 -1
  371. package/dist/components/tab-title.js +4 -2
  372. package/dist/components/tabs.js +1 -1
  373. package/dist/components/tile.js +4 -2
  374. package/dist/components/time-picker.js +2 -2
  375. package/dist/components/tooltip.js +45 -28
  376. package/dist/components/tree-item.js +9 -43
  377. package/dist/components/tree.js +2 -2
  378. package/dist/components/utils.js +1 -1
  379. package/dist/components/utils2.js +3 -3
  380. package/dist/components/utils3.js +2 -2
  381. package/dist/components/value-list-item.js +4 -2
  382. package/dist/components/value-list.js +6 -4
  383. package/dist/esm/ExpandToggle-4683a6dc.js +109 -0
  384. package/dist/esm/FloatingArrow-fa0da351.js +46 -0
  385. package/dist/esm/Heading-14bfe249.js +22 -0
  386. package/dist/esm/app-globals-b5877644.js +62 -0
  387. package/dist/esm/ar-8e6281b5.js +96 -0
  388. package/dist/esm/array-e32fb269.js +15 -0
  389. package/dist/esm/bg-89c46a11.js +77 -0
  390. package/dist/esm/browser-f8ca09b7.js +21 -0
  391. package/dist/esm/bs-567a72ac.js +46 -0
  392. package/dist/esm/buffer-tools_4.entry.js +17 -14
  393. package/dist/esm/ca-0d08cce0.js +66 -0
  394. package/dist/esm/calcite-accordion-item.entry.js +10 -7
  395. package/dist/esm/calcite-action-bar_2.entry.js +650 -0
  396. package/dist/esm/calcite-action-group_2.entry.js +379 -0
  397. package/dist/esm/calcite-action-pad.entry.js +15 -15
  398. package/dist/esm/calcite-action_2.entry.js +408 -70
  399. package/dist/esm/calcite-alert.entry.js +23 -12
  400. package/dist/esm/calcite-avatar.entry.js +5 -5
  401. package/dist/esm/calcite-block-section.entry.js +8 -8
  402. package/dist/esm/calcite-block.entry.js +166 -0
  403. package/dist/esm/calcite-button.entry.js +15 -12
  404. package/dist/esm/calcite-card.entry.js +9 -9
  405. package/dist/esm/calcite-checkbox.entry.js +11 -8
  406. package/dist/esm/calcite-chip-group.entry.js +9 -6
  407. package/dist/esm/calcite-chip.entry.js +14 -11
  408. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  409. package/dist/esm/calcite-color-picker.entry.js +15 -12
  410. package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
  411. package/dist/esm/calcite-combobox_6.entry.js +1859 -0
  412. package/dist/esm/calcite-date-picker-day_3.entry.js +17 -10
  413. package/dist/esm/calcite-date-picker.entry.js +11 -11
  414. package/dist/esm/calcite-fab.entry.js +13 -6
  415. package/dist/esm/calcite-filter_3.entry.js +772 -0
  416. package/dist/esm/calcite-flow-item.entry.js +14 -11
  417. package/dist/esm/calcite-flow.entry.js +2 -2
  418. package/dist/esm/calcite-graph.entry.js +3 -3
  419. package/dist/esm/calcite-handle.entry.js +132 -0
  420. package/dist/esm/calcite-icon.entry.js +6 -6
  421. package/dist/esm/calcite-inline-editable.entry.js +14 -11
  422. package/dist/esm/calcite-input-date-picker.entry.js +23 -19
  423. package/dist/esm/calcite-input-number.entry.js +16 -13
  424. package/dist/esm/calcite-input-text_4.entry.js +1845 -0
  425. package/dist/esm/calcite-input-time-picker-d5606a45.js +1621 -0
  426. package/dist/esm/calcite-input-time-picker.entry.js +15 -14
  427. package/dist/esm/calcite-input_2.entry.js +16 -13
  428. package/dist/esm/calcite-label.entry.js +5 -5
  429. package/dist/esm/calcite-link.entry.js +12 -5
  430. package/dist/esm/calcite-list-item-group.entry.js +8 -3
  431. package/dist/esm/calcite-loader.entry.js +76 -0
  432. package/dist/esm/calcite-menu-item.entry.js +10 -10
  433. package/dist/esm/calcite-menu.entry.js +9 -9
  434. package/dist/esm/calcite-modal.entry.js +14 -14
  435. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  436. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  437. package/dist/esm/calcite-navigation.entry.js +5 -5
  438. package/dist/esm/calcite-notice.entry.js +135 -0
  439. package/dist/esm/calcite-option_2.entry.js +12 -9
  440. package/dist/esm/calcite-pagination.entry.js +9 -9
  441. package/dist/esm/calcite-panel_2.entry.js +17 -14
  442. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  443. package/dist/esm/calcite-pick-list-item.entry.js +15 -12
  444. package/dist/esm/calcite-pick-list.entry.js +142 -0
  445. package/dist/esm/calcite-radio-button-group.entry.js +35 -6
  446. package/dist/esm/calcite-radio-button.entry.js +57 -27
  447. package/dist/esm/calcite-rating.entry.js +15 -12
  448. package/dist/esm/calcite-scrim.entry.js +44 -9
  449. package/dist/esm/calcite-segmented-control_2.entry.js +253 -0
  450. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  451. package/dist/esm/calcite-shell-panel_14.entry.js +32 -25
  452. package/dist/esm/calcite-sortable-list.entry.js +10 -7
  453. package/dist/esm/calcite-split-button.entry.js +118 -0
  454. package/dist/esm/calcite-stack.entry.js +4 -4
  455. package/dist/esm/calcite-stepper-item.entry.js +11 -8
  456. package/dist/esm/calcite-stepper.entry.js +3 -3
  457. package/dist/esm/calcite-switch.entry.js +11 -8
  458. package/dist/esm/calcite-text-area.entry.js +15 -12
  459. package/dist/esm/calcite-tile-select-group.entry.js +8 -1
  460. package/dist/esm/calcite-tile-select.entry.js +7 -4
  461. package/dist/esm/calcite-tile.entry.js +10 -7
  462. package/dist/esm/calcite-time-picker.entry.js +10 -10
  463. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  464. package/dist/esm/calcite-tip.entry.js +10 -10
  465. package/dist/esm/calcite-tree_3.entry.js +15 -48
  466. package/dist/esm/card-manager_3.entry.js +652 -0
  467. package/dist/esm/conditionalSlot-b651e48a.js +60 -0
  468. package/dist/esm/crowdsource-manager.entry.js +22 -10
  469. package/dist/esm/cs-4ea5bb28.js +142 -0
  470. package/dist/esm/da-8121b2c6.js +61 -0
  471. package/dist/esm/date-3f48db3f.js +235 -0
  472. package/dist/esm/de-4f0e6db4.js +86 -0
  473. package/dist/esm/de-at-6f914992.js +85 -0
  474. package/dist/esm/de-ch-ba51285a.js +85 -0
  475. package/dist/esm/deduct-calculator.entry.js +3 -3
  476. package/dist/esm/dom-03275741.js +927 -0
  477. package/dist/esm/downloadUtils-1092cb0f.js +2723 -0
  478. package/dist/esm/edit-card_2.entry.js +334 -0
  479. package/dist/esm/el-2fb644ad.js +61 -0
  480. package/dist/esm/en-au-469a4963.js +61 -0
  481. package/dist/esm/en-ca-a110f04a.js +60 -0
  482. package/dist/esm/en-gb-04dd59df.js +64 -0
  483. package/dist/esm/es-901bbd11.js +61 -0
  484. package/dist/esm/es-mx-c3cff8d1.js +60 -0
  485. package/dist/esm/et-0ded5035.js +87 -0
  486. package/dist/esm/fi-767e7505.js +110 -0
  487. package/dist/esm/filter-4ba3be5f.js +763 -0
  488. package/dist/esm/floating-ui-1e70279f.js +1866 -0
  489. package/dist/esm/focusTrapComponent-eaa62505.js +846 -0
  490. package/dist/esm/form-8396f037.js +280 -0
  491. package/dist/esm/fr-ch-8c34f192.js +61 -0
  492. package/dist/esm/fr-e6bda0a2.js +63 -0
  493. package/dist/esm/guid-1fbbc894.js +24 -0
  494. package/dist/esm/he-00779397.js +100 -0
  495. package/dist/esm/hi-f3d5ecb7.js +60 -0
  496. package/dist/esm/hr-1d8c2cad.js +75 -0
  497. package/dist/esm/hu-4290c5fe.js +83 -0
  498. package/dist/esm/id-58d1a3cb.js +61 -0
  499. package/dist/esm/index.es-08a48fdd.js +10722 -0
  500. package/dist/esm/interactive-e5b2cca0.js +143 -0
  501. package/dist/esm/interfaces-bf20e69c.js +85 -0
  502. package/dist/esm/it-ch-74c5b6dd.js +61 -0
  503. package/dist/esm/it-ef33898d.js +61 -0
  504. package/dist/esm/ja-7f21d57b.js +67 -0
  505. package/dist/esm/key-d6bc268b.js +16 -0
  506. package/dist/esm/ko-0790a2d9.js +67 -0
  507. package/dist/esm/label-6db1573f.js +130 -0
  508. package/dist/esm/loadable-3cf62971.js +65 -0
  509. package/dist/esm/loader.js +3 -3
  510. package/dist/esm/locale-ead7fa24.js +558 -0
  511. package/dist/esm/lt-6e66fa4a.js +92 -0
  512. package/dist/esm/lv-0c39ca8e.js +61 -0
  513. package/dist/esm/map-tools.entry.js +107 -0
  514. package/dist/esm/mapViewUtils-a787c6a8.js +356 -0
  515. package/dist/esm/math-5e1080da.js +25 -0
  516. package/dist/esm/mk-0e1b5772.js +61 -0
  517. package/dist/esm/nb-8b0c8dcb.js +62 -0
  518. package/dist/esm/nl-89c00bbe.js +62 -0
  519. package/dist/esm/observers-76deadbc.js +51 -0
  520. package/dist/esm/openCloseComponent-7d3ca222.js +96 -0
  521. package/dist/esm/pl-2c7583e1.js +109 -0
  522. package/dist/esm/pt-br-0544aa11.js +60 -0
  523. package/dist/esm/pt-eb653341.js +62 -0
  524. package/dist/esm/public-notification.entry.js +18 -5
  525. package/dist/esm/resources-3600c05b.js +46 -0
  526. package/dist/esm/resources-4d6ec614.js +24 -0
  527. package/dist/esm/resources-684bbbfe.js +23 -0
  528. package/dist/esm/resources-85e89a13.js +19 -0
  529. package/dist/esm/resources-885142d2.js +2048 -0
  530. package/dist/esm/resources-a3b9b875.js +20 -0
  531. package/dist/esm/resources-e7e4115c.js +35 -0
  532. package/dist/esm/resources-ee3b03a3.js +28 -0
  533. package/dist/esm/resources-f5948e92.js +20 -0
  534. package/dist/esm/ro-f5c8d5e2.js +61 -0
  535. package/dist/esm/ru-7725d9a9.js +121 -0
  536. package/dist/esm/shared-list-render-19de1661.js +342 -0
  537. package/dist/esm/sk-606ae6cd.js +143 -0
  538. package/dist/esm/sl-8a06145d.js +61 -0
  539. package/dist/esm/solution-configuration.entry.js +2 -2
  540. package/dist/esm/solution-contents_3.entry.js +2 -2
  541. package/dist/esm/solution-store-c107ca4d.js +4092 -0
  542. package/dist/esm/solutions-components.js +3 -3
  543. package/dist/esm/sortableComponent-dab8ef70.js +3082 -0
  544. package/dist/esm/sr-7eff7ca4.js +96 -0
  545. package/dist/esm/sv-0ab2f707.js +66 -0
  546. package/dist/esm/t9n-ece1047e.js +95 -0
  547. package/dist/esm/th-29a9e340.js +60 -0
  548. package/dist/esm/time-7b08c631.js +195 -0
  549. package/dist/esm/tr-6748b764.js +61 -0
  550. package/dist/esm/uk-de4e1b64.js +99 -0
  551. package/dist/esm/utils-33f2d835.js +200 -0
  552. package/dist/esm/utils-43f27af6.js +61 -0
  553. package/dist/esm/utils-a29ac888.js +45 -0
  554. package/dist/esm/utils-d1d9ff93.js +79 -0
  555. package/dist/esm/vi-6830c744.js +65 -0
  556. package/dist/esm/zh-cn-ad4dc9be.js +89 -0
  557. package/dist/esm/zh-hk-81513d7a.js +66 -0
  558. package/dist/esm/zh-tw-4ff4db52.js +87 -0
  559. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
  560. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +11 -0
  561. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
  562. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +3 -2
  563. package/dist/solutions-components/assets/icon/circlePause16.json +1 -0
  564. package/dist/solutions-components/assets/icon/circlePause16F.json +1 -0
  565. package/dist/solutions-components/assets/icon/circlePause24.json +1 -0
  566. package/dist/solutions-components/assets/icon/circlePause24F.json +1 -0
  567. package/dist/solutions-components/assets/icon/circlePause32.json +1 -0
  568. package/dist/solutions-components/assets/icon/circlePause32F.json +1 -0
  569. package/dist/solutions-components/assets/icon/h3Hexagon16.json +1 -0
  570. package/dist/solutions-components/assets/icon/h3Hexagon24.json +1 -0
  571. package/dist/solutions-components/assets/icon/h3Hexagon32.json +1 -0
  572. package/dist/solutions-components/assets/icon/merge216.json +1 -0
  573. package/dist/solutions-components/assets/icon/merge224.json +1 -0
  574. package/dist/solutions-components/assets/icon/merge232.json +1 -0
  575. package/dist/solutions-components/assets/icon/recycleBin16.json +1 -0
  576. package/dist/solutions-components/assets/icon/recycleBin24.json +1 -0
  577. package/dist/solutions-components/assets/icon/recycleBin32.json +1 -0
  578. package/dist/solutions-components/assets/icon/transverseHexagon16.json +1 -0
  579. package/dist/solutions-components/assets/icon/transverseHexagon24.json +1 -0
  580. package/dist/solutions-components/assets/icon/transverseHexagon32.json +1 -0
  581. package/dist/solutions-components/assets/icon/unmerge16.json +1 -0
  582. package/dist/solutions-components/assets/icon/unmerge24.json +1 -0
  583. package/dist/solutions-components/assets/icon/unmerge32.json +1 -0
  584. package/dist/solutions-components/demos/buffer-tools.html +2 -2
  585. package/dist/solutions-components/demos/card-manager.html +49 -3
  586. package/dist/solutions-components/demos/crowdsource-manager.html +15 -5
  587. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  588. package/dist/solutions-components/demos/demo-map.html +2 -2
  589. package/dist/solutions-components/demos/edit-card.html +34 -0
  590. package/dist/solutions-components/demos/index.html +1 -1
  591. package/dist/solutions-components/demos/layer-table.html +2 -2
  592. package/dist/solutions-components/demos/list-item.html +2 -2
  593. package/dist/solutions-components/demos/map-card.html +2 -2
  594. package/dist/solutions-components/demos/map-draw-tools.html +2 -2
  595. package/dist/solutions-components/demos/map-layer-picker.html +2 -2
  596. package/dist/solutions-components/demos/map-select-tools.html +2 -2
  597. package/dist/solutions-components/p-0036e829.js +11 -0
  598. package/dist/solutions-components/p-004eb0a6.entry.js +6 -0
  599. package/dist/solutions-components/p-04c41e35.js +6 -0
  600. package/dist/solutions-components/p-058f02c9.js +6 -0
  601. package/dist/solutions-components/p-05f6859f.js +11 -0
  602. package/dist/solutions-components/p-0641aa9b.js +36 -0
  603. package/dist/solutions-components/p-0bb57140.js +16 -0
  604. package/dist/solutions-components/p-0d2c9050.js +6 -0
  605. package/dist/solutions-components/p-0e024d20.entry.js +11 -0
  606. package/dist/solutions-components/p-0ef9e367.entry.js +17 -0
  607. package/dist/solutions-components/p-0ff7b311.js +16 -0
  608. package/dist/solutions-components/p-1085b789.js +11 -0
  609. package/dist/solutions-components/p-10dd03be.js +6 -0
  610. package/dist/solutions-components/p-10e93b31.entry.js +11 -0
  611. package/dist/solutions-components/p-132843d2.entry.js +11 -0
  612. package/dist/solutions-components/p-13a8349e.js +6 -0
  613. package/dist/solutions-components/p-16146013.js +6 -0
  614. package/dist/solutions-components/p-161ac069.entry.js +6 -0
  615. package/dist/solutions-components/p-16643fca.entry.js +11 -0
  616. package/dist/solutions-components/p-1aca2237.js +17 -0
  617. package/dist/solutions-components/p-1b69c50d.entry.js +11 -0
  618. package/dist/solutions-components/p-1d81a92e.entry.js +11 -0
  619. package/dist/solutions-components/p-1f1bd18d.js +11 -0
  620. package/dist/solutions-components/p-214657d6.entry.js +6 -0
  621. package/dist/solutions-components/p-2284cd37.js +11 -0
  622. package/dist/solutions-components/p-22c4225f.entry.js +11 -0
  623. package/dist/solutions-components/p-2455a61f.entry.js +11 -0
  624. package/dist/solutions-components/p-293a0267.entry.js +11 -0
  625. package/dist/solutions-components/p-2c049a6d.entry.js +37 -0
  626. package/dist/solutions-components/p-2d651417.js +6 -0
  627. package/dist/solutions-components/p-2f632334.entry.js +11 -0
  628. package/dist/solutions-components/p-309d3096.js +6 -0
  629. package/dist/solutions-components/p-34737573.js +6 -0
  630. package/dist/solutions-components/p-35195436.entry.js +11 -0
  631. package/dist/solutions-components/p-37a78329.js +6 -0
  632. package/dist/solutions-components/p-386dbde1.js +6 -0
  633. package/dist/solutions-components/p-3b57fcc6.js +11 -0
  634. package/dist/solutions-components/p-40bdd836.js +11 -0
  635. package/dist/solutions-components/p-41f5a5fc.js +12 -0
  636. package/dist/solutions-components/p-438560cf.js +6 -0
  637. package/dist/solutions-components/p-474b00d7.entry.js +11 -0
  638. package/dist/solutions-components/p-4766a668.entry.js +6 -0
  639. package/dist/solutions-components/p-4989e987.js +6 -0
  640. package/dist/solutions-components/p-4aab2c0d.entry.js +6 -0
  641. package/dist/solutions-components/p-4b738e52.entry.js +11 -0
  642. package/dist/solutions-components/p-4ea9094a.js +6 -0
  643. package/dist/solutions-components/p-5173b841.js +11 -0
  644. package/dist/solutions-components/p-5652bbda.js +6 -0
  645. package/dist/solutions-components/p-57fa8ff3.entry.js +6 -0
  646. package/dist/solutions-components/p-58448ac4.entry.js +11 -0
  647. package/dist/solutions-components/p-5a6ca63b.entry.js +35 -0
  648. package/dist/solutions-components/p-5a6f8f15.entry.js +17 -0
  649. package/dist/solutions-components/p-5b260e5f.js +61 -0
  650. package/dist/solutions-components/p-5bab0d9d.entry.js +11 -0
  651. package/dist/solutions-components/p-5ca01455.entry.js +11 -0
  652. package/dist/solutions-components/p-5f05045a.entry.js +6 -0
  653. package/dist/solutions-components/p-5fc99541.js +257 -0
  654. package/dist/solutions-components/p-60dba0cb.js +11 -0
  655. package/dist/solutions-components/p-610ff7ca.js +6 -0
  656. package/dist/solutions-components/p-612c38cc.js +6 -0
  657. package/dist/solutions-components/p-628f2a83.entry.js +11 -0
  658. package/dist/solutions-components/p-62a49383.js +6 -0
  659. package/dist/solutions-components/p-6305f474.entry.js +18 -0
  660. package/dist/solutions-components/p-67d0ce8c.entry.js +11 -0
  661. package/dist/solutions-components/p-67d75135.js +6 -0
  662. package/dist/solutions-components/p-693bafa4.js +6 -0
  663. package/dist/solutions-components/p-6960ce47.js +6 -0
  664. package/dist/solutions-components/p-696de9a4.entry.js +6 -0
  665. package/dist/solutions-components/p-69cd4b76.entry.js +17 -0
  666. package/dist/solutions-components/p-6c1d694f.js +6 -0
  667. package/dist/solutions-components/p-743451a5.entry.js +6 -0
  668. package/dist/solutions-components/p-7479f322.entry.js +28 -0
  669. package/dist/solutions-components/p-74a2d025.entry.js +6 -0
  670. package/dist/solutions-components/p-75ed8af0.entry.js +12 -0
  671. package/dist/solutions-components/p-76716055.js +6 -0
  672. package/dist/solutions-components/p-77649e3a.js +11 -0
  673. package/dist/solutions-components/p-7764def7.js +11 -0
  674. package/dist/solutions-components/p-781480c2.entry.js +6 -0
  675. package/dist/solutions-components/p-7a42ffab.js +11 -0
  676. package/dist/solutions-components/p-7ab9d4a8.js +11 -0
  677. package/dist/solutions-components/p-7cbe5354.js +6 -0
  678. package/dist/solutions-components/p-7f3c3a5d.entry.js +11 -0
  679. package/dist/solutions-components/p-7fd8e783.js +18 -0
  680. package/dist/solutions-components/p-800e94cb.entry.js +11 -0
  681. package/dist/solutions-components/p-81c695d6.entry.js +11 -0
  682. package/dist/solutions-components/p-8249c47b.js +11 -0
  683. package/dist/solutions-components/p-82922f3a.entry.js +37 -0
  684. package/dist/solutions-components/p-841a5f97.entry.js +6 -0
  685. package/dist/solutions-components/p-84d9dacf.entry.js +11 -0
  686. package/dist/solutions-components/p-87cc78f1.js +6 -0
  687. package/dist/solutions-components/p-892d0a1d.js +6 -0
  688. package/dist/solutions-components/p-8bf81a2e.js +11 -0
  689. package/dist/solutions-components/p-8e003792.js +6 -0
  690. package/dist/solutions-components/p-8e541da0.js +6 -0
  691. package/dist/solutions-components/p-944c2f33.entry.js +11 -0
  692. package/dist/solutions-components/p-9630e3b7.js +11 -0
  693. package/dist/solutions-components/p-96bd78ec.entry.js +11 -0
  694. package/dist/solutions-components/p-978b9ba3.entry.js +6 -0
  695. package/dist/solutions-components/p-99b55177.js +11 -0
  696. package/dist/solutions-components/p-9a19cfb6.js +6 -0
  697. package/dist/solutions-components/p-9ab03591.js +21 -0
  698. package/dist/solutions-components/p-9bc20eff.entry.js +6 -0
  699. package/dist/solutions-components/p-9c42e5ca.js +6 -0
  700. package/dist/solutions-components/p-9ed9ea6a.js +6 -0
  701. package/dist/solutions-components/p-9f214b82.entry.js +11 -0
  702. package/dist/solutions-components/p-a3b55d2b.js +6 -0
  703. package/dist/solutions-components/p-a5d44d7d.js +11 -0
  704. package/dist/solutions-components/p-a62c1b3c.entry.js +6 -0
  705. package/dist/solutions-components/p-a6730996.js +6 -0
  706. package/dist/solutions-components/p-a738e38f.js +11 -0
  707. package/dist/solutions-components/p-a74094e4.js +17 -0
  708. package/dist/solutions-components/p-a8253173.js +6 -0
  709. package/dist/solutions-components/p-a94f0d7b.entry.js +11 -0
  710. package/dist/solutions-components/p-a9dab418.entry.js +11 -0
  711. package/dist/solutions-components/p-ac36a101.js +6 -0
  712. package/dist/solutions-components/p-ad60a547.js +474 -0
  713. package/dist/solutions-components/p-b018bd03.js +6 -0
  714. package/dist/solutions-components/p-b39e12ab.js +6 -0
  715. package/dist/solutions-components/p-b4c65a27.entry.js +6 -0
  716. package/dist/solutions-components/p-b64401a3.entry.js +6 -0
  717. package/dist/solutions-components/p-b70a3d8d.entry.js +11 -0
  718. package/dist/solutions-components/p-b940aa2f.entry.js +6 -0
  719. package/dist/solutions-components/p-b9a21972.js +6 -0
  720. package/dist/solutions-components/p-ba34ef55.js +6 -0
  721. package/dist/solutions-components/p-ba8ec9b6.entry.js +35 -0
  722. package/dist/solutions-components/p-bb322078.entry.js +11 -0
  723. package/dist/solutions-components/p-bc6ce0ff.js +6 -0
  724. package/dist/solutions-components/p-c0738483.entry.js +11 -0
  725. package/dist/solutions-components/p-c2316631.entry.js +16 -0
  726. package/dist/solutions-components/p-c2a141cc.js +11 -0
  727. package/dist/solutions-components/p-c2d148da.js +11 -0
  728. package/dist/solutions-components/p-c52de940.entry.js +11 -0
  729. package/dist/solutions-components/p-c844e615.js +12 -0
  730. package/dist/solutions-components/p-c8835780.js +11 -0
  731. package/dist/solutions-components/p-ca67597d.js +6 -0
  732. package/dist/solutions-components/p-ca6edad0.js +11 -0
  733. package/dist/solutions-components/p-ccf5c0ff.entry.js +11 -0
  734. package/dist/solutions-components/p-cd9579c6.js +11 -0
  735. package/dist/solutions-components/p-ce57ecf3.entry.js +6 -0
  736. package/dist/solutions-components/p-d042dd6a.entry.js +12 -0
  737. package/dist/solutions-components/p-d088d13a.entry.js +6 -0
  738. package/dist/solutions-components/p-d102a71f.js +6 -0
  739. package/dist/solutions-components/p-d164a8b0.entry.js +12 -0
  740. package/dist/solutions-components/p-d17b0020.entry.js +11 -0
  741. package/dist/solutions-components/p-d4c9dda7.entry.js +11 -0
  742. package/dist/solutions-components/p-d5104492.js +6 -0
  743. package/dist/solutions-components/p-d60a77a4.js +11 -0
  744. package/dist/solutions-components/p-d866ff25.js +11 -0
  745. package/dist/solutions-components/p-dac4f4cb.js +6 -0
  746. package/dist/solutions-components/p-db08ef87.js +11 -0
  747. package/dist/solutions-components/p-db546438.entry.js +11 -0
  748. package/dist/solutions-components/p-de9d2167.entry.js +11 -0
  749. package/dist/solutions-components/p-e0af78a4.js +6 -0
  750. package/dist/solutions-components/p-e13ba5ae.js +6 -0
  751. package/dist/solutions-components/p-e320f0ed.entry.js +11 -0
  752. package/dist/solutions-components/p-e5d839f8.js +6 -0
  753. package/dist/solutions-components/p-e5e20990.js +11 -0
  754. package/dist/solutions-components/p-e617f6e9.js +6 -0
  755. package/dist/solutions-components/p-ea7c74b7.entry.js +11 -0
  756. package/dist/solutions-components/p-eafc4b73.js +11 -0
  757. package/dist/solutions-components/p-ed2eea7f.entry.js +23 -0
  758. package/dist/solutions-components/p-ed65f44c.entry.js +11 -0
  759. package/dist/solutions-components/p-f08e454f.entry.js +11 -0
  760. package/dist/solutions-components/p-f1d4f341.js +6 -0
  761. package/dist/solutions-components/p-f54ca1e4.entry.js +11 -0
  762. package/dist/solutions-components/p-f62c655b.entry.js +11 -0
  763. package/dist/solutions-components/p-f68a8cd4.entry.js +11 -0
  764. package/dist/solutions-components/p-f6ec5e80.js +11 -0
  765. package/dist/solutions-components/p-f9b91640.js +11 -0
  766. package/dist/solutions-components/p-fae853e9.js +16 -0
  767. package/dist/solutions-components/p-fb233add.entry.js +6 -0
  768. package/dist/solutions-components/p-ff27b297.js +11 -0
  769. package/dist/solutions-components/p-ffb12960.entry.js +11 -0
  770. package/dist/solutions-components/solutions-components.esm.js +1 -1
  771. package/dist/solutions-components/utils/downloadUtils.ts +1 -1
  772. package/dist/solutions-components/utils/interfaces.ts +18 -6
  773. package/dist/solutions-components/utils/queryUtils.ts +48 -3
  774. package/dist/types/components/card-manager/card-manager.d.ts +33 -5
  775. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +12 -4
  776. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +2 -2
  777. package/dist/types/components/edit-card/edit-card.d.ts +136 -0
  778. package/dist/types/components/info-card/info-card.d.ts +89 -9
  779. package/dist/types/components/layer-table/layer-table.d.ts +102 -33
  780. package/dist/types/components/map-card/map-card.d.ts +12 -42
  781. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +50 -11
  782. package/dist/types/components/map-select-tools/map-select-tools.d.ts +1 -1
  783. package/dist/types/components/map-tools/map-tools.d.ts +87 -0
  784. package/dist/types/components/pdf-download/pdf-download.d.ts +4 -0
  785. package/dist/types/components/public-notification/public-notification.d.ts +18 -2
  786. package/dist/types/components/refine-selection/refine-selection.d.ts +1 -1
  787. package/dist/types/components.d.ts +169 -117
  788. package/dist/types/preact.d.ts +10 -13
  789. package/dist/types/utils/interfaces.d.ts +16 -4
  790. package/dist/types/utils/queryUtils.d.ts +17 -1
  791. package/package.json +2 -2
  792. package/dist/assets/t9n/edit-record-modal/resources.json +0 -8
  793. package/dist/assets/t9n/edit-record-modal/resources_en.json +0 -8
  794. package/dist/cjs/ExpandToggle-8e23a37e.js +0 -119
  795. package/dist/cjs/FloatingArrow-7747dddf.js +0 -48
  796. package/dist/cjs/Heading-52c0152b.js +0 -25
  797. package/dist/cjs/add-record-modal.cjs.entry.js +0 -106
  798. package/dist/cjs/app-globals-cd063150.js +0 -64
  799. package/dist/cjs/ar-06e23092.js +0 -97
  800. package/dist/cjs/array-cb509bfb.js +0 -17
  801. package/dist/cjs/bg-b197c685.js +0 -78
  802. package/dist/cjs/bs-b7279fd9.js +0 -47
  803. package/dist/cjs/ca-c127e2c7.js +0 -67
  804. package/dist/cjs/calcite-action-bar_4.cjs.entry.js +0 -629
  805. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -116
  806. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -691
  807. package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -1156
  808. package/dist/cjs/calcite-dropdown_5.cjs.entry.js +0 -866
  809. package/dist/cjs/calcite-filter_5.cjs.entry.js +0 -1014
  810. package/dist/cjs/calcite-input-text_5.cjs.entry.js +0 -1969
  811. package/dist/cjs/calcite-input-time-picker-1c90d5aa.js +0 -1622
  812. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -413
  813. package/dist/cjs/card-manager.cjs.entry.js +0 -91
  814. package/dist/cjs/comment-card.cjs.entry.js +0 -75
  815. package/dist/cjs/conditionalSlot-df3ccf68.js +0 -63
  816. package/dist/cjs/cs-f482fe72.js +0 -143
  817. package/dist/cjs/da-b8ab4c7b.js +0 -62
  818. package/dist/cjs/date-23702871.js +0 -250
  819. package/dist/cjs/de-6bc1f7ac.js +0 -87
  820. package/dist/cjs/de-at-46963b6b.js +0 -86
  821. package/dist/cjs/de-ch-160af810.js +0 -86
  822. package/dist/cjs/dom-5fd13fa0.js +0 -954
  823. package/dist/cjs/downloadUtils-fd585157.js +0 -2729
  824. package/dist/cjs/el-64fa4e5b.js +0 -62
  825. package/dist/cjs/en-au-d6d05b1c.js +0 -62
  826. package/dist/cjs/en-ca-e4c76e21.js +0 -61
  827. package/dist/cjs/en-gb-bbc542f7.js +0 -65
  828. package/dist/cjs/es-13c046da.js +0 -62
  829. package/dist/cjs/es-mx-bc0dcd4b.js +0 -61
  830. package/dist/cjs/et-96792c05.js +0 -88
  831. package/dist/cjs/fi-228557cc.js +0 -111
  832. package/dist/cjs/filter-8be5307a.js +0 -765
  833. package/dist/cjs/floating-ui-72d35286.js +0 -1825
  834. package/dist/cjs/focusTrapComponent-8e851fe9.js +0 -809
  835. package/dist/cjs/form-bbb48e39.js +0 -288
  836. package/dist/cjs/fr-cfe747ac.js +0 -64
  837. package/dist/cjs/fr-ch-ff5aa897.js +0 -62
  838. package/dist/cjs/guid-66679eda.js +0 -26
  839. package/dist/cjs/he-fb6d2d39.js +0 -101
  840. package/dist/cjs/hi-30c7826f.js +0 -61
  841. package/dist/cjs/hr-c1eab940.js +0 -76
  842. package/dist/cjs/hu-fba39a67.js +0 -84
  843. package/dist/cjs/id-b5e6f8ba.js +0 -62
  844. package/dist/cjs/index.es-d125163b.js +0 -10808
  845. package/dist/cjs/info-card_2.cjs.entry.js +0 -203
  846. package/dist/cjs/interactive-39ec70c2.js +0 -75
  847. package/dist/cjs/interfaces-842c84a1.js +0 -80
  848. package/dist/cjs/it-ca0d0aac.js +0 -62
  849. package/dist/cjs/it-ch-65c41132.js +0 -62
  850. package/dist/cjs/ja-a5f9afc7.js +0 -68
  851. package/dist/cjs/key-5b33d77d.js +0 -19
  852. package/dist/cjs/ko-852f5312.js +0 -68
  853. package/dist/cjs/label-345b79b7.js +0 -136
  854. package/dist/cjs/layer-table_2.cjs.entry.js +0 -517
  855. package/dist/cjs/loadable-30ee9cda.js +0 -69
  856. package/dist/cjs/locale-180f4242.js +0 -567
  857. package/dist/cjs/lt-255c3b01.js +0 -93
  858. package/dist/cjs/lv-7ed56721.js +0 -62
  859. package/dist/cjs/map-search.cjs.entry.js +0 -176
  860. package/dist/cjs/mapViewUtils-9c67134b.js +0 -375
  861. package/dist/cjs/math-c948c17d.js +0 -28
  862. package/dist/cjs/mk-f6d33563.js +0 -62
  863. package/dist/cjs/nb-bd0ca554.js +0 -63
  864. package/dist/cjs/nl-eadfdfb4.js +0 -63
  865. package/dist/cjs/observers-f7aad52c.js +0 -53
  866. package/dist/cjs/openCloseComponent-84b60d30.js +0 -100
  867. package/dist/cjs/pl-c9d0eeb6.js +0 -110
  868. package/dist/cjs/pt-abc4d582.js +0 -63
  869. package/dist/cjs/pt-br-217ada13.js +0 -61
  870. package/dist/cjs/resources-1687ac3b.js +0 -27
  871. package/dist/cjs/resources-17e31c94.js +0 -32
  872. package/dist/cjs/resources-2194e840.js +0 -2057
  873. package/dist/cjs/resources-5d9c0817.js +0 -23
  874. package/dist/cjs/resources-840442cb.js +0 -22
  875. package/dist/cjs/resources-8f85e83e.js +0 -27
  876. package/dist/cjs/resources-b2a52eac.js +0 -50
  877. package/dist/cjs/resources-b9022801.js +0 -39
  878. package/dist/cjs/resources-c050c6cd.js +0 -20
  879. package/dist/cjs/ro-1618e102.js +0 -62
  880. package/dist/cjs/ru-a23bea65.js +0 -122
  881. package/dist/cjs/shared-list-render-e49ee33c.js +0 -364
  882. package/dist/cjs/sk-dcacc22d.js +0 -144
  883. package/dist/cjs/sl-313d5585.js +0 -62
  884. package/dist/cjs/solution-store-ca4639d5.js +0 -4100
  885. package/dist/cjs/sortableComponent-e91c4b54.js +0 -3087
  886. package/dist/cjs/sr-c7b2c043.js +0 -97
  887. package/dist/cjs/sv-d8327a96.js +0 -67
  888. package/dist/cjs/t9n-44f8e750.js +0 -100
  889. package/dist/cjs/th-871548cb.js +0 -61
  890. package/dist/cjs/time-0ae619db.js +0 -208
  891. package/dist/cjs/tr-799e3306.js +0 -62
  892. package/dist/cjs/uk-eb7261c3.js +0 -100
  893. package/dist/cjs/utils-3c384fb2.js +0 -55
  894. package/dist/cjs/utils-49d0aa19.js +0 -218
  895. package/dist/cjs/utils-5c1c33cf.js +0 -64
  896. package/dist/cjs/utils-da61890c.js +0 -87
  897. package/dist/cjs/vi-ebbac61c.js +0 -66
  898. package/dist/cjs/zh-cn-dfcfe1fe.js +0 -90
  899. package/dist/cjs/zh-hk-64eeb0f6.js +0 -67
  900. package/dist/cjs/zh-tw-3d6f9661.js +0 -88
  901. package/dist/collection/components/add-record-modal/add-record-modal.css +0 -36
  902. package/dist/collection/components/add-record-modal/add-record-modal.js +0 -149
  903. package/dist/collection/components/comment-card/comment-card.css +0 -19
  904. package/dist/collection/components/comment-card/comment-card.js +0 -89
  905. package/dist/collection/components/edit-record-modal/edit-record-modal.css +0 -35
  906. package/dist/collection/components/edit-record-modal/edit-record-modal.js +0 -141
  907. package/dist/collection/components/map-search/map-search.css +0 -24
  908. package/dist/collection/components/map-search/map-search.js +0 -284
  909. package/dist/collection/components/media-card/media-card.css +0 -58
  910. package/dist/collection/components/media-card/media-card.js +0 -187
  911. package/dist/collection/demos/add-record-modal.html +0 -34
  912. package/dist/collection/demos/comment-card.html +0 -81
  913. package/dist/collection/demos/edit-record-modal.html +0 -34
  914. package/dist/collection/demos/map-search.html +0 -81
  915. package/dist/collection/demos/media-card.html +0 -71
  916. package/dist/components/add-record-modal.d.ts +0 -11
  917. package/dist/components/add-record-modal.js +0 -171
  918. package/dist/components/block.js +0 -232
  919. package/dist/components/comment-card.d.ts +0 -11
  920. package/dist/components/comment-card.js +0 -90
  921. package/dist/components/edit-record-modal.d.ts +0 -11
  922. package/dist/components/edit-record-modal.js +0 -11
  923. package/dist/components/edit-record-modal2.js +0 -161
  924. package/dist/components/map-search.d.ts +0 -11
  925. package/dist/components/map-search.js +0 -195
  926. package/dist/components/media-card.d.ts +0 -11
  927. package/dist/components/media-card.js +0 -11
  928. package/dist/components/media-card2.js +0 -177
  929. package/dist/components/modal.js +0 -415
  930. package/dist/components/pick-list.js +0 -164
  931. package/dist/components/split-button.js +0 -168
  932. package/dist/esm/ExpandToggle-ed0c4899.js +0 -111
  933. package/dist/esm/FloatingArrow-e769cdda.js +0 -46
  934. package/dist/esm/Heading-c36f4400.js +0 -22
  935. package/dist/esm/add-record-modal.entry.js +0 -102
  936. package/dist/esm/app-globals-4c1c4b90.js +0 -62
  937. package/dist/esm/ar-5fce09b4.js +0 -95
  938. package/dist/esm/array-af5e433b.js +0 -15
  939. package/dist/esm/bg-88930ab8.js +0 -76
  940. package/dist/esm/bs-83095544.js +0 -45
  941. package/dist/esm/ca-2452be3f.js +0 -65
  942. package/dist/esm/calcite-action-bar_4.entry.js +0 -622
  943. package/dist/esm/calcite-action-group.entry.js +0 -112
  944. package/dist/esm/calcite-action-menu_2.entry.js +0 -686
  945. package/dist/esm/calcite-combobox_3.entry.js +0 -1150
  946. package/dist/esm/calcite-dropdown_5.entry.js +0 -858
  947. package/dist/esm/calcite-filter_5.entry.js +0 -1006
  948. package/dist/esm/calcite-input-text_5.entry.js +0 -1961
  949. package/dist/esm/calcite-input-time-picker-379ab2c4.js +0 -1619
  950. package/dist/esm/calcite-tooltip.entry.js +0 -409
  951. package/dist/esm/card-manager.entry.js +0 -87
  952. package/dist/esm/comment-card.entry.js +0 -71
  953. package/dist/esm/conditionalSlot-e9ec914f.js +0 -60
  954. package/dist/esm/cs-c4999998.js +0 -141
  955. package/dist/esm/da-6e7eb415.js +0 -60
  956. package/dist/esm/date-85b54b18.js +0 -235
  957. package/dist/esm/de-39db71ff.js +0 -85
  958. package/dist/esm/de-at-0b43fa52.js +0 -84
  959. package/dist/esm/de-ch-345e1007.js +0 -84
  960. package/dist/esm/dom-e14bb980.js +0 -927
  961. package/dist/esm/downloadUtils-c4d8f012.js +0 -2723
  962. package/dist/esm/el-3d3eb2d9.js +0 -60
  963. package/dist/esm/en-au-f85fb0f9.js +0 -60
  964. package/dist/esm/en-ca-ae24e23b.js +0 -59
  965. package/dist/esm/en-gb-9f56a48f.js +0 -63
  966. package/dist/esm/es-00ec702d.js +0 -60
  967. package/dist/esm/es-mx-5fb19224.js +0 -59
  968. package/dist/esm/et-1a294618.js +0 -86
  969. package/dist/esm/fi-1bcfd731.js +0 -109
  970. package/dist/esm/filter-09439c1d.js +0 -763
  971. package/dist/esm/floating-ui-421b8ed2.js +0 -1817
  972. package/dist/esm/focusTrapComponent-45081255.js +0 -804
  973. package/dist/esm/form-58f5ab7c.js +0 -280
  974. package/dist/esm/fr-3a844513.js +0 -62
  975. package/dist/esm/fr-ch-32438415.js +0 -60
  976. package/dist/esm/guid-5c8ddb45.js +0 -24
  977. package/dist/esm/he-4d2d41f5.js +0 -99
  978. package/dist/esm/hi-e5a5cf07.js +0 -59
  979. package/dist/esm/hr-003c79cb.js +0 -74
  980. package/dist/esm/hu-a679b97b.js +0 -82
  981. package/dist/esm/id-8ce09f04.js +0 -60
  982. package/dist/esm/index.es-ba252f56.js +0 -10722
  983. package/dist/esm/info-card_2.entry.js +0 -198
  984. package/dist/esm/interactive-eaa1e00b.js +0 -73
  985. package/dist/esm/interfaces-523c6558.js +0 -80
  986. package/dist/esm/it-8a20f6f9.js +0 -60
  987. package/dist/esm/it-ch-b829ceb9.js +0 -60
  988. package/dist/esm/ja-ab479dce.js +0 -66
  989. package/dist/esm/key-2c25459c.js +0 -16
  990. package/dist/esm/ko-a523df7c.js +0 -66
  991. package/dist/esm/label-10a81bc6.js +0 -130
  992. package/dist/esm/layer-table_2.entry.js +0 -512
  993. package/dist/esm/loadable-fca3f617.js +0 -65
  994. package/dist/esm/locale-b550eae4.js +0 -555
  995. package/dist/esm/lt-6061d0cc.js +0 -91
  996. package/dist/esm/lv-c8234418.js +0 -60
  997. package/dist/esm/map-search.entry.js +0 -172
  998. package/dist/esm/mapViewUtils-06a77be9.js +0 -362
  999. package/dist/esm/math-778f9699.js +0 -25
  1000. package/dist/esm/mk-d08e7df4.js +0 -60
  1001. package/dist/esm/nb-35ca03d9.js +0 -61
  1002. package/dist/esm/nl-e815c488.js +0 -61
  1003. package/dist/esm/observers-b17e5da7.js +0 -51
  1004. package/dist/esm/openCloseComponent-1aef0328.js +0 -96
  1005. package/dist/esm/pl-a1c11e8b.js +0 -108
  1006. package/dist/esm/pt-8874bd08.js +0 -61
  1007. package/dist/esm/pt-br-cb76472e.js +0 -59
  1008. package/dist/esm/resources-09757d0c.js +0 -23
  1009. package/dist/esm/resources-23bce35b.js +0 -20
  1010. package/dist/esm/resources-6c49ff61.js +0 -2048
  1011. package/dist/esm/resources-78b20773.js +0 -20
  1012. package/dist/esm/resources-a9874e81.js +0 -28
  1013. package/dist/esm/resources-ac65ccee.js +0 -35
  1014. package/dist/esm/resources-bf1eeffc.js +0 -24
  1015. package/dist/esm/resources-c59151a8.js +0 -19
  1016. package/dist/esm/resources-f5fec753.js +0 -46
  1017. package/dist/esm/ro-0e8b863a.js +0 -60
  1018. package/dist/esm/ru-f3224893.js +0 -120
  1019. package/dist/esm/shared-list-render-86d8dcb7.js +0 -342
  1020. package/dist/esm/sk-eccf534f.js +0 -142
  1021. package/dist/esm/sl-a8e0c24f.js +0 -60
  1022. package/dist/esm/solution-store-70f874f8.js +0 -4092
  1023. package/dist/esm/sortableComponent-267e5853.js +0 -3082
  1024. package/dist/esm/sr-0e5973cb.js +0 -95
  1025. package/dist/esm/sv-ff8fbe95.js +0 -65
  1026. package/dist/esm/t9n-4c43412c.js +0 -95
  1027. package/dist/esm/th-90f7d79c.js +0 -59
  1028. package/dist/esm/time-18f4bea6.js +0 -195
  1029. package/dist/esm/tr-8a61ecaa.js +0 -60
  1030. package/dist/esm/uk-cb40a88d.js +0 -98
  1031. package/dist/esm/utils-701a66a0.js +0 -45
  1032. package/dist/esm/utils-d5304067.js +0 -200
  1033. package/dist/esm/utils-e59e3392.js +0 -79
  1034. package/dist/esm/utils-fbb44364.js +0 -61
  1035. package/dist/esm/vi-03f26f71.js +0 -64
  1036. package/dist/esm/zh-cn-b40fefb9.js +0 -88
  1037. package/dist/esm/zh-hk-846adb7a.js +0 -65
  1038. package/dist/esm/zh-tw-5e6c0c4c.js +0 -86
  1039. package/dist/solutions-components/demos/add-record-modal.html +0 -34
  1040. package/dist/solutions-components/demos/comment-card.html +0 -81
  1041. package/dist/solutions-components/demos/edit-record-modal.html +0 -34
  1042. package/dist/solutions-components/demos/map-search.html +0 -81
  1043. package/dist/solutions-components/demos/media-card.html +0 -71
  1044. package/dist/solutions-components/p-0004c7cf.js +0 -11
  1045. package/dist/solutions-components/p-028fe399.js +0 -11
  1046. package/dist/solutions-components/p-02934a73.js +0 -6
  1047. package/dist/solutions-components/p-0350a94c.js +0 -6
  1048. package/dist/solutions-components/p-03630cc2.js +0 -11
  1049. package/dist/solutions-components/p-0c0ae47e.entry.js +0 -6
  1050. package/dist/solutions-components/p-100a644d.js +0 -6
  1051. package/dist/solutions-components/p-10ee8954.js +0 -11
  1052. package/dist/solutions-components/p-14b581f0.js +0 -6
  1053. package/dist/solutions-components/p-156616b5.js +0 -6
  1054. package/dist/solutions-components/p-163f9453.entry.js +0 -22
  1055. package/dist/solutions-components/p-16a85289.entry.js +0 -11
  1056. package/dist/solutions-components/p-18c285a2.entry.js +0 -6
  1057. package/dist/solutions-components/p-1c6b3fcc.js +0 -11
  1058. package/dist/solutions-components/p-1ff86baf.js +0 -6
  1059. package/dist/solutions-components/p-21894ee1.entry.js +0 -6
  1060. package/dist/solutions-components/p-21d890eb.js +0 -11
  1061. package/dist/solutions-components/p-22367f3b.entry.js +0 -11
  1062. package/dist/solutions-components/p-224fc498.js +0 -6
  1063. package/dist/solutions-components/p-253c9105.entry.js +0 -11
  1064. package/dist/solutions-components/p-274e2b43.entry.js +0 -16
  1065. package/dist/solutions-components/p-29de380e.entry.js +0 -23
  1066. package/dist/solutions-components/p-2ab62909.entry.js +0 -12
  1067. package/dist/solutions-components/p-2ba08c44.js +0 -11
  1068. package/dist/solutions-components/p-2c91149c.entry.js +0 -17
  1069. package/dist/solutions-components/p-2d79dcaa.entry.js +0 -6
  1070. package/dist/solutions-components/p-2e02d0c6.js +0 -6
  1071. package/dist/solutions-components/p-2fb33412.js +0 -6
  1072. package/dist/solutions-components/p-2ff245e3.entry.js +0 -11
  1073. package/dist/solutions-components/p-309ab62c.entry.js +0 -6
  1074. package/dist/solutions-components/p-30fff23a.js +0 -6
  1075. package/dist/solutions-components/p-31084785.entry.js +0 -11
  1076. package/dist/solutions-components/p-322657e1.js +0 -6
  1077. package/dist/solutions-components/p-333fece7.js +0 -11
  1078. package/dist/solutions-components/p-33f7b5ad.entry.js +0 -12
  1079. package/dist/solutions-components/p-34b5fd3f.js +0 -11
  1080. package/dist/solutions-components/p-354a1a55.js +0 -16
  1081. package/dist/solutions-components/p-360652a6.js +0 -6
  1082. package/dist/solutions-components/p-361a2107.js +0 -6
  1083. package/dist/solutions-components/p-36b68fb9.js +0 -11
  1084. package/dist/solutions-components/p-3918da18.js +0 -6
  1085. package/dist/solutions-components/p-3965e731.js +0 -6
  1086. package/dist/solutions-components/p-3b2f8f0d.entry.js +0 -11
  1087. package/dist/solutions-components/p-3ed956eb.js +0 -36
  1088. package/dist/solutions-components/p-3fba8b91.js +0 -6
  1089. package/dist/solutions-components/p-40494687.js +0 -11
  1090. package/dist/solutions-components/p-441a995d.js +0 -11
  1091. package/dist/solutions-components/p-453cd5e4.entry.js +0 -11
  1092. package/dist/solutions-components/p-460d4659.entry.js +0 -11
  1093. package/dist/solutions-components/p-486ea405.js +0 -11
  1094. package/dist/solutions-components/p-48fd5600.entry.js +0 -11
  1095. package/dist/solutions-components/p-4a0899a1.entry.js +0 -6
  1096. package/dist/solutions-components/p-4a7214b3.js +0 -6
  1097. package/dist/solutions-components/p-4a86a776.js +0 -474
  1098. package/dist/solutions-components/p-4f308c0c.entry.js +0 -11
  1099. package/dist/solutions-components/p-50ebdbe1.entry.js +0 -6
  1100. package/dist/solutions-components/p-55a4d846.entry.js +0 -18
  1101. package/dist/solutions-components/p-563863b1.entry.js +0 -11
  1102. package/dist/solutions-components/p-56ee8fcf.entry.js +0 -6
  1103. package/dist/solutions-components/p-5730082b.entry.js +0 -17
  1104. package/dist/solutions-components/p-5798a8e1.entry.js +0 -11
  1105. package/dist/solutions-components/p-5a9f7d1d.entry.js +0 -11
  1106. package/dist/solutions-components/p-5dc70753.entry.js +0 -6
  1107. package/dist/solutions-components/p-5ed755a2.entry.js +0 -37
  1108. package/dist/solutions-components/p-5f9044e9.entry.js +0 -6
  1109. package/dist/solutions-components/p-67dce98d.js +0 -11
  1110. package/dist/solutions-components/p-681822de.entry.js +0 -11
  1111. package/dist/solutions-components/p-68ae67e2.js +0 -6
  1112. package/dist/solutions-components/p-6aabe903.entry.js +0 -6
  1113. package/dist/solutions-components/p-6aeb2614.entry.js +0 -6
  1114. package/dist/solutions-components/p-6b0437e2.js +0 -11
  1115. package/dist/solutions-components/p-6b16e621.js +0 -17
  1116. package/dist/solutions-components/p-6bca27ae.entry.js +0 -6
  1117. package/dist/solutions-components/p-6e8fc013.js +0 -11
  1118. package/dist/solutions-components/p-6f090d92.entry.js +0 -11
  1119. package/dist/solutions-components/p-71f15882.js +0 -6
  1120. package/dist/solutions-components/p-72bd2198.js +0 -6
  1121. package/dist/solutions-components/p-734fb637.entry.js +0 -11
  1122. package/dist/solutions-components/p-737ebddb.js +0 -6
  1123. package/dist/solutions-components/p-74ab524f.entry.js +0 -17
  1124. package/dist/solutions-components/p-751105bf.entry.js +0 -11
  1125. package/dist/solutions-components/p-758a5902.js +0 -6
  1126. package/dist/solutions-components/p-75d44bac.entry.js +0 -11
  1127. package/dist/solutions-components/p-76fd5733.js +0 -11
  1128. package/dist/solutions-components/p-78315271.entry.js +0 -11
  1129. package/dist/solutions-components/p-78719506.js +0 -257
  1130. package/dist/solutions-components/p-7903b163.js +0 -12
  1131. package/dist/solutions-components/p-7b49e5e3.js +0 -11
  1132. package/dist/solutions-components/p-7b4a714b.js +0 -11
  1133. package/dist/solutions-components/p-7b7091d4.js +0 -16
  1134. package/dist/solutions-components/p-7c96a204.entry.js +0 -11
  1135. package/dist/solutions-components/p-7d1fd0ab.js +0 -11
  1136. package/dist/solutions-components/p-7d3582a2.js +0 -18
  1137. package/dist/solutions-components/p-7d5a1cdb.js +0 -11
  1138. package/dist/solutions-components/p-7dfb2d00.entry.js +0 -17
  1139. package/dist/solutions-components/p-7ed79fea.entry.js +0 -6
  1140. package/dist/solutions-components/p-805d62b8.js +0 -6
  1141. package/dist/solutions-components/p-817b174b.js +0 -6
  1142. package/dist/solutions-components/p-851fd101.entry.js +0 -6
  1143. package/dist/solutions-components/p-85706e85.js +0 -11
  1144. package/dist/solutions-components/p-8b1bac08.entry.js +0 -11
  1145. package/dist/solutions-components/p-90abad32.js +0 -6
  1146. package/dist/solutions-components/p-9151a991.js +0 -17
  1147. package/dist/solutions-components/p-918b08f8.js +0 -6
  1148. package/dist/solutions-components/p-92123a6f.js +0 -6
  1149. package/dist/solutions-components/p-92de1de9.js +0 -21
  1150. package/dist/solutions-components/p-93015b7f.entry.js +0 -29
  1151. package/dist/solutions-components/p-963026b1.js +0 -11
  1152. package/dist/solutions-components/p-96601723.entry.js +0 -11
  1153. package/dist/solutions-components/p-966deb61.js +0 -16
  1154. package/dist/solutions-components/p-987fc85a.js +0 -6
  1155. package/dist/solutions-components/p-9ae83468.js +0 -6
  1156. package/dist/solutions-components/p-9d8ba56e.js +0 -11
  1157. package/dist/solutions-components/p-a3539120.js +0 -11
  1158. package/dist/solutions-components/p-a36a4f4c.entry.js +0 -11
  1159. package/dist/solutions-components/p-a390ad52.js +0 -6
  1160. package/dist/solutions-components/p-a4f6cb03.js +0 -6
  1161. package/dist/solutions-components/p-a58a83f5.entry.js +0 -11
  1162. package/dist/solutions-components/p-a5f966da.js +0 -6
  1163. package/dist/solutions-components/p-a717b838.entry.js +0 -11
  1164. package/dist/solutions-components/p-aa2b508b.js +0 -6
  1165. package/dist/solutions-components/p-ad77361c.entry.js +0 -11
  1166. package/dist/solutions-components/p-b05c0dab.js +0 -6
  1167. package/dist/solutions-components/p-b2175b0f.js +0 -11
  1168. package/dist/solutions-components/p-b32b130a.entry.js +0 -11
  1169. package/dist/solutions-components/p-b34f269f.entry.js +0 -6
  1170. package/dist/solutions-components/p-b4b19fd3.entry.js +0 -37
  1171. package/dist/solutions-components/p-b62c14e9.entry.js +0 -23
  1172. package/dist/solutions-components/p-b85c70ff.js +0 -6
  1173. package/dist/solutions-components/p-b9569aa8.js +0 -6
  1174. package/dist/solutions-components/p-b9df29d5.entry.js +0 -6
  1175. package/dist/solutions-components/p-c68c6cfc.js +0 -6
  1176. package/dist/solutions-components/p-c7f63eae.entry.js +0 -6
  1177. package/dist/solutions-components/p-c80b582f.js +0 -11
  1178. package/dist/solutions-components/p-c9c400b0.js +0 -6
  1179. package/dist/solutions-components/p-cfdcbbc4.entry.js +0 -11
  1180. package/dist/solutions-components/p-d0a0d58e.js +0 -6
  1181. package/dist/solutions-components/p-d0bd5dc8.js +0 -11
  1182. package/dist/solutions-components/p-d13c5d43.js +0 -6
  1183. package/dist/solutions-components/p-d2dfbb78.entry.js +0 -11
  1184. package/dist/solutions-components/p-d4c7b0b0.entry.js +0 -11
  1185. package/dist/solutions-components/p-d54d34a3.entry.js +0 -11
  1186. package/dist/solutions-components/p-d6c1abd1.js +0 -11
  1187. package/dist/solutions-components/p-d7e59435.entry.js +0 -35
  1188. package/dist/solutions-components/p-dadd5bfb.js +0 -11
  1189. package/dist/solutions-components/p-dc9c209f.entry.js +0 -11
  1190. package/dist/solutions-components/p-e12458f7.js +0 -6
  1191. package/dist/solutions-components/p-e1384eb6.entry.js +0 -6
  1192. package/dist/solutions-components/p-e13bc246.entry.js +0 -18
  1193. package/dist/solutions-components/p-e19a5718.entry.js +0 -11
  1194. package/dist/solutions-components/p-e470b2c7.entry.js +0 -6
  1195. package/dist/solutions-components/p-e4e33d1c.js +0 -6
  1196. package/dist/solutions-components/p-e6330f55.entry.js +0 -11
  1197. package/dist/solutions-components/p-e7b96c06.js +0 -11
  1198. package/dist/solutions-components/p-e84ff0f8.entry.js +0 -6
  1199. package/dist/solutions-components/p-e90f8998.entry.js +0 -11
  1200. package/dist/solutions-components/p-e9f43fe1.entry.js +0 -11
  1201. package/dist/solutions-components/p-ebd369cf.js +0 -6
  1202. package/dist/solutions-components/p-eda91258.entry.js +0 -11
  1203. package/dist/solutions-components/p-ee853883.entry.js +0 -11
  1204. package/dist/solutions-components/p-eea493bc.js +0 -6
  1205. package/dist/solutions-components/p-eec28f93.js +0 -6
  1206. package/dist/solutions-components/p-eee3969d.entry.js +0 -11
  1207. package/dist/solutions-components/p-f03a6d9c.js +0 -61
  1208. package/dist/solutions-components/p-f1aaf8d9.entry.js +0 -6
  1209. package/dist/solutions-components/p-f226673c.js +0 -11
  1210. package/dist/solutions-components/p-f546e45d.js +0 -6
  1211. package/dist/solutions-components/p-fa3d2b1f.js +0 -6
  1212. package/dist/solutions-components/p-fb33ea5f.js +0 -6
  1213. package/dist/solutions-components/p-fb553e61.js +0 -6
  1214. package/dist/solutions-components/p-fb8aa15c.entry.js +0 -11
  1215. package/dist/types/components/add-record-modal/add-record-modal.d.ts +0 -68
  1216. package/dist/types/components/comment-card/comment-card.d.ts +0 -26
  1217. package/dist/types/components/edit-record-modal/edit-record-modal.d.ts +0 -49
  1218. package/dist/types/components/map-search/map-search.d.ts +0 -120
  1219. package/dist/types/components/media-card/media-card.d.ts +0 -80
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as a,h as t,g as i}from"./p-f8be5d5f.js";import{j as o}from"./p-9151a991.js";import{u as n}from"./p-7b4a714b.js";import{s as e,a as r,c as s}from"./p-7d1fd0ab.js";import"./p-dadd5bfb.js";import"./p-7d5a1cdb.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.2
11
- */const c=class{constructor(t){a(this,t),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}componentWillLoad(){e(this)}componentDidLoad(){r(this)}componentDidRender(){n(this)}async setFocus(){await s(this),o(this.buttonEl)}render(){const{appearance:a,kind:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:s,label:c,text:l,iconFlipRtl:d}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline-fill",class:"button",disabled:o,iconFlipRtl:d?"start":null,iconStart:s,kind:i,label:c,loading:n,round:!0,scale:e,title:r?null:c||l||null,type:"button",width:"auto",ref:a=>{this.buttonEl=a}},this.textEnabled?this.text:null)}get el(){return i(this)}};c.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:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--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)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 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)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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)}";export{c as calcite_fab}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as l,g as a}from"./p-f8be5d5f.js";import{g as s}from"./p-fc2277fe.js";import"./p-e1a4994d.js";const n=class{constructor(i){t(this,i),this.cardTitle="",this.values={}}render(){return i(l,null,i("div",null,i("div",{class:"bottom-border"},i("calcite-label",null,this.cardTitle)),i("div",{class:"padding-top-1-2"},i("table",null,i("tbody",null,this._getRows())))))}_getRows(){return Object.keys(this.values).map((t=>i("tr",null,i("td",null,i("calcite-label",null,i("span",{class:"font-color-3"},t))),i("td",null,i("calcite-label",null,i("span",null,this.values[t]))))))}get el(){return a(this)}};n.style=":host{display:block;--calcite-label-margin-bottom:0}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px}tr:nth-child(odd){background:var(--calcite-ui-foreground-2)}.bottom-border{padding-bottom:0.5rem;border-bottom:1px solid var(--calcite-ui-border-1)}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}";const e=class{constructor(i){t(this,i),this.values=[],this._index=-1,this._translations=void 0}geometriesWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i||[])&&((null==t?void 0:t.length)>0?this._initIndex():this._index=-1)}async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){var t;-1===this._index&&(null===(t=this.values)||void 0===t?void 0:t.length)>0&&this._initIndex()}render(){var t;const a=(null===(t=this.values)||void 0===t?void 0:t.length)>0?this.values[this._index]:void 0,s=(this.values||[]).length,n=this._index+1;return i(l,null,i("div",null,i("div",{class:"display-flex"},i("img",{class:"img-container",src:null==a?void 0:a.url})),i("calcite-label",{scale:"s"},i("span",{class:"font-italic padding-bottom-1"},null==a?void 0:a.name)),i("calcite-label",null,i("span",{class:"padding-bottom-1"},null==a?void 0:a.description))),i("div",{class:"button-container"},i("div",{class:"count-container"},i("calcite-label",null,i("span",null,`${n} of ${s}`))),i("div",{class:"display-flex"},i("calcite-button",{appearance:"outline",class:"padding-start-1 button-width",color:"neutral",disabled:1===n||0===(this.values||[]).length,onClick:()=>this._decrementIndex()},this._translations.previous),i("calcite-button",{class:"padding-start-1 button-width",disabled:(this.values||[]).length===n,onClick:()=>this._incrementIndex()},this._translations.next))))}_initIndex(){this._index=0}_incrementIndex(){this._index+=1}_decrementIndex(){this._index-=1}async _getTranslations(){const t=await s(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{values:["geometriesWatchHandler"]}}};e.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-bottom-1{padding-bottom:1rem}.padding-start-1{-webkit-padding-start:1rem;padding-inline-start:1rem}.display-flex{display:flex}.font-italic{font-style:italic}.button-width{min-width:120px}.button-container{display:flex;justify-content:space-between}.count-container{display:flex;align-items:center}.img-container{-o-object-fit:scale-down;object-fit:scale-down;width:100%;height:100%}";export{n as info_card,e as media_card}
@@ -1,18 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as e,H as a,g as s}from"./p-f8be5d5f.js";import{l as n}from"./p-d7ddd3a2.js";import{g as l}from"./p-fc2277fe.js";import{f as r,i as h,u as o}from"./p-9151a991.js";import{g as c}from"./p-dadd5bfb.js";import{c as d,d as u,a as m,H as b}from"./p-7903b163.js";import{u as p}from"./p-7b4a714b.js";import{i as f}from"./p-21d890eb.js";import{c as v,d as g,g as x}from"./p-6e8fc013.js";import{s as _,a as k,c as y}from"./p-7d1fd0ab.js";import{n as w,c as z,d as V}from"./p-7b7091d4.js";import{d as D,c as $}from"./p-6b0437e2.js";import{f as M}from"./p-92de1de9.js";import{s as H}from"./p-a29ba58a.js";import"./p-e1a4994d.js";import"./p-7d5a1cdb.js";import"./p-e7b96c06.js";import"./p-4ff653eb.js";const I=class{constructor(e){t(this,e),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 e(a,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=>e("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 e("div",{class:"c-container"},e("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}),e("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return e("div",null,e("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.2
11
- */
12
- var j;I.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"}(j||(j={}));const C=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=r(j,this.icon,this.status)}connectedCallback(){this.requestedIcon=r(j,this.icon,this.status)}render(){return e(a,{"calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),e("slot",null))}renderIcon(t){if(t)return e("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"]}}};C.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.2
17
- */
18
- const S="handle__label";function O(t){return Array.isArray(t)}const T=class{constructor(e){t(this,e),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(O(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=i-this.minValueDragRange,e=i+this.maxValueDragRange;e<=this.max&&t>=this.min&&e-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(e,"maxValue")})}else this.minValueDragRange=i-this.minValue,this.maxValueDragRange=this.maxValue-i,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(i,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&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 w.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},w.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(){z(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),v(this),d(this)}disconnectedCallback(){g(this),u(this),V(this),this.removeDragListeners()}componentWillLoad(){_(this),this.tickValues=this.generateTickValues(),O(this.value)||(this.value=this.clamp(this.value)),m(this,this.value),this.snap&&!O(this.value)&&(this.value=this.getClosestStep(this.value)),this.histogram&&(this.hasHistogram=!0)}componentDidLoad(){k(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),O(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),p(this)}render(){const t=this.el.id||this.guid,i=O(this.value)?"maxValue":"value",s=O(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=O(this.value),f=`${S} handle__label--minValue`,v=`${S} handle__label--value`,g=e("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},e("div",{class:"handle"})),_=e("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},e("span",{"aria-hidden":"true",class:v},n),e("span",{"aria-hidden":"true",class:`${v} static`},n),e("span",{"aria-hidden":"true",class:`${v} transformed`},n),e("div",{class:"handle"})),k=e("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},e("div",{class:"handle"}),e("span",{"aria-hidden":"true",class:v},n),e("span",{"aria-hidden":"true",class:`${v} static`},n),e("span",{"aria-hidden":"true",class:`${v} transformed`},n)),y=e("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},e("div",{class:"handle"}),e("div",{class:"handle-extension"})),w=e("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},e("div",{class:"handle-extension"}),e("div",{class:"handle"})),z=e("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},e("span",{"aria-hidden":"true",class:v},n),e("span",{"aria-hidden":"true",class:`${v} static`},n),e("span",{"aria-hidden":"true",class:`${v} transformed`},n),e("div",{class:"handle"}),e("div",{class:"handle-extension"})),V=e("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},e("div",{class:"handle-extension"}),e("div",{class:"handle"}),e("span",{"aria-hidden":"true",class:v},n),e("span",{"aria-hidden":"true",class:`${v} static`},n),e("span",{"aria-hidden":"true",class:`${v} transformed`},n)),D=e("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},e("div",{class:"handle"})),$=e("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},e("span",{"aria-hidden":"true",class:f},l),e("span",{"aria-hidden":"true",class:`${f} static`},l),e("span",{"aria-hidden":"true",class:`${f} transformed`},l),e("div",{class:"handle"})),M=e("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},e("div",{class:"handle"}),e("span",{"aria-hidden":"true",class:f},l),e("span",{"aria-hidden":"true",class:`${f} static`},l),e("span",{"aria-hidden":"true",class:`${f} transformed`},l)),H=e("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},e("div",{class:"handle-extension"}),e("div",{class:"handle"})),I=e("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},e("div",{class:"handle-extension"}),e("div",{class:"handle"}),e("span",{"aria-hidden":"true",class:f},l),e("span",{"aria-hidden":"true",class:`${f} static`},l),e("span",{"aria-hidden":"true",class:`${f} transformed`},l));return e(a,{id:t,onTouchStart:this.handleTouchStart},e("div",{"aria-label":x(this),class:{container:!0,"container--range":p,[`scale--${this.scale}`]:!0}},this.renderGraph(),e("div",{class:"track",ref:this.storeTrackRef},e("div",{class:"track__range",onPointerDown:t=>this.pointerDownDragStart(t,"minMaxValue"),style:{left:`${d?100-c:o}%`,right:`${d?o:100-c}%`}}),e("div",{class:"ticks"},this.tickValues.map((t=>{const i=100*this.getUnitInterval(t)+"%";let a=t>=r&&t<=s;return h&&(a=t>=this.minValue&&t<=this.maxValue),e("span",{class:{tick:!0,"tick--active":a},style:{left:d?"":i,right:d?i:""}},this.renderTickLabel(t))})))),e("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&&_,!this.hasHistogram&&this.precise&&!this.labelHandles&&y,this.hasHistogram&&this.precise&&!this.labelHandles&&w,!this.hasHistogram&&this.precise&&this.labelHandles&&z,this.hasHistogram&&!this.precise&&this.labelHandles&&k,this.hasHistogram&&this.precise&&this.labelHandles&&V,e(b,{component:this}))))}renderGraph(){return this.histogram?e("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:O(this.value)?this.maxValue:this.value,highlightMin:O(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const i=O(this.value),a=t===this.min,s=t===this.max,n=this.determineGroupSeparator(t),l=e("span",{class:{tick__label:!0,"tick__label--min":a,"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&&(a||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&!this.labelHandles||this.labelTicks&&this.hasHistogram&&this.precise&&!this.labelHandles&&(a||s)||this.labelTicks&&this.hasHistogram&&!this.precise&&this.labelHandles&&(a||s)||this.labelTicks&&this.hasHistogram&&this.precise&&this.labelHandles&&(a||s)?l:null}keyDownHandler(t){const i=this.shouldMirror(),{activeProp:e,max:a,min:s,pageStep:n,step:l}=this,r=this[e],{key:h}=t;if(f(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=a),isNaN(o))return;t.preventDefault();const c=Number(o.toFixed(D(l)));this.setValue({[e]:this.clamp(c,e)})}pointerDownHandler(t){if(this.disabled||!h(t))return;const i=t.clientX||t.pageX,e=this.translate(i);let a="value";O(this.value)&&(a=e>=this.minValue&&e<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-e)<Math.abs(this.minValue-e)||e>this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(".thumb:active")||this.setValue({[a]:this.clamp(e,a)}),this.focusActiveHandle(i)}handleTouchStart(t){t.preventDefault()}async setFocus(){await y(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;O(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!O(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((e=>{const a=t[e];i||(i=this[e]!==a),this[e]=a})),i&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,i){return t=$(t,this.min,this.max),"maxValue"===i&&(t=Math.max(t,this.minValue)),"minValue"===i&&(t=Math.min(t,this.maxValue)),t}translate(t){const i=this.max-this.min,{left:e,width:a}=this.trackEl.getBoundingClientRect(),s=(t-e)/a,n=this.shouldMirror(),l=this.clamp(this.min+i*(n?1-s:s));let r=Number(l.toFixed(D(this.step)));return this.snap&&this.step&&(r=this.getClosestStep(r)),r}getClosestStep(t){if(t=Number(this.clamp(t).toFixed(D(this.step))),this.step){const i=Math.round(t/this.step)*this.step;t=Number(this.clamp(i).toFixed(D(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}`),e=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=e.getBoundingClientRect(),n=this.getHostOffset(s.left,s.right);i.style.transform=`translateX(${n}px)`,a.style.transform=`translateX(${n}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,i=this.shouldMirror(),e=i?"value":"minValue",a=i?"minValue":"value",s=t.querySelector(`.handle__label--${e}`),n=t.querySelector(`.handle__label--${e}.static`),l=t.querySelector(`.handle__label--${e}.transformed`),r=this.getHostOffset(n.getBoundingClientRect().left,n.getBoundingClientRect().right),h=t.querySelector(`.handle__label--${a}`),o=t.querySelector(`.handle__label--${a}.static`),c=t.querySelector(`.handle__label--${a}.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 e=m/2;const a=this.getHostOffset(c.getBoundingClientRect().left+e,c.getBoundingClientRect().right+e);0!==i&&(t+=i,e+=i),0!==a&&(t+=a,e+=a),s.style.transform=`translateX(${t}px)`,l.style.transform=`translateX(${t-p}px)`,h.style.transform=`translateX(${e}px)`,c.style.transform=`translateX(${e}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=O(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"),e=this.el.shadowRoot.querySelector(".thumb--value"),a=this.el.shadowRoot.querySelector(".tick__label--min"),s=this.el.shadowRoot.querySelector(".tick__label--max");!i&&e&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,e)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,e)?"0":"1"),i&&e&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)||this.isMinTickLabelObscured(a,e)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)||this.isMaxTickLabelObscured(s,e)&&this.hasHistogram?"0":"1")}getHostOffset(t,i){const e=this.el.getBoundingClientRect();return t+7<e.left?e.left-t-7:i-7>e.right?7-(i-e.right):0}getRangeLabelOverlap(t,i){const e=t.getBoundingClientRect(),a=i.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(e.right+s-a.left,0)}isMinTickLabelObscured(t,i){const e=t.getBoundingClientRect(),a=i.getBoundingClientRect();return o(e,a)}isMaxTickLabelObscured(t,i){const e=t.getBoundingClientRect(),a=i.getBoundingClientRect();return o(e,a)}static get delegatesFocus(){return!0}get el(){return s(this)}static get watchers(){return{histogram:["histogramWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};T.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 F=class{constructor(e){t(this,e),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=M.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===M.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return e(a,null,e("div",{class:this.drawMode===M.SKETCH?"border":"border esri-widget esri-sketch__panel"},e("div",{ref:t=>{this._sketchElement=t}}),e("div",{class:t},e("calcite-action",{disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),e("calcite-action",{disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,e]=await n(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=e}_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"}),H.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===M.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===M.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===M.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{var i;if(this.editGraphicsEnabled){const e=null===(i=null==t?void 0:t.toolEventInfo)||void 0===i?void 0:i.type;"reshape-stop"!==e&&"move-stop"!==e||(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,e="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;e&&t.forEach((t=>t.symbol=e))}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"]}}};F.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{I as buffer_tools,C as calcite_input_message,T as calcite_slider,F as map_draw_tools}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as e,H as n,g as a}from"./p-f8be5d5f.js";import{a as o,i as s,f as r,b as l}from"./p-9151a991.js";import{s as c,c as h,d as u,H as d}from"./p-7903b163.js";import{u as m}from"./p-7b4a714b.js";import{n as p}from"./p-21d890eb.js";import{c as b,d as f,g as v}from"./p-6e8fc013.js";import{s as g,a as x,c as y}from"./p-7d1fd0ab.js";import{n as k,i as w,p as z,s as D,e as _,c as j,d as I,B as E}from"./p-7b7091d4.js";import{c as C}from"./p-e7b96c06.js";import{C as L}from"./p-7d5a1cdb.js";import{u as F,c as W,d as K,s as V}from"./p-76fd5733.js";import"./p-dadd5bfb.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.2
11
- */const H="number-button-item--horizontal",N="number-button-item",P={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"},R=class{constructor(e){t(this,e),this.calciteInternalInputFocus=i(this,"calciteInternalInputFocus",6),this.calciteInternalInputBlur=i(this,"calciteInternalInputBlur",6),this.calciteInputInput=i(this,"calciteInputInput",7),this.calciteInputChange=i(this,"calciteInputChange",6),this.childElType="input",this.previousValueOrigin="initial",this.mutationObserver=C("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||c(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputChange.emit(),this.setPreviousEmittedValue(this.value))},this.inputBlurHandler=()=>{this.calciteInternalInputBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=o(this.el,"action");t.target!==i&&this.setFocus()},this.inputFocusHandler=()=>{this.calciteInternalInputFocus.emit()},this.inputChangeHandler=()=>{"file"===this.type&&(this.files=this.childEl.files)},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value;k.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=k.delocalize(i);"insertFromPaste"===t.inputType?(w(e)||t.preventDefault(),this.setValue({nativeEvent:t,origin:"user",value:z(e)}),this.childNumberEl.value=this.localizedValue):this.setValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...p,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(!i.includes(t.key)||t.shiftKey&&!e){if(k.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===k.decimal){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(k.decimal))return}if(/[eE]/.test(t.key)){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}else"Enter"===t.key&&this.emitChangeIfUserModified()},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat||"number"!==this.type)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let a=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{a?a=!1:this.incrementOrDecrementNumberValue(t,e,n,i)}),150)},this.numberButtonPointerUpAndOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.numberButtonPointerDownHandler=t=>{s(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.hiddenInputChangeHandler=t=>{t.target.name===this.name&&this.setValue({value:t.target.value,origin:"direct"}),t.stopPropagation()},this.setChildElRef=t=>{this.childEl=t},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputValue=t=>{("text"!==this.type||this.childEl)&&("number"!==this.type||this.childNumberEl)&&(this[`child${"number"===this.type?"Number":""}El`].value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=this.normalizeValue(t)},this.setPreviousValue=t=>{this.previousValue=this.normalizeValue(t)},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:n,value:a})=>{if(this.setPreviousValue(null!=n?n:this.value),this.previousValueOrigin=e,"number"===this.type){k.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator,signDisplay:"never"};const t=D(this.numberingSystem&&"latn"!==this.numberingSystem||"latn"!==_?k.delocalize(a):a),i=a&&!t?w(this.previousValue)?this.previousValue:"":t,n=k.localize(i);this.localizedValue=n,this.userChangedValue="user"===e&&this.value!==i,this.value=["-","."].includes(i)?"":i}else this.userChangedValue="user"===e&&this.value!==a,this.value=a;"direct"===e&&(this.setInputValue(a),this.previousEmittedValue=a),i&&(this.calciteInputInput.emit().defaultPrevented?(this.value=this.previousValue,this.localizedValue="number"===this.type?k.localize(this.previousValue):this.previousValue):t&&this.emitChangeIfUserModified())},this.inputKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.pattern=void 0,this.accept=void 0,this.multiple=!1,this.inputMode="text",this.enterKeyHint=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.type="text",this.value="",this.files=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.localizedValue=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||(this.setValue({origin:"direct",previousValue:i,value:null==t||""==t?"":"number"===this.type?w(t)?t:this.previousValue||"":t}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=r(P,this.icon,this.type)}get isClearable(){return!this.isTextarea&&(this.clearable||"search"===this.type)&&this.value.length>0}get isTextarea(){return"textarea"===this.childElType}effectiveLocaleChange(){F(this,this.effectiveLocale)}connectedCallback(){var t;j(this),W(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),b(this),h(this),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),"number"===this.type&&(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"connected",value:w(this.value)?this.value:""})),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}disconnectedCallback(){var t;f(this),u(this),I(this),K(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){var t,i;g(this),this.childElType="textarea"===this.type?"textarea":"input",this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=r(P,this.icon,this.type),await V(this)}componentDidLoad(){x(this)}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!w(t)&&(this.setValue({origin:"reset",value:i}),1))}componentDidRender(){m(this)}async setFocus(){var t,i;await y(this),"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.focus():null===(i=this.childEl)||void 0===i||i.focus()}async selectText(){var t,i;"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.select():null===(i=this.childEl)||void 0===i||i.select()}async internalSyncChildElValue(){"number"===this.type?this.childNumberEl.value=this.value:this.childEl.value=this.value}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:a}=this,o="up"===t?1:-1,s="any"===this.step?1:Math.abs(this.step||1),r=new E(""!==a?a:"0").add(""+s*o),l="number"==typeof e&&!isNaN(e)&&r.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||r.subtract(`${i}`).isNegative?r.toString():`${i}`;this.setValue({committing:!0,nativeEvent:n,origin:"user",value:l})}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){var i,e,n,a;const{type:o}=this;t.type=o,"number"===o?(t.min=null!==(e=null===(i=this.min)||void 0===i?void 0:i.toString(10))&&void 0!==e?e:"",t.max=null!==(a=null===(n=this.max)||void 0===n?void 0:n.toString(10))&&void 0!==a?a:""):"text"===o&&(null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength))}setDisabledAction(){const t=o(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return"number"===this.type?w(t)?t:"":t}warnAboutInvalidNumberValue(t){"number"===this.type&&t&&!w(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.messages.loading,type:"indeterminate"})),a=e("button",{"aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"}),s="horizontal"===this.numberButtonType,r=e("button",{"aria-hidden":"true",class:{[N]:!0,[H]:s},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:"l"===this.scale?"m":"s"})),c=e("button",{"aria-hidden":"true",class:{[N]:!0,[H]:s},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:"l"===this.scale?"m":"s"})),h=e("div",{class:"number-button-wrapper"},r,c),u=e("div",{class:"prefix"},this.prefixText),m=e("div",{class:"suffix"},this.suffixText),p="number"===this.type?e("input",{accept:this.accept,"aria-label":v(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,multiple:this.multiple,name:void 0,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.localizedValue,ref:this.setChildNumberElRef}):null,b="number"!==this.type?[e(this.childElType,{accept:this.accept,"aria-label":v(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,multiple:this.multiple,name:this.name,onBlur:this.inputBlurHandler,onChange:this.inputChangeHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:!!this.required||null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value,ref:this.setChildElRef}),this.isTextarea?e("div",{class:"resize-icon-wrapper"},e("calcite-icon",{icon:"chevron-down",scale:"l"===this.scale?"m":"s"})):null]:null;return e(n,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[L.rtl]:"rtl"===t}},"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,e("div",{class:"element-wrapper"},p,b,this.isClearable?a:null,this.requestedIcon?o:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"number"!==this.type||"vertical"!==this.numberButtonType||this.readOnly?null:h,this.suffixText?m:null,"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:r,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};R.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:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{block-size:1.5rem;min-block-size:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) input[type=file]{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=s]) textarea{block-size:auto;padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-block-size:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) input[type=file]{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=m]) textarea{block-size:auto;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-block-size:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) input[type=file]{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([scale=l]) textarea{block-size:auto;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-color:transparent}:host textarea:focus,:host input: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 )}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);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 )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3.5rem;padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.icon,.resize-icon-wrapper{z-index:var(--calcite-app-z-index)}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button: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 )}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;inset-block-end:0px;box-sizing:border-box;padding-block:0px;padding-inline:0.25rem;inset-inline-end:0}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:0.5rem}:host([type=file][scale=m]) input{padding-block:0.25rem;padding-inline:0.75rem}:host([type=file][scale=l]) input{padding-block:0.5rem;padding-inline:1rem}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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 T=class{constructor(i){t(this,i),this.type="determinate",this.value=0,this.label=void 0,this.text=void 0,this.reversed=!1}render(){return e("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},e("div",{class:"track"},e("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,reversed:this.reversed},style:"determinate"===this.type?{width:100*this.value+"%"}:{}})),this.text?e("div",{class:"text"},this.text):null)}get el(){return a(this)}};T.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}@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{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-app-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{z-index:var(--calcite-app-z-index);background-color:var(--calcite-ui-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}";export{R as calcite_input,T as calcite_progress}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as e,g as s,c as a}from"./p-f8be5d5f.js";import{l as o}from"./p-d7ddd3a2.js";import{g as l}from"./p-fc2277fe.js";import{i as n,c,g as h,j as r}from"./p-3ed956eb.js";import{d}from"./p-4a86a776.js";import{g as p}from"./p-92de1de9.js";import"./p-e1a4994d.js";const m=class{constructor(i){t(this,i),this._fieldNames=[],this._graphics=[],this.onTableNodeCreate=t=>{this._tableNode=t,this._getTable(t)},this.mapView=void 0,this._layerView=void 0,this._selectedIndexes=[],this._translations=void 0}async mapViewWatchHandler(){const t=await n(this.mapView);this._layerView=await c(this.mapView,t[0])}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return this._layerView?i(e,null,this._getTableControlRow(),i("div",{class:"table-div width-full"},i("calcite-panel",{class:"height-full width-full"},i("div",{ref:this.onTableNodeCreate}))),i("edit-record-modal",{ref:t=>this._editMultipleMpdal=t})):null}async _initModules(){const[t]=await o(["esri/widgets/FeatureTable"]);this.FeatureTable=t}_getTableControlRow(){const t=this._selectedIndexes.length>0,e=this._selectedIndexes.length>1;return i("div",{class:"display-flex table-border"},i("map-layer-picker",{mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t)}),i("div",null,i("calcite-button",{appearance:"transparent",color:"neutral",disabled:!t,iconStart:"magnifying-glass",onClick:()=>this._zoom()},this._translations.zoom),i("calcite-button",{appearance:"transparent",color:"neutral",disabled:!e,iconStart:"pencil",onClick:()=>this._editMultiple()},this._translations.editMultiple),i("calcite-button",{appearance:"transparent",color:"neutral",disabled:!t,iconStart:"trash",onClick:()=>this._delete()},this._translations.delete),i("calcite-split-button",{appearance:"transparent",color:"neutral","primary-text":this._translations.more},i("calcite-dropdown-group",{"selection-mode":"none"},i("calcite-dropdown-item",{iconStart:"list-check-all",onClick:()=>this._selectAll(!0)},this._translations.selectAll),i("calcite-dropdown-item",{iconStart:"selected-items-filter",onClick:()=>this._showSelected()},this._translations.showSelected),i("calcite-dropdown-item",{iconStart:"erase",onClick:()=>this._clearSelection()},this._translations.clearSelection),i("calcite-dropdown-item",{iconStart:"refresh",onClick:()=>this._switchSelected()},this._translations.switchSelected),i("calcite-dropdown-item",{iconStart:"export",onClick:()=>this._exportToCSV()},this._translations.exportCSV)))))}_getTable(t){var i;(null===(i=this._layerView)||void 0===i?void 0:i.layer)&&(this._table=new this.FeatureTable({layer:this._layerView.layer,view:this.mapView,editingEnabled:!0,highlightOnRowSelectEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},container:t}))}_selectAll(t){this._selectedIndexes=t?this._graphics.map(((t,i)=>i)):[]}_showSelected(){console.log("_showSelected")}_clearSelection(){this._selectedIndexes=[]}_switchSelected(){const t=[...this._selectedIndexes];this._selectedIndexes=this._graphics.reduce(((i,e,s)=>(t.indexOf(s)<0&&i.push(s),i)),[])}_exportToCSV(){const t={};t[this._layerView.layer.id]={selectionSetNames:[],ids:this._getSelectedIds(),layerView:this._layerView},d(t,!1,!0)}_zoom(){const t=this._getSelectedIds();h(t,this._layerView,this.mapView,!0)}_editMultiple(){this._editMultipleMpdal.open=!0}_delete(){console.log("delete")}_getGraphics(t){return this._graphics.filter(((i,e)=>t.indexOf(e)>-1))}_getSelectedIds(){return this._getGraphics(this._selectedIndexes).map((t=>t.getObjectId()))}_rowSelected(t){const i=this._selectedIndexes.indexOf(t);i>-1?(this._selectedIndexes.splice(i,1),this._selectedIndexes=[...this._selectedIndexes]):this._selectedIndexes=[...this._selectedIndexes,t]}async _layerSelectionChanged(t){const i=t.detail[0];this._layerView=await c(this.mapView,i),this._fieldNames=this._layerView.layer.fields.map((t=>t.alias||t.name)),this._graphics=await r(0,this._layerView.layer,[]),this._selectedIndexes=[],this._table.layer=this._layerView.layer,this._table.render()}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};m.style=":host{display:block}.table-div{height:calc(100% - 35px)}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}";const u=class{constructor(i){t(this,i),this.expandMap=a(this,"expandMap",7),this.mapChanged=a(this,"mapChanged",7),this._loadedId="",this.mapInfos=[],this.mapView=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapId=""}_webMapIdWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._loadMap(t)}mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._loadMap(t[0].id)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidRender(){this._loadMap(this._webMapId)}render(){return i(e,null,this._getToolbar(),this._getMapNameList(this._mapListExpanded),i("div",{class:"map-height",ref:t=>this._mapDiv=t}))}async _initModules(){const[t,i]=await o(["esri/WebMap","esri/views/MapView"]);this.WebMap=t,this.MapView=i}_getToolbar(){return i("div",{class:"display-flex"},i("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker(),this._getActionGroup("home",!1,this._translations.home,(()=>this._goHome())),this._getActionGroup("list",!1,this._translations.list,(()=>this._showList())),this._getActionGroup("magnifying-glass-plus",!1,this._translations.search,(()=>this._search())),this._getActionGroup("plus",!1,this._translations.zoomIn,(()=>this._zoomIn())),this._getActionGroup("minus",!1,this._translations.zoomOut,(()=>this._zoomOut())),this._getActionGroup("expand",!1,this._translations.expand,(()=>this._expand()))))}_loadMap(t){if(""===t&&this.mapInfos.length>0&&(t=this.mapInfos[0].id),this._loadedId!==t){const i=new this.WebMap({portalItem:{id:t}});this.mapView=new this.MapView({container:this._mapDiv,map:i,resizeAlign:"top-left"}),this._loadedId=t,this.mapChanged.emit(this.mapView)}}_getActionGroup(t,e,s,a){return i("calcite-action-group",{class:"action-center width-1-6",layout:"horizontal"},i("calcite-action",{alignment:"center",class:"width-full height-full",compact:!1,disabled:e,icon:t,id:t,onClick:a,text:""},i("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,s)))}_getMapPicker(){const t=this._mapListExpanded?"chevron-up":"chevron-down";return i("calcite-action-group",{class:"action-center width-1-6",layout:"horizontal"},i("calcite-block",{class:"action-center block-button width-full height-full display-grid",heading:"",onClick:()=>this._chooseMap()},i("calcite-icon",{icon:"map",scale:"s",slot:"icon"}),i("calcite-icon",{icon:t,scale:"s",slot:"icon"}),i("calcite-tooltip",{label:"",placement:"bottom"},i("span",null,this._translations.mapName))))}_getMapNameList(t){return i("div",{class:t?"map-list":"display-none"},i("calcite-pick-list",{id:"mapList"},this.mapInfos.map((t=>i("calcite-pick-list-item",{label:t.name,onClick:()=>this._webMapSelected(t.id),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapId=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}_goHome(){alert("go home")}_showList(){alert("show list")}_search(){alert("search")}_zoomIn(){alert("zoom in")}_zoomOut(){alert("zoom out")}_expand(){this.expandMap.emit(p.EXPAND)}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{_webMapId:["_webMapIdWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};u.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.action-bar-size{height:3.5rem;width:100%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.width-1-7{width:14.28%}.width-1-6{width:16.66%}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.display-grid{display:inline-grid}.block-button{border-bottom:0}.block-button:hover{background-color:var(--calcite-ui-foreground-2)}.block-button:active{background-color:var(--calcite-ui-foreground-3)}.map-list{position:absolute;inset:3.5rem 0 0 0;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background);z-index:1;width:100%;height:-moz-fit-content;height:fit-content}.map-height{height:calc(100% - 58px)}.display-none{display:none}.esri-zoom{display:none !important}";export{m as layer_table,u as map_card}
@@ -1,17 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as t,h as e,H as s,g as a}from"./p-f8be5d5f.js";import{a as n,f as o,b as l}from"./p-9151a991.js";import{s as r,c,d as h,H as d}from"./p-7903b163.js";import{u as p}from"./p-7b4a714b.js";import{c as u,d as m,g}from"./p-6e8fc013.js";import{s as b,a as v,c as f}from"./p-7d1fd0ab.js";import{c as y,d as w}from"./p-7b7091d4.js";import{c as x}from"./p-e7b96c06.js";import{C as k}from"./p-7d5a1cdb.js";import{u as _,c as z,d as D,s as L}from"./p-76fd5733.js";import{c as S,d as I}from"./p-1c6b3fcc.js";import{K as C}from"./p-67dce98d.js";import{l as P}from"./p-d7ddd3a2.js";import{g as M,h as j,a as A,b as N,c as G,d as O,e as H,f as W}from"./p-3ed956eb.js";import{c as E,e as F,f as R}from"./p-92de1de9.js";import{s as V}from"./p-a29ba58a.js";import{a as T,g as q}from"./p-fc2277fe.js";import{d as Y,a as B}from"./p-4a86a776.js";import"./p-dadd5bfb.js";import"./p-21d890eb.js";import"./p-4ff653eb.js";import"./p-e1a4994d.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.2
11
- */const K=class{constructor(e){i(this,e),this.calciteInternalInputTextFocus=t(this,"calciteInternalInputTextFocus",7),this.calciteInternalInputTextBlur=t(this,"calciteInternalInputTextBlur",7),this.calciteInputTextInput=t(this,"calciteInputTextInput",7),this.calciteInputTextChange=t(this,"calciteInputTextChange",7),this.previousValueOrigin="initial",this.mutationObserver=x("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=i=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===i.key&&(this.clearInputTextValue(i),i.preventDefault()),"Enter"!==i.key||i.defaultPrevented||r(this)&&i.preventDefault())},this.clearInputTextValue=i=>{this.setValue({committing:!0,nativeEvent:i,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))},this.inputTextBlurHandler=()=>{this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.clickHandler=i=>{if(this.disabled)return;const t=n(this.el,"action");i.target!==t&&this.setFocus()},this.inputTextFocusHandler=()=>{this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})},this.inputTextInputHandler=i=>{this.disabled||this.readOnly||this.setValue({nativeEvent:i,origin:"user",value:i.target.value})},this.inputTextKeyDownHandler=i=>{this.disabled||this.readOnly||"Enter"===i.key&&this.emitChangeIfUserModified()},this.hiddenInputChangeHandler=i=>{i.target.name===this.name&&this.setValue({value:i.target.value,origin:"direct"}),i.stopPropagation()},this.setChildElRef=i=>{this.childEl=i},this.setInputValue=i=>{this.childEl&&(this.childEl.value=i)},this.setPreviousEmittedValue=i=>{this.previousEmittedValue=i},this.setPreviousValue=i=>{this.previousValue=i},this.setValue=({committing:i=!1,nativeEvent:t,origin:e,previousValue:s,value:a})=>{this.setPreviousValue(null!=s?s:this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&a!==this.value,this.value=a,"direct"===e&&(this.setInputValue(a),this.setPreviousEmittedValue(a)),t&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:i&&this.emitChangeIfUserModified())},this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.form=void 0,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.maxLength=void 0,this.minLength=void 0,this.name=void 0,this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.autocomplete=void 0,this.inputMode="text",this.enterKeyHint=void 0,this.pattern=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}onMessagesChange(){}valueWatcher(i,t){this.userChangedValue||this.setValue({origin:"direct",previousValue:t,value:i||""}),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=o({},this.icon,"text")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleChange(){_(this,this.effectiveLocale)}connectedCallback(){var i;y(this),z(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),u(this),c(this),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}disconnectedCallback(){var i;m(this),h(this),w(this),D(this),null===(i=this.mutationObserver)||void 0===i||i.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){b(this),this.requestedIcon=o({},this.icon,"text"),await L(this)}componentDidLoad(){v(this)}componentDidRender(){p(this)}async setFocus(){var i;await f(this),null===(i=this.childEl)||void 0===i||i.focus()}async selectText(){var i;null===(i=this.childEl)||void 0===i||i.select()}onLabelClick(){this.setFocus()}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(i){null!=this.minLength&&(i.minLength=this.minLength),null!=this.maxLength&&(i.maxLength=this.maxLength)}setDisabledAction(){const i=n(this.el,"action");i&&(this.disabled?(null==i.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),i.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(i.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}render(){const i=l(this.el),t=e("div",{class:"loader"},e("calcite-progress",{label:this.messages.loading,type:"indeterminate"})),a=e("button",{"aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputTextValue,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),n=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"}),o=e("div",{class:"prefix"},this.prefixText),r=e("div",{class:"suffix"},this.suffixText),c=e("input",{"aria-label":g(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,maxLength:this.maxLength,minLength:this.minLength,name:this.name,onBlur:this.inputTextBlurHandler,onFocus:this.inputTextFocusHandler,onInput:this.inputTextInputHandler,onKeyDown:this.inputTextKeyDownHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:!!this.required||null,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:"text",value:this.value,ref:this.setChildElRef});return e(s,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[k.rtl]:"rtl"===i}},this.prefixText?o:null,e("div",{class:"element-wrapper"},c,this.isClearable?a:null,this.requestedIcon?n:null,this.loading?t:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),this.suffixText?r:null,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};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:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}input{outline-color:transparent}input: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 )}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);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 )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3.5rem;padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button: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 )}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}.inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.inline-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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.2
16
- */
17
- const $="actions-end",J=class{constructor(e){i(this,e),this.calciteNoticeClose=t(this,"calciteNoticeClose",6),this.calciteNoticeOpen=t(this,"calciteNoticeOpen",6),this.close=()=>{this.open=!1,this.calciteNoticeClose.emit()},this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=o(C,this.icon,this.kind)}connectedCallback(){S(this),y(this),z(this)}disconnectedCallback(){I(this),w(this),D(this)}async componentWillLoad(){b(this),this.requestedIcon=o(C,this.icon,this.kind),await L(this)}componentDidLoad(){v(this)}render(){const{el:i}=this,t=e("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:i=>this.closeButton=i},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),s=n(i,$);return e("div",{class:"container"},this.requestedIcon?e("div",{class:"notice-icon"},e("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,e("div",{class:"notice-content"},e("slot",{name:"title"}),e("slot",{name:"message"}),e("slot",{name:"link"})),s?e("div",{class:"actions-end"},e("slot",{name:$})):null,this.closable?t:null)}async setFocus(){await f(this);const i=this.el.querySelector("calcite-link");(this.closeButton||i)&&(i?i.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){_(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};J.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=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close: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 )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}";const U=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}distanceChanged(i){this._distanceChanged(i.detail)}unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){return this._init()}render(){return e(s,null,this._getMapLayerPicker(),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),e("div",{class:"padding-top-1"},e("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),e("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const s=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return e("div",null,e("div",{class:"padding-top-1 display-flex"},e("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},e("div",{class:"tooltip-container"},this._translations.searchDistance,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),e("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},e("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),e("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),e("div",{class:s},e("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return e("div",null,e("div",{class:"padding-top-1 display-flex"},e("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},e("div",{class:"tooltip-container"},this._translations.useLayerFeatures,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),e("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},e("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),e("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),e("div",{class:i+" padding-top-1"},e("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedLayerIds:this.layerViews.map((i=>i.layer.id)),selectionMode:"single"})))}_getNumSelected(){const i=T(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return e("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?e("div",null,e("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):e("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),e("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return e("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},e("calcite-label",{class:"font-bold"},this._translations.listName,e("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,e("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedLayerIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],selectionMode:"single"})))}async _initModules(){const[i,t,e,s,a]=await P(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=e,this._geometryEngine=s,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),this._initSearchWidget()}async _initSelectionSet(){var i,t,e,s;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(e=this.selectionSet)||void 0===e?void 0:e.label,this._useLayerFeaturesEnabled||null===(s=this._drawTools)||void 0===s||s.updateGraphics(),await M(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}_initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,e;if(i.result){this._searchResult=i.result;const s=(null===(e=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===e?void 0:e.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=s?[i.result.feature.getObjectId()]:void 0;this._workflowType=E.SEARCH,this._updateLabel();const n=[i.result.feature];this._updateSelection(n,s,a),this._drawTools.graphics=n,this._drawTools.updateGraphics(),this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=null==i?void 0:i.sources;return(null==e?void 0:e.length)>0?(i.includeDefaultSources=!1,e.forEach((i=>{var e,s;if(i.hasOwnProperty("layer")){const a=i,n=null===(e=a.layer)||void 0===e?void 0:e.id,o=n?t.map.findLayerById(n):null,l=null===(s=null==a?void 0:a.layer)||void 0===s?void 0:s.url;o?a.layer=o:l&&(a.layer=new this.FeatureLayer(l))}})),null==e||e.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer,t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),V.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this._useLayerFeaturesEnabled?E.SELECT:E.SKETCH,this._workflowType===E.SKETCH&&this._drawTools.updateGraphics(),this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>{var e;return(null===(e=null==t?void 0:t.layer)||void 0===e?void 0:e.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){V.removeHandles(),i.length>0&&V.highlightHandles.push(await j(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await A(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=N(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var e;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),V.removeHandles(),(null===(e=this._drawTools)||void 0===e?void 0:e.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}_updateLabel(){var i,t;const e=this._selectionLabel.indexOf(this._translations.sketch)>-1,s=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,n=this._workflowType===E.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===E.SELECT?this._translations.select:this._translations.sketch,o=this._unit?this._unit:this._bufferTools.unit,l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=e||s||a||!this._selectionLabel?`${n} ${l} ${o}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>G(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const e=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&e===this.selectLayerView.layer.id||(this.selectLayerView=await G(this.mapView,e),this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}_distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],O(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{var t;const s=i.geometry;i.symbol="point"===s.type?this.sketchPointSymbol:"polyline"===s.type?this.sketchLineSymbol:"polygon"===s.type?this.sketchPolygonSymbol:void 0,e=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&e;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:s}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await q(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};U.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.tooltip-container{display:flex}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}';const Q=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),X=class{constructor(t){i(this,t),this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,e=!0){return Y(i,!0,t,e)}async downloadPDF(i,t=!1,e="",s=""){var a;return B(i,null===(a=this._labelInfoElement.selectedOption)||void 0===a?void 0:a.value,t,e,s)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return e(s,null,e("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidRender(){this._renderOptions()}async _initModules(){const[i]=await P(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="&lrm;"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"&rlm;";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await q(this.el);this._translations=i[0]}_renderOptions(){(Q.default||Q).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),0===t&&(e.selected=!0,this._labelInfoElement.selectedOption=e)}))}get el(){return a(this)}};X.style=":host{display:block}";const Z=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=F.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return e(s,null,e("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},e("div",{class:"display-flex"},e("calcite-label",{class:"font-bold width-full label-margin-0"},e("div",{class:"display-flex"},this._translations.inputLayer,e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),e("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedLayerIds:[this._refineLayer.layer.id],selectionMode:"single"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},e("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),e("div",{class:"padding-1"},e("div",{class:"padding-bottom-1"},e("calcite-segmented-control",{class:"w-100"},e("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(F.ADD),value:F.ADD},e("span",{class:"font-weight-500"},this._translations.add)),e("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(F.REMOVE),value:F.REMOVE},e("span",{class:"font-weight-500"},this._translations.remove)))),e("div",null,e("map-draw-tools",{active:!0,drawMode:R.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),e("br",null),e("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const e=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(e)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var e;const s=null===(e=null==t?void 0:t.layerView)||void 0===e?void 0:e.layer.id;return s&&i.indexOf(s)<0?i.push(s):t.workflowType===E.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===E.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await G(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),e):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:E.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===F.ADD?F.REMOVE:F.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===F.ADD?F.REMOVE:F.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===E.REFINE)return t=i,!0}));let s=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{s+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[e("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",s.toString()),"non-interactive":!0}),e("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),e("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=H(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await q(this.el);this._translations=i[0]}async _selectFeatures(i){var t,e;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const s=await O(0,null===(e=this._refineLayer)||void 0===e?void 0:e.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(s).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(s[i]))}));const n=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(n,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),V.highlightHandles=await W(this.selectionSets)}_clearHighlight(){V.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const n=this._refineSelectionSet.refineInfos,o=s.layer.id,l={};l[o]={addIds:[],removeIds:[],layerView:s};const r=Object.keys(n).indexOf(o)>-1?n[o]:l[o];if(t===F.ADD)r.addIds=[...new Set([...i,...r.addIds])],r.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),r.removeIds.length>0&&(r.removeIds=r.removeIds.filter((t=>i.indexOf(t)<0)));else{const n=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==E.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const n=e.refineInfos[a];if(n.layerView.layer.id===s.layer.id&&n.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);r.removeIds=[...new Set([...n,...r.removeIds])],r.addIds=r.addIds.filter((i=>n.indexOf(i)<0)),r.removeIds.length>0&&e.push({ids:n,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==E.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>r.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[o]=r,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};Z.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{K as calcite_input_text,J as calcite_notice,U as map_select_tools,X as pdf_download,Z as refine_selection}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as a,h as i,H as e,g as o}from"./p-f8be5d5f.js";import{b as n}from"./p-9151a991.js";import{u as s}from"./p-7b4a714b.js";import{s as c,a as l,c as r}from"./p-7d1fd0ab.js";import{c as d,d as m}from"./p-7b7091d4.js";import{c as h,s as p,d as f,u}from"./p-76fd5733.js";import{S as b}from"./p-486ea405.js";import"./p-dadd5bfb.js";import"./p-7d5a1cdb.js";import"./p-21d890eb.js";import"./p-e7b96c06.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.2
11
- */const g=class{constructor(i){t(this,i),this.calciteFlowItemBack=a(this,"calciteFlowItemBack",6),this.calciteFlowItemScroll=a(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=a(this,"calciteFlowItemClose",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.backButtonEl=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){d(this),h(this)}async componentWillLoad(){await p(this),c(this)}componentDidRender(){s(this)}disconnectedCallback(){m(this),f(this)}componentDidLoad(){l(this)}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await r(this);const{backButtonEl:t,containerEl:a}=this;t?t.setFocus():null==a||a.setFocus()}async scrollContentTo(t){var a;await(null===(a=this.containerEl)||void 0===a?void 0:a.scrollContentTo(t))}renderBackButton(){const{el:t}=this,a="rtl"===n(t),{showBackButton:e,backButtonClick:o,messages:s}=this,c=s.back;return e?i("calcite-action",{"aria-label":c,class:"back-button",icon:a?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:c,ref:this.setBackRef}):null}render(){const{closable:t,closed:a,description:o,disabled:n,heading:s,headingLevel:c,loading:l,menuOpen:r,messages:d,backButtonEl:m}=this,h=d.back;return i(e,null,i("calcite-panel",{closable:t,closed:a,description:o,disabled:n,heading:s,headingLevel:c,loading:l,menuOpen:r,messageOverrides:d,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,ref:this.setContainerRef},this.renderBackButton(),i("slot",{name:"action-bar",slot:b.actionBar}),i("slot",{name:"header-actions-start",slot:b.headerActionsStart}),i("slot",{name:"header-actions-end",slot:b.headerActionsEnd}),i("slot",{name:"header-content",slot:b.headerContent}),i("slot",{name:"header-menu-actions",slot:b.headerMenuActions}),i("slot",{name:"fab",slot:b.fab}),i("slot",{name:"footer-actions",slot:b.footerActions}),i("slot",{name:"footer",slot:b.footer}),i("slot",null)),m?i("calcite-tooltip",{closeOnClick:!0,label:h,overlayPositioning:"fixed",placement:"top",referenceElement:m},h):null)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.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;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-flow-item-footer-padding:0.5rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding)}";export{g as calcite_flow_item}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,h as a,g as t}from"./p-f8be5d5f.js";import{g as e}from"./p-9151a991.js";import{g as n}from"./p-dadd5bfb.js";import{g as c,a as o}from"./p-6b16e621.js";import"./p-7d5a1cdb.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.2
11
- */const r=class{constructor(a){i(this,a),this.guid=n(),this.scale="m",this.ancestors=void 0,this.label=void 0}connectedCallback(){this.ancestors=c(this.el),this.scale=e(this.el,"scale",this.scale)}render(){const{el:i,scale:t}=this,e=o(i);return a("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${t}`]:!0},role:"group"},a("li",{class:{label:!0},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${e}`}},a("span",{class:"title"},this.label)),a("slot",null))}get el(){return t(this)}};r.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}.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}.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}.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.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);-webkit-margin-start:var(--calcite-combobox-item-indent-value);margin-inline-start:var(--calcite-combobox-item-indent-value)}";export{r as calcite_combobox_item_group}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as a,h as t,g as i}from"./p-f8be5d5f.js";import{u as n}from"./p-7b4a714b.js";const e=class{constructor(t){a(this,t),this.disabled=!1,this.layout="horizontal"}componentDidRender(){n(this)}render(){return t("slot",null)}get el(){return i(this)}};e.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;flex-wrap:wrap}:host ::slotted(calcite-tile-select){-webkit-margin-after:1px;margin-block-end:1px;-webkit-margin-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{e as calcite_tile_select_group}