@esri/solutions-components 0.6.2 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1234) hide show
  1. package/dist/assets/t9n/card-manager/resources.json +2 -1
  2. package/dist/assets/t9n/card-manager/resources_en.json +2 -1
  3. package/dist/assets/t9n/comment-card/resources.json +2 -1
  4. package/dist/assets/t9n/comment-card/resources_en.json +2 -1
  5. package/dist/assets/t9n/crowdsource-manager/resources.json +2 -1
  6. package/dist/assets/t9n/crowdsource-manager/resources_en.json +2 -1
  7. package/dist/assets/t9n/edit-card/resources.json +3 -0
  8. package/dist/assets/t9n/edit-card/resources_en.json +3 -0
  9. package/dist/assets/t9n/info-card/resources.json +6 -0
  10. package/dist/assets/t9n/info-card/resources_en.json +6 -0
  11. package/dist/assets/t9n/layer-table/resources.json +10 -1
  12. package/dist/assets/t9n/layer-table/resources_en.json +10 -1
  13. package/dist/assets/t9n/map-card/resources.json +1 -7
  14. package/dist/assets/t9n/map-card/resources_en.json +1 -7
  15. package/dist/assets/t9n/map-tools/resources.json +9 -0
  16. package/dist/assets/t9n/map-tools/resources_en.json +9 -0
  17. package/dist/assets/t9n/media-card/resources.json +2 -1
  18. package/dist/assets/t9n/media-card/resources_en.json +2 -1
  19. package/dist/cjs/ExpandToggle-df2e8eee.js +117 -0
  20. package/dist/cjs/FloatingArrow-d1fa2c13.js +48 -0
  21. package/dist/cjs/Heading-9abe4b02.js +25 -0
  22. package/dist/cjs/app-globals-953584e9.js +64 -0
  23. package/dist/cjs/ar-88fbb2bf.js +98 -0
  24. package/dist/cjs/array-38a9541f.js +17 -0
  25. package/dist/cjs/bg-53305961.js +79 -0
  26. package/dist/cjs/browser-e514d838.js +24 -0
  27. package/dist/cjs/bs-8fb0c8a8.js +48 -0
  28. package/dist/cjs/buffer-tools_4.cjs.entry.js +18 -15
  29. package/dist/cjs/ca-33170ec7.js +68 -0
  30. package/dist/cjs/calcite-accordion-item.cjs.entry.js +10 -7
  31. package/dist/cjs/calcite-action-bar_2.cjs.entry.js +655 -0
  32. package/dist/cjs/calcite-action-group_2.cjs.entry.js +384 -0
  33. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
  34. package/dist/cjs/calcite-action_2.cjs.entry.js +407 -69
  35. package/dist/cjs/calcite-alert.cjs.entry.js +23 -12
  36. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  37. package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-block.cjs.entry.js +170 -0
  39. package/dist/cjs/calcite-button.cjs.entry.js +15 -12
  40. package/dist/cjs/calcite-card.cjs.entry.js +9 -9
  41. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -8
  42. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -6
  43. package/dist/cjs/calcite-chip.cjs.entry.js +14 -11
  44. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  45. package/dist/cjs/calcite-color-picker.cjs.entry.js +15 -12
  46. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
  47. package/dist/cjs/calcite-combobox_6.cjs.entry.js +1890 -0
  48. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -10
  49. package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
  50. package/dist/cjs/calcite-fab.cjs.entry.js +13 -6
  51. package/dist/cjs/calcite-filter_3.cjs.entry.js +778 -0
  52. package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -11
  53. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  54. package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
  55. package/dist/cjs/calcite-handle.cjs.entry.js +136 -0
  56. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  57. package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -11
  58. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -19
  59. package/dist/cjs/calcite-input-number.cjs.entry.js +16 -13
  60. package/dist/cjs/calcite-input-text_4.cjs.entry.js +1852 -0
  61. package/dist/cjs/calcite-input-time-picker-a27cc51a.js +1624 -0
  62. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +15 -14
  63. package/dist/cjs/calcite-input_2.cjs.entry.js +16 -13
  64. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  65. package/dist/cjs/calcite-link.cjs.entry.js +12 -5
  66. package/dist/cjs/calcite-list-item-group.cjs.entry.js +8 -3
  67. package/dist/cjs/calcite-loader.cjs.entry.js +80 -0
  68. package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
  69. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  70. package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  72. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
  74. package/dist/cjs/calcite-notice.cjs.entry.js +139 -0
  75. package/dist/cjs/calcite-option_2.cjs.entry.js +12 -9
  76. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  77. package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -14
  78. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  79. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -12
  80. package/dist/cjs/calcite-pick-list.cjs.entry.js +146 -0
  81. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +35 -6
  82. package/dist/cjs/calcite-radio-button.cjs.entry.js +56 -26
  83. package/dist/cjs/calcite-rating.cjs.entry.js +15 -12
  84. package/dist/cjs/calcite-scrim.cjs.entry.js +44 -9
  85. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +258 -0
  86. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  87. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +32 -25
  88. package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -7
  89. package/dist/cjs/calcite-split-button.cjs.entry.js +122 -0
  90. package/dist/cjs/calcite-stack.cjs.entry.js +4 -4
  91. package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -8
  92. package/dist/cjs/calcite-stepper.cjs.entry.js +3 -3
  93. package/dist/cjs/calcite-switch.cjs.entry.js +11 -8
  94. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -12
  95. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +8 -1
  96. package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -4
  97. package/dist/cjs/calcite-tile.cjs.entry.js +10 -7
  98. package/dist/cjs/calcite-time-picker.cjs.entry.js +10 -10
  99. package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
  100. package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
  101. package/dist/cjs/calcite-tree_3.cjs.entry.js +15 -48
  102. package/dist/cjs/card-manager_3.cjs.entry.js +665 -0
  103. package/dist/cjs/conditionalSlot-981d22ef.js +63 -0
  104. package/dist/cjs/crowdsource-manager.cjs.entry.js +22 -10
  105. package/dist/cjs/cs-00bf51dd.js +144 -0
  106. package/dist/cjs/da-b4fe1bf6.js +63 -0
  107. package/dist/cjs/date-c378755c.js +250 -0
  108. package/dist/cjs/de-9df08c96.js +88 -0
  109. package/dist/cjs/de-at-dac7c3a1.js +87 -0
  110. package/dist/cjs/de-ch-2e005f38.js +87 -0
  111. package/dist/cjs/deduct-calculator.cjs.entry.js +3 -3
  112. package/dist/cjs/dom-af578b3b.js +954 -0
  113. package/dist/cjs/downloadUtils-4aadf4b0.js +2730 -0
  114. package/dist/cjs/edit-card_2.cjs.entry.js +344 -0
  115. package/dist/cjs/el-bea67f78.js +63 -0
  116. package/dist/cjs/en-au-1d459a65.js +63 -0
  117. package/dist/cjs/en-ca-edc65793.js +62 -0
  118. package/dist/cjs/en-gb-6346d6a4.js +66 -0
  119. package/dist/cjs/es-aa822160.js +63 -0
  120. package/dist/cjs/es-mx-64988455.js +62 -0
  121. package/dist/cjs/et-e5a47682.js +89 -0
  122. package/dist/cjs/fi-92ac3b85.js +112 -0
  123. package/dist/cjs/filter-56d64d02.js +765 -0
  124. package/dist/cjs/floating-ui-b2a26a9a.js +1874 -0
  125. package/dist/cjs/focusTrapComponent-65d39be9.js +851 -0
  126. package/dist/cjs/form-f62ca3df.js +288 -0
  127. package/dist/cjs/fr-1c9ab5db.js +65 -0
  128. package/dist/cjs/fr-ch-67ccddcd.js +63 -0
  129. package/dist/cjs/guid-100bd1be.js +26 -0
  130. package/dist/cjs/he-2306f19e.js +102 -0
  131. package/dist/cjs/hi-18b2364f.js +62 -0
  132. package/dist/cjs/hr-f47dfd73.js +77 -0
  133. package/dist/cjs/hu-9533083e.js +85 -0
  134. package/dist/cjs/id-b98eb252.js +63 -0
  135. package/dist/cjs/index.es-17db3b89.js +10808 -0
  136. package/dist/cjs/interactive-e8f05d26.js +147 -0
  137. package/dist/cjs/interfaces-ad03ec39.js +85 -0
  138. package/dist/cjs/it-43222f60.js +63 -0
  139. package/dist/cjs/it-ch-f9eb4007.js +63 -0
  140. package/dist/cjs/ja-8c6ec082.js +69 -0
  141. package/dist/cjs/key-2522c20b.js +19 -0
  142. package/dist/cjs/ko-d2889748.js +69 -0
  143. package/dist/cjs/label-71d4d3b5.js +136 -0
  144. package/dist/cjs/loadable-6571b6b9.js +69 -0
  145. package/dist/cjs/loader.cjs.js +3 -3
  146. package/dist/cjs/locale-83870af6.js +570 -0
  147. package/dist/cjs/lt-1ebac21f.js +94 -0
  148. package/dist/cjs/lv-cb236d46.js +63 -0
  149. package/dist/cjs/map-tools.cjs.entry.js +111 -0
  150. package/dist/cjs/mapViewUtils-77a1ff88.js +411 -0
  151. package/dist/cjs/math-0eb2ec5c.js +28 -0
  152. package/dist/cjs/mk-00e34bda.js +63 -0
  153. package/dist/cjs/nb-6e0d9b4c.js +64 -0
  154. package/dist/cjs/nl-bb4f7d59.js +64 -0
  155. package/dist/cjs/observers-5c9538b2.js +53 -0
  156. package/dist/cjs/openCloseComponent-0b7ace48.js +100 -0
  157. package/dist/cjs/pl-2cf4efab.js +111 -0
  158. package/dist/cjs/pt-4c4a3aa2.js +64 -0
  159. package/dist/cjs/pt-br-6abb7f76.js +62 -0
  160. package/dist/cjs/public-notification.cjs.entry.js +19 -6
  161. package/dist/cjs/publicNotificationStore-ec1bdd2d.js +51 -0
  162. package/dist/cjs/resources-11930a56.js +22 -0
  163. package/dist/cjs/resources-31971fd8.js +39 -0
  164. package/dist/cjs/resources-3910592f.js +20 -0
  165. package/dist/cjs/resources-3a47be9f.js +32 -0
  166. package/dist/cjs/resources-6c4c932c.js +2057 -0
  167. package/dist/cjs/resources-c751bdd1.js +50 -0
  168. package/dist/cjs/resources-d4061075.js +27 -0
  169. package/dist/cjs/resources-d8a4240f.js +23 -0
  170. package/dist/cjs/resources-e4e8d49f.js +27 -0
  171. package/dist/cjs/ro-c257efaf.js +63 -0
  172. package/dist/cjs/ru-e31a6ee1.js +123 -0
  173. package/dist/cjs/shared-list-render-d4e4e7b1.js +364 -0
  174. package/dist/cjs/sk-4d6d340c.js +145 -0
  175. package/dist/cjs/sl-01804d73.js +63 -0
  176. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  177. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  178. package/dist/cjs/solution-store-bd956f06.js +4100 -0
  179. package/dist/cjs/solutions-components.cjs.js +3 -3
  180. package/dist/cjs/sortableComponent-76967993.js +3087 -0
  181. package/dist/cjs/sr-76730aad.js +98 -0
  182. package/dist/cjs/sv-c1e40108.js +68 -0
  183. package/dist/cjs/t9n-f82f4304.js +100 -0
  184. package/dist/cjs/th-758abef8.js +62 -0
  185. package/dist/cjs/time-a1d60db6.js +208 -0
  186. package/dist/cjs/tr-36efd084.js +63 -0
  187. package/dist/cjs/uk-f5a49848.js +101 -0
  188. package/dist/cjs/utils-300573e5.js +64 -0
  189. package/dist/cjs/utils-369d7746.js +218 -0
  190. package/dist/cjs/utils-46e2a6ec.js +55 -0
  191. package/dist/cjs/utils-cedf26ae.js +87 -0
  192. package/dist/cjs/vi-f87def37.js +67 -0
  193. package/dist/cjs/zh-cn-6d3c38fc.js +91 -0
  194. package/dist/cjs/zh-hk-1bd0e62f.js +68 -0
  195. package/dist/cjs/zh-tw-40912bdf.js +89 -0
  196. package/dist/collection/collection-manifest.json +2 -5
  197. package/dist/collection/components/card-manager/card-manager.css +26 -9
  198. package/dist/collection/components/card-manager/card-manager.js +96 -29
  199. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +41 -9
  200. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +22 -10
  201. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  202. package/dist/collection/components/deduct-calculator/deduct-calculator.js +5 -5
  203. package/dist/collection/components/edit-card/edit-card.css +54 -0
  204. package/dist/collection/components/edit-card/edit-card.js +300 -0
  205. package/dist/collection/components/info-card/info-card.css +21 -0
  206. package/dist/collection/components/info-card/info-card.js +198 -36
  207. package/dist/collection/components/layer-table/layer-table.css +19 -2
  208. package/dist/collection/components/layer-table/layer-table.js +239 -85
  209. package/dist/collection/components/map-card/map-card.css +8 -2
  210. package/dist/collection/components/map-card/map-card.js +24 -93
  211. package/dist/collection/components/map-layer-picker/map-layer-picker.css +9 -0
  212. package/dist/collection/components/map-layer-picker/map-layer-picker.js +210 -54
  213. package/dist/collection/components/map-select-tools/map-select-tools.js +6 -7
  214. package/dist/collection/components/map-tools/map-tools.css +31 -0
  215. package/dist/collection/components/map-tools/map-tools.js +196 -0
  216. package/dist/collection/components/pdf-download/pdf-download.js +19 -1
  217. package/dist/collection/components/public-notification/public-notification.js +51 -3
  218. package/dist/collection/components/refine-selection/refine-selection.js +4 -4
  219. package/dist/collection/demos/buffer-tools.html +2 -2
  220. package/dist/collection/demos/card-manager.html +49 -3
  221. package/dist/collection/demos/crowdsource-manager.html +34 -9
  222. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  223. package/dist/collection/demos/demo-map.html +2 -2
  224. package/dist/collection/demos/edit-card.html +34 -0
  225. package/dist/collection/demos/index.html +1 -1
  226. package/dist/collection/demos/layer-table.html +2 -2
  227. package/dist/collection/demos/list-item.html +2 -2
  228. package/dist/collection/demos/map-card.html +2 -2
  229. package/dist/collection/demos/map-draw-tools.html +2 -2
  230. package/dist/collection/demos/map-layer-picker.html +2 -2
  231. package/dist/collection/demos/map-select-tools.html +2 -2
  232. package/dist/collection/utils/downloadUtils.js +3 -2
  233. package/dist/collection/utils/downloadUtils.ts +2 -2
  234. package/dist/collection/utils/interfaces.js +5 -0
  235. package/dist/collection/utils/interfaces.ts +24 -11
  236. package/dist/collection/utils/mapViewUtils.js +44 -5
  237. package/dist/collection/utils/mapViewUtils.ts +52 -7
  238. package/dist/collection/utils/publicNotificationStore.js +5 -1
  239. package/dist/collection/utils/publicNotificationStore.ts +5 -1
  240. package/dist/collection/utils/queryUtils.js +39 -2
  241. package/dist/collection/utils/queryUtils.ts +48 -3
  242. package/dist/components/ExpandToggle.js +5 -7
  243. package/dist/components/FloatingArrow.js +1 -1
  244. package/dist/components/Heading.js +1 -1
  245. package/dist/components/action-bar.js +19 -19
  246. package/dist/components/action-group.js +1 -1
  247. package/dist/components/action-menu.js +2 -2
  248. package/dist/components/action.js +4 -2
  249. package/dist/components/alert.js +328 -0
  250. package/dist/components/array.js +1 -1
  251. package/dist/components/avatar.js +2 -2
  252. package/dist/components/browser.js +21 -0
  253. package/dist/components/button.js +4 -2
  254. package/dist/components/calcite-accordion-item.js +6 -3
  255. package/dist/components/calcite-action-pad.js +3 -3
  256. package/dist/components/calcite-alert.js +1 -310
  257. package/dist/components/calcite-block-section.js +1 -1
  258. package/dist/components/calcite-block.js +227 -1
  259. package/dist/components/calcite-card.js +1 -1
  260. package/dist/components/calcite-chip-group.js +4 -2
  261. package/dist/components/calcite-color-picker.js +3 -1
  262. package/dist/components/calcite-combobox-item-group.js +1 -1
  263. package/dist/components/calcite-fab.js +9 -3
  264. package/dist/components/calcite-flow-item.js +4 -2
  265. package/dist/components/calcite-flow.js +1 -1
  266. package/dist/components/calcite-inline-editable.js +4 -2
  267. package/dist/components/calcite-input-date-picker.js +7 -4
  268. package/dist/components/calcite-input-time-picker.js +5 -3
  269. package/dist/components/calcite-list-item-group.js +6 -2
  270. package/dist/components/calcite-menu-item.js +2 -2
  271. package/dist/components/calcite-modal.js +408 -1
  272. package/dist/components/calcite-navigation-logo.js +1 -1
  273. package/dist/components/calcite-navigation-user.js +1 -1
  274. package/dist/components/calcite-navigation.js +2 -2
  275. package/dist/components/calcite-pagination.js +1 -1
  276. package/dist/components/calcite-pick-list.js +159 -1
  277. package/dist/components/calcite-radio-button-group.js +38 -7
  278. package/dist/components/calcite-radio-button.js +50 -21
  279. package/dist/components/calcite-rating.js +4 -2
  280. package/dist/components/calcite-shell-center-row.js +1 -1
  281. package/dist/components/calcite-sortable-list.js +5 -3
  282. package/dist/components/calcite-split-button.js +167 -1
  283. package/dist/components/calcite-stack.js +2 -2
  284. package/dist/components/calcite-stepper-item.js +3 -1
  285. package/dist/components/calcite-stepper.js +1 -1
  286. package/dist/components/calcite-text-area.js +5 -3
  287. package/dist/components/calcite-tile-select-group.js +7 -1
  288. package/dist/components/calcite-tile-select.js +4 -2
  289. package/dist/components/calcite-tip-manager.js +1 -1
  290. package/dist/components/calcite-tip.js +1 -1
  291. package/dist/components/card-manager.js +1 -133
  292. package/dist/components/card-manager2.js +177 -0
  293. package/dist/components/checkbox.js +3 -1
  294. package/dist/components/chip.js +5 -3
  295. package/dist/components/color-picker-hex-input.js +3 -3
  296. package/dist/components/color-picker-swatch.js +2 -2
  297. package/dist/components/combobox-item.js +4 -2
  298. package/dist/components/combobox.js +5 -3
  299. package/dist/components/conditionalSlot.js +1 -1
  300. package/dist/components/crowdsource-manager.js +93 -69
  301. package/dist/components/date-picker-day.js +8 -2
  302. package/dist/components/date-picker-month-header.js +2 -2
  303. package/dist/components/date-picker.js +2 -2
  304. package/dist/components/date.js +1 -1
  305. package/dist/components/deduct-calculator2.js +3 -3
  306. package/dist/components/dom.js +3 -3
  307. package/dist/components/downloadUtils.js +4 -3
  308. package/dist/components/dropdown-group.js +1 -1
  309. package/dist/components/dropdown-item.js +1 -1
  310. package/dist/components/dropdown.js +6 -4
  311. package/dist/components/edit-card.d.ts +11 -0
  312. package/dist/components/edit-card.js +11 -0
  313. package/dist/components/edit-card2.js +207 -0
  314. package/dist/components/filter.js +4 -2
  315. package/dist/components/filter2.js +1 -1
  316. package/dist/components/floating-ui.js +228 -179
  317. package/dist/components/focusTrapComponent.js +47 -5
  318. package/dist/components/form.js +2 -2
  319. package/dist/components/graph.js +1 -1
  320. package/dist/components/guid.js +1 -1
  321. package/dist/components/handle.js +1 -1
  322. package/dist/components/icon.js +2 -2
  323. package/dist/components/index.d.ts +2 -5
  324. package/dist/components/index.js +3 -6
  325. package/dist/components/info-card2.js +182 -28
  326. package/dist/components/input-message.js +2 -2
  327. package/dist/components/input-number.js +6 -4
  328. package/dist/components/input-text.js +5 -3
  329. package/dist/components/input.js +6 -4
  330. package/dist/components/interactive.js +80 -10
  331. package/dist/components/interfaces.js +6 -1
  332. package/dist/components/key.js +1 -1
  333. package/dist/components/label.js +1 -1
  334. package/dist/components/label2.js +2 -2
  335. package/dist/components/layer-table2.js +238 -127
  336. package/dist/components/link.js +8 -2
  337. package/dist/components/list-item2.js +7 -7
  338. package/dist/components/list.js +8 -8
  339. package/dist/components/loadable.js +1 -1
  340. package/dist/components/locale2.js +7 -4
  341. package/dist/components/map-card2.js +65 -92
  342. package/dist/components/map-draw-tools2.js +1 -1
  343. package/dist/components/map-layer-picker2.js +165 -247
  344. package/dist/components/map-select-tools2.js +40 -16
  345. package/dist/components/map-tools.d.ts +11 -0
  346. package/dist/components/map-tools.js +11 -0
  347. package/dist/components/map-tools2.js +176 -0
  348. package/dist/components/mapViewUtils.js +243 -0
  349. package/dist/components/math.js +1 -1
  350. package/dist/components/menu.js +2 -2
  351. package/dist/components/notice.js +2 -2
  352. package/dist/components/observers.js +1 -1
  353. package/dist/components/openCloseComponent.js +1 -1
  354. package/dist/components/panel.js +5 -3
  355. package/dist/components/pdf-download2.js +3 -1
  356. package/dist/components/pick-list-item.js +4 -2
  357. package/dist/components/popover.js +3 -3
  358. package/dist/components/public-notification.js +57 -23
  359. package/dist/components/publicNotificationStore.js +5 -1
  360. package/dist/components/queryUtils.js +11 -17
  361. package/dist/components/refine-selection2.js +37 -12
  362. package/dist/components/resources.js +1 -1
  363. package/dist/components/resources2.js +1 -1
  364. package/dist/components/resources3.js +1 -1
  365. package/dist/components/scrim.js +39 -2
  366. package/dist/components/segmented-control-item.js +1 -1
  367. package/dist/components/segmented-control.js +3 -1
  368. package/dist/components/select.js +5 -3
  369. package/dist/components/shared-list-render.js +3 -3
  370. package/dist/components/shell-panel.js +1 -1
  371. package/dist/components/shell.js +2 -2
  372. package/dist/components/slider.js +4 -2
  373. package/dist/components/sortableComponent.js +1 -1
  374. package/dist/components/switch.js +4 -2
  375. package/dist/components/t9n.js +1 -1
  376. package/dist/components/tab-nav.js +1 -1
  377. package/dist/components/tab-title.js +4 -2
  378. package/dist/components/tabs.js +1 -1
  379. package/dist/components/tile.js +4 -2
  380. package/dist/components/time-picker.js +2 -2
  381. package/dist/components/tooltip.js +45 -28
  382. package/dist/components/tree-item.js +9 -43
  383. package/dist/components/tree.js +2 -2
  384. package/dist/components/utils.js +1 -1
  385. package/dist/components/utils2.js +3 -3
  386. package/dist/components/utils3.js +2 -2
  387. package/dist/components/value-list-item.js +4 -2
  388. package/dist/components/value-list.js +6 -4
  389. package/dist/esm/ExpandToggle-4683a6dc.js +109 -0
  390. package/dist/esm/FloatingArrow-fa0da351.js +46 -0
  391. package/dist/esm/Heading-14bfe249.js +22 -0
  392. package/dist/esm/app-globals-b5877644.js +62 -0
  393. package/dist/esm/ar-8e6281b5.js +96 -0
  394. package/dist/esm/array-e32fb269.js +15 -0
  395. package/dist/esm/bg-89c46a11.js +77 -0
  396. package/dist/esm/browser-f8ca09b7.js +21 -0
  397. package/dist/esm/bs-567a72ac.js +46 -0
  398. package/dist/esm/buffer-tools_4.entry.js +18 -15
  399. package/dist/esm/ca-0d08cce0.js +66 -0
  400. package/dist/esm/calcite-accordion-item.entry.js +10 -7
  401. package/dist/esm/calcite-action-bar_2.entry.js +650 -0
  402. package/dist/esm/calcite-action-group_2.entry.js +379 -0
  403. package/dist/esm/calcite-action-pad.entry.js +15 -15
  404. package/dist/esm/calcite-action_2.entry.js +408 -70
  405. package/dist/esm/calcite-alert.entry.js +23 -12
  406. package/dist/esm/calcite-avatar.entry.js +5 -5
  407. package/dist/esm/calcite-block-section.entry.js +8 -8
  408. package/dist/esm/calcite-block.entry.js +166 -0
  409. package/dist/esm/calcite-button.entry.js +15 -12
  410. package/dist/esm/calcite-card.entry.js +9 -9
  411. package/dist/esm/calcite-checkbox.entry.js +11 -8
  412. package/dist/esm/calcite-chip-group.entry.js +9 -6
  413. package/dist/esm/calcite-chip.entry.js +14 -11
  414. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  415. package/dist/esm/calcite-color-picker.entry.js +15 -12
  416. package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
  417. package/dist/esm/calcite-combobox_6.entry.js +1881 -0
  418. package/dist/esm/calcite-date-picker-day_3.entry.js +17 -10
  419. package/dist/esm/calcite-date-picker.entry.js +11 -11
  420. package/dist/esm/calcite-fab.entry.js +13 -6
  421. package/dist/esm/calcite-filter_3.entry.js +772 -0
  422. package/dist/esm/calcite-flow-item.entry.js +14 -11
  423. package/dist/esm/calcite-flow.entry.js +2 -2
  424. package/dist/esm/calcite-graph.entry.js +3 -3
  425. package/dist/esm/calcite-handle.entry.js +132 -0
  426. package/dist/esm/calcite-icon.entry.js +6 -6
  427. package/dist/esm/calcite-inline-editable.entry.js +14 -11
  428. package/dist/esm/calcite-input-date-picker.entry.js +23 -19
  429. package/dist/esm/calcite-input-number.entry.js +16 -13
  430. package/dist/esm/calcite-input-text_4.entry.js +1845 -0
  431. package/dist/esm/calcite-input-time-picker-d5606a45.js +1621 -0
  432. package/dist/esm/calcite-input-time-picker.entry.js +15 -14
  433. package/dist/esm/calcite-input_2.entry.js +16 -13
  434. package/dist/esm/calcite-label.entry.js +5 -5
  435. package/dist/esm/calcite-link.entry.js +12 -5
  436. package/dist/esm/calcite-list-item-group.entry.js +8 -3
  437. package/dist/esm/calcite-loader.entry.js +76 -0
  438. package/dist/esm/calcite-menu-item.entry.js +10 -10
  439. package/dist/esm/calcite-menu.entry.js +9 -9
  440. package/dist/esm/calcite-modal.entry.js +14 -14
  441. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  442. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  443. package/dist/esm/calcite-navigation.entry.js +5 -5
  444. package/dist/esm/calcite-notice.entry.js +135 -0
  445. package/dist/esm/calcite-option_2.entry.js +12 -9
  446. package/dist/esm/calcite-pagination.entry.js +9 -9
  447. package/dist/esm/calcite-panel_2.entry.js +17 -14
  448. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  449. package/dist/esm/calcite-pick-list-item.entry.js +15 -12
  450. package/dist/esm/calcite-pick-list.entry.js +142 -0
  451. package/dist/esm/calcite-radio-button-group.entry.js +35 -6
  452. package/dist/esm/calcite-radio-button.entry.js +57 -27
  453. package/dist/esm/calcite-rating.entry.js +15 -12
  454. package/dist/esm/calcite-scrim.entry.js +44 -9
  455. package/dist/esm/calcite-segmented-control_2.entry.js +253 -0
  456. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  457. package/dist/esm/calcite-shell-panel_14.entry.js +32 -25
  458. package/dist/esm/calcite-sortable-list.entry.js +10 -7
  459. package/dist/esm/calcite-split-button.entry.js +118 -0
  460. package/dist/esm/calcite-stack.entry.js +4 -4
  461. package/dist/esm/calcite-stepper-item.entry.js +11 -8
  462. package/dist/esm/calcite-stepper.entry.js +3 -3
  463. package/dist/esm/calcite-switch.entry.js +11 -8
  464. package/dist/esm/calcite-text-area.entry.js +15 -12
  465. package/dist/esm/calcite-tile-select-group.entry.js +8 -1
  466. package/dist/esm/calcite-tile-select.entry.js +7 -4
  467. package/dist/esm/calcite-tile.entry.js +10 -7
  468. package/dist/esm/calcite-time-picker.entry.js +10 -10
  469. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  470. package/dist/esm/calcite-tip.entry.js +10 -10
  471. package/dist/esm/calcite-tree_3.entry.js +15 -48
  472. package/dist/esm/card-manager_3.entry.js +659 -0
  473. package/dist/esm/conditionalSlot-b651e48a.js +60 -0
  474. package/dist/esm/crowdsource-manager.entry.js +22 -10
  475. package/dist/esm/cs-4ea5bb28.js +142 -0
  476. package/dist/esm/da-8121b2c6.js +61 -0
  477. package/dist/esm/date-3f48db3f.js +235 -0
  478. package/dist/esm/de-4f0e6db4.js +86 -0
  479. package/dist/esm/de-at-6f914992.js +85 -0
  480. package/dist/esm/de-ch-ba51285a.js +85 -0
  481. package/dist/esm/deduct-calculator.entry.js +3 -3
  482. package/dist/esm/dom-03275741.js +927 -0
  483. package/dist/esm/downloadUtils-3b5f85d9.js +2724 -0
  484. package/dist/esm/edit-card_2.entry.js +339 -0
  485. package/dist/esm/el-2fb644ad.js +61 -0
  486. package/dist/esm/en-au-469a4963.js +61 -0
  487. package/dist/esm/en-ca-a110f04a.js +60 -0
  488. package/dist/esm/en-gb-04dd59df.js +64 -0
  489. package/dist/esm/es-901bbd11.js +61 -0
  490. package/dist/esm/es-mx-c3cff8d1.js +60 -0
  491. package/dist/esm/et-0ded5035.js +87 -0
  492. package/dist/esm/fi-767e7505.js +110 -0
  493. package/dist/esm/filter-4ba3be5f.js +763 -0
  494. package/dist/esm/floating-ui-1e70279f.js +1866 -0
  495. package/dist/esm/focusTrapComponent-eaa62505.js +846 -0
  496. package/dist/esm/form-8396f037.js +280 -0
  497. package/dist/esm/fr-ch-8c34f192.js +61 -0
  498. package/dist/esm/fr-e6bda0a2.js +63 -0
  499. package/dist/esm/guid-1fbbc894.js +24 -0
  500. package/dist/esm/he-00779397.js +100 -0
  501. package/dist/esm/hi-f3d5ecb7.js +60 -0
  502. package/dist/esm/hr-1d8c2cad.js +75 -0
  503. package/dist/esm/hu-4290c5fe.js +83 -0
  504. package/dist/esm/id-58d1a3cb.js +61 -0
  505. package/dist/esm/index.es-bb9196f6.js +10722 -0
  506. package/dist/esm/interactive-e5b2cca0.js +143 -0
  507. package/dist/esm/interfaces-bf20e69c.js +85 -0
  508. package/dist/esm/it-ch-74c5b6dd.js +61 -0
  509. package/dist/esm/it-ef33898d.js +61 -0
  510. package/dist/esm/ja-7f21d57b.js +67 -0
  511. package/dist/esm/key-d6bc268b.js +16 -0
  512. package/dist/esm/ko-0790a2d9.js +67 -0
  513. package/dist/esm/label-6db1573f.js +130 -0
  514. package/dist/esm/loadable-3cf62971.js +65 -0
  515. package/dist/esm/loader.js +3 -3
  516. package/dist/esm/locale-ead7fa24.js +558 -0
  517. package/dist/esm/lt-6e66fa4a.js +92 -0
  518. package/dist/esm/lv-0c39ca8e.js +61 -0
  519. package/dist/esm/map-tools.entry.js +107 -0
  520. package/dist/esm/mapViewUtils-55ea1e10.js +395 -0
  521. package/dist/esm/math-5e1080da.js +25 -0
  522. package/dist/esm/mk-0e1b5772.js +61 -0
  523. package/dist/esm/nb-8b0c8dcb.js +62 -0
  524. package/dist/esm/nl-89c00bbe.js +62 -0
  525. package/dist/esm/observers-76deadbc.js +51 -0
  526. package/dist/esm/openCloseComponent-7d3ca222.js +96 -0
  527. package/dist/esm/pl-2c7583e1.js +109 -0
  528. package/dist/esm/pt-br-0544aa11.js +60 -0
  529. package/dist/esm/pt-eb653341.js +62 -0
  530. package/dist/esm/public-notification.entry.js +19 -6
  531. package/dist/esm/publicNotificationStore-6ef555f3.js +49 -0
  532. package/dist/esm/resources-3600c05b.js +46 -0
  533. package/dist/esm/resources-4d6ec614.js +24 -0
  534. package/dist/esm/resources-684bbbfe.js +23 -0
  535. package/dist/esm/resources-85e89a13.js +19 -0
  536. package/dist/esm/resources-885142d2.js +2048 -0
  537. package/dist/esm/resources-a3b9b875.js +20 -0
  538. package/dist/esm/resources-e7e4115c.js +35 -0
  539. package/dist/esm/resources-ee3b03a3.js +28 -0
  540. package/dist/esm/resources-f5948e92.js +20 -0
  541. package/dist/esm/ro-f5c8d5e2.js +61 -0
  542. package/dist/esm/ru-7725d9a9.js +121 -0
  543. package/dist/esm/shared-list-render-19de1661.js +342 -0
  544. package/dist/esm/sk-606ae6cd.js +143 -0
  545. package/dist/esm/sl-8a06145d.js +61 -0
  546. package/dist/esm/solution-configuration.entry.js +2 -2
  547. package/dist/esm/solution-contents_3.entry.js +2 -2
  548. package/dist/esm/solution-store-c107ca4d.js +4092 -0
  549. package/dist/esm/solutions-components.js +3 -3
  550. package/dist/esm/sortableComponent-dab8ef70.js +3082 -0
  551. package/dist/esm/sr-7eff7ca4.js +96 -0
  552. package/dist/esm/sv-0ab2f707.js +66 -0
  553. package/dist/esm/t9n-ece1047e.js +95 -0
  554. package/dist/esm/th-29a9e340.js +60 -0
  555. package/dist/esm/time-7b08c631.js +195 -0
  556. package/dist/esm/tr-6748b764.js +61 -0
  557. package/dist/esm/uk-de4e1b64.js +99 -0
  558. package/dist/esm/utils-33f2d835.js +200 -0
  559. package/dist/esm/utils-43f27af6.js +61 -0
  560. package/dist/esm/utils-a29ac888.js +45 -0
  561. package/dist/esm/utils-d1d9ff93.js +79 -0
  562. package/dist/esm/vi-6830c744.js +65 -0
  563. package/dist/esm/zh-cn-ad4dc9be.js +89 -0
  564. package/dist/esm/zh-hk-81513d7a.js +66 -0
  565. package/dist/esm/zh-tw-4ff4db52.js +87 -0
  566. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
  567. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +11 -0
  568. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
  569. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +3 -2
  570. package/dist/solutions-components/assets/icon/circlePause16.json +1 -0
  571. package/dist/solutions-components/assets/icon/circlePause16F.json +1 -0
  572. package/dist/solutions-components/assets/icon/circlePause24.json +1 -0
  573. package/dist/solutions-components/assets/icon/circlePause24F.json +1 -0
  574. package/dist/solutions-components/assets/icon/circlePause32.json +1 -0
  575. package/dist/solutions-components/assets/icon/circlePause32F.json +1 -0
  576. package/dist/solutions-components/assets/icon/h3Hexagon16.json +1 -0
  577. package/dist/solutions-components/assets/icon/h3Hexagon24.json +1 -0
  578. package/dist/solutions-components/assets/icon/h3Hexagon32.json +1 -0
  579. package/dist/solutions-components/assets/icon/merge216.json +1 -0
  580. package/dist/solutions-components/assets/icon/merge224.json +1 -0
  581. package/dist/solutions-components/assets/icon/merge232.json +1 -0
  582. package/dist/solutions-components/assets/icon/recycleBin16.json +1 -0
  583. package/dist/solutions-components/assets/icon/recycleBin24.json +1 -0
  584. package/dist/solutions-components/assets/icon/recycleBin32.json +1 -0
  585. package/dist/solutions-components/assets/icon/transverseHexagon16.json +1 -0
  586. package/dist/solutions-components/assets/icon/transverseHexagon24.json +1 -0
  587. package/dist/solutions-components/assets/icon/transverseHexagon32.json +1 -0
  588. package/dist/solutions-components/assets/icon/unmerge16.json +1 -0
  589. package/dist/solutions-components/assets/icon/unmerge24.json +1 -0
  590. package/dist/solutions-components/assets/icon/unmerge32.json +1 -0
  591. package/dist/solutions-components/demos/buffer-tools.html +2 -2
  592. package/dist/solutions-components/demos/card-manager.html +49 -3
  593. package/dist/solutions-components/demos/crowdsource-manager.html +34 -9
  594. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  595. package/dist/solutions-components/demos/demo-map.html +2 -2
  596. package/dist/solutions-components/demos/edit-card.html +34 -0
  597. package/dist/solutions-components/demos/index.html +1 -1
  598. package/dist/solutions-components/demos/layer-table.html +2 -2
  599. package/dist/solutions-components/demos/list-item.html +2 -2
  600. package/dist/solutions-components/demos/map-card.html +2 -2
  601. package/dist/solutions-components/demos/map-draw-tools.html +2 -2
  602. package/dist/solutions-components/demos/map-layer-picker.html +2 -2
  603. package/dist/solutions-components/demos/map-select-tools.html +2 -2
  604. package/dist/solutions-components/p-0036e829.js +11 -0
  605. package/dist/solutions-components/p-004eb0a6.entry.js +6 -0
  606. package/dist/solutions-components/p-03179924.entry.js +6 -0
  607. package/dist/solutions-components/p-04c41e35.js +6 -0
  608. package/dist/solutions-components/p-058f02c9.js +6 -0
  609. package/dist/solutions-components/p-05f6859f.js +11 -0
  610. package/dist/solutions-components/p-0bb57140.js +16 -0
  611. package/dist/solutions-components/p-0d2c9050.js +6 -0
  612. package/dist/solutions-components/p-0e024d20.entry.js +11 -0
  613. package/dist/solutions-components/p-0ef9e367.entry.js +17 -0
  614. package/dist/solutions-components/p-0ff7b311.js +16 -0
  615. package/dist/solutions-components/p-1085b789.js +11 -0
  616. package/dist/solutions-components/p-10dd03be.js +6 -0
  617. package/dist/solutions-components/p-10e93b31.entry.js +11 -0
  618. package/dist/solutions-components/p-132843d2.entry.js +11 -0
  619. package/dist/solutions-components/p-13a8349e.js +6 -0
  620. package/dist/solutions-components/p-16146013.js +6 -0
  621. package/dist/solutions-components/p-161ac069.entry.js +6 -0
  622. package/dist/solutions-components/p-16643fca.entry.js +11 -0
  623. package/dist/solutions-components/p-1aca2237.js +17 -0
  624. package/dist/solutions-components/p-1b69c50d.entry.js +11 -0
  625. package/dist/solutions-components/p-1d81a92e.entry.js +11 -0
  626. package/dist/solutions-components/p-1f1bd18d.js +11 -0
  627. package/dist/solutions-components/p-214657d6.entry.js +6 -0
  628. package/dist/solutions-components/p-2284cd37.js +11 -0
  629. package/dist/solutions-components/p-22c4225f.entry.js +11 -0
  630. package/dist/solutions-components/p-2455a61f.entry.js +11 -0
  631. package/dist/solutions-components/p-293a0267.entry.js +11 -0
  632. package/dist/solutions-components/p-2c049a6d.entry.js +37 -0
  633. package/dist/solutions-components/p-2d651417.js +6 -0
  634. package/dist/solutions-components/p-2f632334.entry.js +11 -0
  635. package/dist/solutions-components/p-309d3096.js +6 -0
  636. package/dist/solutions-components/p-34737573.js +6 -0
  637. package/dist/solutions-components/p-35195436.entry.js +11 -0
  638. package/dist/solutions-components/p-37a78329.js +6 -0
  639. package/dist/solutions-components/p-386dbde1.js +6 -0
  640. package/dist/solutions-components/p-3b57fcc6.js +11 -0
  641. package/dist/solutions-components/p-40bdd836.js +11 -0
  642. package/dist/solutions-components/p-41f5a5fc.js +12 -0
  643. package/dist/solutions-components/p-438560cf.js +6 -0
  644. package/dist/solutions-components/p-474b00d7.entry.js +11 -0
  645. package/dist/solutions-components/p-4766a668.entry.js +6 -0
  646. package/dist/solutions-components/p-477ae127.js +21 -0
  647. package/dist/solutions-components/p-4989e987.js +6 -0
  648. package/dist/solutions-components/p-4aab2c0d.entry.js +6 -0
  649. package/dist/solutions-components/p-4af3f843.js +36 -0
  650. package/dist/solutions-components/p-4b738e52.entry.js +11 -0
  651. package/dist/solutions-components/p-4ea9094a.js +6 -0
  652. package/dist/solutions-components/p-5173b841.js +11 -0
  653. package/dist/solutions-components/p-5652bbda.js +6 -0
  654. package/dist/solutions-components/p-57fa8ff3.entry.js +6 -0
  655. package/dist/solutions-components/p-58448ac4.entry.js +11 -0
  656. package/dist/solutions-components/p-5a6f8f15.entry.js +17 -0
  657. package/dist/solutions-components/p-5bab0d9d.entry.js +11 -0
  658. package/dist/solutions-components/p-5ca01455.entry.js +11 -0
  659. package/dist/solutions-components/p-5f05045a.entry.js +6 -0
  660. package/dist/solutions-components/p-5fc99541.js +257 -0
  661. package/dist/solutions-components/p-6015e2ee.js +61 -0
  662. package/dist/solutions-components/p-60dba0cb.js +11 -0
  663. package/dist/solutions-components/p-610ff7ca.js +6 -0
  664. package/dist/solutions-components/p-612c38cc.js +6 -0
  665. package/dist/solutions-components/p-628f2a83.entry.js +11 -0
  666. package/dist/solutions-components/p-62a49383.js +6 -0
  667. package/dist/solutions-components/p-67d0ce8c.entry.js +11 -0
  668. package/dist/solutions-components/p-67d75135.js +6 -0
  669. package/dist/solutions-components/p-693bafa4.js +6 -0
  670. package/dist/solutions-components/p-6960ce47.js +6 -0
  671. package/dist/solutions-components/p-696de9a4.entry.js +6 -0
  672. package/dist/solutions-components/p-69cd4b76.entry.js +17 -0
  673. package/dist/solutions-components/p-6c1d694f.js +6 -0
  674. package/dist/solutions-components/p-743451a5.entry.js +6 -0
  675. package/dist/solutions-components/p-7479f322.entry.js +28 -0
  676. package/dist/solutions-components/p-75ed8af0.entry.js +12 -0
  677. package/dist/solutions-components/p-76716055.js +6 -0
  678. package/dist/solutions-components/p-77649e3a.js +11 -0
  679. package/dist/solutions-components/p-7764def7.js +11 -0
  680. package/dist/solutions-components/p-7a42ffab.js +11 -0
  681. package/dist/solutions-components/p-7ab9d4a8.js +11 -0
  682. package/dist/solutions-components/p-7cbe5354.js +6 -0
  683. package/dist/solutions-components/p-7f3c3a5d.entry.js +11 -0
  684. package/dist/solutions-components/p-7fd8e783.js +18 -0
  685. package/dist/solutions-components/p-800e94cb.entry.js +11 -0
  686. package/dist/solutions-components/p-81c695d6.entry.js +11 -0
  687. package/dist/solutions-components/p-8249c47b.js +11 -0
  688. package/dist/solutions-components/p-82922f3a.entry.js +37 -0
  689. package/dist/solutions-components/p-84d9dacf.entry.js +11 -0
  690. package/dist/solutions-components/p-87cc78f1.js +6 -0
  691. package/dist/solutions-components/p-892d0a1d.js +6 -0
  692. package/dist/solutions-components/p-8bf81a2e.js +11 -0
  693. package/dist/solutions-components/p-8e003792.js +6 -0
  694. package/dist/solutions-components/p-8e541da0.js +6 -0
  695. package/dist/solutions-components/p-944c2f33.entry.js +11 -0
  696. package/dist/solutions-components/p-9630e3b7.js +11 -0
  697. package/dist/solutions-components/p-96bd78ec.entry.js +11 -0
  698. package/dist/solutions-components/p-978b9ba3.entry.js +6 -0
  699. package/dist/solutions-components/p-9807924d.js +474 -0
  700. package/dist/solutions-components/p-99b55177.js +11 -0
  701. package/dist/solutions-components/p-9a19cfb6.js +6 -0
  702. package/dist/solutions-components/p-9ab03591.js +21 -0
  703. package/dist/solutions-components/p-9bc20eff.entry.js +6 -0
  704. package/dist/solutions-components/p-9c42e5ca.js +6 -0
  705. package/dist/solutions-components/p-9ed9ea6a.js +6 -0
  706. package/dist/solutions-components/p-9f214b82.entry.js +11 -0
  707. package/dist/solutions-components/p-a3b55d2b.js +6 -0
  708. package/dist/solutions-components/p-a56f965e.entry.js +6 -0
  709. package/dist/solutions-components/p-a5d44d7d.js +11 -0
  710. package/dist/solutions-components/p-a6730996.js +6 -0
  711. package/dist/solutions-components/p-a738e38f.js +11 -0
  712. package/dist/solutions-components/p-a74094e4.js +17 -0
  713. package/dist/solutions-components/p-a8253173.js +6 -0
  714. package/dist/solutions-components/p-a94f0d7b.entry.js +11 -0
  715. package/dist/solutions-components/p-a9dab418.entry.js +11 -0
  716. package/dist/solutions-components/p-ac36a101.js +6 -0
  717. package/dist/solutions-components/p-b018bd03.js +6 -0
  718. package/dist/solutions-components/p-b39e12ab.js +6 -0
  719. package/dist/solutions-components/p-b4c65a27.entry.js +6 -0
  720. package/dist/solutions-components/p-b64401a3.entry.js +6 -0
  721. package/dist/solutions-components/p-b70a3d8d.entry.js +11 -0
  722. package/dist/solutions-components/p-b940aa2f.entry.js +6 -0
  723. package/dist/solutions-components/p-b9a21972.js +6 -0
  724. package/dist/solutions-components/p-ba34ef55.js +6 -0
  725. package/dist/solutions-components/p-ba8ec9b6.entry.js +35 -0
  726. package/dist/solutions-components/p-bb322078.entry.js +11 -0
  727. package/dist/solutions-components/p-bc6ce0ff.js +6 -0
  728. package/dist/solutions-components/p-c0738483.entry.js +11 -0
  729. package/dist/solutions-components/p-c2316631.entry.js +16 -0
  730. package/dist/solutions-components/p-c2a141cc.js +11 -0
  731. package/dist/solutions-components/p-c2d148da.js +11 -0
  732. package/dist/solutions-components/p-c52de940.entry.js +11 -0
  733. package/dist/solutions-components/p-c844e615.js +12 -0
  734. package/dist/solutions-components/p-c8835780.js +11 -0
  735. package/dist/solutions-components/p-ca67597d.js +6 -0
  736. package/dist/solutions-components/p-ca6edad0.js +11 -0
  737. package/dist/solutions-components/p-cd9579c6.js +11 -0
  738. package/dist/solutions-components/p-cdc0bb97.entry.js +35 -0
  739. package/dist/solutions-components/p-ce57ecf3.entry.js +6 -0
  740. package/dist/solutions-components/p-d042dd6a.entry.js +12 -0
  741. package/dist/solutions-components/p-d088d13a.entry.js +6 -0
  742. package/dist/solutions-components/p-d102a71f.js +6 -0
  743. package/dist/solutions-components/p-d164a8b0.entry.js +12 -0
  744. package/dist/solutions-components/p-d17b0020.entry.js +11 -0
  745. package/dist/solutions-components/p-d3fd28e9.entry.js +18 -0
  746. package/dist/solutions-components/p-d4c9dda7.entry.js +11 -0
  747. package/dist/solutions-components/p-d5104492.js +6 -0
  748. package/dist/solutions-components/p-d60a77a4.js +11 -0
  749. package/dist/solutions-components/p-d83da8a0.entry.js +11 -0
  750. package/dist/solutions-components/p-d866ff25.js +11 -0
  751. package/dist/solutions-components/p-d875f38c.entry.js +6 -0
  752. package/dist/solutions-components/p-dac4f4cb.js +6 -0
  753. package/dist/solutions-components/p-db08ef87.js +11 -0
  754. package/dist/solutions-components/p-db546438.entry.js +11 -0
  755. package/dist/solutions-components/p-de9d2167.entry.js +11 -0
  756. package/dist/solutions-components/p-e0af78a4.js +6 -0
  757. package/dist/solutions-components/p-e13ba5ae.js +6 -0
  758. package/dist/solutions-components/p-e320f0ed.entry.js +11 -0
  759. package/dist/solutions-components/p-e5d839f8.js +6 -0
  760. package/dist/solutions-components/p-e5e20990.js +11 -0
  761. package/dist/solutions-components/p-e617f6e9.js +6 -0
  762. package/dist/solutions-components/p-ea7c74b7.entry.js +11 -0
  763. package/dist/solutions-components/p-eafc4b73.js +11 -0
  764. package/dist/solutions-components/p-ed2eea7f.entry.js +23 -0
  765. package/dist/solutions-components/p-ed65f44c.entry.js +11 -0
  766. package/dist/solutions-components/p-ef235c88.entry.js +6 -0
  767. package/dist/solutions-components/p-f08e454f.entry.js +11 -0
  768. package/dist/solutions-components/p-f1d4f341.js +6 -0
  769. package/dist/solutions-components/p-f54ca1e4.entry.js +11 -0
  770. package/dist/solutions-components/p-f62c655b.entry.js +11 -0
  771. package/dist/solutions-components/p-f68a8cd4.entry.js +11 -0
  772. package/dist/solutions-components/p-f6ec5e80.js +11 -0
  773. package/dist/solutions-components/p-f9b91640.js +11 -0
  774. package/dist/solutions-components/p-fae853e9.js +16 -0
  775. package/dist/solutions-components/p-fb233add.entry.js +6 -0
  776. package/dist/solutions-components/p-ff27b297.js +11 -0
  777. package/dist/solutions-components/p-ffb12960.entry.js +11 -0
  778. package/dist/solutions-components/solutions-components.esm.js +1 -1
  779. package/dist/solutions-components/utils/downloadUtils.ts +2 -2
  780. package/dist/solutions-components/utils/interfaces.ts +24 -11
  781. package/dist/solutions-components/utils/mapViewUtils.ts +52 -7
  782. package/dist/solutions-components/utils/publicNotificationStore.ts +5 -1
  783. package/dist/solutions-components/utils/queryUtils.ts +48 -3
  784. package/dist/types/components/card-manager/card-manager.d.ts +33 -5
  785. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +12 -4
  786. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +2 -2
  787. package/dist/types/components/edit-card/edit-card.d.ts +140 -0
  788. package/dist/types/components/info-card/info-card.d.ts +89 -9
  789. package/dist/types/components/layer-table/layer-table.d.ts +105 -36
  790. package/dist/types/components/map-card/map-card.d.ts +12 -42
  791. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +69 -15
  792. package/dist/types/components/map-select-tools/map-select-tools.d.ts +1 -1
  793. package/dist/types/components/map-tools/map-tools.d.ts +87 -0
  794. package/dist/types/components/pdf-download/pdf-download.d.ts +4 -0
  795. package/dist/types/components/public-notification/public-notification.d.ts +18 -2
  796. package/dist/types/components/refine-selection/refine-selection.d.ts +1 -1
  797. package/dist/types/components.d.ts +181 -113
  798. package/dist/types/preact.d.ts +10 -13
  799. package/dist/types/utils/interfaces.d.ts +20 -7
  800. package/dist/types/utils/mapViewUtils.d.ts +22 -5
  801. package/dist/types/utils/publicNotificationStore.d.ts +2 -0
  802. package/dist/types/utils/queryUtils.d.ts +17 -1
  803. package/package.json +2 -2
  804. package/dist/assets/t9n/edit-record-modal/resources.json +0 -8
  805. package/dist/assets/t9n/edit-record-modal/resources_en.json +0 -8
  806. package/dist/cjs/ExpandToggle-8e23a37e.js +0 -119
  807. package/dist/cjs/FloatingArrow-7747dddf.js +0 -48
  808. package/dist/cjs/Heading-52c0152b.js +0 -25
  809. package/dist/cjs/add-record-modal.cjs.entry.js +0 -106
  810. package/dist/cjs/app-globals-cd063150.js +0 -64
  811. package/dist/cjs/ar-06e23092.js +0 -97
  812. package/dist/cjs/array-cb509bfb.js +0 -17
  813. package/dist/cjs/bg-b197c685.js +0 -78
  814. package/dist/cjs/bs-b7279fd9.js +0 -47
  815. package/dist/cjs/ca-c127e2c7.js +0 -67
  816. package/dist/cjs/calcite-action-bar_4.cjs.entry.js +0 -629
  817. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -116
  818. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -691
  819. package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -1156
  820. package/dist/cjs/calcite-dropdown_5.cjs.entry.js +0 -866
  821. package/dist/cjs/calcite-filter_5.cjs.entry.js +0 -1014
  822. package/dist/cjs/calcite-input-text_5.cjs.entry.js +0 -1969
  823. package/dist/cjs/calcite-input-time-picker-1c90d5aa.js +0 -1622
  824. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -413
  825. package/dist/cjs/card-manager.cjs.entry.js +0 -91
  826. package/dist/cjs/comment-card.cjs.entry.js +0 -75
  827. package/dist/cjs/conditionalSlot-df3ccf68.js +0 -63
  828. package/dist/cjs/cs-f482fe72.js +0 -143
  829. package/dist/cjs/da-b8ab4c7b.js +0 -62
  830. package/dist/cjs/date-23702871.js +0 -250
  831. package/dist/cjs/de-6bc1f7ac.js +0 -87
  832. package/dist/cjs/de-at-46963b6b.js +0 -86
  833. package/dist/cjs/de-ch-160af810.js +0 -86
  834. package/dist/cjs/dom-5fd13fa0.js +0 -954
  835. package/dist/cjs/downloadUtils-fd585157.js +0 -2729
  836. package/dist/cjs/el-64fa4e5b.js +0 -62
  837. package/dist/cjs/en-au-d6d05b1c.js +0 -62
  838. package/dist/cjs/en-ca-e4c76e21.js +0 -61
  839. package/dist/cjs/en-gb-bbc542f7.js +0 -65
  840. package/dist/cjs/es-13c046da.js +0 -62
  841. package/dist/cjs/es-mx-bc0dcd4b.js +0 -61
  842. package/dist/cjs/et-96792c05.js +0 -88
  843. package/dist/cjs/fi-228557cc.js +0 -111
  844. package/dist/cjs/filter-8be5307a.js +0 -765
  845. package/dist/cjs/floating-ui-72d35286.js +0 -1825
  846. package/dist/cjs/focusTrapComponent-8e851fe9.js +0 -809
  847. package/dist/cjs/form-bbb48e39.js +0 -288
  848. package/dist/cjs/fr-cfe747ac.js +0 -64
  849. package/dist/cjs/fr-ch-ff5aa897.js +0 -62
  850. package/dist/cjs/guid-66679eda.js +0 -26
  851. package/dist/cjs/he-fb6d2d39.js +0 -101
  852. package/dist/cjs/hi-30c7826f.js +0 -61
  853. package/dist/cjs/hr-c1eab940.js +0 -76
  854. package/dist/cjs/hu-fba39a67.js +0 -84
  855. package/dist/cjs/id-b5e6f8ba.js +0 -62
  856. package/dist/cjs/index.es-d125163b.js +0 -10808
  857. package/dist/cjs/info-card_2.cjs.entry.js +0 -203
  858. package/dist/cjs/interactive-39ec70c2.js +0 -75
  859. package/dist/cjs/interfaces-842c84a1.js +0 -80
  860. package/dist/cjs/it-ca0d0aac.js +0 -62
  861. package/dist/cjs/it-ch-65c41132.js +0 -62
  862. package/dist/cjs/ja-a5f9afc7.js +0 -68
  863. package/dist/cjs/key-5b33d77d.js +0 -19
  864. package/dist/cjs/ko-852f5312.js +0 -68
  865. package/dist/cjs/label-345b79b7.js +0 -136
  866. package/dist/cjs/layer-table_2.cjs.entry.js +0 -517
  867. package/dist/cjs/loadable-30ee9cda.js +0 -69
  868. package/dist/cjs/locale-180f4242.js +0 -567
  869. package/dist/cjs/lt-255c3b01.js +0 -93
  870. package/dist/cjs/lv-7ed56721.js +0 -62
  871. package/dist/cjs/map-search.cjs.entry.js +0 -176
  872. package/dist/cjs/mapViewUtils-9c67134b.js +0 -375
  873. package/dist/cjs/math-c948c17d.js +0 -28
  874. package/dist/cjs/mk-f6d33563.js +0 -62
  875. package/dist/cjs/nb-bd0ca554.js +0 -63
  876. package/dist/cjs/nl-eadfdfb4.js +0 -63
  877. package/dist/cjs/observers-f7aad52c.js +0 -53
  878. package/dist/cjs/openCloseComponent-84b60d30.js +0 -100
  879. package/dist/cjs/pl-c9d0eeb6.js +0 -110
  880. package/dist/cjs/pt-abc4d582.js +0 -63
  881. package/dist/cjs/pt-br-217ada13.js +0 -61
  882. package/dist/cjs/publicNotificationStore-cd1a32c3.js +0 -47
  883. package/dist/cjs/resources-1687ac3b.js +0 -27
  884. package/dist/cjs/resources-17e31c94.js +0 -32
  885. package/dist/cjs/resources-2194e840.js +0 -2057
  886. package/dist/cjs/resources-5d9c0817.js +0 -23
  887. package/dist/cjs/resources-840442cb.js +0 -22
  888. package/dist/cjs/resources-8f85e83e.js +0 -27
  889. package/dist/cjs/resources-b2a52eac.js +0 -50
  890. package/dist/cjs/resources-b9022801.js +0 -39
  891. package/dist/cjs/resources-c050c6cd.js +0 -20
  892. package/dist/cjs/ro-1618e102.js +0 -62
  893. package/dist/cjs/ru-a23bea65.js +0 -122
  894. package/dist/cjs/shared-list-render-e49ee33c.js +0 -364
  895. package/dist/cjs/sk-dcacc22d.js +0 -144
  896. package/dist/cjs/sl-313d5585.js +0 -62
  897. package/dist/cjs/solution-store-ca4639d5.js +0 -4100
  898. package/dist/cjs/sortableComponent-e91c4b54.js +0 -3087
  899. package/dist/cjs/sr-c7b2c043.js +0 -97
  900. package/dist/cjs/sv-d8327a96.js +0 -67
  901. package/dist/cjs/t9n-44f8e750.js +0 -100
  902. package/dist/cjs/th-871548cb.js +0 -61
  903. package/dist/cjs/time-0ae619db.js +0 -208
  904. package/dist/cjs/tr-799e3306.js +0 -62
  905. package/dist/cjs/uk-eb7261c3.js +0 -100
  906. package/dist/cjs/utils-3c384fb2.js +0 -55
  907. package/dist/cjs/utils-49d0aa19.js +0 -218
  908. package/dist/cjs/utils-5c1c33cf.js +0 -64
  909. package/dist/cjs/utils-da61890c.js +0 -87
  910. package/dist/cjs/vi-ebbac61c.js +0 -66
  911. package/dist/cjs/zh-cn-dfcfe1fe.js +0 -90
  912. package/dist/cjs/zh-hk-64eeb0f6.js +0 -67
  913. package/dist/cjs/zh-tw-3d6f9661.js +0 -88
  914. package/dist/collection/components/add-record-modal/add-record-modal.css +0 -36
  915. package/dist/collection/components/add-record-modal/add-record-modal.js +0 -149
  916. package/dist/collection/components/comment-card/comment-card.css +0 -19
  917. package/dist/collection/components/comment-card/comment-card.js +0 -89
  918. package/dist/collection/components/edit-record-modal/edit-record-modal.css +0 -35
  919. package/dist/collection/components/edit-record-modal/edit-record-modal.js +0 -141
  920. package/dist/collection/components/map-search/map-search.css +0 -24
  921. package/dist/collection/components/map-search/map-search.js +0 -284
  922. package/dist/collection/components/media-card/media-card.css +0 -58
  923. package/dist/collection/components/media-card/media-card.js +0 -187
  924. package/dist/collection/demos/add-record-modal.html +0 -34
  925. package/dist/collection/demos/comment-card.html +0 -81
  926. package/dist/collection/demos/edit-record-modal.html +0 -34
  927. package/dist/collection/demos/map-search.html +0 -81
  928. package/dist/collection/demos/media-card.html +0 -71
  929. package/dist/components/add-record-modal.d.ts +0 -11
  930. package/dist/components/add-record-modal.js +0 -171
  931. package/dist/components/block.js +0 -232
  932. package/dist/components/comment-card.d.ts +0 -11
  933. package/dist/components/comment-card.js +0 -90
  934. package/dist/components/edit-record-modal.d.ts +0 -11
  935. package/dist/components/edit-record-modal.js +0 -11
  936. package/dist/components/edit-record-modal2.js +0 -161
  937. package/dist/components/map-search.d.ts +0 -11
  938. package/dist/components/map-search.js +0 -195
  939. package/dist/components/media-card.d.ts +0 -11
  940. package/dist/components/media-card.js +0 -11
  941. package/dist/components/media-card2.js +0 -177
  942. package/dist/components/modal.js +0 -415
  943. package/dist/components/pick-list.js +0 -164
  944. package/dist/components/split-button.js +0 -168
  945. package/dist/esm/ExpandToggle-ed0c4899.js +0 -111
  946. package/dist/esm/FloatingArrow-e769cdda.js +0 -46
  947. package/dist/esm/Heading-c36f4400.js +0 -22
  948. package/dist/esm/add-record-modal.entry.js +0 -102
  949. package/dist/esm/app-globals-4c1c4b90.js +0 -62
  950. package/dist/esm/ar-5fce09b4.js +0 -95
  951. package/dist/esm/array-af5e433b.js +0 -15
  952. package/dist/esm/bg-88930ab8.js +0 -76
  953. package/dist/esm/bs-83095544.js +0 -45
  954. package/dist/esm/ca-2452be3f.js +0 -65
  955. package/dist/esm/calcite-action-bar_4.entry.js +0 -622
  956. package/dist/esm/calcite-action-group.entry.js +0 -112
  957. package/dist/esm/calcite-action-menu_2.entry.js +0 -686
  958. package/dist/esm/calcite-combobox_3.entry.js +0 -1150
  959. package/dist/esm/calcite-dropdown_5.entry.js +0 -858
  960. package/dist/esm/calcite-filter_5.entry.js +0 -1006
  961. package/dist/esm/calcite-input-text_5.entry.js +0 -1961
  962. package/dist/esm/calcite-input-time-picker-379ab2c4.js +0 -1619
  963. package/dist/esm/calcite-tooltip.entry.js +0 -409
  964. package/dist/esm/card-manager.entry.js +0 -87
  965. package/dist/esm/comment-card.entry.js +0 -71
  966. package/dist/esm/conditionalSlot-e9ec914f.js +0 -60
  967. package/dist/esm/cs-c4999998.js +0 -141
  968. package/dist/esm/da-6e7eb415.js +0 -60
  969. package/dist/esm/date-85b54b18.js +0 -235
  970. package/dist/esm/de-39db71ff.js +0 -85
  971. package/dist/esm/de-at-0b43fa52.js +0 -84
  972. package/dist/esm/de-ch-345e1007.js +0 -84
  973. package/dist/esm/dom-e14bb980.js +0 -927
  974. package/dist/esm/downloadUtils-c4d8f012.js +0 -2723
  975. package/dist/esm/el-3d3eb2d9.js +0 -60
  976. package/dist/esm/en-au-f85fb0f9.js +0 -60
  977. package/dist/esm/en-ca-ae24e23b.js +0 -59
  978. package/dist/esm/en-gb-9f56a48f.js +0 -63
  979. package/dist/esm/es-00ec702d.js +0 -60
  980. package/dist/esm/es-mx-5fb19224.js +0 -59
  981. package/dist/esm/et-1a294618.js +0 -86
  982. package/dist/esm/fi-1bcfd731.js +0 -109
  983. package/dist/esm/filter-09439c1d.js +0 -763
  984. package/dist/esm/floating-ui-421b8ed2.js +0 -1817
  985. package/dist/esm/focusTrapComponent-45081255.js +0 -804
  986. package/dist/esm/form-58f5ab7c.js +0 -280
  987. package/dist/esm/fr-3a844513.js +0 -62
  988. package/dist/esm/fr-ch-32438415.js +0 -60
  989. package/dist/esm/guid-5c8ddb45.js +0 -24
  990. package/dist/esm/he-4d2d41f5.js +0 -99
  991. package/dist/esm/hi-e5a5cf07.js +0 -59
  992. package/dist/esm/hr-003c79cb.js +0 -74
  993. package/dist/esm/hu-a679b97b.js +0 -82
  994. package/dist/esm/id-8ce09f04.js +0 -60
  995. package/dist/esm/index.es-ba252f56.js +0 -10722
  996. package/dist/esm/info-card_2.entry.js +0 -198
  997. package/dist/esm/interactive-eaa1e00b.js +0 -73
  998. package/dist/esm/interfaces-523c6558.js +0 -80
  999. package/dist/esm/it-8a20f6f9.js +0 -60
  1000. package/dist/esm/it-ch-b829ceb9.js +0 -60
  1001. package/dist/esm/ja-ab479dce.js +0 -66
  1002. package/dist/esm/key-2c25459c.js +0 -16
  1003. package/dist/esm/ko-a523df7c.js +0 -66
  1004. package/dist/esm/label-10a81bc6.js +0 -130
  1005. package/dist/esm/layer-table_2.entry.js +0 -512
  1006. package/dist/esm/loadable-fca3f617.js +0 -65
  1007. package/dist/esm/locale-b550eae4.js +0 -555
  1008. package/dist/esm/lt-6061d0cc.js +0 -91
  1009. package/dist/esm/lv-c8234418.js +0 -60
  1010. package/dist/esm/map-search.entry.js +0 -172
  1011. package/dist/esm/mapViewUtils-06a77be9.js +0 -362
  1012. package/dist/esm/math-778f9699.js +0 -25
  1013. package/dist/esm/mk-d08e7df4.js +0 -60
  1014. package/dist/esm/nb-35ca03d9.js +0 -61
  1015. package/dist/esm/nl-e815c488.js +0 -61
  1016. package/dist/esm/observers-b17e5da7.js +0 -51
  1017. package/dist/esm/openCloseComponent-1aef0328.js +0 -96
  1018. package/dist/esm/pl-a1c11e8b.js +0 -108
  1019. package/dist/esm/pt-8874bd08.js +0 -61
  1020. package/dist/esm/pt-br-cb76472e.js +0 -59
  1021. package/dist/esm/publicNotificationStore-c36d95bf.js +0 -45
  1022. package/dist/esm/resources-09757d0c.js +0 -23
  1023. package/dist/esm/resources-23bce35b.js +0 -20
  1024. package/dist/esm/resources-6c49ff61.js +0 -2048
  1025. package/dist/esm/resources-78b20773.js +0 -20
  1026. package/dist/esm/resources-a9874e81.js +0 -28
  1027. package/dist/esm/resources-ac65ccee.js +0 -35
  1028. package/dist/esm/resources-bf1eeffc.js +0 -24
  1029. package/dist/esm/resources-c59151a8.js +0 -19
  1030. package/dist/esm/resources-f5fec753.js +0 -46
  1031. package/dist/esm/ro-0e8b863a.js +0 -60
  1032. package/dist/esm/ru-f3224893.js +0 -120
  1033. package/dist/esm/shared-list-render-86d8dcb7.js +0 -342
  1034. package/dist/esm/sk-eccf534f.js +0 -142
  1035. package/dist/esm/sl-a8e0c24f.js +0 -60
  1036. package/dist/esm/solution-store-70f874f8.js +0 -4092
  1037. package/dist/esm/sortableComponent-267e5853.js +0 -3082
  1038. package/dist/esm/sr-0e5973cb.js +0 -95
  1039. package/dist/esm/sv-ff8fbe95.js +0 -65
  1040. package/dist/esm/t9n-4c43412c.js +0 -95
  1041. package/dist/esm/th-90f7d79c.js +0 -59
  1042. package/dist/esm/time-18f4bea6.js +0 -195
  1043. package/dist/esm/tr-8a61ecaa.js +0 -60
  1044. package/dist/esm/uk-cb40a88d.js +0 -98
  1045. package/dist/esm/utils-701a66a0.js +0 -45
  1046. package/dist/esm/utils-d5304067.js +0 -200
  1047. package/dist/esm/utils-e59e3392.js +0 -79
  1048. package/dist/esm/utils-fbb44364.js +0 -61
  1049. package/dist/esm/vi-03f26f71.js +0 -64
  1050. package/dist/esm/zh-cn-b40fefb9.js +0 -88
  1051. package/dist/esm/zh-hk-846adb7a.js +0 -65
  1052. package/dist/esm/zh-tw-5e6c0c4c.js +0 -86
  1053. package/dist/solutions-components/demos/add-record-modal.html +0 -34
  1054. package/dist/solutions-components/demos/comment-card.html +0 -81
  1055. package/dist/solutions-components/demos/edit-record-modal.html +0 -34
  1056. package/dist/solutions-components/demos/map-search.html +0 -81
  1057. package/dist/solutions-components/demos/media-card.html +0 -71
  1058. package/dist/solutions-components/p-0004c7cf.js +0 -11
  1059. package/dist/solutions-components/p-028fe399.js +0 -11
  1060. package/dist/solutions-components/p-02934a73.js +0 -6
  1061. package/dist/solutions-components/p-0350a94c.js +0 -6
  1062. package/dist/solutions-components/p-03630cc2.js +0 -11
  1063. package/dist/solutions-components/p-0c0ae47e.entry.js +0 -6
  1064. package/dist/solutions-components/p-100a644d.js +0 -6
  1065. package/dist/solutions-components/p-10ee8954.js +0 -11
  1066. package/dist/solutions-components/p-14b581f0.js +0 -6
  1067. package/dist/solutions-components/p-156616b5.js +0 -6
  1068. package/dist/solutions-components/p-163f9453.entry.js +0 -22
  1069. package/dist/solutions-components/p-16a85289.entry.js +0 -11
  1070. package/dist/solutions-components/p-18c285a2.entry.js +0 -6
  1071. package/dist/solutions-components/p-1c6b3fcc.js +0 -11
  1072. package/dist/solutions-components/p-1ff86baf.js +0 -6
  1073. package/dist/solutions-components/p-21894ee1.entry.js +0 -6
  1074. package/dist/solutions-components/p-21d890eb.js +0 -11
  1075. package/dist/solutions-components/p-22367f3b.entry.js +0 -11
  1076. package/dist/solutions-components/p-224fc498.js +0 -6
  1077. package/dist/solutions-components/p-253c9105.entry.js +0 -11
  1078. package/dist/solutions-components/p-274e2b43.entry.js +0 -16
  1079. package/dist/solutions-components/p-29de380e.entry.js +0 -23
  1080. package/dist/solutions-components/p-2ab62909.entry.js +0 -12
  1081. package/dist/solutions-components/p-2ba08c44.js +0 -11
  1082. package/dist/solutions-components/p-2c91149c.entry.js +0 -17
  1083. package/dist/solutions-components/p-2d79dcaa.entry.js +0 -6
  1084. package/dist/solutions-components/p-2e02d0c6.js +0 -6
  1085. package/dist/solutions-components/p-2fb33412.js +0 -6
  1086. package/dist/solutions-components/p-2ff245e3.entry.js +0 -11
  1087. package/dist/solutions-components/p-309ab62c.entry.js +0 -6
  1088. package/dist/solutions-components/p-30fff23a.js +0 -6
  1089. package/dist/solutions-components/p-31084785.entry.js +0 -11
  1090. package/dist/solutions-components/p-322657e1.js +0 -6
  1091. package/dist/solutions-components/p-333fece7.js +0 -11
  1092. package/dist/solutions-components/p-33f7b5ad.entry.js +0 -12
  1093. package/dist/solutions-components/p-34b5fd3f.js +0 -11
  1094. package/dist/solutions-components/p-354a1a55.js +0 -16
  1095. package/dist/solutions-components/p-360652a6.js +0 -6
  1096. package/dist/solutions-components/p-361a2107.js +0 -6
  1097. package/dist/solutions-components/p-36b68fb9.js +0 -11
  1098. package/dist/solutions-components/p-3918da18.js +0 -6
  1099. package/dist/solutions-components/p-3965e731.js +0 -6
  1100. package/dist/solutions-components/p-3b2f8f0d.entry.js +0 -11
  1101. package/dist/solutions-components/p-3ed956eb.js +0 -36
  1102. package/dist/solutions-components/p-3fba8b91.js +0 -6
  1103. package/dist/solutions-components/p-40494687.js +0 -11
  1104. package/dist/solutions-components/p-441a995d.js +0 -11
  1105. package/dist/solutions-components/p-453cd5e4.entry.js +0 -11
  1106. package/dist/solutions-components/p-460d4659.entry.js +0 -11
  1107. package/dist/solutions-components/p-486ea405.js +0 -11
  1108. package/dist/solutions-components/p-48fd5600.entry.js +0 -11
  1109. package/dist/solutions-components/p-4a0899a1.entry.js +0 -6
  1110. package/dist/solutions-components/p-4a7214b3.js +0 -6
  1111. package/dist/solutions-components/p-4a86a776.js +0 -474
  1112. package/dist/solutions-components/p-4f308c0c.entry.js +0 -11
  1113. package/dist/solutions-components/p-50ebdbe1.entry.js +0 -6
  1114. package/dist/solutions-components/p-55a4d846.entry.js +0 -18
  1115. package/dist/solutions-components/p-563863b1.entry.js +0 -11
  1116. package/dist/solutions-components/p-56ee8fcf.entry.js +0 -6
  1117. package/dist/solutions-components/p-5730082b.entry.js +0 -17
  1118. package/dist/solutions-components/p-5798a8e1.entry.js +0 -11
  1119. package/dist/solutions-components/p-5a9f7d1d.entry.js +0 -11
  1120. package/dist/solutions-components/p-5dc70753.entry.js +0 -6
  1121. package/dist/solutions-components/p-5ed755a2.entry.js +0 -37
  1122. package/dist/solutions-components/p-5f9044e9.entry.js +0 -6
  1123. package/dist/solutions-components/p-67dce98d.js +0 -11
  1124. package/dist/solutions-components/p-681822de.entry.js +0 -11
  1125. package/dist/solutions-components/p-68ae67e2.js +0 -6
  1126. package/dist/solutions-components/p-6aabe903.entry.js +0 -6
  1127. package/dist/solutions-components/p-6aeb2614.entry.js +0 -6
  1128. package/dist/solutions-components/p-6b0437e2.js +0 -11
  1129. package/dist/solutions-components/p-6b16e621.js +0 -17
  1130. package/dist/solutions-components/p-6bca27ae.entry.js +0 -6
  1131. package/dist/solutions-components/p-6e8fc013.js +0 -11
  1132. package/dist/solutions-components/p-6f090d92.entry.js +0 -11
  1133. package/dist/solutions-components/p-71f15882.js +0 -6
  1134. package/dist/solutions-components/p-72bd2198.js +0 -6
  1135. package/dist/solutions-components/p-734fb637.entry.js +0 -11
  1136. package/dist/solutions-components/p-737ebddb.js +0 -6
  1137. package/dist/solutions-components/p-74ab524f.entry.js +0 -17
  1138. package/dist/solutions-components/p-751105bf.entry.js +0 -11
  1139. package/dist/solutions-components/p-758a5902.js +0 -6
  1140. package/dist/solutions-components/p-75d44bac.entry.js +0 -11
  1141. package/dist/solutions-components/p-76fd5733.js +0 -11
  1142. package/dist/solutions-components/p-78315271.entry.js +0 -11
  1143. package/dist/solutions-components/p-78719506.js +0 -257
  1144. package/dist/solutions-components/p-7903b163.js +0 -12
  1145. package/dist/solutions-components/p-7b49e5e3.js +0 -11
  1146. package/dist/solutions-components/p-7b4a714b.js +0 -11
  1147. package/dist/solutions-components/p-7b7091d4.js +0 -16
  1148. package/dist/solutions-components/p-7c96a204.entry.js +0 -11
  1149. package/dist/solutions-components/p-7d1fd0ab.js +0 -11
  1150. package/dist/solutions-components/p-7d3582a2.js +0 -18
  1151. package/dist/solutions-components/p-7d5a1cdb.js +0 -11
  1152. package/dist/solutions-components/p-7dfb2d00.entry.js +0 -17
  1153. package/dist/solutions-components/p-7ed79fea.entry.js +0 -6
  1154. package/dist/solutions-components/p-805d62b8.js +0 -6
  1155. package/dist/solutions-components/p-817b174b.js +0 -6
  1156. package/dist/solutions-components/p-851fd101.entry.js +0 -6
  1157. package/dist/solutions-components/p-85706e85.js +0 -11
  1158. package/dist/solutions-components/p-8b1bac08.entry.js +0 -11
  1159. package/dist/solutions-components/p-90abad32.js +0 -6
  1160. package/dist/solutions-components/p-9151a991.js +0 -17
  1161. package/dist/solutions-components/p-918b08f8.js +0 -6
  1162. package/dist/solutions-components/p-92123a6f.js +0 -6
  1163. package/dist/solutions-components/p-92de1de9.js +0 -21
  1164. package/dist/solutions-components/p-93015b7f.entry.js +0 -29
  1165. package/dist/solutions-components/p-963026b1.js +0 -11
  1166. package/dist/solutions-components/p-96601723.entry.js +0 -11
  1167. package/dist/solutions-components/p-966deb61.js +0 -16
  1168. package/dist/solutions-components/p-987fc85a.js +0 -6
  1169. package/dist/solutions-components/p-9ae83468.js +0 -6
  1170. package/dist/solutions-components/p-9d8ba56e.js +0 -11
  1171. package/dist/solutions-components/p-a29ba58a.js +0 -21
  1172. package/dist/solutions-components/p-a3539120.js +0 -11
  1173. package/dist/solutions-components/p-a36a4f4c.entry.js +0 -11
  1174. package/dist/solutions-components/p-a390ad52.js +0 -6
  1175. package/dist/solutions-components/p-a4f6cb03.js +0 -6
  1176. package/dist/solutions-components/p-a58a83f5.entry.js +0 -11
  1177. package/dist/solutions-components/p-a5f966da.js +0 -6
  1178. package/dist/solutions-components/p-a717b838.entry.js +0 -11
  1179. package/dist/solutions-components/p-aa2b508b.js +0 -6
  1180. package/dist/solutions-components/p-ad77361c.entry.js +0 -11
  1181. package/dist/solutions-components/p-b05c0dab.js +0 -6
  1182. package/dist/solutions-components/p-b2175b0f.js +0 -11
  1183. package/dist/solutions-components/p-b32b130a.entry.js +0 -11
  1184. package/dist/solutions-components/p-b34f269f.entry.js +0 -6
  1185. package/dist/solutions-components/p-b4b19fd3.entry.js +0 -37
  1186. package/dist/solutions-components/p-b62c14e9.entry.js +0 -23
  1187. package/dist/solutions-components/p-b85c70ff.js +0 -6
  1188. package/dist/solutions-components/p-b9569aa8.js +0 -6
  1189. package/dist/solutions-components/p-b9df29d5.entry.js +0 -6
  1190. package/dist/solutions-components/p-c68c6cfc.js +0 -6
  1191. package/dist/solutions-components/p-c7f63eae.entry.js +0 -6
  1192. package/dist/solutions-components/p-c80b582f.js +0 -11
  1193. package/dist/solutions-components/p-c9c400b0.js +0 -6
  1194. package/dist/solutions-components/p-cfdcbbc4.entry.js +0 -11
  1195. package/dist/solutions-components/p-d0a0d58e.js +0 -6
  1196. package/dist/solutions-components/p-d0bd5dc8.js +0 -11
  1197. package/dist/solutions-components/p-d13c5d43.js +0 -6
  1198. package/dist/solutions-components/p-d2dfbb78.entry.js +0 -11
  1199. package/dist/solutions-components/p-d4c7b0b0.entry.js +0 -11
  1200. package/dist/solutions-components/p-d54d34a3.entry.js +0 -11
  1201. package/dist/solutions-components/p-d6c1abd1.js +0 -11
  1202. package/dist/solutions-components/p-d7e59435.entry.js +0 -35
  1203. package/dist/solutions-components/p-dadd5bfb.js +0 -11
  1204. package/dist/solutions-components/p-dc9c209f.entry.js +0 -11
  1205. package/dist/solutions-components/p-e12458f7.js +0 -6
  1206. package/dist/solutions-components/p-e1384eb6.entry.js +0 -6
  1207. package/dist/solutions-components/p-e13bc246.entry.js +0 -18
  1208. package/dist/solutions-components/p-e19a5718.entry.js +0 -11
  1209. package/dist/solutions-components/p-e470b2c7.entry.js +0 -6
  1210. package/dist/solutions-components/p-e4e33d1c.js +0 -6
  1211. package/dist/solutions-components/p-e6330f55.entry.js +0 -11
  1212. package/dist/solutions-components/p-e7b96c06.js +0 -11
  1213. package/dist/solutions-components/p-e84ff0f8.entry.js +0 -6
  1214. package/dist/solutions-components/p-e90f8998.entry.js +0 -11
  1215. package/dist/solutions-components/p-e9f43fe1.entry.js +0 -11
  1216. package/dist/solutions-components/p-ebd369cf.js +0 -6
  1217. package/dist/solutions-components/p-eda91258.entry.js +0 -11
  1218. package/dist/solutions-components/p-ee853883.entry.js +0 -11
  1219. package/dist/solutions-components/p-eea493bc.js +0 -6
  1220. package/dist/solutions-components/p-eec28f93.js +0 -6
  1221. package/dist/solutions-components/p-eee3969d.entry.js +0 -11
  1222. package/dist/solutions-components/p-f03a6d9c.js +0 -61
  1223. package/dist/solutions-components/p-f1aaf8d9.entry.js +0 -6
  1224. package/dist/solutions-components/p-f226673c.js +0 -11
  1225. package/dist/solutions-components/p-f546e45d.js +0 -6
  1226. package/dist/solutions-components/p-fa3d2b1f.js +0 -6
  1227. package/dist/solutions-components/p-fb33ea5f.js +0 -6
  1228. package/dist/solutions-components/p-fb553e61.js +0 -6
  1229. package/dist/solutions-components/p-fb8aa15c.entry.js +0 -11
  1230. package/dist/types/components/add-record-modal/add-record-modal.d.ts +0 -68
  1231. package/dist/types/components/comment-card/comment-card.d.ts +0 -26
  1232. package/dist/types/components/edit-record-modal/edit-record-modal.d.ts +0 -49
  1233. package/dist/types/components/map-search/map-search.d.ts +0 -120
  1234. package/dist/types/components/media-card/media-card.d.ts +0 -80
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as e,g as a}from"./p-f8be5d5f.js";import{c as n,d as o}from"./p-7a42ffab.js";import{v as c,a as s}from"./p-1aca2237.js";import{s as l,a as r,c as d}from"./p-5173b841.js";import{c as m,d as h}from"./p-0ff7b311.js";import{c as p,d as g,s as f,u}from"./p-db08ef87.js";import{K as v}from"./p-f6ec5e80.js";import"./p-99b55177.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-40bdd836.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const k="actions-end",b=class{constructor(e){t(this,e),this.calciteNoticeClose=i(this,"calciteNoticeClose",6),this.calciteNoticeOpen=i(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=c(v,this.icon,this.kind)}connectedCallback(){n(this),m(this),p(this)}disconnectedCallback(){o(this),h(this),g(this)}async componentWillLoad(){l(this),this.requestedIcon=c(v,this.icon,this.kind),await f(this)}componentDidLoad(){r(this)}render(){const{el:t}=this,i=e("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),a=s(t,k);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"})),a?e("div",{class:"actions-end"},e("slot",{name:k})):null,this.closable?i:null)}async setFocus(){await d(this);const t=this.el.querySelector("calcite-link");(this.closeButton||t)&&(t?t.setFocus():this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){u(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"]}}};b.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)}";export{b as calcite_notice}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export default m;
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ /*!
7
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
9
+ * v1.4.3
10
+ */
11
+ function n(){return navigator.userAgentData}function r(){const r=n();return r?.brands?r.brands.map((({brand:n,version:r})=>`${n}/${r}`)).join(" "):navigator.userAgent}export{n as a,r as g}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,c as t,h as e,H as s,g as a}from"./p-f8be5d5f.js";import{a as n,v as l,b as o}from"./p-1aca2237.js";import{s as r,c as h,d as c,H as d}from"./p-c844e615.js";import{c as p,d as u,u as m}from"./p-41f5a5fc.js";import{c as b,d as g,g as v}from"./p-8bf81a2e.js";import{s as f,a as y,c as w}from"./p-5173b841.js";import{c as x,d as k}from"./p-0ff7b311.js";import{c as _}from"./p-99b55177.js";import{C as S}from"./p-c2d148da.js";import{u as D,c as I,d as L,s as z}from"./p-db08ef87.js";import{l as P}from"./p-d7ddd3a2.js";import{g as C,h as A,a as j,b as M,c as G,d as N,e as O,f as H}from"./p-4af3f843.js";import{c as E,e as W,f as F}from"./p-9ab03591.js";import{s as V}from"./p-477ae127.js";import{a as R,g as T}from"./p-fc2277fe.js";import{d as Y,a as q}from"./p-9807924d.js";import"./p-a738e38f.js";import"./p-d60a77a4.js";import"./p-40bdd836.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.3
11
+ */const B=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=_("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=l({},this.icon,"text")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleChange(){D(this,this.effectiveLocale)}connectedCallback(){var i;p(this),x(this),I(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),b(this),h(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;u(this),g(this),c(this),k(this),L(this),null===(i=this.mutationObserver)||void 0===i||i.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){f(this),this.requestedIcon=l({},this.icon,"text"),await z(this)}componentDidLoad(){y(this)}componentDidRender(){m(this)}async setFocus(){var i;await w(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=o(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"}),l=e("div",{class:"prefix"},this.prefixText),r=e("div",{class:"suffix"},this.suffixText),h=e("input",{"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,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,[S.rtl]:"rtl"===i}},this.prefixText?l:null,e("div",{class:"element-wrapper"},h,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"]}}};B.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}";const $=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)},selectedIds:this.layerViews.map((i=>i.layer.id))})))}_getNumSelected(){const i=R(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),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[]})))}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 C(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._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,l=n?t.map.findLayerById(n):null,o=null===(s=null==a?void 0:a.layer)||void 0===s?void 0:s.url;l?a.layer=l:o&&(a.layer=new this.FeatureLayer(o))}})),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 A(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await j(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=M(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,l=this._unit?this._unit:this._bufferTools.unit,o=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=e||s||a||!this._selectionLabel?`${n} ${o} ${l}`: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]=[],N(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 T(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};$.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 K=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}}]}),J=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,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 q(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 T(this.el);this._translations=i[0]}_renderOptions(){(K.default||K).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),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0,this._labelInfoElement.selectedOption=e)}))}get el(){return a(this)}};J.style=":host{display:block}";const U=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=W.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},selectedIds:[this._refineLayer.layer.id]})),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(W.ADD),value:W.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(W.REMOVE),value:W.REMOVE},e("span",{class:"font-weight-500"},this._translations.remove)))),e("div",null,e("map-draw-tools",{active:!0,drawMode:F.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===W.ADD?W.REMOVE:W.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===W.ADD?W.REMOVE:W.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=O(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await T(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 N(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 H(this.selectionSets)}_clearHighlight(){V.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const n=this._refineSelectionSet.refineInfos,l=s.layer.id,o={};o[l]={addIds:[],removeIds:[],layerView:s};const r=Object.keys(n).indexOf(l)>-1?n[l]:o[l];if(t===W.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[l]=r,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};U.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{B as calcite_input_text,$ as map_select_tools,J as pdf_download,U as refine_selection}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{b as t}from"./p-1aca2237.js";import{g as n,a as e}from"./p-d60a77a4.js";import{d as o}from"./p-4e32bf8c.js";function r(t){return t.split("-")[1]}function i(t){return"y"===t?"height":"width"}function a(t){return t.split("-")[0]}function l(t){return["top","bottom"].includes(a(t))?"x":"y"}function s(t,n,e){let{reference:o,floating:s}=t;const c=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,u=l(n),d=i(u),m=o[d]/2-s[d]/2,p="x"===u;let y;switch(a(n)){case"top":y={x:c,y:o.y-s.height};break;case"bottom":y={x:c,y:o.y+o.height};break;case"right":y={x:o.x+o.width,y:f};break;case"left":y={x:o.x-s.width,y:f};break;default:y={x:o.x,y:o.y}}switch(r(n)){case"start":y[u]-=m*(e&&p?-1:1);break;case"end":y[u]+=m*(e&&p?-1:1)}return y}function c(t,n){return"function"==typeof t?t(n):t}function f(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function u(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function d(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:l,strategy:s}=t,{boundary:d="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=c(n,t),h=f(g),x=l[y?"floating"===p?"reference":"floating":p],w=u(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(x)))||e?x:x.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:m,strategy:s})),v="floating"===p?{...a.floating,x:o,y:r}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},P=u(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:b,strategy:s}):v);return{top:(w.top-P.top+h.top)/A.y,bottom:(P.bottom-w.bottom+h.bottom)/A.y,left:(w.left-P.left+h.left)/A.x,right:(P.right-w.right+h.right)/A.x}}const m=Math.min,p=Math.max;function y(t,n,e){return p(t,m(n,e))}const g=["top","right","bottom","left"],h=g.reduce(((t,n)=>t.concat(n,n+"-start",n+"-end")),[]),x={left:"right",right:"left",bottom:"top",top:"bottom"};function w(t){return t.replace(/left|right|bottom|top/g,(t=>x[t]))}function v(t,n,e){void 0===e&&(e=!1);const o=r(t),a=l(t),s=i(a);let c="x"===a?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[s]>n.floating[s]&&(c=w(c)),{main:c,cross:w(c)}}const b={start:"end",end:"start"};function A(t){return t.replace(/start|end/g,(t=>b[t]))}const P=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:f,elements:u}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:x=!0,...b}=c(t,n),P=a(o),k=a(s)===s,S=await(null==f.isRTL?void 0:f.isRTL(u.floating)),D=y||(k||!x?[w(s)]:function(t){const n=w(t);return[A(t),n,A(n)]}(s));y||"none"===h||D.push(...function(t,n,e,o){const i=r(t);let l=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(a(t),"start"===e,o);return i&&(l=l.map((t=>t+"-"+i)),n&&(l=l.concat(l.map(A)))),l}(s,x,h,S));const M=[s,...D],R=await d(n,b),C=[];let F=(null==(e=i.flip)?void 0:e.overflows)||[];if(m&&C.push(R[P]),p){const{main:t,cross:n}=v(o,l,S);C.push(R[t],R[n])}if(F=[...F,{placement:o,overflows:C}],!C.every((t=>t<=0))){var O,E;const t=((null==(O=i.flip)?void 0:O.index)||0)+1,n=M[t];if(n)return{data:{index:t,overflows:F},reset:{placement:n}};let e=null==(E=F.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:E.placement;if(!e)switch(g){case"bestFit":{var T;const t=null==(T=F.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:T[0];t&&(e=t);break}case"initialPlacement":e=s}if(o!==e)return{reset:{placement:e}}}return{}}}};function k(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function S(t){return g.some((n=>t[n]>=0))}const D=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:o="referenceHidden",...r}=c(t,n);switch(o){case"referenceHidden":{const t=k(await d(n,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:S(t)}}}case"escaped":{const t=k(await d(n,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:S(t)}}}default:return{}}}}},M=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,i=await async function(t,n){const{placement:e,platform:o,elements:i}=t,s=await(null==o.isRTL?void 0:o.isRTL(i.floating)),f=a(e),u=r(e),d="x"===l(e),m=["left","top"].includes(f)?-1:1,p=s&&d?-1:1,y=c(n,t);let{mainAxis:g,crossAxis:h,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(h="end"===u?-1*x:x),d?{x:h*p,y:g*m}:{x:g*m,y:h*p}}(n,t);return{x:e+i.x,y:o+i.y,data:i}}}};function R(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){return R(t).getComputedStyle(t)}function F(t){return t instanceof R(t).Node}function O(t){return F(t)?(t.nodeName||"").toLowerCase():"#document"}function E(t){return t instanceof R(t).HTMLElement}function T(t){return t instanceof R(t).Element}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof R(t).ShadowRoot||t instanceof ShadowRoot)}function $(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=C(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function z(t){return["table","td","th"].includes(O(t))}function B(t){const n=L(),e=C(t);return"none"!==e.transform||"none"!==e.perspective||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function L(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function H(t){return["html","body","#document"].includes(O(t))}const I=Math.min,N=Math.max,W=Math.round,q=Math.floor,G=t=>({x:t,y:t});function U(t){const n=C(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=E(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=W(e)!==i||W(o)!==a;return l&&(e=i,o=a),{width:e,height:o,$:l}}function V(t){return T(t)?t:t.contextElement}function X(t){const n=V(t);if(!E(n))return G(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:i}=U(n);let a=(i?W(e.width):e.width)/o,l=(i?W(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Y=G(0);function _(t,n,e){var o,r;if(void 0===n&&(n=!0),!L())return Y;const i=t?R(t):window;return!e||n&&e!==i?Y:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function J(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=V(t);let a=G(1);n&&(o?T(o)&&(a=X(o)):a=X(t));const l=_(i,e,o);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,d=r.height/a.y;if(i){const t=R(i),n=o&&T(o)?R(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=X(e),n=e.getBoundingClientRect(),o=getComputedStyle(e),r=n.left+(e.clientLeft+parseFloat(o.paddingLeft))*t.x,i=n.top+(e.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=r,c+=i,e=R(e).frameElement}}return u({width:f,height:d,x:s,y:c})}function K(t){return((F(t)?t.ownerDocument:t.document)||window.document).documentElement}function Q(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(t){return J(K(t)).left+Q(t).scrollLeft}function tt(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||j(t)&&t.host||K(t);return j(n)?n.host:n}function nt(t){const n=tt(t);return H(n)?t.ownerDocument?t.ownerDocument.body:t.body:E(n)&&$(n)?n:nt(n)}function et(t,n){var e;void 0===n&&(n=[]);const o=nt(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=R(o);return r?n.concat(i,i.visualViewport||[],$(o)?o:[]):n.concat(o,et(o))}function ot(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=R(t),o=K(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;const t=L();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===n)o=function(t){const n=K(t),e=Q(t),o=t.ownerDocument.body,r=N(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=N(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+Z(t);const l=-e.scrollTop;return"rtl"===C(o).direction&&(a+=N(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(K(t));else if(T(n))o=function(t,n){const e=J(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=E(t)?X(t):G(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=_(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return u(o)}function rt(t,n){const e=tt(t);return!(e===n||!T(e)||H(e))&&("fixed"===C(e).position||rt(e,n))}function it(t,n){return E(t)&&"fixed"!==C(t).position?n?n(t):t.offsetParent:null}function at(t,n){const e=R(t);if(!E(t))return e;let o=it(t,n);for(;o&&z(o)&&"static"===C(o).position;)o=it(o,n);return o&&("html"===O(o)||"body"===O(o)&&"static"===C(o).position&&!B(o))?e:o||function(t){let n=tt(t);for(;E(n)&&!H(n);){if(B(n))return n;n=tt(n)}return null}(t)||e}function lt(t,n,e){const o=E(n),r=K(n),i="fixed"===e,a=J(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s=G(0);if(o||!o&&!i)if(("body"!==O(n)||$(r))&&(l=Q(n)),E(n)){const t=J(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&(s.x=Z(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}const st={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=et(t).filter((t=>T(t)&&"body"!==O(t))),r=null;const i="fixed"===C(t).position;let a=i?tt(t):t;for(;T(a)&&!H(a);){const n=C(a),e=B(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||$(a)&&!e&&rt(t,a))?o=o.filter((t=>t!==a)):r=n,a=tt(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=ot(n,e,r);return t.top=N(o.top,t.top),t.right=I(o.right,t.right),t.bottom=I(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),ot(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=E(e),i=K(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l=G(1);const s=G(0);if((r||!r&&"fixed"!==o)&&(("body"!==O(e)||$(i))&&(a=Q(e)),E(e))){const t=J(e);l=X(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+s.x,y:n.y*l.y-a.scrollTop*l.y+s.y}},isElement:T,getDimensions:function(t){return U(t)},getOffsetParent:at,getDocumentElement:K,getScale:X,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:lt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===C(t).direction};const ct={floatingUINonChromiumPositioningFix:!0,...globalThis.calciteComponentsConfig},ft=async function(){if(ct.floatingUINonChromiumPositioningFix&&(/firefox|safari/i.test(n())||function(){const t=e();return t?.brands?!!t.brands.find((({brand:t,version:n})=>("Google Chrome"===t||"Chromium"===t)&&Number(n)>=109)):!!navigator.userAgent.split(" ").find((t=>{const[n,e]=t.split("/");return"Chrome"===n&&parseInt(e)>=109}))}())){const{offsetParent:t}=await import("./p-1d09584d.js"),n=st.getOffsetParent;st.getOffsetParent=e=>n(e,t)}}(),ut=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:u})=>{if(!n||!e)return null;await ft;const{x:d,y:m,placement:p,strategy:y,middlewareData:g}=await((t,n,e)=>{const o=new Map,r={platform:st,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let f=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:d}=s(f,o,c),m=o,p={},y=0;for(let e=0;e<l.length;e++){const{name:i,fn:g}=l[e],{x:h,y:x,data:w,reset:v}=await g({x:u,y:d,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:f,platform:a,elements:{reference:t,floating:n}});u=null!=h?h:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(m=v.placement),v.rects&&(f=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:d}=s(f,m,c))),e=-1)}return{x:u,y:d,placement:m,strategy:r,middlewareData:p}})(t,n,{...r,platform:i})})(n,e,{strategy:o,placement:"auto"===r||"auto-start"===r||"auto-end"===r?void 0:xt(e,r),middleware:gt({placement:r,flipDisabled:i,flipPlacements:a,offsetDistance:l,offsetSkidding:c,arrowEl:f,type:u})});if(f&&g.arrow){const{x:n,y:e}=g.arrow,o=p.split("-")[0],r=null!=n?"left":"top",i=vt[o],a={left:"",top:"",bottom:"",right:""};"floatingLayout"in t&&(t.floatingLayout="left"===o||"right"===o?"horizontal":"vertical"),Object.assign(f.style,{...a,[r]:`${"left"==r?n:e}px`,[o]:"100%",transform:i})}const h=g.hide?.referenceHidden,x=h?"hidden":null,w=x?"none":null;e.setAttribute(dt,p);const v=`translate(${Math.round(d)}px,${Math.round(m)}px)`;Object.assign(e.style,{visibility:x,pointerEvents:w,position:y,top:"0",left:"0",transform:v})},dt="data-placement",mt=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"],pt="bottom-start",yt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */function gt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:s,arrowEl:u,type:p}){const g=[(void 0===x&&(x={}),{name:"shift",options:x,async fn(t){const{x:n,y:e,placement:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:s={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=c(x,t),u={x:n,y:e},m=await d(t,f),p=l(a(o)),g="x"===p?"y":"x";let h=u[p],w=u[g];r&&(h=y(h+m["y"===p?"top":"left"],h,h-m["y"===p?"bottom":"right"])),i&&(w=y(w+m["y"===g?"top":"left"],w,w-m["y"===g?"bottom":"right"]));const v=s.fn({...t,[p]:h,[g]:w});return{...v,data:{x:v.x-n,y:v.y-e}}}}),D()];var x;if("menu"===p)return[...g,P({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})];if("popover"===p||"tooltip"===p){const p=[...g,M({mainAxis:"number"==typeof o?o:0,crossAxis:"number"==typeof s?s:0})];return"auto"===t||"auto-start"===t||"auto-end"===t?p.push(function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:l,middlewareData:s,placement:f,platform:u,elements:m}=n,{crossAxis:p=!1,alignment:y,allowedPlacements:g=h,autoAlignment:x=!0,...w}=c(t,n),b=void 0!==y||g===h?function(t,n,e){return(t?[...e.filter((n=>r(n)===t)),...e.filter((n=>r(n)!==t))]:e.filter((t=>a(t)===t))).filter((e=>!t||r(e)===t||!!n&&A(e)!==e))}(y||null,x,g):g,P=await d(n,w),k=(null==(e=s.autoPlacement)?void 0:e.index)||0,S=b[k];if(null==S)return{};const{main:D,cross:M}=v(S,l,await(null==u.isRTL?void 0:u.isRTL(m.floating)));if(f!==S)return{reset:{placement:b[0]}};const R=[P[a(S)],P[D],P[M]],C=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:S,overflows:R}],F=b[k+1];if(F)return{data:{index:k+1,overflows:C},reset:{placement:F}};const O=C.map((t=>{const n=r(t.placement);return[t.placement,n&&p?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),E=(null==(i=O.filter((t=>t[2].slice(0,r(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||O[0][0];return E!==f?{data:{index:k+1,overflows:C},reset:{placement:E}}:{}}}}({alignment:"auto-start"===t?"start":"auto-end"===t?"end":null})):n||p.push(P(e?{fallbackPlacements:e}:{})),u&&p.push((t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:a,rects:s,platform:u,elements:d}=n,{element:p,padding:g=0}=c(t,n)||{};if(null==p)return{};const h=f(g),x={x:e,y:o},w=l(a),v=i(w),b=await u.getDimensions(p),A="y"===w,P=A?"top":"left",k=A?"bottom":"right",S=A?"clientHeight":"clientWidth",D=s.reference[v]+s.reference[w]-x[w]-s.floating[v],M=x[w]-s.reference[w],R=await(null==u.getOffsetParent?void 0:u.getOffsetParent(p));let C=R?R[S]:0;C&&await(null==u.isElement?void 0:u.isElement(R))||(C=d.floating[S]||s.floating[v]);const F=D/2-M/2,O=C/2-b[v]/2-1,E=m(h[P],O),T=m(h[k],O),j=E,$=C-b[v]-T,z=C/2-b[v]/2+F,B=y(j,z,$),L=null!=r(a)&&z!=B&&s.reference[v]/2-(z<j?E:T)-b[v]/2<0?z<j?j-z:$-z:0;return{[w]:x[w]-L,data:{[w]:B,centerOffset:z-B+L}}}}))({element:u})),p}return[]}function ht(t,n){const e=t.filter((t=>mt.includes(t)));return e.length!==t.length&&console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${mt.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n}),e}function xt(n,e){const o=["left","right"];return"rtl"===t(n)&&o.reverse(),e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function wt(t,n,e=!1){if(!t.open)return;const r=e?function(t){let n=At.get(t);return n||(n=o(ut,100,{leading:!0,maxWait:100}),At.set(t,n),n)}(t):ut;return r(t,n)}const vt={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"},bt=new WeakMap,At=new WeakMap;function Pt(t,n,e){e&&n&&(kt(t,n,e),Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning,top:"0",left:"0"}),bt.set(t,function(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=o,c=V(t),f=r||i?[...c?et(c):[],...et(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:!0}),i&&t.addEventListener("resize",e)}));const u=c&&l?function(t,n){let e,o=null;const r=K(t);function i(){clearTimeout(e),o&&o.disconnect(),o=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const{left:c,top:f,width:u,height:d}=t.getBoundingClientRect();if(l||n(),!u||!d)return;const m=q(f),p=q(r.clientWidth-(c+u)),y=q(r.clientHeight-(f+d)),g=q(c);let h=!0;o=new IntersectionObserver((t=>{const n=t[0].intersectionRatio;if(n!==s){if(!h)return a();0===n?e=setTimeout((()=>{a(!1,1e-7)}),100):a(!1,n)}h=!1}),{rootMargin:-m+"px "+-p+"px "+-y+"px "+-g+"px",threshold:s}),o.observe(t)}(!0),i}(c,e):null;let d,m=null;a&&(m=new ResizeObserver(e),c&&!s&&m.observe(c),m.observe(n));let p=s?J(t):null;return s&&function n(){const o=J(t);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||e(),p=o,d=requestAnimationFrame(n)}(),e(),()=>{f.forEach((t=>{r&&t.removeEventListener("scroll",e),i&&t.removeEventListener("resize",e)})),u&&u(),m&&m.disconnect(),m=null,s&&cancelAnimationFrame(d)}}(n,e,(()=>t.reposition()))))}function kt(t,n,e){e&&n&&(bt.get(t)?.(),bt.delete(t),At.get(t)?.cancel(),At.delete(t))}const St=Math.ceil(Math.hypot(4,4));export{yt as F,kt as a,St as b,Pt as c,pt as d,ht as f,wt as r}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,H as e,g as a}from"./p-f8be5d5f.js";import{l as o}from"./p-d7ddd3a2.js";import{g as n}from"./p-fc2277fe.js";import"./p-e1a4994d.js";const l=class{constructor(s){t(this,s),this.closeEdit=i(this,"closeEdit",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._translations=void 0}graphicIndexWatchHandler(){this._initEditorWidget()}graphicsWatchHandler(){this._initEditorWidget()}mapViewWatchHandler(){this._initEditorWidget()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;const s=document.getElementsByTagName("layer-table");if(1===s.length){const t=s[0];this.graphics=await t.getSelectedGraphics()}(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer)}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled);return s(e,null,s("div",{class:"position-relative"},i?s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)):void 0,s("div",{slot:"content"},s("div",{id:"feature-form",ref:t=>this._editContainer=t}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}_initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div");this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,visibleElements:{snappingControls:!1,sketchTooltipControls:!1},container:t}),this._editHandle&&this._attachmentHandle&&this._activeWorkflowHandle&&(this._editHandle.remove(),this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._editHandle=this.reactiveUtils.when((()=>"ready"===this._editor.viewModel.state),(()=>{this._shouldClose&&(this.closeEdit.emit(),this._shouldClose=!1),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&(this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0)})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1)})),this._editContainer.appendChild(t)}}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{graphicIndex:["graphicIndexWatchHandler"],graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}";const h=class{constructor(i){t(this,i),this.graphics=void 0,this.isLoading=!1,this.mapView=void 0,this._alertOpen=!1,this._editRecordOpen=!1,this._translations=void 0}async graphicsWatchHandler(){var t;this.graphics.length>0&&(this._editEnabled=(null===(t=this.graphics[0])||void 0===t?void 0:t.layer).editingEnabled,this._features.open({features:this.graphics}))}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFeaturesWidget()}))}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async componentWillLoad(){await this._initModules(),await this._getTranslations()}render(){var t;const i=this.isLoading||this._editRecordOpen?"display-none":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen?"display-none":"";return s(e,null,s("calcite-shell",null,s("calcite-loader",{class:this.isLoading?"":"display-none",label:this._translations.fetchingData}),s("div",{class:"esri-widget "+i,id:"features-node"}),s("div",{class:"padding-1-2 display-flex "+o,slot:"footer"},s("calcite-button",{appearance:"outline",iconStart:"pencil",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),s("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},s("span",null,this._translations.edit))),s("edit-card",{class:a,graphicIndex:null===(t=this._features)||void 0===t?void 0:t.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{slot:"title"},this._translations.editDisabled),s("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t]=await o(["esri/widgets/Features"]);this.Features=t}async _initFeaturesWidget(){this._features||(this._features=new this.Features({container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!0},viewModel:{view:this.mapView}}))}_alertClosed(){this._alertOpen=!1}_editRecordClosed(){this._editRecordOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};h.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-1-2{padding:0.5rem}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}.display-none{display:none}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}";export{l as edit_card,h as info_card}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var p={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};_.locale(p,null,!0);export default p;
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{a as n}from"./p-f8be5d5f.js";import{g as t}from"./p-0ff7b311.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const s={};function o(){throw new Error("could not fetch component message bundle")}function c(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await f(n,n.effectiveLocale),c(n)}async function f(c,a){const{el:f}=c,e=f.tagName.toLowerCase().replace("calcite-","");return async function(t,c){const a=`${c}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${c}/t9n/messages_${t}.json`)).then((n=>(n.ok||o(),n.json()))).catch((()=>o()))),s[a]}(t(a,"t9n"),e)}async function e(n,t){n.defaultMessages=await f(n,t),c(n)}function i(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){c(this)}export{i as c,u as d,a as s,e as u}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as a,g as n}from"./p-f8be5d5f.js";import{s as e,r as o,f as i}from"./p-c844e615.js";import{c as r,d as c,u as s}from"./p-41f5a5fc.js";import{c as l,d,g as u}from"./p-8bf81a2e.js";import{s as p,a as h,c as b}from"./p-5173b841.js";import{c as v,d as g}from"./p-0ff7b311.js";import{c as m}from"./p-99b55177.js";import{c as k,d as f,s as x,u as w}from"./p-db08ef87.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const y="icon",z=class{constructor(a){t(this,a),this.mutationObserver=m("mutation",(()=>this.updateHasContent())),this.resizeObserver=m("resize",(()=>this.setTooltipText())),this.handleClick=()=>{const{type:t}=this;this.href||("submit"===t?e(this):"reset"===t&&o(this))},this.setTooltipText=()=>{const{contentEl:t}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth?this.el.innerText:null)},this.setChildEl=t=>{var a;this.childEl=t,t&&(null===(a=this.resizeObserver)||void 0===a||a.observe(t))},this.alignment="center",this.appearance="solid",this.label=void 0,this.kind="brand",this.disabled=!1,this.form=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.loading=!1,this.name=void 0,this.rel=void 0,this.round=!1,this.scale="m",this.splitChild=!1,this.target=void 0,this.type="button",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.hasContent=!1,this.hasLoader=!1,this.effectiveLocale="",this.defaultMessages=void 0,this.tooltipText=void 0}loadingChanged(t,a){t&&!a&&(this.hasLoader=!0),!t&&a&&window.setTimeout((()=>{this.hasLoader=!1}),300)}onMessagesChange(){}async connectedCallback(){r(this),v(this),k(this),this.hasLoader=this.loading,this.setupTextContentObserver(),l(this),this.formEl=i(this)}disconnectedCallback(){var t,a;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),c(this),d(this),g(this),f(this),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),this.formEl=null}async componentWillLoad(){p(this),this.updateHasContent(),await x(this)}componentDidLoad(){h(this),this.setTooltipText()}componentDidRender(){s(this)}render(){const t=this.href?"a":"button",n=t,e=this.hasLoader?a("div",{class:"calcite-button--loader"},a("calcite-loader",{class:this.loading?"loading-in":"loading-out",inline:!0,label:this.messages.loading,scale:"l"===this.scale?"m":"s"})):null,o=!this.iconStart&&!this.iconEnd,i=a("calcite-icon",{class:{[y]:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"}),r=a("calcite-icon",{class:{[y]:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===this.scale?"m":"s"}),c=a("span",{class:"content",ref:t=>this.contentEl=t},a("slot",null));return a(n,{"aria-label":u(this),class:{"button-padding":o,"button-padding--shrunk":!o,"content--slotted":this.hasContent,"icon-start-empty":!this.iconStart,"icon-end-empty":!this.iconEnd},disabled:this.disabled||this.loading,href:"a"===t&&this.href,name:"button"===t&&this.name,onClick:this.handleClick,ref:this.setChildEl,rel:"a"===t&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:"a"===t&&this.target,title:this.tooltipText,type:"button"===t&&this.type},e,this.iconStart?i:null,this.hasContent?c:null,this.iconEnd?r:null)}async setFocus(){var t;await b(this),null===(t=this.childEl)||void 0===t||t.focus()}effectiveLocaleChange(){w(this,this.effectiveLocale)}updateHasContent(){var t,a;const n=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=1===this.el.childNodes.length&&"#text"===(null===(t=this.el.childNodes[0])||void 0===t?void 0:t.nodeName)?(null===(a=this.el.textContent)||void 0===a?void 0:a.trim().length)>0:n}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{loading:["loadingChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.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([loading]) *,:host([disabled]) *,:host([loading]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a: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 button,:host a{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host button:hover,:host a:hover{-webkit-text-decoration-line:none;text-decoration-line:none}:host button span,:host a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{margin-inline:var(--calcite-button-content-margin-internal)}.icon-start-empty .content{-webkit-margin-start:unset;margin-inline-start:unset}.icon-end-empty .content{-webkit-margin-end:unset;margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin-internal:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin-internal:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{-webkit-margin-end:auto;margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{-webkit-margin-start:auto;margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:var(--calcite-button-content-margin-internal);margin-inline-start:var(--calcite-button-content-margin-internal)}.icon{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([loading]) button,:host([loading]) a{opacity:var(--calcite-ui-opacity-disabled)}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}.calcite-button--loader calcite-loader.loading-out{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin-internal);margin-inline-end:var(--calcite-button-content-margin-internal)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{border-width:1px;border-style:solid;border-color:transparent}:host([kind=brand]) button,:host([kind=brand]) a{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) button:focus,:host([kind=brand]) a:hover,:host([kind=brand]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{background-color:var(--calcite-ui-brand-press)}:host([kind=brand]) button calcite-loader,:host([kind=brand]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([kind=danger]) button,:host([kind=danger]) a{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) button:focus,:host([kind=danger]) a:hover,:host([kind=danger]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{background-color:var(--calcite-ui-danger-press)}:host([kind=danger]) button calcite-loader,:host([kind=danger]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([kind=neutral]) button,:host([kind=neutral]) a{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) button:focus,:host([kind=neutral]) a:hover,:host([kind=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([kind=neutral]) button calcite-loader,:host([kind=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) button:focus,:host([kind=inverse]) a:hover,:host([kind=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([kind=inverse]) button calcite-loader,:host([kind=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button calcite-loader,:host([appearance=outline-fill][kind=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline-fill][kind=inverse]) button calcite-loader,:host([appearance=outline-fill][kind=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-border-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][kind=neutral]) button calcite-loader,:host([appearance=outline][kind=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][kind=inverse]) button calcite-loader,:host([appearance=outline][kind=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y-internal:0}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][kind=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-button-padding-y-internal:3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-padding-y-internal:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x-internal:0.75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}:host([scale=l]) .button-padding--shrunk{--calcite-button-padding-y-internal:9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}";export{z as calcite_button}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,f as a,h as e,H as o,g as s}from"./p-f8be5d5f.js";import{g as n}from"./p-60dba0cb.js";import{b as r,e as c,t as d}from"./p-1aca2237.js";import{c as h,d as l,H as u}from"./p-c844e615.js";import{g as m}from"./p-a738e38f.js";import{c as p,d as f,u as b}from"./p-41f5a5fc.js";import{c as v,d as g,g as k}from"./p-8bf81a2e.js";import{c as x,s as y,a as w}from"./p-5173b841.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const z=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),a=t.find((t=>t.checked));return i===this.el&&!a},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===r(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let s=0;const c=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,n(Math.max(s-1,-1),c));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,n(s+1,c));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}hiddenChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||c(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.focused=!0,this.setFocus(),a.checked||(this.uncheckOtherRadioButtonsInGroup(),a.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{a(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${m()}`,this.name&&this.checkLastRadioButton(),p(this),v(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){y(this)}componentDidLoad(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),g(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){b(this)}render(){const t=this.getTabIndex();return e(o,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},e("div",{"aria-checked":d(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},e("div",{class:"radio"})),e(u,{component:this}))}get el(){return s(this)}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"],hidden:["hiddenChanged"],name:["nameChanged"]}}};z.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;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{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([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{z as calcite_radio_button}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as a}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var e={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};a.locale(e,null,!0);export default e;
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as a,h as e,H as i,g as n}from"./p-f8be5d5f.js";import{l as o,a as c}from"./p-8bf81a2e.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const l=class{constructor(e){t(this,e),this.calciteInternalLabelClick=a(this,"calciteInternalLabelClick",2),this.labelClickHandler=t=>{this.calciteInternalLabelClick.emit({sourceEvent:t})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(c))}render(){return e(i,{onClick:this.labelClickHandler},e("div",{class:"container"},e("slot",null)))}get el(){return n(this)}};l.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}: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}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-margin-after:var(--calcite-label-margin-bottom, 0.5rem);margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-after:var(--calcite-label-margin-bottom, 0.75rem);margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-after:var(--calcite-label-margin-bottom, 1rem);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_label}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as o}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var e={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};o.locale(e,null,!0);export default e;
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{h as t}from"./p-f8be5d5f.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=e.level?`h${e.level}`:"div";return delete e.level,t(n,{...e},r)};export{r as H,e as c}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var m="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),r="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),p=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function t(_,m,r){var p,t;return"m"===r?m?"хвилина":"хвилину":"h"===r?m?"година":"годину":_+" "+(p=+_,t={ss:m?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:m?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:m?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),p%10==1&&p%100!=11?t[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?t[1]:t[2])}var s=function(_,t){return p.test(t)?m[_.month()]:r[_.month()]};s.s=r,s.f=m;var o={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:t,mm:t,h:t,hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.locale(o,null,!0);export default o;
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,c as t,h as a,H as e,g as n}from"./p-f8be5d5f.js";import{c,d as o}from"./p-7a42ffab.js";import{g as r,a as s,b as l,t as d,c as m}from"./p-1aca2237.js";import{C as h}from"./p-c2d148da.js";import"./p-99b55177.js";import"./p-a738e38f.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ * v1.4.3
11
+ */const p="actions-start",g="actions-end",v=class{constructor(a){i(this,a),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.calciteInternalAccordionItemRegister=t(this,"calciteInternalAccordionItemRegister",6),this.iconPosition="end",this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.scale="m",this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0}connectedCallback(){this.parent=this.el.parentElement,this.iconType=r(this.el,"icon-type","chevron"),this.iconPosition=r(this.el,"icon-position",this.iconPosition),this.scale=r(this.el,"scale",this.scale),c(this)}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})}disconnectedCallback(){o(this)}renderActionsStart(){const{el:i}=this;return s(i,p)?a("div",{class:"actions-start"},a("slot",{name:p})):null}renderActionsEnd(){const{el:i}=this;return s(i,g)?a("div",{class:"actions-end"},a("slot",{name:g})):null}render(){const{iconFlipRtl:i}=this,t=l(this.el),n=this.iconStart?a("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,c=this.iconEnd?a("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:o}=this;return a(e,null,a("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},a("div",{class:{header:!0,[h.rtl]:"rtl"===t}},this.renderActionsStart(),a("div",{"aria-expanded":d(this.expanded),class:"header-content",onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},a("div",{class:"header-container"},n,a("div",{class:"header-text"},a("span",{class:"heading"},this.heading),o?a("span",{class:"description"},o):null),c),a("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),a("div",{class:"content"},a("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){this.requestedAccordionItem=i.detail.requestedAccordionItem,this.el.parentNode===this.requestedAccordionItem.parentNode&&(this.determineActiveItem(),i.stopPropagation())}determineActiveItem(){switch(this.selectionMode=r(this.el,"selection-mode","multiple"),this.selectionMode){case"multiple":this.el===this.requestedAccordionItem&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===this.requestedAccordionItem&&!this.expanded;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}getItemPosition(){var i;const{el:t}=this,a=null===(i=m(t,"calcite-accordion"))||void 0===i?void 0:i.querySelectorAll("calcite-accordion-item");return a?Array.from(a).indexOf(t):-1}get el(){return n(this)}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin);-webkit-margin-start:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";export{v as calcite_accordion_item}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ /*!
7
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
9
+ * v1.4.3
10
+ */
11
+ const n={heading:"heading",container:"container",indented:"container--indented"},e={parentItem:"parent-item"};export{n as C,e as S}