@esri/solutions-components 0.10.10 → 0.10.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1647) hide show
  1. package/dist/cjs/ExpandToggle-4bf03edc.js +115 -0
  2. package/dist/cjs/FloatingArrow-7eca410a.js +48 -0
  3. package/dist/cjs/Heading-2333bcd2.js +25 -0
  4. package/dist/cjs/Validation-aa47298a.js +20 -0
  5. package/dist/cjs/app-globals-7f35a2ee.js +67 -0
  6. package/dist/cjs/ar-cecfe7a4.js +106 -0
  7. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  8. package/dist/cjs/array-59824898.js +17 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +9 -9
  10. package/dist/cjs/bg-4fc20839.js +84 -0
  11. package/dist/cjs/browser-69696af0.js +35 -0
  12. package/dist/cjs/bs-3bffda26.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +11 -11
  14. package/dist/cjs/ca-368f111b.js +73 -0
  15. package/dist/cjs/calcite-accordion-item.cjs.entry.js +24 -24
  16. package/dist/cjs/calcite-accordion.cjs.entry.js +18 -8
  17. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  18. package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
  19. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +28 -28
  20. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +18 -18
  21. package/dist/cjs/calcite-action_2.cjs.entry.js +49 -19
  22. package/dist/cjs/calcite-alert_4.cjs.entry.js +154 -118
  23. package/dist/cjs/calcite-avatar.cjs.entry.js +176 -0
  24. package/dist/cjs/calcite-block-section.cjs.entry.js +11 -11
  25. package/dist/cjs/calcite-block_5.cjs.entry.js +96 -64
  26. package/dist/cjs/calcite-button.cjs.entry.js +21 -34
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +7 -7
  28. package/dist/cjs/calcite-card.cjs.entry.js +13 -13
  29. package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -3
  30. package/dist/cjs/calcite-carousel.cjs.entry.js +13 -13
  31. package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
  32. package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
  33. package/dist/cjs/calcite-chip_2.cjs.entry.js +31 -21
  34. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +9 -9
  35. package/dist/cjs/calcite-color-picker.cjs.entry.js +32 -52
  36. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +7 -7
  37. package/dist/cjs/calcite-combobox_3.cjs.entry.js +47 -39
  38. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +14 -14
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +308 -36
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +22 -22
  41. package/dist/cjs/calcite-fab.cjs.entry.js +9 -9
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +27 -27
  43. package/dist/cjs/calcite-flow_6.cjs.entry.js +132 -46
  44. package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -22
  45. package/dist/cjs/calcite-icon.cjs.entry.js +10 -10
  46. package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
  47. package/dist/cjs/calcite-input-number.cjs.entry.js +39 -34
  48. package/dist/cjs/calcite-input-text.cjs.entry.js +32 -27
  49. package/dist/cjs/calcite-input-time-picker-de202530.js +1861 -0
  50. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -22
  51. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +168 -87
  52. package/dist/cjs/calcite-input_2.cjs.entry.js +41 -36
  53. package/dist/cjs/calcite-label.cjs.entry.js +11 -8
  54. package/dist/cjs/calcite-link.cjs.entry.js +11 -11
  55. package/dist/cjs/calcite-list-item-group.cjs.entry.js +6 -6
  56. package/dist/cjs/calcite-menu-item.cjs.entry.js +14 -14
  57. package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
  58. package/dist/cjs/calcite-meter.cjs.entry.js +12 -12
  59. package/dist/cjs/calcite-modal.cjs.entry.js +21 -21
  60. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +7 -7
  61. package/dist/cjs/calcite-navigation-user.cjs.entry.js +74 -0
  62. package/dist/cjs/calcite-navigation.cjs.entry.js +9 -9
  63. package/dist/cjs/calcite-notice.cjs.entry.js +18 -18
  64. package/dist/cjs/calcite-option-group.cjs.entry.js +2 -2
  65. package/dist/cjs/calcite-option_2.cjs.entry.js +18 -15
  66. package/dist/cjs/calcite-pagination.cjs.entry.js +14 -14
  67. package/dist/cjs/calcite-panel_2.cjs.entry.js +23 -23
  68. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +12 -12
  69. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
  70. package/dist/cjs/calcite-pick-list.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +13 -7
  72. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
  73. package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
  74. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +19 -16
  75. package/dist/cjs/calcite-sheet.cjs.entry.js +17 -15
  76. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
  77. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +53 -53
  78. package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -11
  79. package/dist/cjs/calcite-split-button.cjs.entry.js +6 -6
  80. package/dist/cjs/calcite-stepper-item.cjs.entry.js +15 -15
  81. package/dist/cjs/calcite-stepper.cjs.entry.js +12 -12
  82. package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
  83. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +30 -20
  84. package/dist/cjs/calcite-table-row.cjs.entry.js +10 -10
  85. package/dist/cjs/calcite-table.cjs.entry.js +14 -14
  86. package/dist/cjs/calcite-text-area.cjs.entry.js +24 -21
  87. package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -9
  88. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +6 -6
  89. package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -10
  90. package/dist/cjs/calcite-tile.cjs.entry.js +10 -10
  91. package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -32
  92. package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -13
  94. package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
  95. package/dist/cjs/calcite-tooltip.cjs.entry.js +18 -14
  96. package/dist/cjs/calcite-tree_3.cjs.entry.js +44 -26
  97. package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
  98. package/dist/cjs/component-a4c6a35d.js +33 -0
  99. package/dist/cjs/conditionalSlot-6b5d9b84.js +54 -0
  100. package/dist/cjs/config-afe9063b.js +40 -0
  101. package/dist/cjs/consent-manager.cjs.entry.js +3 -3
  102. package/dist/cjs/constants-0a4fc296.js +812 -0
  103. package/dist/cjs/continent-cdee1112.js +34 -0
  104. package/dist/cjs/country-a8539532.js +446 -0
  105. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -4
  106. package/dist/cjs/crowdsource-reporter.cjs.entry.js +29 -26
  107. package/dist/cjs/cs-1386c8b8.js +149 -0
  108. package/dist/cjs/da-68d9e5ce.js +69 -0
  109. package/dist/cjs/date-5a57b606.js +264 -0
  110. package/dist/cjs/de-at-017d79c1.js +92 -0
  111. package/dist/cjs/de-ch-f892b97a.js +92 -0
  112. package/dist/cjs/de-f3b48b7d.js +93 -0
  113. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  114. package/dist/cjs/dom-6a9b6275.js +1215 -0
  115. package/dist/cjs/downloadUtils-e6e2f8c4.js +3163 -0
  116. package/dist/cjs/el-16691582.js +68 -0
  117. package/dist/cjs/en-au-3cba8189.js +68 -0
  118. package/dist/cjs/en-ca-e63c64a3.js +67 -0
  119. package/dist/cjs/en-gb-66e297eb.js +71 -0
  120. package/dist/cjs/es-473df127.js +68 -0
  121. package/dist/cjs/es-mx-b8fc355d.js +67 -0
  122. package/dist/cjs/et-dfe831e4.js +94 -0
  123. package/dist/cjs/feature-comments.cjs.entry.js +2 -2
  124. package/dist/cjs/feature-form-flow-item.cjs.entry.js +2 -2
  125. package/dist/cjs/feature-list.cjs.entry.js +58 -14
  126. package/dist/cjs/features-flow-item.cjs.entry.js +2 -2
  127. package/dist/cjs/fi-8ab8c685.js +117 -0
  128. package/dist/cjs/filter-1f98198b.js +778 -0
  129. package/dist/cjs/floating-ui-b20fd1f7.js +2373 -0
  130. package/dist/cjs/focusTrapComponent-a4531bc7.js +1018 -0
  131. package/dist/cjs/form-5229f1c8.js +381 -0
  132. package/dist/cjs/fr-ch-9cdf5409.js +68 -0
  133. package/dist/cjs/fr-fbc089e3.js +70 -0
  134. package/dist/cjs/guid-02e5380f.js +26 -0
  135. package/dist/cjs/he-33e82ae7.js +107 -0
  136. package/dist/cjs/helpers-3a8234e8.js +940 -0
  137. package/dist/cjs/hi-bc15c04d.js +67 -0
  138. package/dist/cjs/hr-94438cce.js +82 -0
  139. package/dist/cjs/hu-e076cebf.js +90 -0
  140. package/dist/cjs/id-81a2fef0.js +68 -0
  141. package/dist/cjs/index-5a0af791.js +1782 -0
  142. package/dist/cjs/index-6189d0bb.js +62 -0
  143. package/dist/cjs/index-866b8a4c.js +127 -0
  144. package/dist/cjs/index-d21e03cd.js +14 -0
  145. package/dist/cjs/index-da709a10.js +201 -0
  146. package/dist/cjs/index.es-fa362797.js +11317 -0
  147. package/dist/cjs/input-33270a99.js +60 -0
  148. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
  149. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
  151. package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
  152. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
  153. package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
  154. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
  155. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
  156. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
  157. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
  158. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +7 -7
  159. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  160. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +9 -11
  161. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +19 -19
  162. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +17 -17
  163. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  164. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  165. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  166. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
  167. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +39 -54
  168. package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
  169. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
  170. package/dist/cjs/interactive-89f913ba.js +167 -0
  171. package/dist/cjs/it-549faba6.js +68 -0
  172. package/dist/cjs/it-ch-f2165d11.js +68 -0
  173. package/dist/cjs/ja-2c7ee1fb.js +74 -0
  174. package/dist/cjs/key-d6da79d8.js +19 -0
  175. package/dist/cjs/ko-ac460bc7.js +74 -0
  176. package/dist/cjs/label-26ee0ddb.js +186 -0
  177. package/dist/cjs/languageUtil-a3e1eafd.js +69 -0
  178. package/dist/cjs/layout-manager.cjs.entry.js +4 -4
  179. package/dist/cjs/list-flow-item.cjs.entry.js +2 -2
  180. package/dist/cjs/loadModules-8567855e.js +23 -0
  181. package/dist/cjs/loadable-2e2626dc.js +98 -0
  182. package/dist/cjs/loader.cjs.js +6 -6
  183. package/dist/cjs/locale-42c21404.js +605 -0
  184. package/dist/cjs/locale-a09603ee.js +160 -0
  185. package/dist/cjs/locale-a1bcb6eb.js +120 -0
  186. package/dist/cjs/location-flow-item.cjs.entry.js +2 -2
  187. package/dist/cjs/logger-1c9bfcfd.js +61 -0
  188. package/dist/cjs/lt-8fd46749.js +99 -0
  189. package/dist/cjs/lv-49bc9ddb.js +68 -0
  190. package/dist/cjs/map-select-tools_3.cjs.entry.js +11 -10
  191. package/dist/cjs/math-2911c0c9.js +60 -0
  192. package/dist/cjs/mk-5a82adab.js +68 -0
  193. package/dist/cjs/nb-24cd76dd.js +69 -0
  194. package/dist/cjs/nl-f6394232.js +69 -0
  195. package/dist/cjs/observers-8fed90f3.js +58 -0
  196. package/dist/cjs/openCloseComponent-14628d11.js +65 -0
  197. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  198. package/dist/cjs/pl-1b2c1ac1.js +116 -0
  199. package/dist/cjs/popupUtils-92e52dbf.js +121 -0
  200. package/dist/cjs/pt-b9970ff4.js +69 -0
  201. package/dist/cjs/pt-br-bfdc1da5.js +67 -0
  202. package/dist/cjs/public-notification.cjs.entry.js +7 -7
  203. package/dist/cjs/publicNotificationStore-f229e839.js +47 -0
  204. package/dist/cjs/refine-results-flow-item.cjs.entry.js +2 -2
  205. package/dist/cjs/resources-151788f3.js +23 -0
  206. package/dist/cjs/resources-3eec4ddc.js +27 -0
  207. package/dist/cjs/resources-41443a57.js +26 -0
  208. package/dist/cjs/resources-44478618.js +29 -0
  209. package/dist/cjs/resources-9fb1bc89.js +68 -0
  210. package/dist/cjs/resources-dfe71ff2.js +39 -0
  211. package/dist/cjs/resources-e23d63db.js +39 -0
  212. package/dist/cjs/resources-e96455bb.js +68 -0
  213. package/dist/cjs/resources-ed5f0434.js +21 -0
  214. package/dist/cjs/resources-fac4579f.js +23 -0
  215. package/dist/cjs/ro-d3dcee3e.js +68 -0
  216. package/dist/cjs/ru-86dc7992.js +128 -0
  217. package/dist/cjs/share-item.cjs.entry.js +2 -2
  218. package/dist/cjs/shared-list-render-54fa8d30.js +361 -0
  219. package/dist/cjs/sk-f4477e9e.js +150 -0
  220. package/dist/cjs/sl-056c7a3e.js +170 -0
  221. package/dist/cjs/solution-configuration.cjs.entry.js +8 -8
  222. package/dist/cjs/solution-contents_3.cjs.entry.js +8 -8
  223. package/dist/cjs/solution-store-1218246d.js +1353 -0
  224. package/dist/cjs/solutions-components.cjs.js +7 -7
  225. package/dist/cjs/sortableComponent-9bfb9488.js +2748 -0
  226. package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
  227. package/dist/cjs/sr-98be5235.js +103 -0
  228. package/dist/cjs/store-manager.cjs.entry.js +3 -3
  229. package/dist/cjs/sv-cb8dd245.js +73 -0
  230. package/dist/cjs/t9n-42ba6ea3.js +108 -0
  231. package/dist/cjs/th-9d1805bf.js +67 -0
  232. package/dist/cjs/time-d48f5d3e.js +301 -0
  233. package/dist/cjs/time-zones-cd027b1e.js +367 -0
  234. package/dist/cjs/tr-833a6ecc.js +68 -0
  235. package/dist/cjs/uk-df027a8a.js +106 -0
  236. package/dist/cjs/utils-051e0119.js +78 -0
  237. package/dist/cjs/utils-357c41eb.js +2304 -0
  238. package/dist/cjs/utils-a2799a10.js +130 -0
  239. package/dist/cjs/vi-2f15ae72.js +72 -0
  240. package/dist/cjs/zh-cn-ede80e9d.js +96 -0
  241. package/dist/cjs/zh-hk-5de99bec.js +94 -0
  242. package/dist/cjs/zh-tw-9cf1d1bd.js +94 -0
  243. package/dist/collection/collection-manifest.json +2 -2
  244. package/dist/collection/components/create-feature/create-feature.css +13 -0
  245. package/dist/collection/components/create-feature/create-feature.js +112 -13
  246. package/dist/collection/components/create-related-feature/create-related-feature.js +11 -2
  247. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  248. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +44 -23
  249. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  250. package/dist/collection/components/delete-button/delete-button.js +1 -1
  251. package/dist/collection/components/edit-card/edit-card.js +1 -1
  252. package/dist/collection/components/feature-comments/feature-comments.js +1 -1
  253. package/dist/collection/components/feature-details/feature-details.js +29 -9
  254. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
  255. package/dist/collection/components/feature-list/feature-list.css +13 -2
  256. package/dist/collection/components/feature-list/feature-list.js +70 -8
  257. package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
  258. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  259. package/dist/collection/components/info-card/info-card.js +2 -2
  260. package/dist/collection/components/json-editor/json-editor.js +1 -1
  261. package/dist/collection/components/layer-table/layer-table.js +1 -1
  262. package/dist/collection/components/layout-manager/layout-manager.js +1 -1
  263. package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
  264. package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
  265. package/dist/collection/components/map-card/map-card.js +1 -1
  266. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  267. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  268. package/dist/collection/components/map-layer-picker/map-layer-picker.js +6 -4
  269. package/dist/collection/components/map-legend/map-legend.js +1 -1
  270. package/dist/collection/components/map-picker/map-picker.js +1 -1
  271. package/dist/collection/components/map-search/map-search.js +1 -1
  272. package/dist/collection/components/map-select-tools/map-select-tools.js +3 -2
  273. package/dist/collection/components/map-tools/map-tools.js +1 -1
  274. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  275. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  276. package/dist/collection/components/public-notification/public-notification.js +1 -1
  277. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  278. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  279. package/dist/collection/components/share-item/share-item.js +1 -1
  280. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  281. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  282. package/dist/collection/components/solution-item/solution-item.js +1 -1
  283. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  284. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  285. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  286. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  287. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  288. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  289. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  290. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  291. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  292. package/dist/collection/demos/crowdsource-reporter.html +11 -3
  293. package/dist/components/ExpandToggle.js +2 -2
  294. package/dist/components/FloatingArrow.js +1 -1
  295. package/dist/components/Heading.js +1 -1
  296. package/dist/components/Validation.js +2 -2
  297. package/dist/components/action-bar.js +2 -2
  298. package/dist/components/action-group.js +2 -2
  299. package/dist/components/action-menu.js +2 -2
  300. package/dist/components/action-pad.js +2 -2
  301. package/dist/components/action.js +2 -2
  302. package/dist/components/alert.js +141 -103
  303. package/dist/components/array.js +1 -1
  304. package/dist/components/avatar.js +2 -2
  305. package/dist/components/block.js +8 -10
  306. package/dist/components/browser.js +1 -1
  307. package/dist/components/button.js +7 -22
  308. package/dist/components/calcite-accordion-item.js +15 -15
  309. package/dist/components/calcite-accordion.js +15 -5
  310. package/dist/components/calcite-block-section.js +1 -1
  311. package/dist/components/calcite-card.js +2 -2
  312. package/dist/components/calcite-carousel-item.js +1 -1
  313. package/dist/components/calcite-carousel.js +1 -1
  314. package/dist/components/calcite-color-picker.js +19 -39
  315. package/dist/components/calcite-combobox-item-group.js +1 -69
  316. package/dist/components/calcite-dialog.js +303 -22
  317. package/dist/components/calcite-fab.js +2 -2
  318. package/dist/components/calcite-inline-editable.js +4 -4
  319. package/dist/components/calcite-input-time-picker.js +38 -40
  320. package/dist/components/calcite-input-time-zone.js +166 -79
  321. package/dist/components/calcite-list-item-group.js +2 -2
  322. package/dist/components/calcite-menu-item.js +4 -4
  323. package/dist/components/calcite-meter.js +2 -2
  324. package/dist/components/calcite-navigation-logo.js +3 -3
  325. package/dist/components/calcite-navigation.js +3 -3
  326. package/dist/components/calcite-option-group.js +1 -1
  327. package/dist/components/calcite-pick-list-group.js +1 -1
  328. package/dist/components/calcite-radio-button-group.js +6 -2
  329. package/dist/components/calcite-rating.js +3 -3
  330. package/dist/components/calcite-sheet.js +7 -5
  331. package/dist/components/calcite-shell-center-row.js +3 -3
  332. package/dist/components/calcite-sortable-list.js +3 -3
  333. package/dist/components/calcite-split-button.js +2 -2
  334. package/dist/components/calcite-stepper-item.js +4 -4
  335. package/dist/components/calcite-stepper.js +3 -3
  336. package/dist/components/calcite-table-row.js +2 -2
  337. package/dist/components/calcite-table.js +4 -4
  338. package/dist/components/calcite-text-area.js +8 -5
  339. package/dist/components/calcite-tile-group.js +2 -2
  340. package/dist/components/calcite-tile-select-group.js +1 -1
  341. package/dist/components/calcite-tile-select.js +3 -3
  342. package/dist/components/calcite-tile.js +3 -3
  343. package/dist/components/calcite-tip-group.js +1 -1
  344. package/dist/components/calcite-tip-manager.js +1 -1
  345. package/dist/components/calcite-tip.js +2 -2
  346. package/dist/components/checkbox.js +1 -1
  347. package/dist/components/chip.js +2 -2
  348. package/dist/components/color-picker-hex-input.js +1 -1
  349. package/dist/components/color-picker-swatch.js +1 -1
  350. package/dist/components/combobox-item-group.js +76 -0
  351. package/dist/components/combobox-item.js +20 -6
  352. package/dist/components/combobox.js +18 -12
  353. package/dist/components/component.js +1 -1
  354. package/dist/components/conditionalSlot.js +1 -1
  355. package/dist/components/config.js +5 -5
  356. package/dist/components/continent.js +31 -0
  357. package/dist/components/country.js +444 -0
  358. package/dist/components/create-feature2.js +82 -14
  359. package/dist/components/create-related-feature2.js +11 -2
  360. package/dist/components/crowdsource-manager.js +1 -1
  361. package/dist/components/crowdsource-reporter.js +39 -29
  362. package/dist/components/date-picker-month-header.js +1 -1
  363. package/dist/components/date-picker.js +2 -2
  364. package/dist/components/date.js +1 -1
  365. package/dist/components/deduct-calculator2.js +1 -1
  366. package/dist/components/delete-button2.js +1 -1
  367. package/dist/components/dom.js +10 -7
  368. package/dist/components/dropdown-group.js +2 -2
  369. package/dist/components/dropdown-item.js +4 -4
  370. package/dist/components/dropdown.js +6 -6
  371. package/dist/components/edit-card2.js +1 -1
  372. package/dist/components/feature-comments.js +1 -1
  373. package/dist/components/feature-details2.js +24 -15
  374. package/dist/components/feature-form-flow-item.js +1 -1
  375. package/dist/components/feature-list2.js +64 -13
  376. package/dist/components/features-flow-item.js +1 -1
  377. package/dist/components/filter.js +1 -1
  378. package/dist/components/filter2.js +3 -3
  379. package/dist/components/floating-ui.js +17 -6
  380. package/dist/components/floor-filter2.js +1 -1
  381. package/dist/components/flow-item.js +14 -5
  382. package/dist/components/flow.js +2 -2
  383. package/dist/components/focusTrapComponent.js +1 -1
  384. package/dist/components/form.js +1 -1
  385. package/dist/components/graph.js +1 -1
  386. package/dist/components/guid.js +1 -1
  387. package/dist/components/handle.js +3 -3
  388. package/dist/components/icon.js +4 -4
  389. package/dist/components/index.js +2 -2
  390. package/dist/components/index4.js +4 -196
  391. package/dist/components/index5.js +51 -62
  392. package/dist/components/index6.js +125 -0
  393. package/dist/components/info-card2.js +2 -2
  394. package/dist/components/input-date-picker.js +27 -20
  395. package/dist/components/input-message.js +2 -2
  396. package/dist/components/input-number.js +24 -19
  397. package/dist/components/input-text.js +17 -12
  398. package/dist/components/input.js +25 -20
  399. package/dist/components/input2.js +1 -1
  400. package/dist/components/instant-apps-filter-list2.js +39 -7
  401. package/dist/components/instant-apps-landing-page.js +8 -10
  402. package/dist/components/instant-apps-language-switcher.js +8 -8
  403. package/dist/components/instant-apps-language-translator2.js +759 -8
  404. package/dist/components/instant-apps-sign-in2.js +34 -49
  405. package/dist/components/interactive.js +2 -4
  406. package/dist/components/json-editor2.js +1 -1
  407. package/dist/components/key.js +1 -1
  408. package/dist/components/label.js +1 -1
  409. package/dist/components/label2.js +5 -2
  410. package/dist/components/layer-table2.js +1 -1
  411. package/dist/components/layout-manager.js +1 -1
  412. package/dist/components/link.js +4 -4
  413. package/dist/components/list-flow-item.js +1 -1
  414. package/dist/components/list-item.js +2 -2
  415. package/dist/components/list.js +2 -2
  416. package/dist/components/loadable.js +1 -1
  417. package/dist/components/loader.js +41 -6
  418. package/dist/components/locale2.js +23 -3
  419. package/dist/components/location-flow-item.js +1 -1
  420. package/dist/components/logger.js +1 -1
  421. package/dist/components/map-card2.js +1 -1
  422. package/dist/components/map-draw-tools2.js +1 -1
  423. package/dist/components/map-fullscreen2.js +1 -1
  424. package/dist/components/map-layer-picker2.js +6 -4
  425. package/dist/components/map-legend2.js +1 -1
  426. package/dist/components/map-picker2.js +1 -1
  427. package/dist/components/map-search2.js +1 -1
  428. package/dist/components/map-select-tools2.js +3 -2
  429. package/dist/components/map-tools2.js +1 -1
  430. package/dist/components/math.js +1 -1
  431. package/dist/components/menu.js +1 -1
  432. package/dist/components/modal.js +5 -5
  433. package/dist/components/navigation-user.js +3 -3
  434. package/dist/components/notice.js +4 -4
  435. package/dist/components/observers.js +1 -1
  436. package/dist/components/openCloseComponent.js +1 -1
  437. package/dist/components/option.js +1 -1
  438. package/dist/components/pagination.js +3 -3
  439. package/dist/components/panel.js +10 -6
  440. package/dist/components/pci-calculator.js +1 -1
  441. package/dist/components/pdf-download2.js +1 -1
  442. package/dist/components/pick-list-item.js +2 -2
  443. package/dist/components/popover.js +6 -6
  444. package/dist/components/progress.js +1 -1
  445. package/dist/components/public-notification.js +1 -1
  446. package/dist/components/radio-button.js +2 -2
  447. package/dist/components/refine-results-flow-item.js +1 -1
  448. package/dist/components/refine-selection2.js +1 -1
  449. package/dist/components/resources.js +1 -1
  450. package/dist/components/resources2.js +1 -1
  451. package/dist/components/resources3.js +1 -1
  452. package/dist/components/resources4.js +1 -1
  453. package/dist/components/resources5.js +1 -1
  454. package/dist/components/resources6.js +1 -1
  455. package/dist/components/scrim.js +2 -2
  456. package/dist/components/segmented-control-item.js +2 -2
  457. package/dist/components/segmented-control.js +6 -3
  458. package/dist/components/select.js +6 -3
  459. package/dist/components/share-item.js +1 -1
  460. package/dist/components/shared-list-render.js +2 -2
  461. package/dist/components/shell-panel.js +3 -3
  462. package/dist/components/shell.js +3 -3
  463. package/dist/components/slider.js +12 -8
  464. package/dist/components/solution-configuration.js +11 -17
  465. package/dist/components/solution-contents2.js +2 -8
  466. package/dist/components/solution-item-details2.js +1 -1
  467. package/dist/components/solution-item-icon2.js +1 -1
  468. package/dist/components/solution-item-sharing2.js +1 -1
  469. package/dist/components/solution-item2.js +9 -15
  470. package/dist/components/solution-organization-variables2.js +2 -8
  471. package/dist/components/solution-resource-item2.js +1 -1
  472. package/dist/components/solution-spatial-ref2.js +1 -1
  473. package/dist/components/solution-template-data2.js +7 -13
  474. package/dist/components/solution-variables2.js +2 -8
  475. package/dist/components/sortableComponent.js +1 -1
  476. package/dist/components/spatial-ref.js +2 -8
  477. package/dist/components/stack.js +2 -2
  478. package/dist/components/switch.js +2 -2
  479. package/dist/components/t9n.js +1 -1
  480. package/dist/components/tab-nav.js +4 -4
  481. package/dist/components/tab-title.js +5 -5
  482. package/dist/components/tab.js +2 -2
  483. package/dist/components/table-cell.js +3 -3
  484. package/dist/components/table-header.js +15 -5
  485. package/dist/components/tabs.js +2 -2
  486. package/dist/components/time-picker.js +21 -21
  487. package/dist/components/time-zones.js +365 -0
  488. package/dist/components/tooltip.js +10 -6
  489. package/dist/components/tree-item.js +33 -20
  490. package/dist/components/tree.js +3 -3
  491. package/dist/components/utils.js +2 -2
  492. package/dist/components/utils2.js +8 -3
  493. package/dist/components/utils3.js +1 -1
  494. package/dist/components/value-list-item.js +2 -2
  495. package/dist/components/value-list.js +2 -2
  496. package/dist/esm/ExpandToggle-bddb5e82.js +108 -0
  497. package/dist/esm/FloatingArrow-adf66cf8.js +46 -0
  498. package/dist/esm/Heading-20345c69.js +22 -0
  499. package/dist/esm/Validation-63949b7d.js +18 -0
  500. package/dist/esm/app-globals-5d3ac5ed.js +65 -0
  501. package/dist/esm/ar-c466a382.js +104 -0
  502. package/dist/esm/arcgis-login.entry.js +1 -1
  503. package/dist/esm/array-dd6e2c7d.js +15 -0
  504. package/dist/esm/basemap-gallery_7.entry.js +9 -9
  505. package/dist/esm/bg-9cb15225.js +82 -0
  506. package/dist/esm/browser-552eb2d0.js +32 -0
  507. package/dist/esm/bs-f5629d7c.js +51 -0
  508. package/dist/esm/buffer-tools_3.entry.js +11 -11
  509. package/dist/esm/ca-4bf4a8d1.js +71 -0
  510. package/dist/esm/calcite-accordion-item.entry.js +24 -24
  511. package/dist/esm/calcite-accordion.entry.js +18 -8
  512. package/dist/esm/calcite-action-bar.entry.js +16 -16
  513. package/dist/esm/calcite-action-group.entry.js +14 -14
  514. package/dist/esm/calcite-action-menu_3.entry.js +28 -28
  515. package/dist/esm/calcite-action-pad_2.entry.js +18 -18
  516. package/dist/esm/calcite-action_2.entry.js +49 -19
  517. package/dist/esm/calcite-alert_4.entry.js +154 -118
  518. package/dist/esm/calcite-avatar.entry.js +172 -0
  519. package/dist/esm/calcite-block-section.entry.js +11 -11
  520. package/dist/esm/calcite-block_5.entry.js +96 -64
  521. package/dist/esm/calcite-button.entry.js +21 -34
  522. package/dist/esm/calcite-card-group.entry.js +7 -7
  523. package/dist/esm/calcite-card.entry.js +13 -13
  524. package/dist/esm/calcite-carousel-item.entry.js +3 -3
  525. package/dist/esm/calcite-carousel.entry.js +13 -13
  526. package/dist/esm/calcite-checkbox.entry.js +12 -12
  527. package/dist/esm/calcite-chip-group.entry.js +7 -7
  528. package/dist/esm/calcite-chip_2.entry.js +31 -21
  529. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +9 -9
  530. package/dist/esm/calcite-color-picker.entry.js +32 -52
  531. package/dist/esm/calcite-combobox-item-group.entry.js +7 -7
  532. package/dist/esm/calcite-combobox_3.entry.js +48 -40
  533. package/dist/esm/calcite-date-picker-day_3.entry.js +14 -14
  534. package/dist/esm/calcite-dialog.entry.js +308 -36
  535. package/dist/esm/calcite-dropdown_2.entry.js +22 -22
  536. package/dist/esm/calcite-fab.entry.js +9 -9
  537. package/dist/esm/calcite-filter_5.entry.js +27 -27
  538. package/dist/esm/calcite-flow_6.entry.js +132 -46
  539. package/dist/esm/calcite-graph_2.entry.js +26 -22
  540. package/dist/esm/calcite-icon.entry.js +10 -10
  541. package/dist/esm/calcite-inline-editable.entry.js +17 -17
  542. package/dist/esm/calcite-input-number.entry.js +39 -34
  543. package/dist/esm/calcite-input-text.entry.js +32 -27
  544. package/dist/esm/calcite-input-time-picker-60dbdc25.js +1858 -0
  545. package/dist/esm/calcite-input-time-picker.entry.js +21 -22
  546. package/dist/esm/calcite-input-time-zone.entry.js +168 -87
  547. package/dist/esm/calcite-input_2.entry.js +41 -36
  548. package/dist/esm/calcite-label.entry.js +11 -8
  549. package/dist/esm/calcite-link.entry.js +11 -11
  550. package/dist/esm/calcite-list-item-group.entry.js +6 -6
  551. package/dist/esm/calcite-menu-item.entry.js +14 -14
  552. package/dist/esm/calcite-menu.entry.js +11 -11
  553. package/dist/esm/calcite-meter.entry.js +12 -12
  554. package/dist/esm/calcite-modal.entry.js +21 -21
  555. package/dist/esm/calcite-navigation-logo.entry.js +7 -7
  556. package/dist/esm/calcite-navigation-user.entry.js +70 -0
  557. package/dist/esm/calcite-navigation.entry.js +9 -9
  558. package/dist/esm/calcite-notice.entry.js +18 -18
  559. package/dist/esm/calcite-option-group.entry.js +2 -2
  560. package/dist/esm/calcite-option_2.entry.js +18 -15
  561. package/dist/esm/calcite-pagination.entry.js +14 -14
  562. package/dist/esm/calcite-panel_2.entry.js +23 -23
  563. package/dist/esm/calcite-pick-list-group.entry.js +12 -12
  564. package/dist/esm/calcite-pick-list-item.entry.js +17 -17
  565. package/dist/esm/calcite-pick-list.entry.js +14 -14
  566. package/dist/esm/calcite-radio-button-group.entry.js +13 -7
  567. package/dist/esm/calcite-radio-button.entry.js +13 -13
  568. package/dist/esm/calcite-rating.entry.js +17 -17
  569. package/dist/esm/calcite-segmented-control_2.entry.js +19 -16
  570. package/dist/esm/calcite-sheet.entry.js +17 -15
  571. package/dist/esm/calcite-shell-center-row.entry.js +10 -10
  572. package/dist/esm/calcite-shell-panel_14.entry.js +53 -53
  573. package/dist/esm/calcite-sortable-list.entry.js +11 -11
  574. package/dist/esm/calcite-split-button.entry.js +6 -6
  575. package/dist/esm/calcite-stepper-item.entry.js +15 -15
  576. package/dist/esm/calcite-stepper.entry.js +12 -12
  577. package/dist/esm/calcite-switch.entry.js +13 -13
  578. package/dist/esm/calcite-table-cell_2.entry.js +30 -20
  579. package/dist/esm/calcite-table-row.entry.js +10 -10
  580. package/dist/esm/calcite-table.entry.js +14 -14
  581. package/dist/esm/calcite-text-area.entry.js +24 -21
  582. package/dist/esm/calcite-tile-group.entry.js +9 -9
  583. package/dist/esm/calcite-tile-select-group.entry.js +6 -6
  584. package/dist/esm/calcite-tile-select.entry.js +10 -10
  585. package/dist/esm/calcite-tile.entry.js +10 -10
  586. package/dist/esm/calcite-time-picker.entry.js +32 -32
  587. package/dist/esm/calcite-tip-group.entry.js +4 -4
  588. package/dist/esm/calcite-tip-manager.entry.js +13 -13
  589. package/dist/esm/calcite-tip.entry.js +15 -15
  590. package/dist/esm/calcite-tooltip.entry.js +18 -14
  591. package/dist/esm/calcite-tree_3.entry.js +44 -26
  592. package/dist/esm/card-manager_3.entry.js +6 -6
  593. package/dist/esm/component-c2c32481.js +30 -0
  594. package/dist/esm/conditionalSlot-60e775f3.js +51 -0
  595. package/dist/esm/config-2fa7bb77.js +36 -0
  596. package/dist/esm/consent-manager.entry.js +3 -3
  597. package/dist/esm/constants-045d6a1b.js +808 -0
  598. package/dist/esm/continent-125eb777.js +31 -0
  599. package/dist/esm/country-2d5661ee.js +444 -0
  600. package/dist/esm/crowdsource-manager.entry.js +4 -4
  601. package/dist/esm/crowdsource-reporter.entry.js +29 -26
  602. package/dist/esm/cs-41ed0d89.js +147 -0
  603. package/dist/esm/da-a8c74a48.js +67 -0
  604. package/dist/esm/date-45f24c42.js +248 -0
  605. package/dist/esm/de-9a636f1a.js +91 -0
  606. package/dist/esm/de-at-26352836.js +90 -0
  607. package/dist/esm/de-ch-25495449.js +90 -0
  608. package/dist/esm/deduct-calculator.entry.js +2 -2
  609. package/dist/esm/dom-b5c50286.js +1180 -0
  610. package/dist/esm/downloadUtils-74bc82ae.js +3156 -0
  611. package/dist/esm/el-82ffddec.js +66 -0
  612. package/dist/esm/en-au-0f081a3c.js +66 -0
  613. package/dist/esm/en-ca-f04aeac2.js +65 -0
  614. package/dist/esm/en-gb-81e968d6.js +69 -0
  615. package/dist/esm/es-e058977a.js +66 -0
  616. package/dist/esm/es-mx-14a1f320.js +65 -0
  617. package/dist/esm/et-4a06c642.js +92 -0
  618. package/dist/esm/feature-comments.entry.js +2 -2
  619. package/dist/esm/feature-form-flow-item.entry.js +2 -2
  620. package/dist/esm/feature-list.entry.js +58 -14
  621. package/dist/esm/features-flow-item.entry.js +2 -2
  622. package/dist/esm/fi-9673a0e6.js +115 -0
  623. package/dist/esm/filter-23b3858b.js +775 -0
  624. package/dist/esm/floating-ui-ba0acfca.js +2365 -0
  625. package/dist/esm/focusTrapComponent-6ec0f681.js +1013 -0
  626. package/dist/esm/form-ba965042.js +372 -0
  627. package/dist/esm/fr-94ff7253.js +68 -0
  628. package/dist/esm/fr-ch-00b7e60e.js +66 -0
  629. package/dist/esm/guid-4c746a7f.js +24 -0
  630. package/dist/esm/he-faefbd69.js +105 -0
  631. package/dist/esm/helpers-3be8dbbc.js +913 -0
  632. package/dist/esm/hi-923b9ffd.js +65 -0
  633. package/dist/esm/hr-6ed6939b.js +80 -0
  634. package/dist/esm/hu-25918d1e.js +88 -0
  635. package/dist/esm/id-520427a1.js +66 -0
  636. package/dist/esm/index-2c724afd.js +199 -0
  637. package/dist/esm/index-87ec7c0a.js +71 -0
  638. package/dist/esm/index-ad182a71.js +125 -0
  639. package/dist/esm/index-b793d9aa.js +1748 -0
  640. package/dist/esm/index-f5d562b1.js +60 -0
  641. package/dist/esm/index-f8c935d6.js +12 -0
  642. package/dist/esm/index.es-40ce1695.js +11230 -0
  643. package/dist/esm/input-d11f5ac8.js +58 -0
  644. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
  645. package/dist/esm/instant-apps-control-panel.entry.js +3 -3
  646. package/dist/esm/instant-apps-create.entry.js +5 -5
  647. package/dist/esm/instant-apps-export-views.entry.js +5 -5
  648. package/dist/esm/instant-apps-export.entry.js +5 -5
  649. package/dist/esm/instant-apps-header.entry.js +3 -3
  650. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
  651. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
  652. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
  653. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
  654. package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
  655. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
  656. package/dist/esm/instant-apps-landing-page.entry.js +9 -11
  657. package/dist/esm/instant-apps-language-switcher.entry.js +15 -15
  658. package/dist/esm/instant-apps-language-translator.entry.js +15 -15
  659. package/dist/esm/instant-apps-measurement.entry.js +5 -5
  660. package/dist/esm/instant-apps-popover.entry.js +5 -5
  661. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  662. package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
  663. package/dist/esm/instant-apps-sign-in.entry.js +39 -54
  664. package/dist/esm/instant-apps-splash.entry.js +5 -5
  665. package/dist/esm/instant-apps-time-filter.entry.js +6 -6
  666. package/dist/esm/interactive-742ba555.js +162 -0
  667. package/dist/esm/it-7751f7dc.js +66 -0
  668. package/dist/esm/it-ch-cec3226b.js +66 -0
  669. package/dist/esm/ja-1df4233a.js +72 -0
  670. package/dist/esm/key-58898f0a.js +16 -0
  671. package/dist/esm/ko-a104769f.js +72 -0
  672. package/dist/esm/label-0b82858a.js +179 -0
  673. package/dist/esm/languageUtil-2b6e191a.js +66 -0
  674. package/dist/esm/layout-manager.entry.js +4 -4
  675. package/dist/esm/list-flow-item.entry.js +2 -2
  676. package/dist/esm/loadModules-03ba7abe.js +21 -0
  677. package/dist/esm/loadable-73f289b6.js +93 -0
  678. package/dist/esm/loader.js +7 -7
  679. package/dist/esm/locale-21e40b0c.js +591 -0
  680. package/dist/esm/locale-adb5ff0b.js +115 -0
  681. package/dist/esm/locale-b1d53fb1.js +155 -0
  682. package/dist/esm/location-flow-item.entry.js +2 -2
  683. package/dist/esm/logger-0d6e5bfe.js +59 -0
  684. package/dist/esm/lt-747213da.js +97 -0
  685. package/dist/esm/lv-06088b99.js +66 -0
  686. package/dist/esm/map-select-tools_3.entry.js +11 -10
  687. package/dist/esm/math-8c04292e.js +54 -0
  688. package/dist/esm/mk-5f581ea0.js +66 -0
  689. package/dist/esm/nb-f9d01bec.js +67 -0
  690. package/dist/esm/nl-48b9338d.js +67 -0
  691. package/dist/esm/observers-e2484555.js +56 -0
  692. package/dist/esm/openCloseComponent-7b8f2e24.js +63 -0
  693. package/dist/esm/pci-calculator.entry.js +2 -2
  694. package/dist/esm/pl-2ff50be7.js +114 -0
  695. package/dist/esm/popupUtils-00c655fb.js +119 -0
  696. package/dist/esm/pt-br-45ae496b.js +65 -0
  697. package/dist/esm/pt-ed25c80b.js +67 -0
  698. package/dist/esm/public-notification.entry.js +7 -7
  699. package/dist/esm/publicNotificationStore-7b0b97b6.js +45 -0
  700. package/dist/esm/refine-results-flow-item.entry.js +2 -2
  701. package/dist/esm/resources-2d6e35cf.js +20 -0
  702. package/dist/esm/resources-30b747d4.js +23 -0
  703. package/dist/esm/resources-5ba50a1d.js +19 -0
  704. package/dist/esm/resources-64237427.js +63 -0
  705. package/dist/esm/resources-8665df6b.js +62 -0
  706. package/dist/esm/resources-896b6b00.js +35 -0
  707. package/dist/esm/resources-8f90cf93.js +22 -0
  708. package/dist/esm/resources-bc5c2adb.js +21 -0
  709. package/dist/esm/resources-cfbcc1ed.js +24 -0
  710. package/dist/esm/resources-defbb49f.js +34 -0
  711. package/dist/esm/ro-c5727d93.js +66 -0
  712. package/dist/esm/ru-ecb35906.js +126 -0
  713. package/dist/esm/share-item.entry.js +2 -2
  714. package/dist/esm/shared-list-render-4053f1dc.js +339 -0
  715. package/dist/esm/sk-e9c31458.js +148 -0
  716. package/dist/esm/sl-063df216.js +168 -0
  717. package/dist/esm/solution-configuration.entry.js +8 -8
  718. package/dist/esm/solution-contents_3.entry.js +8 -8
  719. package/dist/esm/solution-store-61fd39ea.js +1351 -0
  720. package/dist/esm/solutions-components.js +8 -8
  721. package/dist/esm/sortableComponent-3f9e9322.js +2745 -0
  722. package/dist/esm/spatial-ref.entry.js +4 -4
  723. package/dist/esm/sr-68f70e45.js +101 -0
  724. package/dist/esm/store-manager.entry.js +3 -3
  725. package/dist/esm/sv-b5a85ee5.js +71 -0
  726. package/dist/esm/t9n-2fb3af62.js +103 -0
  727. package/dist/esm/th-3a5ed31b.js +65 -0
  728. package/dist/esm/time-a215e415.js +286 -0
  729. package/dist/esm/time-zones-211c88e3.js +365 -0
  730. package/dist/esm/tr-b8829177.js +66 -0
  731. package/dist/esm/uk-c74df043.js +104 -0
  732. package/dist/esm/utils-13c5908e.js +65 -0
  733. package/dist/esm/utils-1f0d1828.js +2274 -0
  734. package/dist/esm/utils-5b977646.js +121 -0
  735. package/dist/esm/vi-a5092b10.js +70 -0
  736. package/dist/esm/zh-cn-f1e998fb.js +94 -0
  737. package/dist/esm/zh-hk-3ec32fe3.js +92 -0
  738. package/dist/esm/zh-tw-33f4a290.js +92 -0
  739. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +85 -0
  740. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +240 -0
  741. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +320 -0
  742. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +91 -0
  743. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +116 -0
  744. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +78 -0
  745. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +105 -0
  746. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +428 -0
  747. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
  748. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +338 -0
  749. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +156 -0
  750. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +802 -0
  751. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +339 -0
  752. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +73 -0
  753. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +330 -0
  754. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +45 -0
  755. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +179 -0
  756. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +501 -0
  757. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +78 -0
  758. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +256 -0
  759. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
  760. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
  761. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +455 -0
  762. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +248 -0
  763. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
  764. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
  765. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +294 -0
  766. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +96 -0
  767. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
  768. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +338 -0
  769. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +141 -0
  770. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
  771. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +199 -0
  772. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +76 -0
  773. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +140 -0
  774. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
  775. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +94 -0
  776. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
  777. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +102 -0
  778. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +74 -0
  779. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +93 -0
  780. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +650 -0
  781. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +295 -0
  782. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +92 -0
  783. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +504 -0
  784. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +417 -0
  785. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +125 -0
  786. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +75 -0
  787. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +138 -0
  788. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +152 -0
  789. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +106 -0
  790. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +348 -0
  791. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +79 -0
  792. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +301 -0
  793. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
  794. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
  795. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +187 -0
  796. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
  797. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
  798. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +137 -0
  799. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
  800. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +288 -0
  801. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
  802. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
  803. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +151 -0
  804. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +364 -0
  805. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +96 -0
  806. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
  807. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +183 -0
  808. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +199 -0
  809. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
  810. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +168 -0
  811. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +96 -0
  812. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +182 -0
  813. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
  814. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +120 -0
  815. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +179 -0
  816. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +252 -0
  817. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
  818. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +209 -0
  819. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
  820. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +394 -0
  821. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +395 -0
  822. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +72 -0
  823. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +192 -0
  824. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +116 -0
  825. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +150 -0
  826. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +479 -0
  827. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +188 -0
  828. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +105 -0
  829. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +158 -0
  830. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +422 -0
  831. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +135 -0
  832. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +170 -0
  833. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +154 -0
  834. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +82 -0
  835. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +101 -0
  836. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +300 -0
  837. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +297 -0
  838. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +86 -0
  839. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +239 -0
  840. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +68 -0
  841. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
  842. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
  843. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
  844. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
  845. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +121 -0
  846. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
  847. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +338 -0
  848. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +109 -0
  849. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +125 -0
  850. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
  851. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-create/instant-apps-create.css +150 -0
  852. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +92 -0
  853. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export-views/instant-apps-export-views.css +92 -0
  854. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +108 -0
  855. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +180 -0
  856. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
  857. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
  858. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
  859. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
  860. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
  861. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
  862. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
  863. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
  864. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
  865. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
  866. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
  867. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +228 -0
  868. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
  869. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
  870. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +90 -0
  871. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
  872. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
  873. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
  874. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
  875. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
  876. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
  877. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
  878. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +90 -0
  879. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +286 -0
  880. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +13 -0
  881. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-time-filter/instant-apps-time-filter.css +42 -0
  882. package/dist/solutions-components/assets/dialog/t9n/index.d.ts +2 -0
  883. package/dist/solutions-components/assets/dialog/t9n/messages.json +3 -1
  884. package/dist/solutions-components/assets/dialog/t9n/messages_en.json +3 -1
  885. package/dist/solutions-components/assets/icon/closedCaption16.json +1 -0
  886. package/dist/solutions-components/assets/icon/closedCaption16F.json +1 -0
  887. package/dist/solutions-components/assets/icon/closedCaption24.json +1 -0
  888. package/dist/solutions-components/assets/icon/closedCaption24F.json +1 -0
  889. package/dist/solutions-components/assets/icon/closedCaption32.json +1 -0
  890. package/dist/solutions-components/assets/icon/closedCaption32F.json +1 -0
  891. package/dist/solutions-components/assets/icon/flag16.json +1 -0
  892. package/dist/solutions-components/assets/icon/flag16F.json +1 -0
  893. package/dist/solutions-components/assets/icon/flag24.json +1 -0
  894. package/dist/solutions-components/assets/icon/flag24F.json +1 -0
  895. package/dist/solutions-components/assets/icon/flag32.json +1 -0
  896. package/dist/solutions-components/assets/icon/flag32F.json +1 -0
  897. package/dist/solutions-components/assets/icon/flagSlash16.json +1 -0
  898. package/dist/solutions-components/assets/icon/flagSlash24.json +1 -0
  899. package/dist/solutions-components/assets/icon/flagSlash32.json +1 -0
  900. package/dist/solutions-components/assets/icon/layerConnection16.json +1 -0
  901. package/dist/solutions-components/assets/icon/layerConnection24.json +1 -0
  902. package/dist/solutions-components/assets/icon/layerConnection32.json +1 -0
  903. package/dist/solutions-components/assets/icon/transcript16.json +1 -0
  904. package/dist/solutions-components/assets/icon/transcript16F.json +1 -0
  905. package/dist/solutions-components/assets/icon/transcript24.json +1 -0
  906. package/dist/solutions-components/assets/icon/transcript24F.json +1 -0
  907. package/dist/solutions-components/assets/icon/transcript32.json +1 -0
  908. package/dist/solutions-components/assets/icon/transcript32F.json +1 -0
  909. package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +261 -0
  910. package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +262 -1
  911. package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +262 -1
  912. package/dist/solutions-components/demos/crowdsource-reporter.html +11 -3
  913. package/dist/solutions-components/p-0005175a.js +16 -0
  914. package/dist/solutions-components/p-004d601f.entry.js +6 -0
  915. package/dist/solutions-components/p-00d131cd.entry.js +11 -0
  916. package/dist/solutions-components/p-013188f8.entry.js +6 -0
  917. package/dist/solutions-components/p-01df774b.js +11 -0
  918. package/dist/solutions-components/p-0215daed.js +6 -0
  919. package/dist/solutions-components/p-022c49af.js +489 -0
  920. package/dist/solutions-components/p-04f09e7f.entry.js +11 -0
  921. package/dist/solutions-components/p-0558fbc7.js +143 -0
  922. package/dist/solutions-components/p-05b7d3ce.js +6 -0
  923. package/dist/solutions-components/p-06084e6c.js +11 -0
  924. package/dist/solutions-components/p-064e43e0.entry.js +6 -0
  925. package/dist/solutions-components/p-089bc565.js +11 -0
  926. package/dist/solutions-components/p-0fe5de6b.entry.js +6 -0
  927. package/dist/solutions-components/p-1061076b.js +6 -0
  928. package/dist/solutions-components/p-14fbc662.js +11 -0
  929. package/dist/solutions-components/p-1500d4c7.js +6 -0
  930. package/dist/solutions-components/p-15622ace.entry.js +11 -0
  931. package/dist/solutions-components/p-16d4eb72.entry.js +16 -0
  932. package/dist/solutions-components/p-172fcecd.entry.js +11 -0
  933. package/dist/solutions-components/p-1892c357.js +11 -0
  934. package/dist/solutions-components/p-18f18ab3.js +11 -0
  935. package/dist/solutions-components/p-1900269a.entry.js +6 -0
  936. package/dist/solutions-components/p-19a942c4.entry.js +16 -0
  937. package/dist/solutions-components/p-1a9a47a0.js +11 -0
  938. package/dist/solutions-components/p-1bbe9e22.js +6 -0
  939. package/dist/solutions-components/p-1d71e81f.js +11 -0
  940. package/dist/solutions-components/p-1d99dfcd.entry.js +11 -0
  941. package/dist/solutions-components/p-1e455668.js +6 -0
  942. package/dist/solutions-components/p-1ed47f10.entry.js +21 -0
  943. package/dist/solutions-components/p-2058b5d9.js +36 -0
  944. package/dist/solutions-components/p-207b4e70.entry.js +11 -0
  945. package/dist/solutions-components/p-24997e81.js +6 -0
  946. package/dist/solutions-components/p-25a1fe4d.js +6 -0
  947. package/dist/solutions-components/p-25c584f4.entry.js +17 -0
  948. package/dist/solutions-components/p-26eb6f09.js +6 -0
  949. package/dist/solutions-components/p-274cad02.entry.js +6 -0
  950. package/dist/solutions-components/p-2ab773ed.js +6 -0
  951. package/dist/solutions-components/p-2c423f9c.js +6 -0
  952. package/dist/solutions-components/p-2d1afda0.entry.js +17 -0
  953. package/dist/solutions-components/p-2ed8e994.entry.js +17 -0
  954. package/dist/solutions-components/p-3110db7a.entry.js +6 -0
  955. package/dist/solutions-components/p-31f7dd8e.entry.js +6 -0
  956. package/dist/solutions-components/p-32be7387.js +6 -0
  957. package/dist/solutions-components/p-336b8f46.js +6 -0
  958. package/dist/solutions-components/p-371dbb0f.entry.js +6 -0
  959. package/dist/solutions-components/p-388725c2.entry.js +6 -0
  960. package/dist/solutions-components/p-3917c6f8.entry.js +11 -0
  961. package/dist/solutions-components/p-3a74aab6.entry.js +6 -0
  962. package/dist/solutions-components/p-3c1945a9.js +6 -0
  963. package/dist/solutions-components/p-3d0666fe.js +6 -0
  964. package/dist/solutions-components/p-3d6b18ec.entry.js +11 -0
  965. package/dist/solutions-components/p-3df511e0.entry.js +6 -0
  966. package/dist/solutions-components/p-3eff6da3.js +11 -0
  967. package/dist/solutions-components/p-3f9238e9.entry.js +11 -0
  968. package/dist/solutions-components/p-40724bfb.js +11 -0
  969. package/dist/solutions-components/p-40d7e510.js +6 -0
  970. package/dist/solutions-components/p-415cf05e.js +12 -0
  971. package/dist/solutions-components/p-4216af0e.js +6 -0
  972. package/dist/solutions-components/p-42a8493c.entry.js +6 -0
  973. package/dist/solutions-components/p-44240d03.js +18 -0
  974. package/dist/solutions-components/p-4514dc6f.entry.js +11 -0
  975. package/dist/solutions-components/p-47f6f996.entry.js +6 -0
  976. package/dist/solutions-components/p-49118e69.js +6 -0
  977. package/dist/solutions-components/p-4a0d9efe.entry.js +6 -0
  978. package/dist/solutions-components/p-4cd4cb85.js +6 -0
  979. package/dist/solutions-components/p-4de4fff6.entry.js +6 -0
  980. package/dist/solutions-components/p-4f06e105.entry.js +11 -0
  981. package/dist/solutions-components/p-4f074a84.entry.js +11 -0
  982. package/dist/solutions-components/p-4f474f64.js +6 -0
  983. package/dist/solutions-components/p-4fc5ab17.js +6 -0
  984. package/dist/solutions-components/p-51270f04.entry.js +6 -0
  985. package/dist/solutions-components/p-52576649.entry.js +17 -0
  986. package/dist/solutions-components/p-534cd147.js +6 -0
  987. package/dist/solutions-components/p-544cd7fd.entry.js +11 -0
  988. package/dist/solutions-components/p-56601650.js +11 -0
  989. package/dist/solutions-components/p-569ccf2c.entry.js +11 -0
  990. package/dist/solutions-components/p-56b9dc0d.entry.js +11 -0
  991. package/dist/solutions-components/p-580a4537.js +11 -0
  992. package/dist/solutions-components/p-58405b19.entry.js +11 -0
  993. package/dist/solutions-components/p-5c1366f7.entry.js +11 -0
  994. package/dist/solutions-components/p-5cca7ef7.entry.js +17 -0
  995. package/dist/solutions-components/p-5dcec135.js +21 -0
  996. package/dist/solutions-components/p-5ee4ba5c.js +6 -0
  997. package/dist/solutions-components/p-6070857c.js +6 -0
  998. package/dist/solutions-components/p-61f47dfa.entry.js +11 -0
  999. package/dist/solutions-components/p-621e306e.js +6 -0
  1000. package/dist/solutions-components/p-62c6764c.js +6 -0
  1001. package/dist/solutions-components/p-66be22db.entry.js +11 -0
  1002. package/dist/solutions-components/p-682d053f.entry.js +6 -0
  1003. package/dist/solutions-components/p-68ec5c15.js +17 -0
  1004. package/dist/solutions-components/p-6d6c3d56.js +6 -0
  1005. package/dist/solutions-components/p-6eb37ed2.js +7 -0
  1006. package/dist/solutions-components/p-6f253995.js +61 -0
  1007. package/dist/solutions-components/p-6fb5c228.entry.js +11 -0
  1008. package/dist/solutions-components/p-70b46ea4.js +6 -0
  1009. package/dist/solutions-components/p-712269bc.entry.js +29 -0
  1010. package/dist/solutions-components/p-720a12c0.js +6 -0
  1011. package/dist/solutions-components/p-7324cb9f.js +6 -0
  1012. package/dist/solutions-components/p-7699e80b.js +11 -0
  1013. package/dist/solutions-components/p-7987d73b.entry.js +6 -0
  1014. package/dist/solutions-components/p-7a61d771.entry.js +11 -0
  1015. package/dist/solutions-components/p-7b0b9681.js +6 -0
  1016. package/dist/solutions-components/p-7b68d1ea.js +6 -0
  1017. package/dist/solutions-components/p-7bfecd07.js +6 -0
  1018. package/dist/solutions-components/p-7c00971f.js +6 -0
  1019. package/dist/solutions-components/p-7ca6f4d5.entry.js +6 -0
  1020. package/dist/solutions-components/p-7d32b6a4.entry.js +11 -0
  1021. package/dist/solutions-components/p-7d484762.entry.js +6 -0
  1022. package/dist/solutions-components/p-7eb5d31a.js +6 -0
  1023. package/dist/solutions-components/p-81790f41.js +6 -0
  1024. package/dist/solutions-components/p-8208ba6c.entry.js +6 -0
  1025. package/dist/solutions-components/p-8241cd35.js +11 -0
  1026. package/dist/solutions-components/p-83786108.js +6 -0
  1027. package/dist/solutions-components/p-84a049f7.entry.js +6 -0
  1028. package/dist/solutions-components/p-8524bacc.js +11 -0
  1029. package/dist/solutions-components/p-86d877d8.entry.js +17 -0
  1030. package/dist/solutions-components/p-89195780.entry.js +29 -0
  1031. package/dist/solutions-components/p-8a177acd.entry.js +11 -0
  1032. package/dist/solutions-components/p-8c2d05c1.js +6 -0
  1033. package/dist/solutions-components/p-8ce7e559.entry.js +11 -0
  1034. package/dist/solutions-components/p-8d576a9a.js +6 -0
  1035. package/dist/solutions-components/p-8df67871.entry.js +11 -0
  1036. package/dist/solutions-components/p-8f07cef3.entry.js +11 -0
  1037. package/dist/solutions-components/p-8f0ee4b0.js +17 -0
  1038. package/dist/solutions-components/p-8f218bfe.entry.js +11 -0
  1039. package/dist/solutions-components/p-900fee65.js +21 -0
  1040. package/dist/solutions-components/p-92baaf77.entry.js +11 -0
  1041. package/dist/solutions-components/p-939bc1b4.js +16 -0
  1042. package/dist/solutions-components/p-93fd86cd.entry.js +6 -0
  1043. package/dist/solutions-components/p-960baebc.entry.js +6 -0
  1044. package/dist/solutions-components/p-969008d8.entry.js +6 -0
  1045. package/dist/solutions-components/p-97331a60.entry.js +12 -0
  1046. package/dist/solutions-components/p-976ad17d.entry.js +6 -0
  1047. package/dist/solutions-components/p-99af3f50.js +6 -0
  1048. package/dist/solutions-components/p-9ab3df4f.js +11 -0
  1049. package/dist/solutions-components/p-9d0528ac.js +6 -0
  1050. package/dist/solutions-components/p-9dc4186e.entry.js +11 -0
  1051. package/dist/solutions-components/p-9ec1aa8c.js +6 -0
  1052. package/dist/solutions-components/p-9f0b8f8b.js +11 -0
  1053. package/dist/solutions-components/p-9f574f86.entry.js +6 -0
  1054. package/dist/solutions-components/p-9f63a45c.js +11 -0
  1055. package/dist/solutions-components/p-9f8b30b5.entry.js +11 -0
  1056. package/dist/solutions-components/p-a0db88ed.js +6 -0
  1057. package/dist/solutions-components/p-a2246051.entry.js +17 -0
  1058. package/dist/solutions-components/p-a432f638.entry.js +6 -0
  1059. package/dist/solutions-components/p-a474882d.js +6 -0
  1060. package/dist/solutions-components/p-a5609b81.js +11 -0
  1061. package/dist/solutions-components/p-a6935ddf.js +6 -0
  1062. package/dist/solutions-components/p-a6aba7d4.entry.js +6 -0
  1063. package/dist/solutions-components/p-a72f5cc6.js +6 -0
  1064. package/dist/solutions-components/p-a84b3d50.js +6 -0
  1065. package/dist/solutions-components/p-a858460b.entry.js +47 -0
  1066. package/dist/solutions-components/p-a94a0072.js +6 -0
  1067. package/dist/solutions-components/p-a957cdd8.entry.js +11 -0
  1068. package/dist/solutions-components/p-aa0ac2d2.js +16 -0
  1069. package/dist/solutions-components/p-aa3140aa.entry.js +6 -0
  1070. package/dist/solutions-components/p-aa71106f.entry.js +11 -0
  1071. package/dist/solutions-components/p-abd3e579.entry.js +6 -0
  1072. package/dist/solutions-components/p-ac122d9e.js +6 -0
  1073. package/dist/solutions-components/p-ac52e0ba.js +11 -0
  1074. package/dist/solutions-components/p-acaae81d.js +11 -0
  1075. package/dist/solutions-components/p-aeb86188.js +11 -0
  1076. package/dist/solutions-components/p-afcd5996.js +11 -0
  1077. package/dist/solutions-components/p-b12af1e0.entry.js +17 -0
  1078. package/dist/solutions-components/p-b1bc21ac.js +11 -0
  1079. package/dist/solutions-components/p-b39c5275.js +11 -0
  1080. package/dist/solutions-components/p-b3f2bb6f.js +6 -0
  1081. package/dist/solutions-components/p-b448a7a7.js +6 -0
  1082. package/dist/solutions-components/p-b5963a0f.js +6 -0
  1083. package/dist/solutions-components/p-b7c200a0.entry.js +12 -0
  1084. package/dist/solutions-components/p-b8eee32e.js +6 -0
  1085. package/dist/solutions-components/p-bb9ac684.entry.js +6 -0
  1086. package/dist/solutions-components/p-bc0aaf2f.entry.js +11 -0
  1087. package/dist/solutions-components/p-bc14b643.entry.js +12 -0
  1088. package/dist/solutions-components/p-bc1d8894.js +11 -0
  1089. package/dist/solutions-components/p-bc33d298.js +6 -0
  1090. package/dist/solutions-components/p-bcc79697.js +11 -0
  1091. package/dist/solutions-components/p-beb23ced.entry.js +6 -0
  1092. package/dist/solutions-components/p-bef2141e.entry.js +6 -0
  1093. package/dist/solutions-components/p-bfa395e9.js +6 -0
  1094. package/dist/solutions-components/p-c2964e00.entry.js +11 -0
  1095. package/dist/solutions-components/p-c5e13ebc.js +11 -0
  1096. package/dist/solutions-components/p-c638d28e.js +11 -0
  1097. package/dist/solutions-components/p-c71745d0.entry.js +6 -0
  1098. package/dist/solutions-components/p-c7bfe120.entry.js +6 -0
  1099. package/dist/solutions-components/p-c7e2d3e6.entry.js +6 -0
  1100. package/dist/solutions-components/p-c89f1175.entry.js +11 -0
  1101. package/dist/solutions-components/p-c8b149b8.entry.js +6 -0
  1102. package/dist/solutions-components/p-c911c46d.entry.js +11 -0
  1103. package/dist/solutions-components/p-c9260b4c.entry.js +6 -0
  1104. package/dist/solutions-components/p-c9a45311.entry.js +6 -0
  1105. package/dist/solutions-components/p-ca3430fd.entry.js +21 -0
  1106. package/dist/solutions-components/p-ca65d7ff.entry.js +12 -0
  1107. package/dist/solutions-components/p-cabc6e5c.entry.js +17 -0
  1108. package/dist/solutions-components/p-cb5ddaae.js +6 -0
  1109. package/dist/solutions-components/p-cb5de432.entry.js +11 -0
  1110. package/dist/solutions-components/p-cde8d6e5.entry.js +11 -0
  1111. package/dist/solutions-components/p-d301b8fd.js +6 -0
  1112. package/dist/solutions-components/p-d3453ce8.entry.js +6 -0
  1113. package/dist/solutions-components/p-d4d4b4e3.entry.js +6 -0
  1114. package/dist/solutions-components/p-d4e58347.entry.js +6 -0
  1115. package/dist/solutions-components/p-d52da3ad.js +6 -0
  1116. package/dist/solutions-components/p-d559f79c.js +11 -0
  1117. package/dist/solutions-components/p-d5dae468.js +6 -0
  1118. package/dist/solutions-components/p-d62336e2.entry.js +6 -0
  1119. package/dist/solutions-components/p-d6e62ea2.js +6 -0
  1120. package/dist/solutions-components/p-da713b07.entry.js +6 -0
  1121. package/dist/solutions-components/p-da9cee72.entry.js +11 -0
  1122. package/dist/solutions-components/p-dc58c4da.entry.js +6 -0
  1123. package/dist/solutions-components/p-dc7710b5.js +11 -0
  1124. package/dist/solutions-components/p-dd3530da.entry.js +11 -0
  1125. package/dist/solutions-components/p-de02a060.entry.js +11 -0
  1126. package/dist/solutions-components/p-de197552.js +6 -0
  1127. package/dist/solutions-components/p-df191993.entry.js +11 -0
  1128. package/dist/solutions-components/p-e1917512.js +6 -0
  1129. package/dist/solutions-components/p-e33e07a4.entry.js +11 -0
  1130. package/dist/solutions-components/p-e83d2d34.entry.js +24 -0
  1131. package/dist/solutions-components/p-e98c4f93.js +11 -0
  1132. package/dist/solutions-components/p-ead8696c.js +16 -0
  1133. package/dist/solutions-components/p-ec702c30.entry.js +11 -0
  1134. package/dist/solutions-components/p-ed60dff0.entry.js +11 -0
  1135. package/dist/solutions-components/p-ed7cba2a.entry.js +11 -0
  1136. package/dist/solutions-components/p-ee157540.entry.js +22 -0
  1137. package/dist/solutions-components/p-eeaa122b.entry.js +11 -0
  1138. package/dist/solutions-components/p-ef4f2c1d.entry.js +6 -0
  1139. package/dist/solutions-components/p-f0345689.entry.js +16 -0
  1140. package/dist/solutions-components/p-f25d5c18.entry.js +6 -0
  1141. package/dist/solutions-components/p-f31a44b7.js +11 -0
  1142. package/dist/solutions-components/p-f32f57a3.entry.js +6 -0
  1143. package/dist/solutions-components/p-f47d6a10.entry.js +11 -0
  1144. package/dist/solutions-components/p-f69ca69c.js +6 -0
  1145. package/dist/solutions-components/p-f7d3ef3e.entry.js +6 -0
  1146. package/dist/solutions-components/p-f89104bc.entry.js +6 -0
  1147. package/dist/solutions-components/p-f91ae108.entry.js +6 -0
  1148. package/dist/solutions-components/p-f9393949.entry.js +6 -0
  1149. package/dist/solutions-components/p-fc58da4b.entry.js +6 -0
  1150. package/dist/solutions-components/p-fce978b9.entry.js +6 -0
  1151. package/dist/solutions-components/p-fe6f7734.js +11 -0
  1152. package/dist/solutions-components/p-ff8343ec.js +11 -0
  1153. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1154. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -1
  1155. package/dist/types/components/buffer-tools/buffer-tools.d.ts +0 -2
  1156. package/dist/types/components/card-manager/card-manager.d.ts +0 -1
  1157. package/dist/types/components/consent-manager/consent-manager.d.ts +0 -1
  1158. package/dist/types/components/create-feature/create-feature.d.ts +37 -2
  1159. package/dist/types/components/create-related-feature/create-related-feature.d.ts +0 -1
  1160. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -1
  1161. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +10 -6
  1162. package/dist/types/components/delete-button/delete-button.d.ts +0 -1
  1163. package/dist/types/components/edit-card/edit-card.d.ts +0 -1
  1164. package/dist/types/components/feature-details/feature-details.d.ts +4 -1
  1165. package/dist/types/components/feature-list/feature-list.d.ts +18 -2
  1166. package/dist/types/components/floor-filter/floor-filter.d.ts +0 -1
  1167. package/dist/types/components/info-card/info-card.d.ts +0 -1
  1168. package/dist/types/components/layer-list/layer-list.d.ts +0 -1
  1169. package/dist/types/components/layer-table/layer-table.d.ts +0 -1
  1170. package/dist/types/components/map-card/map-card.d.ts +0 -1
  1171. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +0 -1
  1172. package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +0 -1
  1173. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +0 -1
  1174. package/dist/types/components/map-legend/map-legend.d.ts +0 -1
  1175. package/dist/types/components/map-search/map-search.d.ts +0 -1
  1176. package/dist/types/components/map-select-tools/map-select-tools.d.ts +0 -1
  1177. package/dist/types/components/map-tools/map-tools.d.ts +0 -1
  1178. package/dist/types/components/pdf-download/pdf-download.d.ts +0 -1
  1179. package/dist/types/components/public-notification/public-notification.d.ts +0 -1
  1180. package/dist/types/components/refine-selection/refine-selection.d.ts +0 -1
  1181. package/dist/types/components.d.ts +37 -0
  1182. package/dist/types/preact.d.ts +5 -5
  1183. package/dist/types/utils/downloadUtils.d.ts +0 -1
  1184. package/dist/types/utils/interfaces.d.ts +0 -1
  1185. package/dist/types/utils/mapViewUtils.d.ts +0 -1
  1186. package/dist/types/utils/popupUtils.d.ts +0 -1
  1187. package/dist/types/utils/queryUtils.d.ts +0 -1
  1188. package/package.json +7 -7
  1189. package/dist/cjs/ExpandToggle-9cf51aba.js +0 -115
  1190. package/dist/cjs/FloatingArrow-f78d627c.js +0 -48
  1191. package/dist/cjs/Heading-5b274572.js +0 -25
  1192. package/dist/cjs/Validation-a9d22fb7.js +0 -20
  1193. package/dist/cjs/app-globals-62e0da30.js +0 -67
  1194. package/dist/cjs/ar-67bbaacf.js +0 -107
  1195. package/dist/cjs/array-67eea0ed.js +0 -17
  1196. package/dist/cjs/bg-52d767e3.js +0 -85
  1197. package/dist/cjs/browser-02cbd1d9.js +0 -35
  1198. package/dist/cjs/bs-abb7a3ee.js +0 -54
  1199. package/dist/cjs/ca-2618e485.js +0 -74
  1200. package/dist/cjs/calcite-avatar_2.cjs.entry.js +0 -239
  1201. package/dist/cjs/calcite-input-time-picker-be5ad250.js +0 -1863
  1202. package/dist/cjs/component-9d0efa36.js +0 -33
  1203. package/dist/cjs/conditionalSlot-fe01e316.js +0 -54
  1204. package/dist/cjs/config-6a670c0d.js +0 -41
  1205. package/dist/cjs/cs-9566238a.js +0 -150
  1206. package/dist/cjs/da-86f2f759.js +0 -70
  1207. package/dist/cjs/date-163d7302.js +0 -264
  1208. package/dist/cjs/de-at-90927f4b.js +0 -93
  1209. package/dist/cjs/de-ch-7185b180.js +0 -93
  1210. package/dist/cjs/de-e7327417.js +0 -94
  1211. package/dist/cjs/dom-63b93b3b.js +0 -1212
  1212. package/dist/cjs/downloadUtils-60ee99e0.js +0 -3163
  1213. package/dist/cjs/el-ee1c6246.js +0 -69
  1214. package/dist/cjs/en-au-c245e1fa.js +0 -69
  1215. package/dist/cjs/en-ca-44552f66.js +0 -68
  1216. package/dist/cjs/en-gb-cf4bdbbf.js +0 -72
  1217. package/dist/cjs/es-e27b3455.js +0 -69
  1218. package/dist/cjs/es-mx-d5455d49.js +0 -68
  1219. package/dist/cjs/et-521fe75e.js +0 -95
  1220. package/dist/cjs/fi-ba5f1240.js +0 -118
  1221. package/dist/cjs/filter-adc5c5aa.js +0 -778
  1222. package/dist/cjs/floating-ui-1ef64f13.js +0 -2362
  1223. package/dist/cjs/focusTrapComponent-1881eaf7.js +0 -1018
  1224. package/dist/cjs/form-4c0bbbe5.js +0 -381
  1225. package/dist/cjs/fr-014e6869.js +0 -71
  1226. package/dist/cjs/fr-ch-9174a431.js +0 -69
  1227. package/dist/cjs/guid-4bc1bc0f.js +0 -26
  1228. package/dist/cjs/he-ac6a1230.js +0 -108
  1229. package/dist/cjs/helpers-6f7660d4.js +0 -940
  1230. package/dist/cjs/hi-b605b081.js +0 -68
  1231. package/dist/cjs/hr-1f50021e.js +0 -83
  1232. package/dist/cjs/hu-0dbb012b.js +0 -91
  1233. package/dist/cjs/id-be5cad02.js +0 -69
  1234. package/dist/cjs/index-696e53e6.js +0 -1756
  1235. package/dist/cjs/index-a0cca96e.js +0 -201
  1236. package/dist/cjs/index-c0ee2715.js +0 -206
  1237. package/dist/cjs/index.es-38913dfa.js +0 -11317
  1238. package/dist/cjs/input-2d5a669d.js +0 -60
  1239. package/dist/cjs/interactive-272b8484.js +0 -169
  1240. package/dist/cjs/it-2d267c40.js +0 -69
  1241. package/dist/cjs/it-ch-7e63ab0d.js +0 -69
  1242. package/dist/cjs/ja-f84367c9.js +0 -75
  1243. package/dist/cjs/key-e4dd32ff.js +0 -19
  1244. package/dist/cjs/ko-3b4ea66e.js +0 -75
  1245. package/dist/cjs/label-afda7da7.js +0 -186
  1246. package/dist/cjs/languageSwitcher-f0bb94fa.js +0 -60
  1247. package/dist/cjs/languageUtil-f22ce913.js +0 -69
  1248. package/dist/cjs/loadModules-36d49819.js +0 -23
  1249. package/dist/cjs/loadable-ef8f0acf.js +0 -98
  1250. package/dist/cjs/locale-239118c6.js +0 -120
  1251. package/dist/cjs/locale-2dc1252d.js +0 -160
  1252. package/dist/cjs/locale-428354f0.js +0 -584
  1253. package/dist/cjs/logger-bb2cd9dd.js +0 -61
  1254. package/dist/cjs/lt-52ddc840.js +0 -100
  1255. package/dist/cjs/lv-646b5876.js +0 -69
  1256. package/dist/cjs/math-8677dfd7.js +0 -60
  1257. package/dist/cjs/mk-bfa4f151.js +0 -69
  1258. package/dist/cjs/nb-8d337597.js +0 -70
  1259. package/dist/cjs/nl-da233a0d.js +0 -70
  1260. package/dist/cjs/observers-3440c668.js +0 -58
  1261. package/dist/cjs/openCloseComponent-f9bf524b.js +0 -65
  1262. package/dist/cjs/pl-596b9933.js +0 -117
  1263. package/dist/cjs/popupUtils-0cabaa1f.js +0 -121
  1264. package/dist/cjs/pt-bc779aca.js +0 -70
  1265. package/dist/cjs/pt-br-ab04f8b9.js +0 -68
  1266. package/dist/cjs/publicNotificationStore-8d2558c6.js +0 -47
  1267. package/dist/cjs/resources-2f7b1adf.js +0 -23
  1268. package/dist/cjs/resources-361aeee1.js +0 -68
  1269. package/dist/cjs/resources-388b6f7e.js +0 -29
  1270. package/dist/cjs/resources-6ed4d812.js +0 -39
  1271. package/dist/cjs/resources-8556a9ce.js +0 -39
  1272. package/dist/cjs/resources-91cff82d.js +0 -21
  1273. package/dist/cjs/resources-a88c66ba.js +0 -26
  1274. package/dist/cjs/resources-cb7b739c.js +0 -63
  1275. package/dist/cjs/resources-e3034d0f.js +0 -27
  1276. package/dist/cjs/resources-ea500edf.js +0 -23
  1277. package/dist/cjs/ro-8e73fabd.js +0 -69
  1278. package/dist/cjs/ru-a9cf0c93.js +0 -129
  1279. package/dist/cjs/shared-list-render-8da9f754.js +0 -361
  1280. package/dist/cjs/sk-f23f0865.js +0 -151
  1281. package/dist/cjs/sl-66cee3ca.js +0 -171
  1282. package/dist/cjs/solution-store-747a28ab.js +0 -1353
  1283. package/dist/cjs/sortableComponent-842b0585.js +0 -2748
  1284. package/dist/cjs/sr-f6958417.js +0 -104
  1285. package/dist/cjs/sv-b6f30578.js +0 -74
  1286. package/dist/cjs/t9n-e5fb720b.js +0 -108
  1287. package/dist/cjs/th-7266bbe1.js +0 -68
  1288. package/dist/cjs/time-35e40020.js +0 -301
  1289. package/dist/cjs/tr-0ca37955.js +0 -69
  1290. package/dist/cjs/uk-84db760b.js +0 -107
  1291. package/dist/cjs/utils-3f254442.js +0 -72
  1292. package/dist/cjs/utils-42df996f.js +0 -2304
  1293. package/dist/cjs/utils-e486aa01.js +0 -130
  1294. package/dist/cjs/vi-c9c7a4bc.js +0 -73
  1295. package/dist/cjs/zh-cn-c1bd1cac.js +0 -97
  1296. package/dist/cjs/zh-hk-80a1b071.js +0 -95
  1297. package/dist/cjs/zh-tw-b1d0baea.js +0 -95
  1298. package/dist/esm/ExpandToggle-0a6958eb.js +0 -108
  1299. package/dist/esm/FloatingArrow-3593832a.js +0 -46
  1300. package/dist/esm/Heading-dcf63f4d.js +0 -22
  1301. package/dist/esm/Validation-8ddc15e3.js +0 -18
  1302. package/dist/esm/app-globals-e3c6f3f0.js +0 -65
  1303. package/dist/esm/ar-ad19e823.js +0 -105
  1304. package/dist/esm/array-5ce54fce.js +0 -15
  1305. package/dist/esm/bg-d39d00d4.js +0 -83
  1306. package/dist/esm/browser-8c71dd57.js +0 -32
  1307. package/dist/esm/bs-5578d068.js +0 -52
  1308. package/dist/esm/ca-50d49800.js +0 -72
  1309. package/dist/esm/calcite-avatar_2.entry.js +0 -234
  1310. package/dist/esm/calcite-input-time-picker-48568b36.js +0 -1860
  1311. package/dist/esm/component-e3f05da5.js +0 -30
  1312. package/dist/esm/conditionalSlot-33053690.js +0 -51
  1313. package/dist/esm/config-6d8fa5c8.js +0 -37
  1314. package/dist/esm/cs-c01bc02b.js +0 -148
  1315. package/dist/esm/da-30f1c62d.js +0 -68
  1316. package/dist/esm/date-1f2a59fd.js +0 -248
  1317. package/dist/esm/de-at-8b651f1b.js +0 -91
  1318. package/dist/esm/de-ch-16f901cb.js +0 -91
  1319. package/dist/esm/de-f3ff49fe.js +0 -92
  1320. package/dist/esm/dom-982585e7.js +0 -1177
  1321. package/dist/esm/downloadUtils-51c2c502.js +0 -3156
  1322. package/dist/esm/el-3cc5361f.js +0 -67
  1323. package/dist/esm/en-au-5e1ae1c6.js +0 -67
  1324. package/dist/esm/en-ca-eca7afe3.js +0 -66
  1325. package/dist/esm/en-gb-d41a41f9.js +0 -70
  1326. package/dist/esm/es-3119bf5f.js +0 -67
  1327. package/dist/esm/es-mx-765f73cd.js +0 -66
  1328. package/dist/esm/et-524d60ab.js +0 -93
  1329. package/dist/esm/fi-103b9c33.js +0 -116
  1330. package/dist/esm/filter-4fc9cd19.js +0 -775
  1331. package/dist/esm/floating-ui-28a86be6.js +0 -2354
  1332. package/dist/esm/focusTrapComponent-2dc61826.js +0 -1013
  1333. package/dist/esm/form-9827fc54.js +0 -372
  1334. package/dist/esm/fr-a0f46db0.js +0 -69
  1335. package/dist/esm/fr-ch-d4198d14.js +0 -67
  1336. package/dist/esm/guid-5c959cfd.js +0 -24
  1337. package/dist/esm/he-88cc49d1.js +0 -106
  1338. package/dist/esm/helpers-62213648.js +0 -913
  1339. package/dist/esm/hi-3fb3aeaf.js +0 -66
  1340. package/dist/esm/hr-30bc6bf7.js +0 -81
  1341. package/dist/esm/hu-ca65e08b.js +0 -89
  1342. package/dist/esm/id-4c1eee8c.js +0 -67
  1343. package/dist/esm/index-1dc14abf.js +0 -199
  1344. package/dist/esm/index-d8ff08ed.js +0 -204
  1345. package/dist/esm/index-e3f04fa1.js +0 -1722
  1346. package/dist/esm/index.es-afea294f.js +0 -11230
  1347. package/dist/esm/input-bf439d4b.js +0 -58
  1348. package/dist/esm/interactive-1d03c7ff.js +0 -164
  1349. package/dist/esm/it-4cb0e1d5.js +0 -67
  1350. package/dist/esm/it-ch-4de1f33e.js +0 -67
  1351. package/dist/esm/ja-2d531f7b.js +0 -73
  1352. package/dist/esm/key-7f394a98.js +0 -16
  1353. package/dist/esm/ko-1d957d12.js +0 -73
  1354. package/dist/esm/label-38802319.js +0 -179
  1355. package/dist/esm/languageSwitcher-b665499d.js +0 -57
  1356. package/dist/esm/languageUtil-a3e6adf6.js +0 -66
  1357. package/dist/esm/loadModules-9c062d08.js +0 -21
  1358. package/dist/esm/loadable-869378d9.js +0 -93
  1359. package/dist/esm/locale-35ebf4af.js +0 -115
  1360. package/dist/esm/locale-53748f98.js +0 -571
  1361. package/dist/esm/locale-e758c2ee.js +0 -155
  1362. package/dist/esm/logger-c6b14fe1.js +0 -59
  1363. package/dist/esm/lt-d09d3afe.js +0 -98
  1364. package/dist/esm/lv-09f370a6.js +0 -67
  1365. package/dist/esm/math-dbb62ccf.js +0 -54
  1366. package/dist/esm/mk-f19a0976.js +0 -67
  1367. package/dist/esm/nb-458b5aed.js +0 -68
  1368. package/dist/esm/nl-f3c1e8a1.js +0 -68
  1369. package/dist/esm/observers-0f4a5f9e.js +0 -56
  1370. package/dist/esm/openCloseComponent-f118bfc5.js +0 -63
  1371. package/dist/esm/pl-f9862e9b.js +0 -115
  1372. package/dist/esm/popupUtils-d4fe0b41.js +0 -119
  1373. package/dist/esm/pt-4e37d6f8.js +0 -68
  1374. package/dist/esm/pt-br-30daca3c.js +0 -66
  1375. package/dist/esm/publicNotificationStore-065c7136.js +0 -45
  1376. package/dist/esm/resources-098ed485.js +0 -62
  1377. package/dist/esm/resources-0bf41f5d.js +0 -20
  1378. package/dist/esm/resources-124c42d1.js +0 -35
  1379. package/dist/esm/resources-27689859.js +0 -21
  1380. package/dist/esm/resources-3bc82696.js +0 -34
  1381. package/dist/esm/resources-84590a8e.js +0 -24
  1382. package/dist/esm/resources-98bf974e.js +0 -59
  1383. package/dist/esm/resources-a4ff051c.js +0 -23
  1384. package/dist/esm/resources-af396281.js +0 -22
  1385. package/dist/esm/resources-cdba986a.js +0 -19
  1386. package/dist/esm/ro-a83cfcaa.js +0 -67
  1387. package/dist/esm/ru-bb2c629b.js +0 -127
  1388. package/dist/esm/shared-list-render-d8c49a1f.js +0 -339
  1389. package/dist/esm/sk-4cc2af3f.js +0 -149
  1390. package/dist/esm/sl-0df8c942.js +0 -169
  1391. package/dist/esm/solution-store-0586e891.js +0 -1351
  1392. package/dist/esm/sortableComponent-173802fd.js +0 -2745
  1393. package/dist/esm/sr-8d0e01f0.js +0 -102
  1394. package/dist/esm/sv-8971f2c2.js +0 -72
  1395. package/dist/esm/t9n-5371b7ab.js +0 -103
  1396. package/dist/esm/th-32517448.js +0 -66
  1397. package/dist/esm/time-2996215a.js +0 -286
  1398. package/dist/esm/tr-42c9ac73.js +0 -67
  1399. package/dist/esm/uk-d1b99329.js +0 -105
  1400. package/dist/esm/utils-67264f4a.js +0 -2274
  1401. package/dist/esm/utils-72a48b01.js +0 -121
  1402. package/dist/esm/utils-ac0f19ea.js +0 -60
  1403. package/dist/esm/vi-c6ff5a39.js +0 -71
  1404. package/dist/esm/zh-cn-973d18ea.js +0 -95
  1405. package/dist/esm/zh-hk-6fc51e3d.js +0 -93
  1406. package/dist/esm/zh-tw-4e1d2a6a.js +0 -93
  1407. package/dist/solutions-components/p-0034f196.entry.js +0 -21
  1408. package/dist/solutions-components/p-00786a30.entry.js +0 -6
  1409. package/dist/solutions-components/p-016e190c.entry.js +0 -6
  1410. package/dist/solutions-components/p-01cc2423.js +0 -21
  1411. package/dist/solutions-components/p-021da1d4.js +0 -6
  1412. package/dist/solutions-components/p-02c4127b.entry.js +0 -17
  1413. package/dist/solutions-components/p-071a9f50.entry.js +0 -11
  1414. package/dist/solutions-components/p-09b47605.js +0 -36
  1415. package/dist/solutions-components/p-09d62c22.js +0 -6
  1416. package/dist/solutions-components/p-09ded315.js +0 -6
  1417. package/dist/solutions-components/p-0a877c91.entry.js +0 -11
  1418. package/dist/solutions-components/p-0ae5f8fe.js +0 -11
  1419. package/dist/solutions-components/p-0d654053.entry.js +0 -11
  1420. package/dist/solutions-components/p-0dcb7d0c.js +0 -6
  1421. package/dist/solutions-components/p-0fb2abfe.js +0 -6
  1422. package/dist/solutions-components/p-0feb3e7f.js +0 -6
  1423. package/dist/solutions-components/p-104fa4cf.entry.js +0 -6
  1424. package/dist/solutions-components/p-1176ec70.entry.js +0 -6
  1425. package/dist/solutions-components/p-11f138bf.entry.js +0 -6
  1426. package/dist/solutions-components/p-122a81b5.js +0 -21
  1427. package/dist/solutions-components/p-13f83a1a.entry.js +0 -6
  1428. package/dist/solutions-components/p-1452f846.js +0 -6
  1429. package/dist/solutions-components/p-1628325d.entry.js +0 -17
  1430. package/dist/solutions-components/p-16ae29b6.entry.js +0 -11
  1431. package/dist/solutions-components/p-16d69510.js +0 -16
  1432. package/dist/solutions-components/p-1931eae1.entry.js +0 -11
  1433. package/dist/solutions-components/p-1a634d43.js +0 -6
  1434. package/dist/solutions-components/p-1b64ce16.js +0 -6
  1435. package/dist/solutions-components/p-1c785e3a.js +0 -6
  1436. package/dist/solutions-components/p-1cae39b3.js +0 -6
  1437. package/dist/solutions-components/p-1d229886.js +0 -16
  1438. package/dist/solutions-components/p-1ddef837.entry.js +0 -12
  1439. package/dist/solutions-components/p-1ee635a2.entry.js +0 -6
  1440. package/dist/solutions-components/p-210588d0.entry.js +0 -6
  1441. package/dist/solutions-components/p-210d75fe.js +0 -18
  1442. package/dist/solutions-components/p-2162a9d3.js +0 -11
  1443. package/dist/solutions-components/p-22d81e03.js +0 -11
  1444. package/dist/solutions-components/p-2327029a.js +0 -11
  1445. package/dist/solutions-components/p-23f5aa20.entry.js +0 -6
  1446. package/dist/solutions-components/p-24fab352.js +0 -6
  1447. package/dist/solutions-components/p-259ce172.js +0 -6
  1448. package/dist/solutions-components/p-262e91ea.js +0 -11
  1449. package/dist/solutions-components/p-274c182a.entry.js +0 -6
  1450. package/dist/solutions-components/p-2923d5ed.js +0 -489
  1451. package/dist/solutions-components/p-29962ae5.entry.js +0 -6
  1452. package/dist/solutions-components/p-29984000.js +0 -6
  1453. package/dist/solutions-components/p-2b21f196.js +0 -6
  1454. package/dist/solutions-components/p-2d01b83d.entry.js +0 -11
  1455. package/dist/solutions-components/p-2d03b0d7.entry.js +0 -6
  1456. package/dist/solutions-components/p-2eb8993c.entry.js +0 -11
  1457. package/dist/solutions-components/p-2ed4f0cf.entry.js +0 -6
  1458. package/dist/solutions-components/p-2f08fd73.js +0 -16
  1459. package/dist/solutions-components/p-2f2118a7.entry.js +0 -11
  1460. package/dist/solutions-components/p-3058da8b.entry.js +0 -29
  1461. package/dist/solutions-components/p-31f602c0.js +0 -11
  1462. package/dist/solutions-components/p-32ded6e5.entry.js +0 -6
  1463. package/dist/solutions-components/p-33447b6f.js +0 -11
  1464. package/dist/solutions-components/p-34a9bd5d.entry.js +0 -11
  1465. package/dist/solutions-components/p-3581d7dc.entry.js +0 -12
  1466. package/dist/solutions-components/p-376e8412.js +0 -11
  1467. package/dist/solutions-components/p-386429a4.entry.js +0 -6
  1468. package/dist/solutions-components/p-392c6cec.entry.js +0 -6
  1469. package/dist/solutions-components/p-39ae36e9.js +0 -6
  1470. package/dist/solutions-components/p-3b0859ac.entry.js +0 -6
  1471. package/dist/solutions-components/p-3b4170e9.entry.js +0 -22
  1472. package/dist/solutions-components/p-3cc9861e.entry.js +0 -17
  1473. package/dist/solutions-components/p-3e909ad8.entry.js +0 -11
  1474. package/dist/solutions-components/p-3fcbaab8.js +0 -11
  1475. package/dist/solutions-components/p-407d22c9.entry.js +0 -11
  1476. package/dist/solutions-components/p-4250bde1.js +0 -11
  1477. package/dist/solutions-components/p-440c2d17.js +0 -11
  1478. package/dist/solutions-components/p-44194734.js +0 -6
  1479. package/dist/solutions-components/p-482948c4.entry.js +0 -17
  1480. package/dist/solutions-components/p-483fbfa7.entry.js +0 -6
  1481. package/dist/solutions-components/p-4a0838c0.entry.js +0 -6
  1482. package/dist/solutions-components/p-4a5f0a97.entry.js +0 -17
  1483. package/dist/solutions-components/p-4b03ad1e.js +0 -6
  1484. package/dist/solutions-components/p-4b843bc0.entry.js +0 -6
  1485. package/dist/solutions-components/p-4c0b8e55.entry.js +0 -6
  1486. package/dist/solutions-components/p-4d03fed9.js +0 -61
  1487. package/dist/solutions-components/p-4d8ac736.entry.js +0 -6
  1488. package/dist/solutions-components/p-51cfb4a6.entry.js +0 -6
  1489. package/dist/solutions-components/p-57262e5a.js +0 -6
  1490. package/dist/solutions-components/p-5835b3f4.entry.js +0 -11
  1491. package/dist/solutions-components/p-583ecbf6.js +0 -11
  1492. package/dist/solutions-components/p-595ec807.entry.js +0 -11
  1493. package/dist/solutions-components/p-5df3d135.js +0 -16
  1494. package/dist/solutions-components/p-5df4b021.entry.js +0 -11
  1495. package/dist/solutions-components/p-60a80c7f.entry.js +0 -29
  1496. package/dist/solutions-components/p-60efb594.entry.js +0 -11
  1497. package/dist/solutions-components/p-614edd9f.entry.js +0 -6
  1498. package/dist/solutions-components/p-62050072.js +0 -6
  1499. package/dist/solutions-components/p-62414b49.js +0 -6
  1500. package/dist/solutions-components/p-626b6acd.js +0 -6
  1501. package/dist/solutions-components/p-65283b75.entry.js +0 -6
  1502. package/dist/solutions-components/p-65581d83.js +0 -6
  1503. package/dist/solutions-components/p-66daf5ec.entry.js +0 -17
  1504. package/dist/solutions-components/p-680ed47d.js +0 -6
  1505. package/dist/solutions-components/p-681fbb6e.js +0 -6
  1506. package/dist/solutions-components/p-687e9081.entry.js +0 -11
  1507. package/dist/solutions-components/p-6a66d5a9.entry.js +0 -6
  1508. package/dist/solutions-components/p-6b0ecd98.entry.js +0 -11
  1509. package/dist/solutions-components/p-6b64edcd.js +0 -6
  1510. package/dist/solutions-components/p-6c11b89e.js +0 -6
  1511. package/dist/solutions-components/p-6d030079.js +0 -6
  1512. package/dist/solutions-components/p-6d04189c.entry.js +0 -6
  1513. package/dist/solutions-components/p-6f836c0a.entry.js +0 -6
  1514. package/dist/solutions-components/p-70a52e62.entry.js +0 -11
  1515. package/dist/solutions-components/p-70b4e46f.js +0 -11
  1516. package/dist/solutions-components/p-71a2d5b8.entry.js +0 -6
  1517. package/dist/solutions-components/p-73a1e1b9.js +0 -6
  1518. package/dist/solutions-components/p-73ae4b9b.js +0 -11
  1519. package/dist/solutions-components/p-756a5a7f.entry.js +0 -12
  1520. package/dist/solutions-components/p-762eab84.js +0 -6
  1521. package/dist/solutions-components/p-77548c28.entry.js +0 -11
  1522. package/dist/solutions-components/p-77fa776e.entry.js +0 -11
  1523. package/dist/solutions-components/p-78c82389.js +0 -6
  1524. package/dist/solutions-components/p-79fd09fa.js +0 -6
  1525. package/dist/solutions-components/p-7a2f9e5b.entry.js +0 -16
  1526. package/dist/solutions-components/p-7a326ee8.entry.js +0 -11
  1527. package/dist/solutions-components/p-7a64b026.entry.js +0 -17
  1528. package/dist/solutions-components/p-7bdef5f5.entry.js +0 -11
  1529. package/dist/solutions-components/p-7c585a72.js +0 -11
  1530. package/dist/solutions-components/p-7e7ddb11.js +0 -6
  1531. package/dist/solutions-components/p-7ed62b29.js +0 -6
  1532. package/dist/solutions-components/p-8428237a.entry.js +0 -11
  1533. package/dist/solutions-components/p-84478793.js +0 -11
  1534. package/dist/solutions-components/p-8448b98b.js +0 -17
  1535. package/dist/solutions-components/p-85c25564.entry.js +0 -6
  1536. package/dist/solutions-components/p-86660809.js +0 -6
  1537. package/dist/solutions-components/p-88b55caa.entry.js +0 -6
  1538. package/dist/solutions-components/p-8904675a.entry.js +0 -11
  1539. package/dist/solutions-components/p-8a9257ec.entry.js +0 -11
  1540. package/dist/solutions-components/p-8af893c6.entry.js +0 -6
  1541. package/dist/solutions-components/p-8b611f1f.entry.js +0 -6
  1542. package/dist/solutions-components/p-8b922152.js +0 -6
  1543. package/dist/solutions-components/p-8ce3d9f3.entry.js +0 -11
  1544. package/dist/solutions-components/p-8d7479ec.entry.js +0 -6
  1545. package/dist/solutions-components/p-8f3af937.entry.js +0 -24
  1546. package/dist/solutions-components/p-90372205.entry.js +0 -11
  1547. package/dist/solutions-components/p-90dd8aec.js +0 -11
  1548. package/dist/solutions-components/p-91a87888.entry.js +0 -6
  1549. package/dist/solutions-components/p-92744164.entry.js +0 -6
  1550. package/dist/solutions-components/p-93a86792.entry.js +0 -11
  1551. package/dist/solutions-components/p-93c34427.entry.js +0 -6
  1552. package/dist/solutions-components/p-947ef2fa.entry.js +0 -6
  1553. package/dist/solutions-components/p-94b118d5.js +0 -6
  1554. package/dist/solutions-components/p-94f68938.js +0 -6
  1555. package/dist/solutions-components/p-9779be82.js +0 -6
  1556. package/dist/solutions-components/p-988fc332.entry.js +0 -11
  1557. package/dist/solutions-components/p-998933e7.entry.js +0 -6
  1558. package/dist/solutions-components/p-9a2ab5bc.js +0 -11
  1559. package/dist/solutions-components/p-9a370c05.entry.js +0 -47
  1560. package/dist/solutions-components/p-9a46618c.entry.js +0 -6
  1561. package/dist/solutions-components/p-a2150807.entry.js +0 -6
  1562. package/dist/solutions-components/p-a3544947.entry.js +0 -11
  1563. package/dist/solutions-components/p-a3e66f8e.entry.js +0 -11
  1564. package/dist/solutions-components/p-a432be00.js +0 -6
  1565. package/dist/solutions-components/p-a72fd9b4.js +0 -6
  1566. package/dist/solutions-components/p-a7710355.js +0 -143
  1567. package/dist/solutions-components/p-a7b05a79.entry.js +0 -6
  1568. package/dist/solutions-components/p-a8e556aa.js +0 -11
  1569. package/dist/solutions-components/p-ab2c4033.entry.js +0 -6
  1570. package/dist/solutions-components/p-add49b80.entry.js +0 -23
  1571. package/dist/solutions-components/p-af2c8aa9.js +0 -6
  1572. package/dist/solutions-components/p-af3a9822.js +0 -6
  1573. package/dist/solutions-components/p-afad4f05.js +0 -6
  1574. package/dist/solutions-components/p-b05b7f3e.entry.js +0 -11
  1575. package/dist/solutions-components/p-b0609d19.entry.js +0 -11
  1576. package/dist/solutions-components/p-b06ae708.js +0 -6
  1577. package/dist/solutions-components/p-b1c71e50.js +0 -11
  1578. package/dist/solutions-components/p-b470a429.js +0 -6
  1579. package/dist/solutions-components/p-b4f06fe2.entry.js +0 -11
  1580. package/dist/solutions-components/p-b981067f.entry.js +0 -6
  1581. package/dist/solutions-components/p-bb3ce613.js +0 -11
  1582. package/dist/solutions-components/p-beeccd19.entry.js +0 -6
  1583. package/dist/solutions-components/p-c2bafa94.entry.js +0 -6
  1584. package/dist/solutions-components/p-c4d3790a.entry.js +0 -6
  1585. package/dist/solutions-components/p-c5897e36.js +0 -11
  1586. package/dist/solutions-components/p-c5d15c91.js +0 -11
  1587. package/dist/solutions-components/p-c5f22510.js +0 -11
  1588. package/dist/solutions-components/p-c6f8bc28.js +0 -6
  1589. package/dist/solutions-components/p-c742acd9.js +0 -6
  1590. package/dist/solutions-components/p-c7c0c863.entry.js +0 -11
  1591. package/dist/solutions-components/p-c8a8591b.entry.js +0 -11
  1592. package/dist/solutions-components/p-c9fc3253.js +0 -6
  1593. package/dist/solutions-components/p-ca42f3d3.js +0 -11
  1594. package/dist/solutions-components/p-cc47ff22.entry.js +0 -11
  1595. package/dist/solutions-components/p-ccba7d93.js +0 -6
  1596. package/dist/solutions-components/p-cd4d69c1.js +0 -11
  1597. package/dist/solutions-components/p-cdb01b99.entry.js +0 -11
  1598. package/dist/solutions-components/p-cf754ff5.js +0 -11
  1599. package/dist/solutions-components/p-cfca5772.js +0 -11
  1600. package/dist/solutions-components/p-d0ff7db8.js +0 -6
  1601. package/dist/solutions-components/p-d34e12f4.entry.js +0 -11
  1602. package/dist/solutions-components/p-d4e3e979.js +0 -11
  1603. package/dist/solutions-components/p-d655a7a2.entry.js +0 -6
  1604. package/dist/solutions-components/p-d7ee860a.js +0 -11
  1605. package/dist/solutions-components/p-d98d3d33.js +0 -6
  1606. package/dist/solutions-components/p-da2d0073.entry.js +0 -6
  1607. package/dist/solutions-components/p-da9fc69b.entry.js +0 -11
  1608. package/dist/solutions-components/p-dcc35070.js +0 -6
  1609. package/dist/solutions-components/p-de30afd0.entry.js +0 -6
  1610. package/dist/solutions-components/p-e1f30753.entry.js +0 -11
  1611. package/dist/solutions-components/p-e21efd7d.js +0 -11
  1612. package/dist/solutions-components/p-e2f3674f.entry.js +0 -11
  1613. package/dist/solutions-components/p-e4767cc4.entry.js +0 -11
  1614. package/dist/solutions-components/p-e6742158.entry.js +0 -11
  1615. package/dist/solutions-components/p-e8bd5b44.entry.js +0 -11
  1616. package/dist/solutions-components/p-e936f80a.entry.js +0 -21
  1617. package/dist/solutions-components/p-ec561560.js +0 -12
  1618. package/dist/solutions-components/p-ed95c75e.js +0 -11
  1619. package/dist/solutions-components/p-ed9b7fa1.entry.js +0 -6
  1620. package/dist/solutions-components/p-ee056d26.js +0 -17
  1621. package/dist/solutions-components/p-ee0a512f.entry.js +0 -6
  1622. package/dist/solutions-components/p-eefcb751.entry.js +0 -6
  1623. package/dist/solutions-components/p-ef493a84.entry.js +0 -6
  1624. package/dist/solutions-components/p-f012ccbb.js +0 -11
  1625. package/dist/solutions-components/p-f021c564.js +0 -6
  1626. package/dist/solutions-components/p-f2ac5d0e.js +0 -6
  1627. package/dist/solutions-components/p-f39f661e.entry.js +0 -11
  1628. package/dist/solutions-components/p-f3e54df7.entry.js +0 -6
  1629. package/dist/solutions-components/p-f4828ba4.entry.js +0 -6
  1630. package/dist/solutions-components/p-f4c4a2b7.js +0 -7
  1631. package/dist/solutions-components/p-f7d822f7.entry.js +0 -6
  1632. package/dist/solutions-components/p-f83c0ef6.js +0 -11
  1633. package/dist/solutions-components/p-fbeba590.entry.js +0 -11
  1634. package/dist/solutions-components/p-fc02896c.entry.js +0 -6
  1635. package/dist/solutions-components/p-fc474b33.js +0 -6
  1636. package/dist/solutions-components/p-fcfbd587.js +0 -6
  1637. package/dist/solutions-components/p-fdf4caad.js +0 -11
  1638. package/dist/solutions-components/p-fe43ec31.entry.js +0 -16
  1639. package/dist/solutions-components/p-fee0a94a.entry.js +0 -17
  1640. package/dist/solutions-components/p-ffbecb75.js +0 -6
  1641. package/dist/solutions-components_commit.txt +0 -7
  1642. /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
  1643. /package/dist/cjs/{index-4c1b0d3c.js → index-04255c05.js} +0 -0
  1644. /package/dist/{esm/index-5110a27a.js → components/index7.js} +0 -0
  1645. /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
  1646. /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
  1647. /package/dist/solutions-components/{p-74062e42.js → p-fc17754b.js} +0 -0
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as a,c as t,h as n,H as s,F as e,g as i}from"./p-f4c4a2b7.js";import{g as r,a as l,s as o,E as c,b as p,l as g,c as u}from"./p-afad4f05.js";import{l as d}from"./p-65581d83.js";import{c as h}from"./p-09d62c22.js";import{g as v,f as m}from"./p-c742acd9.js";import"./p-dcc35070.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const _="instant-apps-language-translator",b={BASE:_,header:`${_}__header`,headerText:`${_}__header-text`,savingIndicator:`${_}__saving-indicator`,closeButton:`${_}__close-button`,headerTip:`${_}__header-tip`,topBar:`${_}__top-bar`,topBarSection:`${_}__top-bar-section`,collapseSearchContainer:`${_}__collapse-search-container`,userLangText:`${_}__user-lang-text`,lastItem:`${_}--last-item`,writingIcon:`${_}__writing-icon`},f=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await r(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);o.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await v(this.portalItem);o.set("portalItemResource",a);const t=await m(this.request,a);o.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"23aee2b74a94bcc3caae9aee35ab7d1f2f378a04"},this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:b.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=o.get("saving");return n("header",{class:b.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:b.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=o.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:b.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=p(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:b.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:b.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=h();return n("div",{class:b.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:b.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:b.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(t);return null==s?void 0:s.map((a=>{const{messages:t}=this,s=null==t?void 0:t.translatedLanguageNames,e=null==t?void 0:t.languages;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${null==s?void 0:s[a]} - ${null==e?void 0:e[a]}`)}))}renderUIData(){if(!(null==g?void 0:g.uiData))return;const a=u();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[g.currentLanguage],l=`${t===s-1?b.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:b.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(g.uiData);u().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(g.uiData);u().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=JSON.stringify(a),s=new Blob([n],{type:"application/json"});return await t.update(s),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return i(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};f.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{f as instant_apps_language_translator}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as a}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var r={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}};a.locale(r,null,!0);export{r as default}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as _}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var p="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),m="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),r=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function t(_,p,m){var r,t;return"m"===m?p?"хвилина":"хвилину":"h"===m?p?"година":"годину":_+" "+(r=+_,t={ss:p?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:p?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:p?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[m].split("_"),r%10==1&&r%100!=11?t[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?t[1]:t[2])}var s=function(_,t){return r.test(t)?p[_.month()]:m[_.month()]};s.s=m,s.f=p;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{o as default}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,h as i,g as a}from"./p-f4c4a2b7.js";import{a as s,t as n}from"./p-8448b98b.js";import{c as o,d as c}from"./p-16d69510.js";import{c as r}from"./p-2327029a.js";import{u as l,c as h,s as d,d as p}from"./p-d4e3e979.js";import{H as g}from"./p-f012ccbb.js";import{l as m}from"./p-b1c71e50.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-4250bde1.js";import"./p-73ae4b9b.js";import"./p-ca42f3d3.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.11.1
11
- */const f="tip-container",v="tip-container--advancing",x="tip-container--retreating",u="chevron-left",b="chevron-right";m.deprecated("component",{name:"tip-manager",removalVersion:4,suggested:"carousel"});const y=class{constructor(i){t(this,i),this.calciteTipManagerClose=e(this,"calciteTipManagerClose",6),this.mutationObserver=r("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=t=>{if(t.target===this.container)switch(t.key){case"ArrowRight":t.preventDefault(),this.nextTip();break;case"ArrowLeft":t.preventDefault(),this.previousTip();break;case"Home":t.preventDefault(),this.selectedIndex=0;break;case"End":t.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=t=>{this.container=t},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await l(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){o(this),h(this),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await d(this),this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect(),c(this),p(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const t=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=t.length,0===this.total)return;const e=this.el.querySelector("calcite-tip[selected]");this.tips=t,this.selectedIndex=e?t.indexOf(e):0,t.forEach((t=>{t.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((t,e)=>{const i=this.selectedIndex===e;t.selected=i,t.hidden=!i}))}updateGroupTitle(){if(this.tips){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=t?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const t=s(this.el),{selectedIndex:e,tips:a,total:n,messages:o}=this,c=o.next,r=o.defaultPaginationLabel;return a.length>1?i("footer",{class:"pagination"},i("calcite-action",{class:"page-previous",icon:"ltr"===t?u:b,onClick:this.previousClicked,scale:"m",text:o.previous}),i("span",{class:"page-position"},`${r} ${e+1}/${n}`),i("calcite-action",{class:"page-next",icon:"ltr"===t?b:u,onClick:this.nextClicked,scale:"m",text:c})):null}render(){const{closed:t,direction:e,headingLevel:a,groupTitle:s,selectedIndex:o,messages:c,total:r}=this,l=c.close;return 0===r?null:i("section",{"aria-hidden":n(t),class:"container",hidden:t,onKeyDown:this.tipManagerKeyDownHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:"header"},i(g,{class:"heading",level:a},s),i("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:l},i("calcite-icon",{icon:"x",scale:"m"}))),i("div",{class:{[f]:!0,[v]:!t&&"advancing"===e,[x]:!t&&"retreating"===e},key:o,tabIndex:0},i("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tip_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,h as i,H as s,g as l}from"./p-f4c4a2b7.js";import{g as o}from"./p-09d62c22.js";import"./p-65581d83.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,l,o,a,e,n,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"f8e209f996c4743ad1bfc91deef5952c8ac34f90"},i("calcite-block",{key:"b0a69ae1ba6c989c344daa2d2fa51e6943ff6e49",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts)||void 0===o?void 0:o.label},i("table",{key:"5820bb1e99ba3ffc926dea0c60ae6cba9fb71461"},this.renderTableHeader(),i("tr",{key:"b3664317e370d732f405325f6094f5ed2baad197"},i("td",{key:"3e3367b5fe5e8e5f3deddbb850acdf8c6eae9841"},`${r} + M`),i("td",{key:"a426d5c5514d99dec89e8d8298b00cfb7addfb06"},null===(e=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===e?void 0:e.title))),i("calcite-label",{key:"b33865ff795dac7277db16c128abc4b8667b2faf"},null===(d=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"72cbeee022de4c2c895eb78a94cf708d3f2f653c"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return l(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,h as c,H as o,g as i}from"./p-f4c4a2b7.js";import{s as a,g as n,t as r}from"./p-8448b98b.js";import{c as s,d as l}from"./p-16d69510.js";import{c as d,d as h,s as p,u as b}from"./p-d4e3e979.js";import{c as f,a as u,s as m}from"./p-f83c0ef6.js";import{c as v,u as g,d as k,I as w}from"./p-ec561560.js";import{i as x}from"./p-4250bde1.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-2327029a.js";import"./p-73ae4b9b.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.11.1
11
- */const y="container",z="content-wrapper",j="card-content",C="has-slotted-content",D="thumbnail",L="heading",I="description",E="footer-start",H="footer-end",K="title",S="subtitle",q=class{constructor(c){e(this,c),this.calciteCardSelect=t(this,"calciteCardSelect",6),this.calciteInternalCardKeyEvent=t(this,"calciteInternalCardKeyEvent",6),this.handleDefaultSlotChange=e=>{this.hasContent=a(e)},this.keyDownHandler=e=>{if(e.target===this.containerEl&&!this.selectable&&!this.disabled)if(x(e.key)&&"none"!==this.selectionMode)this.calciteCardSelect.emit(),e.preventDefault();else switch(e.key){case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalCardKeyEvent.emit(e),e.preventDefault()}},this.cardBodyClickHandler=e=>{e.target!==this.containerEl||this.selectable||this.disabled||"none"===this.selectionMode||this.calciteCardSelect.emit()},this.cardSelectKeyDownDeprecated=e=>{switch(e.key){case" ":case"Enter":this.selectCardDeprecated(),e.preventDefault()}},this.selectCardDeprecated=()=>{this.selected=!this.selected,this.calciteCardSelect.emit()},this.cardSelectClick=e=>{this.disabled||(e.preventDefault(),this.calciteCardSelect.emit(),this.setFocus())},this.loading=!1,this.thumbnailPosition="block-start",this.disabled=!1,this.label=void 0,this.selectable=!1,this.selected=!1,this.messages=void 0,this.selectionMode="none",this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0,this.hasContent=!1}onMessagesChange(){}async setFocus(){await f(this),this.disabled||this.containerEl?.focus()}connectedCallback(){v(this),s(this),d(this)}componentDidLoad(){u(this)}componentDidRender(){g(this)}disconnectedCallback(){k(this),l(this),h(this)}async componentWillLoad(){m(this),await p(this)}effectiveLocaleChange(){b(this,this.effectiveLocale)}renderCheckboxDeprecated(){return c("calcite-label",{class:"checkbox-wrapper-deprecated"},c("calcite-checkbox",{checked:this.selected,label:this.messages.select,onClick:this.selectCardDeprecated,onKeyDown:this.cardSelectKeyDownDeprecated}))}renderThumbnail(){return n(this.el,D)?c("section",{class:"thumbnail-wrapper"},c("slot",{name:D})):null}renderSelectionIcon(){return c("div",{class:"checkbox-wrapper",onPointerDown:this.cardSelectClick,tabIndex:-1},c("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-square-f":"multiple"===this.selectionMode?"square":this.selected?"circle-f":"circle",scale:"s"}))}renderHeader(){const{el:e}=this,t=n(e,L),o=n(e,I),i=t||o,a=n(e,S),r=n(e,K);return i||a||r?c("header",{class:"header"},this.selectable?this.renderCheckboxDeprecated():null,c("div",{class:"header-text-container"},c("slot",{key:"heading-slot",name:L}),c("slot",{key:"description-slot",name:I}),c("slot",{key:"deprecated-title-slot",name:K}),c("slot",{key:"deprecated-subtitle-slot",name:S})),"none"!==this.selectionMode&&this.renderSelectionIcon()):null}renderFooter(){const{el:e}=this,t=n(e,E),o=n(e,H);return t||o?c("footer",{class:"footer"},c("slot",{name:E}),c("slot",{name:H})):null}render(){const e=this.thumbnailPosition.startsWith("inline"),t=this.thumbnailPosition.endsWith("start"),i="multiple"===this.selectionMode?"checkbox":"none"!==this.selectionMode?"radio":void 0;return c(o,{key:"e33b76130cd91d3caa6662f1f58b79d238c708fb"},c(w,{key:"772da2a3a1274eb467d1febb915ffb97953beae7",disabled:this.disabled},c("div",{key:"b9fdbb51cfb07964479d0f723add39b8a2384f86","aria-checked":"none"!==this.selectionMode?r(this.selected):void 0,"aria-disabled":this.disabled,"aria-label":this.label,class:{[z]:!0,inline:e},onClick:this.cardBodyClickHandler,onKeyDown:this.keyDownHandler,ref:e=>this.containerEl=e,role:i,tabIndex:!this.selectable||this.disabled?0:-1},this.loading?c("div",{"aria-live":"polite",class:"calcite-card-loader-container"},c("calcite-loader",{label:this.messages.loading})):null,t&&this.renderThumbnail(),c("section",{key:"51cfe132a589ec65b39544b4c1246545b0b864f2","aria-busy":r(this.loading),class:{[y]:!0}},this.renderHeader(),c("div",{key:"c256998e330a949d47a12b23127c68cba081854e",class:{[j]:!0,[C]:this.hasContent}},c("slot",{key:"17fb9b0a9919f09a474d3c54818e770be9a85b77",onSlotchange:this.handleDefaultSlotChange})),this.renderFooter()),!t&&this.renderThumbnail())))}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;--calcite-card-corner-radius:var(--calcite-corner-radius-sharp);--calcite-card-background-color:var(--calcite-color-foreground-1);--calcite-card-border-color:var(--calcite-color-border-3);--calcite-card-shadow:var(--calcite-shadow-none);--calcite-card-accent-color-selected:var(--calcite-color-brand);--calcite-card-selection-background-color:transparent;--calcite-card-selection-background-color-hover:var(--calcite-color-transparent-hover);--calcite-card-selection-background-color-active:var(--calcite-color-transparent-press);--calcite-card-selection-background-color-selected:transparent;--calcite-card-selection-icon-color:var(--calcite-color-text-3);--calcite-card-selection-icon-color-hover:var(--calcite-color-text-2);--calcite-card-selection-icon-color-selected:var(--calcite-color-brand)}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color);border-radius:var(--calcite-card-corner-radius);background-color:var(--calcite-card-background-color);box-shadow:var(--calcite-card-shadow);pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem}.header-text-container:not(:only-child){padding-inline-end:0.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:0.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected)}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0px;margin-block-start:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0}.checkbox-wrapper{pointer-events:auto;margin:0.5rem;cursor:pointer;padding:0.5rem;outline-color:transparent;background-color:var(--calcite-card-selection-background-color);display:flex;align-items:center;justify-items:center;--calcite-ui-icon-color:var(--calcite-card-selection-icon-color)}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover);--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-hover)}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-active)}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper{--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-selected);background-color:var(--calcite-card-selection-background-color-selected)}:host([selected]) .checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover)}:host([selected]) .checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-active)}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover);--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-hover)}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-active);--calcite-ui-icon-color:var(--calcite-card-selection-icon-color-selected)}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";export{q as calcite_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,g as i,h as s,H as e,c as a}from"./p-f4c4a2b7.js";import{l as h,g as n}from"./p-09b47605.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";const o=class{constructor(i){t(this,i),this.mapView=void 0,this.basemapConfig=void 0,this.basemapWidget=void 0}get el(){return i(this)}BasemapGallery;PortalBasemapsSource;_basemapElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initBaseMapGallery(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"7fe5ef48d77de087f17498e2e1f3370a069e8629"},s("div",{key:"aca555c687352046a138343cab6f656234069644",ref:t=>{this._basemapElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t,i]=await h(["esri/widgets/BasemapGallery","esri/widgets/BasemapGallery/support/PortalBasemapsSource"]);this.BasemapGallery=t,this.PortalBasemapsSource=i}async _initBaseMapGallery(t){if(this.BasemapGallery){this.basemapWidget&&this.basemapWidget.destroy();const i=new this.PortalBasemapsSource({query:this.basemapConfig?.basemapGroupId?`id:${this.basemapConfig.basemapGroupId}`:null,filterFunction:this.basemapConfig?t=>!this.basemapConfig.basemapIdsToFilter.includes(t.portalItem.id):()=>!0});await i.refresh(),this.basemapWidget=new this.BasemapGallery({container:this._basemapElement,view:t,source:i})}}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};o.style=":host{display:block}";const r=class{constructor(i){t(this,i),this.facilityChanged=a(this,"facilityChanged",7),this.levelChanged=a(this,"levelChanged",7),this.siteChanged=a(this,"siteChanged",7),this.enabled=void 0,this.floorFilterWidget=void 0,this.mapView=void 0}get el(){return i(this)}FloorFilter;_floorFilterElement;reactiveUtils;_facilityHandle;_levelHandle;_siteHandle;async mapViewWatchHandler(){await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}facilityChanged;levelChanged;siteChanged;async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"c80a8d46fb48f3789d9fa09c2400faad49e2e236"},s("div",{key:"82919a3ba061a17c8aeaa0d2f6f4f13bc428b519",ref:t=>{this._floorFilterElement=t}}))}async componentDidLoad(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){const[t,i]=await h(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=t,this.reactiveUtils=i}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement&&this._floorFilterElement.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement=document.createElement("div")}async _initFloorFilter(t){const i=t?.map;await i.when((()=>{t&&this.enabled&&this.FloorFilter&&i?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement,view:t}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.facility),(t=>{this.facilityChanged.emit(t)})),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.level),(t=>{this.levelChanged.emit(t)})),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils.watch((()=>this.floorFilterWidget.site),(t=>{this.siteChanged.emit(t)})))}))}static get watchers(){return{mapView:["mapViewWatchHandler"],enabled:["enabledWatchHandler"]}}};r.style=":host{display:block}";const c=class{constructor(i){t(this,i),this.fullscreenStateChange=a(this,"fullscreenStateChange",7),this.mapView=void 0,this.fullscreenWidget=void 0}Fullscreen;_fullscreenElement;_fullscreenStateChangeHandle;reactiveUtils;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this._initFullscreenWidget()}))}fullscreenStateChange;async componentWillLoad(){await this._initModules()}render(){return s(e,{key:"27267ebf4781a3c85addd8339028f7ac8d07bfb2"},s("div",{key:"0966dae1c7ab9a2cba461d2f19b63bea8e5f28cf",class:"fullscreen-widget",ref:t=>{this._fullscreenElement=t}}))}async componentDidUpdate(){await this._initFullscreenWidget()}async componentDidLoad(){await this._initFullscreenWidget()}async _initModules(){const[t,i]=await h(["esri/widgets/Fullscreen","esri/core/reactiveUtils"]);this.Fullscreen=t,this.reactiveUtils=i}async _initFullscreenWidget(){this.mapView&&this._fullscreenElement&&!this.fullscreenWidget?(this.fullscreenWidget=new this.Fullscreen({view:this.mapView}),await this.fullscreenWidget.when((()=>{this._fullscreenStateChangeHandle&&this._fullscreenStateChangeHandle.remove(),this._fullscreenStateChangeHandle=this.reactiveUtils.watch((()=>this.fullscreenWidget.viewModel.state),(t=>this.fullscreenStateChange.emit(t)))}))):this.fullscreenWidget&&(this.fullscreenWidget.view=this.mapView)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}";const l=class{constructor(i){t(this,i),this.mapView=void 0,this.legendWidget=void 0}get el(){return i(this)}Legend;_legendElement;async mapViewWatchHandler(){await this.mapView.when((()=>{this._initLegend(this.mapView)}))}async componentWillLoad(){return this._initModules()}render(){return s(e,{key:"d9f276c9f13ad09a606bda6e2aaf78707824f6e9"},s("div",{key:"f2db7bd093313a19ace2ec4340c5d0049b666bdc",ref:t=>{this._legendElement=t}}))}async componentDidLoad(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){const[t]=await h(["esri/widgets/Legend"]);this.Legend=t}_initLegend(t){t&&this.Legend&&(this.legendWidget?this.legendWidget.view=t:this.legendWidget=new this.Legend({container:this._legendElement,view:t}))}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};l.style=":host{display:block}";const d=class{constructor(i){t(this,i),this.mapInfoChange=a(this,"mapInfoChange",7),this.mapInfos=[],this.isMapLayout=void 0,this._mapListExpanded=!1,this._translations=void 0,this._webMapInfo=void 0}get el(){return i(this)}_list;_loadedId="";_webMapInfoWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&(this._loadedId=t?.id,this.mapInfoChange.emit(t))}async mapInfosWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._webMapSelected(t[0])}async setMapByID(t){const i=this.mapInfos?.filter((i=>i.id===t));t&&i?.length>0&&this._webMapSelected(i[0])}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(t){this._mapListExpanded=t}mapInfoChange;async componentWillLoad(){await this._getTranslations()}render(){return s(e,{key:"d1d4af3cbc382bb6895b8dece215fbef114238bb"},this._getToolbar(),this._getMapNameList(this._mapListExpanded))}async componentDidLoad(){const t=this.mapInfos&&this.mapInfos.length>0?this.mapInfos[0]:void 0;t&&this._webMapSelected(t)}_getMapPicker(){const t="map-picker-expand-toggle";return s("div",{class:"width-full"},s("calcite-button",{alignment:"icon-end-space-between",appearance:"transparent",class:"width-full height-full",iconEnd:this._mapListExpanded?"chevron-up":"chevron-down",id:t,kind:"neutral",onClick:()=>this._chooseMap(),width:"full"},this._webMapInfo?.name),s("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},s("span",null,this._translations.switchMap)))}_getToolbar(){return s("div",{class:"display-flex border-right"},s("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:"header"},this._getMapPicker()))}_getMapNameList(t){return s("div",{class:t?"map-list border-bottom-1 "+(this.isMapLayout?"width-25":"width-full"):"display-none"},s("calcite-list",{id:"mapList",ref:t=>this._list=t,selectionAppearance:"border",selectionMode:"single"},this.mapInfos.map((t=>s("calcite-list-item",{label:t.name,onClick:()=>this._webMapSelected(t),selected:t.id===this._loadedId,value:t.id})))))}_webMapSelected(t){this._mapListExpanded=!1,this._webMapInfo=t}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{_webMapInfo:["_webMapInfoWatchHandler"],mapInfos:["mapInfosWatchHandler"]}}};d.style=":host{display:block;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100%}.width-25{width:25% !important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-right{border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";const p=class{constructor(i){t(this,i),this.mapView=void 0,this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchConfiguration=void 0,this.searchTerm=void 0,this.searchWidget=void 0}FeatureLayer;Search;_searchElement;_searchResult;async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView.when((()=>{this._initSearchWidget()}))}async componentWillLoad(){await this._initModules()}async componentDidLoad(){return this._initSearchWidget()}render(){return s(e,{key:"a94dc7a1257336e387d2c761d8584e7a75bbd316"},s("div",{key:"0a54b1fce8750084563cbc823222a4679a8e7909",class:"search-widget",ref:t=>{this._searchElement=t}}))}async _initModules(){const[t,i]=await h(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=t,this.FeatureLayer=i}_initSearchWidget(){if(this.mapView&&this._searchElement&&!this.searchWidget){let t={view:this.mapView,container:this._searchElement,searchTerm:this.searchTerm};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=new this.Search(t),this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,h=s?.layer?.url;a?s.layer=a:h&&(s.layer=new this.FeatureLayer(h))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}static get watchers(){return{searchConfiguration:["watchSearchConfigurationHandler"],mapView:["mapViewWatchHandler"]}}};p.style=":host{display:block}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}";const m=class{constructor(i){t(this,i),this.basemapConfig=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.enableHome=void 0,this.enableSingleExpand=void 0,this.homeZoomToolsSize="m",this.layout="vertical",this.mapView=void 0,this.mapWidgetsSize="m",this.position="top-right",this.searchConfiguration=void 0,this.stackTools=!0,this.toolOrder=void 0,this._hasFloorInfo=!1,this._translations=void 0,this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1}get el(){return i(this)}Expand;_basemapElement;_floorFilterElement;_fullscreenElement;_legendElement;_searchElement;_widgets=[];async mapViewWatchHandler(){await this.mapView.when((()=>{this._hasFloorInfo=this.mapView?.map?.floorInfo}))}async _showBasemapWidgetWatchHandler(t){t?this.mapView.ui.add(this._basemapElement.basemapWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._basemapElement.basemapWidget)}async _showFloorFilterWatchHandler(t){const i=this._floorFilterElement.floorFilterWidget;t?this.mapView.ui.add(i,{position:this.position,index:1}):this.mapView.ui.remove(i)}async _showFullscreenWatchHandler(t){const i=this._fullscreenElement.fullscreenWidget;t?"ready"===i.viewModel.state&&i.viewModel.enter():"active"===i.viewModel.state&&i.viewModel.exit()}async _showLegendWidgetWatchHandler(t){t?this.mapView.ui.add(this._legendElement.legendWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._legendElement.legendWidget)}async _showSearchWidgetWatchHandler(t){t?this.mapView.ui.add(this._searchElement.searchWidget,{position:this.position,index:1}):this.mapView.ui.remove(this._searchElement.searchWidget)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){this._setZoomToolsSize();const t=this._showTools?"":"display-none",i=this._showSearchWidget?"":"display-none",a=this._showBasemapWidget?"":"display-none",h=this._showLegendWidget?"":"display-none",n=this._showFloorFilter?"":"display-none",o=this._showFullscreen?"":"display-none",r=this.enableSingleExpand?"margin-top-1-2":"",c=this.toolOrder?this.toolOrder:["legend","search","fullscreen","floorfilter"],l=this.stackTools?"box-shadow":"";return s(e,{key:"f994555df4df11a4eca6b950c482b393d2ad8e94"},s("div",{key:"fa0a53926f01beb8009284da27e82d00ab7ad632",class:this.enableBasemap||this.enableFullscreen||this.enableLegend||this.enableSearch?"":"display-none"},this.enableSingleExpand?s("div",{class:"box-shadow"},this._getActionGroup(this._showTools?"chevrons-up":"chevrons-down",!1,this._showTools?this._translations.collapse:this._translations.expand,(()=>this._toggleTools()))):void 0,s("div",{key:"09384f900f228b3c452eb137510cc44f6a4615aa",class:`${r} ${l} ${t}`},this._getMapWidgets(c))),s("basemap-gallery",{key:"ad7751eb21b9024f775c3539b24e462eb68d3c78",basemapConfig:this.basemapConfig,class:a,mapView:this.mapView,ref:t=>{this._basemapElement=t}}),s("map-search",{key:"d0922fed8b30210fce0edc1f0a56895bf20f0022",class:i,mapView:this.mapView,ref:t=>{this._searchElement=t},resultGraphicEnabled:!0,searchConfiguration:this.searchConfiguration}),s("map-legend",{key:"d3d2aa061acd9837bd2cc7e1d558d89f3b40386d",class:h,mapView:this.mapView,ref:t=>{this._legendElement=t}}),s("map-fullscreen",{key:"9a95c34971adcbc0edc749a8b4004ceef79a3f3b",class:o,mapView:this.mapView,onFullscreenStateChange:t=>this._fullscreenStateChange(t.detail),ref:t=>{this._fullscreenElement=t}}),s("floor-filter",{key:"7261f9b585a9ff2d016eeaced8ee25065c6c1c0b",class:n,enabled:this.enableFloorFilter,mapView:this.mapView,ref:t=>{this._floorFilterElement=t}}))}async _initModules(){const[t]=await h(["esri/widgets/Expand"]);this.Expand=t}_setZoomToolsSize(){const t=document.getElementsByClassName("esri-zoom")[0]?.children[0],i=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(t&&i){const s="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";t.style.width=s,t.style.height=s,i.style.width=s,i.style.height=s}}_getMapWidgets(t){const i=this._showFullscreen?"full-screen-exit":"full-screen",s=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return t.map((t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,(()=>this._showLegend())):this.enableLegend?this._getWidget(t,this._legendElement?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,(()=>this._search())):this.enableSearch?this._getWidget(t,this._searchElement?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(i,!1,s,(()=>this._expand())):this.enableFullscreen?this._getWidget(t,this._fullscreenElement?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,(()=>this._toggleBasemapPicker())):this.enableBasemap?this._getWidget(t,this._basemapElement?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,(()=>this._toggleFloorFilter())):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement?.floorFilterWidget,!0):void 0}}))}_fullscreenStateChange(t){"ready"===t&&this._showFullscreen?this._showFullscreen=!1:"active"!==t||this._showFullscreen||(this._showFullscreen=!0)}_getActionGroup(t,i,e,a){return s("div",null,s("calcite-action",{alignment:"center",class:`${"s"===this.mapWidgetsSize?"square-32":"m"===this.mapWidgetsSize?"square-40":"square-48"} ${this.stackTools?"":"margin-bottom-1-2"} border-bottom ${this.stackTools?"":"box-shadow"}`,compact:!1,disabled:i,icon:t,id:t,onClick:a,scale:"s",text:""},s("calcite-icon",{icon:"cheveron-up",scale:"s",slot:"icon"})),s("calcite-tooltip",{label:"",placement:"trailing","reference-element":t},s("span",null,e)))}_getWidget(t,i,s){if(this._widgets.indexOf(t)<0&&this.mapView&&i){const e=this.toolOrder.indexOf(t),a=new this.Expand({view:this.mapView,content:i});this.mapView.ui.add(s?a:i,{position:this.position,index:e>-1?e+(this.enableHome?2:1):1}),this._widgets.push(t)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],_showBasemapWidget:["_showBasemapWidgetWatchHandler"],_showFloorFilter:["_showFloorFilterWatchHandler"],_showFullscreen:["_showFullscreenWatchHandler"],_showLegendWidget:["_showLegendWidgetWatchHandler"],_showSearchWidget:["_showSearchWidgetWatchHandler"]}}};m.style=":host{display:block}.display-none{display:none}.margin-top-1-2{margin-top:0.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.margin-bottom-1-2{margin-bottom:0.5rem}";export{o as basemap_gallery,r as floor_filter,c as map_fullscreen,l as map_legend,d as map_picker,p as map_search,m as map_tools}
@@ -1,16 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{j as n,k as t,l as e,m as r,o,e as i,p as u}from"./p-8448b98b.js";import{f as a}from"./p-ca42f3d3.js";
7
- /*!
8
- * focus-trap 7.5.4
9
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
- */function c(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function s(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?c(Object(e),!0).forEach((function(t){var r,o,i;r=n,i=e[t],(o=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var f=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},v=function(n){return f(n)&&!n.shiftKey},l=function(n){return f(n)&&n.shiftKey},d=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},p=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},w=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},m=[];
11
- /*!
12
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
14
- * v2.11.1
15
- */
16
- function h(c,h){const{el:y}=c,F=h?.focusTrapEl||y;if(!F)return;const k={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:F,setReturnFocus:n=>(i(n),!1),...h?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:a};var O,j,D,T,g,E,N,P,A,x,B,R,S,C,I,G,K,M,U,Y,L,q,z,H;c.focusTrap=(O=F,T=(null==(j=k)?void 0:j.document)||document,g=(null==j?void 0:j.trapStack)||m,E=s({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v,isKeyBackward:l},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:E[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=E[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=T.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var t=x("initialFocus");if(!1===t)return!1;if(void 0===t||!n(t,E.tabbableOptions))if(A(T.activeElement)>=0)t=T.activeElement;else{var e=N.tabbableGroups[0];t=e&&e.firstTabbableNode||x("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},R=function(){if(N.containerGroups=N.containers.map((function(n){var i=t(n,E.tabbableOptions),u=e(n,E.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,s=u.find((function(n){return r(n)})),f=u.slice().reverse().find((function(n){return r(n)})),v=!!i.find((function(n){return o(n)>0}));return{container:n,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=i.indexOf(n);return e<0?t?u.slice(u.indexOf(n)+1).find((function(n){return r(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return r(n)})):i[e+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function n(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?n(e.shadowRoot):e},C=function n(t){!1!==t&&t!==S(document)&&(t&&t.focus?(t.focus({preventScroll:!!E.preventScroll}),N.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(t){var e=t.target,i=t.event,u=t.isBackward,a=void 0!==u&&u;e=e||w(i),R();var c=null;if(N.tabbableGroups.length>0){var s=A(e,i),v=s>=0?N.containerGroups[s]:void 0;if(s<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var l=b(N.tabbableGroups,(function(n){return e===n.firstTabbableNode}));if(l<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e,!1))&&(l=s),l>=0){var d=N.tabbableGroups[0===l?N.tabbableGroups.length-1:l-1];c=o(e)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else f(i)||(c=v.nextTabbableNode(e,!1))}else{var p=b(N.tabbableGroups,(function(n){return e===n.lastTabbableNode}));if(p<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e))&&(p=s),p>=0){var m=N.tabbableGroups[p===N.tabbableGroups.length-1?0:p+1];c=o(e)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else f(i)||(c=v.nextTabbableNode(e))}}else c=x("fallbackFocus");return c},K=function(n){var t=w(n);A(t,n)>=0||(p(E.clickOutsideDeactivates,n)?D.deactivate({returnFocus:E.returnFocusOnDeactivate}):p(E.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=w(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(o(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(E.isKeyForward(N.recentNavEvent)?c+1<a.length&&(r=a[c+1],i=!1):c-1>=0&&(r=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return o(n)>0}))}))||(i=!1);else i=!1;i&&(r=G({target:N.mostRecentlyFocusedNode,isBackward:E.isKeyBackward(N.recentNavEvent)})),C(r||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){if(("Escape"===(null==(t=n)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(E.escapeDeactivates,n))return n.preventDefault(),void D.deactivate();var t;(E.isKeyForward(n)||E.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(f(n)&&n.preventDefault(),C(e))}(n,E.isKeyBackward(n))},Y=function(n){var t=w(n);A(t,n)>=0||p(E.clickOutsideDeactivates,n)||p(E.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},L=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(g,D),N.delayInitialFocusTimer=E.delayInitialFocus?d((function(){C(B())})):C(B()),T.addEventListener("focusin",M,!0),T.addEventListener("mousedown",K,{capture:!0,passive:!1}),T.addEventListener("touchstart",K,{capture:!0,passive:!1}),T.addEventListener("click",Y,{capture:!0,passive:!1}),T.addEventListener("keydown",U,{capture:!0,passive:!1}),D},q=function(){if(N.active)return T.removeEventListener("focusin",M,!0),T.removeEventListener("mousedown",K,!0),T.removeEventListener("touchstart",K,!0),T.removeEventListener("click",Y,!0),T.removeEventListener("keydown",U,!0),D},z="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&C(B())})):void 0,H=function(){z&&(z.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){z.observe(n,{subtree:!0,childList:!0})})))},(D={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=T.activeElement,null==t||t();var o=function(){r&&R(),L(),H(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=s({onDeactivate:E.onDeactivate,onPostDeactivate:E.onPostDeactivate,checkCanReturnFocus:E.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,q(),N.active=!1,N.paused=!1,H(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(g,D);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){d((function(){i&&C(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),q(),H(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),L(),H(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?T.querySelector(n):n})),N.active&&R(),H(),this}}).updateContainerElements(O),D)}function y(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function k(n){n.focusTrap?.updateContainerElements(n.el)}export{y as a,h as c,F as d,k as u}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as e,h as t,H as a,g as o}from"./p-f4c4a2b7.js";import{t as n,f as s}from"./p-8448b98b.js";import{c as l,d as c,u as r,a as d}from"./p-2f08fd73.js";import{s as h,a as m,c as g}from"./p-f83c0ef6.js";import{c as p}from"./p-2327029a.js";import{o as b}from"./p-cd4d69c1.js";import{c as f,d as v}from"./p-16d69510.js";import{s as x,c as u,d as y,u as w}from"./p-d4e3e979.js";import{c as z}from"./p-bb3ce613.js";import{S as k}from"./p-cf754ff5.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ca42f3d3.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.11.1
11
- */const j="container",C="container--open",D="container--embedded",O="dialog--opening-idle",L="dialog--opening-active",B="dialog--closing-idle",M="dialog--closing-active";let E=0,F="";const H=class{constructor(t){i(this,t),this.calciteDialogBeforeClose=e(this,"calciteDialogBeforeClose",6),this.calciteDialogClose=e(this,"calciteDialogClose",6),this.calciteDialogBeforeOpen=e(this,"calciteDialogBeforeOpen",6),this.calciteDialogOpen=e(this,"calciteDialogOpen",6),this.calciteDialogScroll=e(this,"calciteDialogScroll",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=p("mutation",(()=>this.handleMutationObserver())),this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteDialogOpen",this.openEnd)},this.handleScroll=()=>{this.calciteDialogScroll.emit()},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.open=!1},this.closeDialog=async()=>{if(this.beforeClose)try{await this.beforeClose()}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}E--,this.opened=!1,this.updateOverflowHiddenClass()},this.updateOverflowHiddenClass=()=>{this.opened&&!this.embedded&&this.modal?this.addOverflowHiddenClass():this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFocusTrapElements()},this.beforeClose=void 0,this.description=void 0,this.closeDisabled=!1,this.embedded=!1,this.heading=void 0,this.headingLevel=void 0,this.kind=void 0,this.loading=!1,this.menuOpen=!1,this.messages=void 0,this.messageOverrides=void 0,this.modal=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="center",this.scale="m",this.widthScale="m",this.opened=!1,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}onModalChange(){this.updateOverflowHiddenClass()}async componentWillLoad(){await x(this),h(this),this.open&&this.openDialog()}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),f(this),u(this),l(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),c(this),v(this),y(this),this.embedded=!1}render(){const{description:i,heading:e,opened:o}=this;return t(a,{key:"0f13ce87c5a5db186a443fa8e5cb4734b6da44e4","aria-description":i,"aria-label":e,"aria-modal":n(this.modal),role:"dialog"},t("div",{key:"818e6308788510a56a3d825f0a7b45a837fb99c5",class:{[j]:!0,[C]:o,[D]:this.embedded}},this.modal?t("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}):null,t("div",{key:"7e67efc8fb567e699ca24ddeb304d0944a8cad24",class:"dialog",ref:this.setTransitionEl},t("slot",{key:"934b591c94e08e42f3d71996a7c9982eab7160f1",name:"content"},t("calcite-panel",{key:"99175d893f56a2e32ea8c19ade7bfc95fb48da7f",beforeClose:this.beforeClose,class:"panel",closable:!this.closeDisabled,closed:!o,description:i,heading:e,headingLevel:this.headingLevel,loading:this.loading,menuOpen:this.menuOpen,messageOverrides:this.messageOverrides,onCalcitePanelClose:this.handleCloseClick,onCalcitePanelScroll:this.handleScroll,overlayPositioning:this.overlayPositioning,ref:i=>this.panelEl=i,scale:this.scale},t("slot",{key:"eb4a5160e2682dc8c336ef772b57b0f4fa38655f",name:"action-bar",slot:k.actionBar}),t("slot",{key:"459cca0ab91c380631ff22097af628c7a54eedb8",name:"alerts",slot:k.alerts}),t("slot",{key:"4a8b7a0010af0f19392248c0598d11205f8ccd0d",name:"header-actions-start",slot:k.headerActionsStart}),t("slot",{key:"410ffc888a028ad915f60883e270fa76484155cb",name:"header-actions-end",slot:k.headerActionsEnd}),t("slot",{key:"c157cb3e37e746c48216ab5afad22c42920f8b34",name:"header-content",slot:k.headerContent}),t("slot",{key:"df976d04581561b163c81296f37ad90777c673db",name:"header-menu-actions",slot:k.headerMenuActions}),t("slot",{key:"cf6941e14e2e4efc97b1e0c262f90ab275db0b11",name:"fab",slot:k.fab}),t("slot",{key:"d668245026e8c53887ef90199c0ccf5af20cf289",name:"content-top",slot:k.contentTop}),t("slot",{key:"01b0b3d0e570a2e83f575842ce1a332ae38b504d",name:"content-bottom",slot:k.contentBottom}),t("slot",{key:"825890890a527ae5d1a12fd7484674abb4aa9451",name:"footer-start",slot:k.footerStart}),t("slot",{key:"6aa3dfd71fa1087b2244ffeedb60bb6946b118f6",name:"footer",slot:k.footer}),t("slot",{key:"794d73d346a0dfb959accc8cd4a5580daaa1b7cd",name:"footer-end",slot:k.footerEnd}),t("div",{key:"09722c38bc0d1798f8291da824c953c74ac0ee5c",class:"content"},t("slot",{key:"49a014d165d49a58f334a5f62e6907ab6c1f2538"})))))))}effectiveLocaleChange(){w(this,this.effectiveLocale)}handleEscape(i){this.open&&"Escape"===i.key&&!i.defaultPrevented&&(this.open=!1,i.preventDefault())}async setFocus(){return await g(this),this.panelEl?.setFocus()??s(this.el)}async updateFocusTrapElements(){r(this)}async scrollContentTo(i){await(this.panelEl?.scrollContentTo(i))}onBeforeOpen(){this.transitionEl.classList.add(L),this.calciteDialogBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,L),this.calciteDialogOpen.emit(),d(this)}onBeforeClose(){this.transitionEl.classList.add(M),this.calciteDialogBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,M),this.calciteDialogClose.emit(),c(this)}toggleDialog(i){this.ignoreOpenChange||(i?this.openDialog():this.closeDialog())}handleOpenedChange(i){this.transitionEl.classList.add(i?O:B),b(this)}async openDialog(){await z(this.el),this.el.addEventListener("calciteDialogOpen",this.openEnd),this.opened=!0,this.updateOverflowHiddenClass()}addOverflowHiddenClass(){0===E&&(F=document.documentElement.style.overflow),E++,document.documentElement.style.setProperty("overflow","hidden")}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",F)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],modal:["onModalChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleDialog"],opened:["handleOpenedChange"]}}};H.style=":host{--calcite-dialog-scrim-background-color:rgba(0, 0, 0, 0.85);pointer-events:none;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex}:host([modal]){position:absolute}.container{pointer-events:auto;position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([placement=top]) .container{align-items:flex-start;justify-content:center}:host([placement=top-start]) .container{align-items:flex-start;justify-content:flex-start}:host([placement=top-end]) .container{align-items:flex-start;justify-content:flex-end}:host([placement=bottom]) .container{align-items:flex-end;justify-content:center}:host([placement=bottom-start]) .container{align-items:flex-end;justify-content:flex-start}:host([placement=bottom-end]) .container{align-items:flex-end;justify-content:flex-end}:host(:not([modal])) .container{pointer-events:none}:host([scale=s]){--calcite-internal-dialog-content-padding:var(--calcite-spacing-sm);--calcite-internal-dialog-padding:0.75rem;--calcite-internal-dialog-padding-large:1rem;--calcite-internal-dialog-title-text:var(--calcite-font-size-1);--calcite-internal-dialog-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-internal-dialog-content-padding:var(--calcite-spacing-md);--calcite-internal-dialog-padding:1rem;--calcite-internal-dialog-padding-large:1.25rem;--calcite-internal-dialog-title-text:var(--calcite-font-size-2);--calcite-internal-dialog-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-internal-dialog-content-padding:var(--calcite-spacing-lg);--calcite-internal-dialog-padding:1.25rem;--calcite-internal-dialog-padding-large:1.5rem;--calcite-internal-dialog-title-text:var(--calcite-font-size-3);--calcite-internal-dialog-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim));--calcite-scrim-background-color:var(\n --calcite-dialog-scrim-background-color,\n var(--calcite-color-transparent-scrim)\n );position:fixed;inset:0px;display:flex;overflow-y:hidden}calcite-panel{--calcite-panel-footer-padding:var(--calcite-dialog-footer-space);--calcite-panel-header-border-block-end:var(--calcite-border-width-sm) solid var(--calcite-dialog-border-color)}.content{padding:var(--calcite-dialog-content-space, var(--calcite-internal-dialog-content-padding))}.dialog{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;border-radius:0.25rem;opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-internal-dialog-hidden-position:translate3d(0, 20px, 0);--calcite-internal-dialog-shown-position:translate3d(0, 0, 0)}.dialog--opening-idle{transform:var(--calcite-internal-dialog-hidden-position)}.dialog--opening-active{transform:var(--calcite-internal-dialog-shown-position)}.dialog--closing-idle{transform:var(--calcite-internal-dialog-shown-position)}.dialog--closing-active{transform:var(--calcite-internal-dialog-hidden-position)}:host([menu-open]) .dialog{transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}.panel{border-radius:0.25rem}.container--open{opacity:1;visibility:visible;transition-delay:0ms}.container--open .dialog{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([width=small]) .dialog{inline-size:auto}:host([width-scale=s]) .dialog{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-dialog-size-x, 32rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .dialog{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}}:host([width-scale=m]) .dialog{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-dialog-size-x, 48rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .dialog{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}}:host([width-scale=l]) .dialog{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-dialog-size-x, 94rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .dialog{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}}:host([placement=cover]) .dialog{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-internal-dialog-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-internal-dialog-shown-position:translate3D(0, 0, 0) scale(1)}:host([placement=cover]) .panel{border-radius:0px}:host([kind]) .panel{border-start-start-radius:0px;border-start-end-radius:0px}:host([kind=brand]) .dialog{border-color:var(--calcite-color-brand)}:host([kind=danger]) .dialog{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .dialog{border-color:var(--calcite-color-status-info)}:host([kind=success]) .dialog{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .dialog{border-color:var(--calcite-color-status-warning)}:host([kind=brand][open]) .dialog,:host([kind=danger][open]) .dialog,:host([kind=info][open]) .dialog,:host([kind=success][open]) .dialog,:host([kind=warning][open]) .dialog{border-width:0px;border-block-start-width:4px;border-style:solid}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_dialog}
@@ -1,29 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as e,H as s,g as a,a as n}from"./p-f4c4a2b7.js";import{c as o,d as l}from"./p-ed95c75e.js";import{s as r,f as c,g as h,t as d}from"./p-8448b98b.js";import{c as p,d as u,u as v,I as m}from"./p-ec561560.js";import{c as f,d as g,g as b,n as x,a as y,b as w}from"./p-16d69510.js";import{u as _,c as k,d as $,s as C}from"./p-d4e3e979.js";import{H as D}from"./p-f012ccbb.js";import{c as z,s as E,a as L}from"./p-f83c0ef6.js";import{o as I}from"./p-cd4d69c1.js";import{d as S,g as F,a as P,b as R,s as O,c as A,e as j,f as M,i as T}from"./p-70b4e46f.js";import{i as N}from"./p-73ae4b9b.js";import{f as B,c as H,d as W,r as U,a as V,F as q}from"./p-583ecbf6.js";import{s as J,c as K,d as Z,H as Y}from"./p-7c585a72.js";import{n as G}from"./p-4250bde1.js";import{c as Q,d as X}from"./p-d7ee860a.js";import{c as tt,d as it,a as et}from"./p-2f08fd73.js";import{g as st}from"./p-0ae5f8fe.js";import{g as at}from"./p-bb3ce613.js";import{V as nt}from"./p-cfca5772.js";import{s as ot}from"./p-fdf4caad.js";import{l as lt}from"./p-65581d83.js";import{g as rt}from"./p-09d62c22.js";import{g as ct}from"./p-a9a72626.js";import"./p-2327029a.js";import"./p-a8e556aa.js";import"./p-c8d3207e.js";import"./p-ca42f3d3.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.11.1
11
- */const ht="content",dt="toggle",pt="header",ut="container",vt="header",mt="header--has-text",ft="icon",gt="icon-end-container",bt="invalid",xt="status-icon",yt="valid",wt="control",_t="header-menu-actions",kt="icon",$t={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},Ct=class{constructor(e){t(this,e),this.calciteBlockBeforeClose=i(this,"calciteBlockBeforeClose",6),this.calciteBlockBeforeOpen=i(this,"calciteBlockBeforeOpen",6),this.calciteBlockClose=i(this,"calciteBlockClose",6),this.calciteBlockOpen=i(this,"calciteBlockOpen",6),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.openTransitionProp="opacity",this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.setTransitionEl=t=>{this.transitionEl=t},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=r(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=r(t)},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.overlayPositioning="absolute",this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasContentStart=!1,this.hasEndActions=!1}openHandler(){I(this)}onMessagesChange(){}async setFocus(){await z(this),c(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){_(this,this.effectiveLocale)}connectedCallback(){o(this),p(this),f(this),k(this)}disconnectedCallback(){u(this),g(this),$(this),l(this)}async componentWillLoad(){await C(this),E(this),this.open&&I(this)}componentDidLoad(){L(this)}componentDidRender(){v(this)}renderScrim(){const{loading:t}=this,i=e("slot",null);return[t?e("calcite-scrim",{loading:t}):null,i]}renderLoaderStatusIcon(){const{loading:t,messages:i,status:s}=this,a=!!h(this.el,kt);return t?e("div",{class:ft,key:"loader"},e("calcite-loader",{inline:!0,label:i.loading})):s?e("div",{class:ft,key:"status-icon"},e("calcite-icon",{class:{[xt]:!0,[yt]:"valid"==s,[bt]:"invalid"==s},icon:$t[s],scale:"s"})):a?e("div",{class:ft,key:"icon-slot"},e("slot",{key:"icon-slot",name:kt})):null}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderTitle(){const{heading:t,headingLevel:i,description:s}=this;return t||s?e("div",{class:"title"},e(D,{class:"heading",level:i},t),s?e("div",{class:"description"},s):null):null}renderIcon(t){const{iconFlipRtl:i}=this,s="start"===t?this.iconStart:this.iconEnd;if(s)return e("calcite-icon",{class:"start"===t?"icon--start":"icon--end",flipRtl:"both"===i||"start"===t?"start"===i:"end"===i,icon:s,key:s,scale:"s"})}render(){const{collapsible:t,el:i,loading:a,open:n,heading:o,messages:l,description:r}=this,c=n?l.collapse:l.expand,p=e("header",{key:"f4585d3c5e71d91a3de8b60a8085e79ad0f649c2",class:{[vt]:!0,[mt]:!(!o&&!r)},id:pt},this.renderIcon("start"),this.renderContentStart(),this.renderLoaderStatusIcon(),this.renderTitle()),u=!!h(i,wt),v=!!h(i,_t),f=n?$t.opened:$t.closed,g=e("div",{key:"6ca859e09a3b11219a3b412998c83e91c845753f",class:"header-container"},this.dragHandle?e("calcite-handle",{label:o}):null,t?e("button",{"aria-controls":ht,"aria-describedby":pt,"aria-expanded":t?d(n):null,class:"toggle",id:dt,onClick:this.onHeaderClick,title:c},p,e("div",{class:gt},this.renderIcon("end"),e("calcite-icon",{class:"toggle-icon",icon:f,scale:"s"}))):this.iconEnd?e("div",null,p,e("div",{class:gt},this.renderIcon("end"))):p,u?e("div",{"aria-labelledby":pt,class:"control-container"},e("slot",{name:wt})):null,v?e("calcite-action-menu",{label:l.options,overlayPositioning:this.overlayPositioning},e("slot",{name:_t})):null,this.renderActionsEnd());return e(s,{key:"b42f72a17e0896ae7406d4f09f346cfb75e4c9ef"},e(m,{key:"181fef154faaa7f8d1dca2e08745c76141678053",disabled:this.disabled},e("article",{key:"d93e5b8f13529441ba99bcfcc51d5b31eab981ab","aria-busy":d(a),class:{[ut]:!0}},g,e("section",{key:"cd7759e5b8f695cd238b523075984b82de562005","aria-labelledby":dt,class:"content",hidden:!n,id:ht,ref:this.setTransitionEl},this.renderScrim()))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Ct.style=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start}.header--has-text{padding:var(--calcite-spacing-md)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-color-text-3)}.actions-end{grid-area:actions-end}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-spacing-md)}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-color-text-3)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}';
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.11.1
16
- */
17
- const Dt={dateStyle:"full"},zt={},Et={};async function Lt(t){const i=b(t);if(zt[i])return zt[i];Et[i]||(Et[i]=fetch(n(`./assets/date-picker/nls/${i}.json`)).then((t=>t.json())).catch((()=>(console.error(`Translations for "${i}" not found or invalid, falling back to english`),Lt("en")))));const e=await Et[i];return zt[i]=e,e}function It(t){return t.map(((t,i)=>S(t,1===i)))}const St=class{constructor(e){t(this,e),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=t=>{"Escape"===t.key&&this.resetActiveDates()},this.monthHeaderSelectChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthActiveDateChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthHoverChange=t=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:i}=this,e=Array.isArray(i)&&i[0],s=Array.isArray(i)&&i[1],a=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:e,end:s},this.proximitySelectionDisabled)s&&e||!s&&a>=e?(this.hoverRange.focused="end",this.hoverRange.end=a):this.hoverRange=!s&&a<e?{focused:"start",start:a,end:e}:void 0;else if(e&&s){const t=F(a,e),i=F(a,s);i>0?(this.hoverRange.end=a,this.hoverRange.focused="end"):t<0||t>i?(this.hoverRange.start=a,this.hoverRange.focused="start"):(this.hoverRange.end=a,this.hoverRange.focused="end")}else e&&(a<e?this.hoverRange={focused:"start",start:a,end:e}:(this.hoverRange.end=a,this.hoverRange.focused="end"));t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1])))},this.monthDateChange=t=>{const i=new Date(t.detail),e=P(i);if(!this.range&&e===P(this.valueAsDate))return;if(!this.range)return this.value=e||"",this.valueAsDate=i||null,this.activeDate=i||null,void this.calciteDatePickerChange.emit();const s=this.getStartDate(),a=this.getEndDate();if(!s||!a&&i<s)s&&this.setEndDate(new Date(s)),"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else if(a)if(this.proximitySelectionDisabled)this.setStartDate(i),this.setEndDate(null);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else{const t=F(i,s),e=F(i,a);0===e||t<0?this.setStartDate(i):0===t||e<0?this.setEndDate(i):t<e?this.setStartDate(i):this.setEndDate(i)}else this.setEndDate(i);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(t){"end"===this.activeRange&&(this.activeEndDate=t)}valueAsDateWatcher(t){if(this.range&&Array.isArray(t)){const{activeStartDate:i,activeEndDate:e}=this,s=t[0],a=t[1];this.activeStartDate=i!==s&&s,this.activeEndDate=e!==a&&a}else t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){this.minAsDate=S(t)}onMaxChanged(t){this.maxAsDate=S(t)}onMessagesChange(){}async setFocus(){await z(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){f(this),k(this),Array.isArray(this.value)?this.valueAsDate=It(this.value):this.value&&(this.valueAsDate=S(this.value)),this.min&&(this.minAsDate=S(this.min)),this.max&&(this.maxAsDate=S(this.max))}disconnectedCallback(){g(this),$(this)}async componentWillLoad(){E(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await C(this)}componentDidLoad(){L(this)}render(){const t=R(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let i=this.getActiveDate(t,this.minAsDate,this.maxAsDate);const a=this.range&&Array.isArray(this.valueAsDate)?R(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(a,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!a)||!n||(i=n),this.range&&this.mostRecentRangeValue&&(i=this.mostRecentRangeValue),e(s,{key:"52087d405fc20cd885910944004caef0e4b4e33b",onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(i,this.range&&this.activeRange&&"start"===this.activeRange&&a||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:t||this.minAsDate:this.minAsDate,t,a))}effectiveLocaleChange(){_(this,this.effectiveLocale)}valueHandler(t){Array.isArray(t)?this.valueAsDate=It(t):t&&(this.valueAsDate=S(t))}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.dateTimeFormat=y(this.effectiveLocale,Dt))}renderCalendar(t,i,s,a,n){return this.localeData&&[e("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||2,localeData:this.localeData,max:i,messages:this.messages,min:s,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a||new Date}),e("calcite-date-picker-month",{activeDate:t,dateTimeFormat:this.dateTimeFormat,endDate:this.range?n:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:i,min:s,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a,startDate:this.range?a:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){const i=this.getStartDate(),e=t?O(t):t;this.value=[P(i),P(t)],this.valueAsDate=[i,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=t||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){const i=this.getEndDate();this.value=[P(t),P(i)],this.valueAsDate=[t,i],this.mostRecentRangeValue=t,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=t||null}getActiveDate(t,i,e){return R(this.activeDate,i,e)||t||R(new Date,i,e)}getActiveEndDate(t,i,e){return R(this.activeEndDate,i,e)||t||R(new Date,i,e)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};St.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-block;inline-size:auto;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);vertical-align:top}:host([scale=s]){inline-size:234px;min-inline-size:216px;max-inline-size:380px}:host([scale=m]){inline-size:304px;min-inline-size:272px;max-inline-size:480px}:host([scale=l]){inline-size:370px;min-inline-size:320px;max-inline-size:600px}:host([hidden]){display:none}[hidden]{display:none}";
18
- /*!
19
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
21
- * v2.11.1
22
- */
23
- const Ft="calendar-wrapper",Pt="calendar-wrapper--end",Rt="border-top-color-one",Ot="no-bottom-border",At="input-wrapper",jt="input",Mt="menu-container",Tt="menu-container--active",Nt="toggle-icon",Bt=class{constructor(e){t(this,e),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,e=i.value,s=this.parseNumerals(e),a=this.formatNumerals(s);i.value=a;const{year:n}=j(e,this.localeData);if(n&&n.length<4)return;const o=M(e,this.localeData);T(o,this.min,this.max)&&(this.datePickerActiveDate=o)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${st()}`,this.focusOnOpen=!1,this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${st()}`,this.onInputWrapperPointerDown=()=>{this.currentOpenInput=this.focusedInput},this.onInputWrapperClick=t=>{const{range:i,endInput:e,startInput:s,currentOpenInput:a}=this,n=t.currentTarget.getAttribute("data-position");t.composedPath().find((t=>t.classList?.contains(Nt)))&&("start"===n?s:e).setFocus(),i&&this.open&&a!==n||(this.open=!this.open)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?B(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.blurHandler=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e?(t.preventDefault(),this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),J(this)&&this.restoreInputFocus()):"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,H(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,tt(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const e=this[`${i}Input`];e&&(e.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,e=Array.isArray(i),s=Array.isArray(t);let a=s?P(s?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=s?P(s?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const o=a||n?[a,n]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?It(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,e?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let e=P(t);e=this.getNormalizedDate(e),e!==i&&(this.userChangedValue=!0,this.valueAsDate=e?S(e):void 0,this.value=e||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:G?.includes(t)?x?.numberFormatter?.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>G.includes(t)?x.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=W,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?it(this):et(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?It(t):t?S(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[P(t[0]),P(t[1])]:P(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){this.minAsDate=S(t)}onMaxChanged(t){this.maxAsDate=S(t)}openHandler(){I(this),this.disabled||this.readOnly?this.open=!1:this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await z(this),c(this.el)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return U(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}connectedCallback(){p(this),f(this);const{open:t}=this;if(t&&this.openHandler(),this.min&&(this.minAsDate=S(this.min)),this.max&&(this.maxAsDate=S(this.max)),Array.isArray(this.value))this.valueAsDate=It(this.value);else if(this.value)try{const t=S(this.value),i=R(t,this.minAsDate,this.maxAsDate);this.valueAsDate=i}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.valueAsDate&&(this.range?this.setRangeValue(this.valueAsDate):Array.isArray(this.valueAsDate)||(this.value=P(this.valueAsDate)));Q(this),K(this),k(this),this.setFilteredPlacements(),x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&I(this),H(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){E(this),await Promise.all([this.loadLocaleData(),C(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){L(this),this.localizeInputValues(),H(this,this.referenceEl,this.floatingEl)}disconnectedCallback(){it(this),u(this),X(this),Z(this),V(this,this.referenceEl,this.floatingEl),g(this),$(this)}componentDidRender(){v(this)}render(){const{disabled:t,effectiveLocale:i,messages:a,numberingSystem:n,readOnly:o}=this;return x.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:!1},e(s,{key:"d2c7596b3d8c5bf59a47171801a73cf8325b0214",onBlur:this.blurHandler,onKeyDown:this.keyDownHandler},e(m,{key:"c9b2355ed515748260b93c580e7ce462fb363bb9",disabled:this.disabled},this.localeData&&e("div",{key:"b5ffdad5ecaf135d5d74e13f0eb148cd689d8276",class:"input-container"},e("div",{key:"6950ddff12c7588c984fe86590938e4df8ce4ac0",class:At,"data-position":"start",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setStartWrapper},e("calcite-input-text",{key:"d4444a1cccbf8112dfdee4ebaff7b4da246fd168","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":d(this.open),"aria-haspopup":"dialog",class:{[jt]:!0,[Ot]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setStartInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),e("span",{key:"fc01c4d6abf41f6d3de3553828d5eba47ab29f4e","aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",this.localeData?.placeholder)),e("div",{key:"998ee127b35ce6ea8ab4481c7c9034c4b7175726","aria-hidden":d(!this.open),"aria-label":a.chooseDate,"aria-live":"polite","aria-modal":"true",class:{[Mt]:!0,[Tt]:this.open},id:this.dialogId,ref:this.setFloatingEl,role:"dialog"},e("div",{key:"7fd228d5a4871a71acda67d8cddc19de68243c53",class:{[Ft]:!0,[Pt]:"end"===this.focusedInput,[q.animation]:!0,[q.animationActive]:this.open},ref:this.setTransitionEl},e("calcite-date-picker",{key:"5477699016423ab41aee9d324100c92d98aa8421",activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,ref:this.setDatePickerRef,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&e("div",{key:"0f50ea7872f3b9139d8434972930f2bcf142cf38",class:"horizontal-arrow-container"},e("calcite-icon",{key:"ab18b23a1549bdfd859da64dd6f9d49fe3e96ad0",flipRtl:!0,icon:"arrow-right",scale:at(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&e("div",{key:"8691507261f2ee44f12d3496fb2889e84ad55b54",class:"vertical-arrow-container"},e("calcite-icon",{key:"6b527d9782fc528041ec0e0e70ecbb85788ac7b2",icon:"arrow-down",scale:at(this.scale)})),this.range&&e("div",{key:"fdfea44f4bd7a8c242a454524a54e1617e1b491b",class:At,"data-position":"end",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setEndWrapper},e("calcite-input-text",{key:"7c907100f5388b7af81d827ef39544d68babefc1","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":d(this.open),"aria-haspopup":"dialog",class:{[jt]:!0,[Rt]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setEndInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),e(Y,{key:"3dd51741ee6ceb9d470b21f81d592965a5d236a4",component:this}),this.validationMessage&&"invalid"===this.status?e(nt,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return e("span",{class:Nt,tabIndex:-1},e("calcite-icon",{class:"chevron-icon",icon:t?"chevron-up":"chevron-down",scale:at(this.scale)}))}effectiveLocaleChange(){_(this,this.effectiveLocale),this.loadLocaleData()}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:e,startWrapper:s}=this;this.referenceEl="end"===t||"vertical"===i?e||s:s||e,requestAnimationFrame((()=>H(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){et(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),it(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}syncHiddenFormInput(t){ot("date",this,t)}commitValue(){const{focusedInput:t,value:i}=this,e=M(this[`${t}Input`].value,this.localeData),s=P(e),a=Array.isArray(i);if(this.range)if(a){if(s===i["start"===t?0:1])return;e?(this.setRangeValue(["start"===t?e:S(i[0]),"end"===t?e:S(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&S(i[0]),"start"===t&&S(i[1])])}else e&&(this.setRangeValue(["start"===t?e:S(i[0]),"end"===t?e:S(i[1])]),this.localizeInputValues());else{if(s===i)return;this.setValue(e),this.localizeInputValues()}}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.localizeInputValues())}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){const t=R(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?R(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e={numberingSystem:w(this.numberingSystem)},s=t&&t.toLocaleDateString(this.effectiveLocale,e),a=i&&i.toLocaleDateString(this.effectiveLocale,e);this.setInputValue(s??"","start"),this.setInputValue((this.range&&a)??"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
24
- /*!
25
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
26
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
27
- * v2.11.1
28
- */
29
- function(t){if(!t)return!1;const{year:i}=A(t);return Number(i)<100}(t))return t;const{day:i,month:e,year:s}=A(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(s))}-${e}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],effectiveLocale:["effectiveLocaleChange"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"]}}};Bt.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calendar-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.input-wrapper .chevron-icon{color:var(--calcite-color-text-3)}.input-wrapper:focus-within .chevron-icon,.input-wrapper:active .chevron-icon,.input-wrapper:hover .chevron-icon{color:var(--calcite-color-text-1)}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const Ht="instant-apps-filter-list calcite-mode-light",Wt=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function Ut(t){return t.replaceAll("'","''")}function Vt(t,i=!1){if(t){const e=new Date(t),s=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;return i?`${s} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`:s}}function qt(t){var i;if(null!=t){t.value=["",""];const e=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=e)for(const t of e)t.value=""}}const Jt="instant-apps-filter-list__footer",Kt="instant-apps-filter-list__item-container--user-input",Zt=class{constructor(e){t(this,e),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=Ht,this.disabled=!0,this.hasLayerExpression=!1,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.hasLayerExpression||(this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}async componentWillLoad(){var t;this.baseClass="dark"===ct(this.el)?"instant-apps-filter-list calcite-mode-dark":Ht,await this.initializeModules(),rt(this),this.hasLayerExpression=null!=this.layerExpressions,this.filterLayerExpressions=null!=this.layerExpressions?JSON.parse(JSON.stringify(this.layerExpressions)):void 0,this.disabled=!(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)||void 0,this.reactiveUtils.whenOnce((()=>this.view)).then((()=>this.handleLayerExpressionsUpdate()))}componentShouldUpdate(t,i,e){"view"===e&&null!=t?this.handleWhenView():"layerExpressions"===e&&(this.hasLayerExpression&&this.resetAllFilters(),this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}componentWillRender(){var t;this.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0)||void 0}disconnectedCallback(){this.filterLayerExpressions=JSON.parse(JSON.stringify(this.layerExpressions)),this.resetAllFilters()}async initializeModules(){const[t,i,e]=await lt(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);this.geometryJsonUtils=i,this.reactiveUtils=e,this.locale=t.getLocale(),this.intl=t}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.closeBtn?this.renderFullFooter():this.renderFooter();return e(s,{key:"23a4da63199da79792c55fa7c18178c534d34134"},e("calcite-panel",{key:"374587dc39d146cc1d1fbb10ce491c8ab0ab872c",class:this.baseClass,ref:t=>this.panelEl=t},e("slot",{key:"282b136c8edf17ec301006493a1a229b968e92b0",slot:"header-content",name:"filter-header-content"}),e("slot",{key:"ee1e49377b23151e87fd850708c44304abcb170d",slot:"header-actions-end",name:"filter-header-actions-end"}),e("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return e("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((s,a)=>"checkbox"==s.type||null==s.type?e("div",{key:`${i}-${a}`,class:"instant-apps-filter-list__item-container"},e("div",{class:"instant-apps-filter-list__title"},e("p",null,s.name)),e("div",{class:"instant-apps-filter-list__checkbox-container"},e("calcite-checkbox",{id:s.id.toString(),scale:"l",checked:null==s?void 0:s.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,s)}))):this.initInput(t,s)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const s=this.renderFilter(t),{operator:a}=t,n="OR"===(null==a?void 0:a.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return e("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[n],open:!!this.openFilters||void 0,collapsible:!0},o,s)}renderCombobox(t,i){var s;return e("label",{key:"combo-select",class:Kt},e("span",null,i.name),e("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},null===(s=i.fields)||void 0===s?void 0:s.map(((t,e)=>this.renderComboboxItem(i,t,e)))))}renderComboboxItem(t,i,s){var a;const n=this.createLabel(t,i),o=null==t?void 0:t.selectedFields,l=null!==(a=null==o?void 0:o.includes(i))&&void 0!==a&&a;return e("calcite-combobox-item",{key:`${n}-${s}`,value:i,textLabel:`${n}`,selected:l})}initFilterConfig(){var t,i;if((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0){if(1===this.filterLayerExpressions.length){const{operator:t}=this.filterLayerExpressions[0],s="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",a=this.renderZoomTo(this.filterLayerExpressions[0]);return e("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[s],open:!0},a,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var s,a,n,o,l,r,c,h;const d=null==i?void 0:i.min,p=null==i?void 0:i.max,u=(null==i?void 0:i.step)?i.step:1,v=null!==(s=null==i?void 0:i.field)&&void 0!==s?s:"",m=[null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.min)?i.range.min:d,null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max)?i.range.max:p];return null!=d&&null!=p?e("label",{key:null==i?void 0:i.id.toString(),class:Kt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__number-input-container"},e("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:d,max:p,minValue:d,maxValue:p,"min-label":null===(l=null===(o=this.messages)||void 0===o?void 0:o.minSlider)||void 0===l?void 0:l.replace("{field}",v),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",v),step:u,labelHandles:!0,snap:!0,value:m,"group-separator":null===(h=null==i?void 0:i.format)||void 0===h?void 0:h.digitSeparator}))):void 0}renderDatePicker(t,i){var s,a,n,o;const{min:l,max:r}=i,c=[null===(s=null==i?void 0:i.range)||void 0===s?void 0:s.min,null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max];return null!=l&&null!=r?e("label",{class:Kt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__date-picker-input-container"},e("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,"overlay-positioning":"fixed",lang:null!==(n=this.locale)&&void 0!==n?n:"en",layout:"vertical",value:c,range:!0}),e("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(o=this.messages)||void 0===o?void 0:o.resetDatePicker,scale:"s"}))):null}renderFooter(){var t;return e("div",{class:Jt,slot:"footer"},e("calcite-button",{appearance:"outline",width:"full",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.resetFilter))}renderFullFooter(){var t,i,s;const a=null!=this.closeBtnText?this.closeBtnText:null===(t=this.messages)||void 0===t?void 0:t.close;return e("div",{class:Jt,slot:"footer"},e("calcite-button",{appearance:"outline",width:"half",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.resetFilter),e("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(s=this.closeBtnOnClick)||void 0===s?void 0:s.bind(this)},a))}renderZoomTo(t){var i;return this.zoomBtn?e("div",{class:"instant-apps-filter-list__zoom-to"},e("calcite-button",{id:(null==t?void 0:t.sublayerId)?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,t)},null===(i=this.messages)||void 0===i?void 0:i.zoomTo)):void 0}handleResetDatePicker(t,i){qt(this.panelEl.querySelector(`[id='${t.id}']`)),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(i)}initInput(t,i){const{type:e,numDisplayOption:s,displayOption:a}=i;return"string"!==e&&"coded-value"!==e&&("number"!==e&&"range"!==e&&"date"!==e||"drop-down"!==s&&"drop-down"!==a)?"number"===e||"range"===e?this.renderNumberSlider(t,i):"date"===e?this.renderDatePicker(t,i):void 0:this.renderCombobox(t,i)}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=await this.processExpressions();this.loading=!1,this.filterLayerExpressions=[...t]}async processExpressions(){var t;if(!this.filterLayerExpressions)return[];for(const i of this.filterLayerExpressions)for(const e of i.expressions||[])e.active=null!==(t=e.active)&&void 0!==t?t:null!=e.definitionExpression,await this.setInitExpression(i,e);return this.filterLayerExpressions}handleResetFilter(){var t;null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=t.expressions)||void 0===i||i.forEach((t=>{const{type:i,numDisplayOption:e,displayOption:s}=t;let a="";"string"!==i&&"coded-value"!==i&&("date"!==i||"drop-down"!==e&&"drop-down"!==s)&&("number"!==i&&"range"!==i||"drop-down"!==e&&"drop-down"!==s)?"date"===i?a="datePicker":"number"!==i&&"range"!==i||(a="numberRange"):a="combobox",a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressionUI(t,i){const{id:e}=i;switch(t){case"combobox":i.selectedFields=void 0;const t=this.panelEl.querySelector(`[id='${e}']`);t&&Array.from(t.children).forEach((t=>{t.selected=!1}));break;case"datePicker":i.range=void 0,qt(this.panelEl.querySelector(`[id='${e}']`));break;case"numberRange":i.range=void 0;const s=this.panelEl.querySelector(`[id='${e}']`);s&&(s.minValue=i.min,s.maxValue=i.max)}}resetCheckbox(t){const{id:i}=t,e=this.panelEl.querySelector(`[id='${i}']`);null!=e&&(e.checked=!1)}resetAllFilters(){var t,i,e,s,a;const n=null===(e=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===e?void 0:e.concat(null===(a=null===(s=this.view)||void 0===s?void 0:s.map)||void 0===a?void 0:a.allTables);null==n||n.forEach((t=>{var i,e;if(!Wt.includes(t.type))return;const s=t;"point-cloud"===s.type?s.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[s.id]:"map-image"===s.type?s.allSublayers.forEach((t=>{var i,e;t.definitionExpression=null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[s.id])||void 0===e?void 0:e[t.id]})):s.definitionExpression=null===(e=this.initDefExpressions)||void 0===e?void 0:e[s.id]}))}async updateStringExpression(t,i){const e=this.findFilterLayer(t);return await this.getFeatureAttributes(e,i),this.handleDateField(e,i),!!(null==i?void 0:i.selectedFields)&&(i.definitionExpression=this.createDefinitionExpression(i),!0)}handleDateField(t,i){if("date"===i.type){const e=t.fields.find((({name:t})=>t===i.field));"date-only"===(null==e?void 0:e.type)&&(i.dateOnly=!0)}}createDefinitionExpression(t){var i;if(!(null===(i=t.selectedFields)||void 0===i?void 0:i.length))return"";const e=t.selectedFields.map((t=>"number"==typeof t?t:`'${Ut(t)}'`));return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,i){var e,s;if(!(null==i?void 0:i.min)&&0!==(null==i?void 0:i.min)||!(null==i?void 0:i.max)&&0!==(null==i?void 0:i.max)){const a=this.findFilterLayer(t),{field:n}=i;if(null!=n)if(this.setExpressionFormat(a,i,n),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption))await this.getFeatureAttributes(a,i);else{const t=await this.calculateMinMaxStatistics(a,n),o=null===(e=null==t?void 0:t[0])||void 0===e?void 0:e.attributes;if(null!=(null===(s=i.format)||void 0===s?void 0:s.places)?(i.min=this.roundMinNumberDown(o[`min${n}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${n}`],i.format.places)):(i.min=o[`min${n}`],i.max=o[`max${n}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:e}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${e}`,!0}}}return!1}async updateDateExpression(t,i){var e;const{field:s,range:a}=i,n=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(n,s),l=null===(e=null==o?void 0:o[0])||void 0===e?void 0:e.attributes;if(i.min=Vt(l[`min${s}`]),i.max=Vt(l[`max${s}`]),null!=a&&(null!=(null==a?void 0:a.max)||null!=(null==a?void 0:a.min))){let{min:t,max:e}=a;if(t=null==t?void 0:t.replace("+"," "),e=null==e?void 0:e.replace("+"," "),t||e){const a=e&&!t?"<":!e&&t?">":null;return i.definitionExpression=a?`${s} ${a} '${null!=t?t:e}'`:`${s} BETWEEN '${t}' AND '${e}'`,!0}}return!1}updateCodedValueExpression(t,i){var e,s;if(!(null==i?void 0:i.domain)||"coded-value"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const a=i.domain.codedValues.reduce(((t,{code:i,name:e})=>(t[i]=e,t)),{});if(t.codedValues=a,t.fields=Object.keys(a),null===(s=t.selectedFields)||void 0===s?void 0:s.length){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${Ut(t)}'`)).join(",");return t.definitionExpression=`${t.field} IN (${i})`,!0}return!1}updateRangeExpression(t,i){var e;if(!(null==i?void 0:i.domain)||"range"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const{field:s,range:a}=t;return t.min=i.domain.minValue,t.max=i.domain.maxValue,!(!a||!Object.keys(a).length||(t.definitionExpression=`${s} BETWEEN ${a.min} AND ${a.max}`,0))}async getFeatureAttributes(t,i){if(!this.isLayerSupported(t))return void(i.fields=[]);const e=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:a}=this.extractQueryCapabilities(t),n=await e.queryFeatureCount(),o=this.createQuery(e,i);await this.queryDistinctFeatures(e,o,i),this.shouldPaginate(s,n,a)&&this.handlePagination(e,o,s,a,n,i)}isLayerSupported(t){return t&&Wt.includes(t.type)}extractQueryCapabilities(t){var i,e,s,a,n,o;return{maxRecordCount:null!==(s=null===(e=null===(i=t.capabilities)||void 0===i?void 0:i.query)||void 0===e?void 0:e.maxRecordCount)&&void 0!==s?s:null===(a=t.sourceJSON)||void 0===a?void 0:a.maxRecordCount,supportsMaxRecordCountFactor:null===(o=null===(n=t.capabilities)||void 0===n?void 0:n.query)||void 0===o?void 0:o.supportsMaxRecordCountFactor}}createQuery(t,i){const e=t.createQuery();this.applyCacheHint(t,e);const s=null==i?void 0:i.field;if(s){const i=this.getInitDefExprFromLayer(t);e.where=i||"1=1",e.outFields=[s],e.orderByFields=[`${s} ASC`],e.returnDistinctValues=!0,e.returnGeometry=!1,e.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(e)}return e}async queryDistinctFeatures(t,i,e){if(!i.outFields)return;const s=await this.queryForFeatures(t,i,i.outFields[0]);(null==s?void 0:s.length)&&(e.fields=[...new Set(s)],"string"===e.type?e.fields=e.fields.sort():"number"===e.type&&(e.fields=e.fields.sort(((t,i)=>t-i))))}getQueryCount(t,i){return i?5*t:t}shouldPaginate(t,i,e){const s=this.getQueryCount(t,e);return null!=t&&i>s}async handlePagination(t,i,e,s,a,n){const o=this.getQueryCount(e,s),l=[];for(let s=o;s<a;s+=o){const a=i.clone();a.num=e,a.start=s,l.push(this.queryForFeatures(t,a,i.outFields[0]))}Promise.all(l).then((t=>{t.forEach((t=>{(null==t?void 0:t.length)&&n.fields&&n.fields.push(...t)})),n.fields=[...new Set(n.fields)].sort(),this.filterLayerExpressions=[...this.filterLayerExpressions]}))}async queryForFeatures(t,i,e){const s=await t.queryFeatures(i),a=null==s?void 0:s.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}));return null==a?void 0:a.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}))}async calculateMinMaxStatistics(t,i){if(!t||!Wt.includes(t.type)||!i)return[];const e=this.createStatisticsQuery(t,i),s=await t.queryFeatures(e);return(null==s?void 0:s.features)||[]}createStatisticsQuery(t,i){const e=t.createQuery();return e.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,e),e.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(e),e}getExtent(t,i){if(t&&i){const{constraints:t}=i;let e=Object.assign({},t);const s=null==e?void 0:e.geometry;if(s){const t="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type))return t}}}async setInitExpression(t,i){if(!i.field||!i.type)return void await this.updateExpression(t,i,void 0);const e=this.findFilterLayer(t);e&&("not-loaded"!==e.loadStatus&&"failed"!==e.loadStatus||await e.load(),await e.when((async()=>{var s,a;const n=null===(s=e.fields)||void 0===s?void 0:s.find((({name:t})=>t===i.field)),o=null===(a=null==n?void 0:n.domain)||void 0===a?void 0:a.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,n)})))}async updateExpression(t,i,e){await this.handleExpressionType(t,i,e)&&this.generateOutput(t)}async handleExpressionType(t,i,e){var s;switch(i.type){case"string":return await this.updateStringExpression(t,i);case"number":return await this.updateNumberExpression(t,i);case"date":return this.updateDateExpressionBasedOnDisplayOption(t,i);case"coded-value":return this.updateCodedValueExpression(i,e);case"range":return this.updateRangeExpressionBasedOnDisplayOption(t,i,e);case"checkbox":case null:return null!==(s=i.active)&&void 0!==s&&s;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,i){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):await this.updateDateExpression(t,i)}async updateRangeExpressionBasedOnDisplayOption(t,i,e){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):this.updateRangeExpression(i,e)}updateRangeExpressions(t,i,e,s){const a=this.getInitDefExprFromLayerExpression(i);!s&&0!==s||!e&&0!==e||(s===(null==t?void 0:t.min)&&e===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=a?`(${a}) AND ${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`:`${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`,t.active=!0)),t.range={min:s,max:e}}handleCheckboxChange(t,i,e){i.active=e.target.checked,this.generateOutput(t)}handleSliderChange(t,i,e){const{maxValue:s,minValue:a}=e.target;this.updateRangeExpressions(t,i,s,a),this.generateOutput(i)}handleComboSelect(t,i,e){const s=e.target.selectedItems,{field:a,type:n}=t;if(t.selectedFields=s.map((({value:t})=>t)),s.length){const i=s.map((({value:t})=>"number"==typeof t?t:`'${Ut(t)}'`));t.definitionExpression="date"===n?i.map((t=>this.buildDateExpression(t,a))).join(" OR "):`${a} IN (${i.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,e){const s=e.target,[a,n]=s.valueAsDate,o=a?Vt(Math.floor(a.getTime()),!0):void 0,l=n?Vt(Math.floor(n.getTime()),!0):void 0;(o||l)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,o,l),t.range={min:o,max:l},t.active=!0,this.generateOutput(i))}constructDefinitionExpression(t,i,e){return i?e?`${t} BETWEEN '${i}' AND '${e}'`:`${t} > '${i}'`:`${t} < '${e}'`}handleURLParams(){if(!("URLSearchParams"in window))return;const t=new URLSearchParams(document.location.search).get("filter");if(!t)return void(this.filterCount=0);const i=t.split(";").map((t=>JSON.parse(t)));this.filterCount=this.applyFilters(i)}applyFilters(t){let i=0;return t.forEach((t=>{var e,s;const a=null===(e=this.filterLayerExpressions)||void 0===e?void 0:e.find((i=>i.id===t.layerId));a&&(null===(s=a.expressions)||void 0===s||s.forEach((e=>{var s,a;(null===(s=e.id)||void 0===s?void 0:s.toString())===(null===(a=t.expressionId)||void 0===a?void 0:a.toString())&&(this.activateExpression(e,t),i++)})))})),i}activateExpression(t,i){t.active=!0,"range"===i.type?t.range=i.range:"select"===i.type&&(t.selectedFields=i.selectedFields)}createURLParamExpression(t,i){const{id:e,range:s,selectedFields:a,type:n}=i;return"string"===n||"coded-value"===n||"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?{type:"select",layerId:t.id,expressionId:e.toString(),selectedFields:a}:"number"===n||"range"===n||"date"===n?{type:"range",layerId:t.id,expressionId:e.toString(),range:s}:{layerId:t.id,expressionId:e.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){const i=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",i)}}generateURLParams(){var t;if(!("URLSearchParams"in window))return;const i=new URLSearchParams(window.location.search),e=(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.flatMap((t=>{var i;return(null===(i=null==t?void 0:t.expressions)||void 0===i?void 0:i.filter((t=>t.active)).map((i=>JSON.stringify(this.createURLParamExpression(t,i)))))||[]})))||[];this.filterCount=e.length,e.length>0?i.set("filter",e.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}updateFilter(t,i,e){const{id:s}=t,a=this.view.map.findLayerById(s)||this.view.map.findTableById(s);if(null!=a)if("point-cloud"===a.type)this.updateFilterLayerPCLFilter(a,e);else if("map-image"===a.type){const e=a.findSublayerById(null==t?void 0:t.sublayerId);null!=e&&this.updateFilterLayerDefExpression(e,i,t)}else this.updateFilterLayerDefExpression(a,i,t)}updateFilterLayerDefExpression(t,i,e){const{operator:s}=e;let a=this.getInitDefExprFromLayer(t);const n=(null==i?void 0:i.length)>0&&null!=a?`(${i.join(s)}) AND (${a})`:i.length>0?i.join(s):a;t.definitionExpression=n}updateFilterLayerPCLFilter(t,i){t.filters=i}async handleWhenView(){if(null==this.view)return;const t=this.view.map;await t.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach((t=>{if(!Wt.includes(t.type))return;const i=t;"point-cloud"===i.type?this.initPointCloudFilters[i.id]=i.filters:"map-image"===i.type?this.initMapImageExpressions[i.id]=i.allSublayers.reduce(((t,i)=>(t[i.id]=i.definitionExpression,t)),{}):this.initDefExpressions[i.id]=i.definitionExpression})),this.initExpressions(),this.handleURLParams()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`),e=(t,e)=>{i&&(i.loading=t,i.disabled=e)};e(!0,!0),await this.getZoomToExtent(t);const s="point"===this.zoomToExtent.type&&1===this.zoomToExtent.count?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s),e(!1,!1)}async getZoomToExtent(t){var i;const e=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),s=e.layer,a="map-image"===s.type?s.findSublayerById(t.sublayerId):s;if("point-cloud"!==a.type&&Wt.includes(null==a?void 0:a.type)){const t=await this.getQueryLayer(a),e=t.createQuery();e.where=null!==(i=t.definitionExpression)&&void 0!==i?i:"1=1";const s=await t.queryExtent(e);this.zoomToExtent=Object.assign(Object.assign({},s),{type:t.geometryType})}}applyFilterToQuery(t,i){var e,s;const a=this.view.allLayerViews.find((({layer:t})=>t.id===i.id)),n=null!==(s=null===(e=null==a?void 0:a.featureEffect)||void 0===e?void 0:e.filter)&&void 0!==s?s:a.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach((i=>{null!=n[i]&&(t[i]=n[i])}))}generateOutput(t){if(null==this.view)return;const i=[];let e=[];if(t){for(const s of t.expressions){const{active:t,definitionExpression:a,pointCloudFilters:n}=s;t&&a&&i.push(`(${a})`),t&&null!=n&&n.length>0&&(e=e.concat(n))}this.updateFilter(t,i,e),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,i,e){if(null==t)return;let s;if(String(t).includes("e")){const[a,n]=String(t).split("e").map((t=>Number(t)));s=Math[e](+`${a}e${n+i}`)*Math.pow(10,-i)}else s=Math[e](t*Math.pow(10,i))/Math.pow(10,i);return+s.toFixed(i)}roundMinNumberDown(t,i){return this.scientificRounding(t,i,"floor")}roundMaxNumberUp(t,i){return this.scientificRounding(t,i,"ceil")}roundNumber(t,i){var e;return null!==(e=this.scientificRounding(t,i,"round"))&&void 0!==e?e:t}setExpressionFormat(t,i,e){if(null!=(null==t?void 0:t.popupTemplate)){const s=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===e));i.format=null==s?void 0:s.format}}getInitDefExprFromLayer(t){var i,e,s;return"sublayer"===t.type?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===e?void 0:e[t.id]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}getInitDefExprFromLayerExpression(t){var i,e,s;return null!=(null==t?void 0:t.sublayerId)?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===e?void 0:e[t.sublayerId]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}findFilterLayer(t){const i=this.view.map.allLayers.concat(this.view.map.allTables).find((({id:i})=>i===t.id));return"map-image"===i.type?null==i?void 0:i.findSublayerById(t.sublayerId):i}createLabel(t,i){var e,s,a;if("coded-value"===t.type)return null===(e=t.codedValues)||void 0===e?void 0:e[i];if("number"===t.type&&"number"==typeof i){let e=i;return null!=(null===(s=t.format)||void 0===s?void 0:s.places)&&(e=this.roundNumber(i,t.format.places)),(null===(a=t.format)||void 0===a?void 0:a.digitSeparator)?this.numberWithCommas(e):e}if("date"===t.type&&!t.dateOnly){const t=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(i,t)}return i}buildDateExpression(t,i){if(t){const e=new Date(t),s=new Date(t),a=new Date(s.setDate(e.getDate()+1)),n=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`,o=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`,l=`${a.getHours()}:${a.getMinutes()}:${a.getSeconds()}`;return`${i} BETWEEN '${n} ${o}' AND '${a.getFullYear()}-${a.getMonth()+1}-${a.getDate()} ${l}'`}}async getQueryLayer(t){return"sublayer"===t.type?await t.createFeatureLayer():t}applyCacheHint(t,i){var e,s;(null===(s=null===(e=null==t?void 0:t.capabilities)||void 0===e?void 0:e.query)||void 0===s?void 0:s.supportsCacheHint)&&(i.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);i&&(t.geometry=i,t.spatialRelationship="intersects")}get el(){return a(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};Zt.style=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}";const Yt="instant-apps-social-share",Gt=".calcite-mode-dark",Qt={base:Yt,dialog:`${Yt}__dialog`,dialogEmbed:`${Yt}__dialog-embed`,dialogContent:`${Yt}__dialog-content`,options:`${Yt}__options`,tipContainer:`${Yt}__tip`,tipHeader:`${Yt}__tip-header`,tipContent:`${Yt}__tip-content`,icon:`${Yt}__icon`,iconContainer:`${Yt}__icon-container`,optionText:`${Yt}__option-text`,popoverButton:`${Yt}__popover-button`,layout:{vertical:`${Yt}__layout--vertical`,horizontal:`${Yt}__layout--horizontal`},xLogo:{light:`${Yt}__x-logo--light`,dark:`${Yt}__x-logo--dark`},success:{container:`${Yt}__success`,header:`${Yt}__success-header`,message:`${Yt}__success-message`,icon:`${Yt}__success-icon`},embed:{container:`${Yt}__embed`,header:`${Yt}__embed-header`,embedCode:{container:`${Yt}__embed-code`,textArea:`${Yt}__embed-code-text-area`,copyButton:`${Yt}__embed-code-copy-button`},textAreaText:`${Yt}__embed-text-area-text`,dimensions:{container:`${Yt}__embed-dimensions`,input:`${Yt}__embed-dimensions-input`}},rtl:{optionText:`${Yt}__option-text--rtl`,textArea:`${Yt}__text-area--rtl`}},Xt={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},ti=class{constructor(i){t(this,i),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale=void 0,this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){var t,i;rt(this),this.setupAutoCloseListeners(),"popover"===this.mode&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",(()=>{this.shareListRef&&this.shareListRef.children[0].focus()})),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&(null===(t=this.embedWidthRef)||void 0===t||t.addEventListener("change",this.updateDimensions.bind(this,"width")),null===(i=this.embedHeightRef)||void 0===i||i.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){var t,i,e;document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?null!=this.popoverRef&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(null===(t=this.embedWidthRef)||void 0===t||t.removeEventListener("change",this.updateDimensions.bind(this)),null===(i=this.embedHeightRef)||void 0===i||i.removeEventListener("change",this.updateDimensions.bind(this)),null===(e=this.dialogContentRef)||void 0===e||e.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,e;document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?(null===(t=this.popoverRef)||void 0===t||t.addEventListener("click",this.stopPropagationCallback.bind(this)),null===(i=this.popoverRef)||void 0===i||i.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):null===(e=this.dialogContentRef)||void 0===e||e.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,e;if("Tab"===t.code){if(!this.shareListRef)return;const e=t.target,s=this.shareListRef.children[0],a=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&e===s?(t.preventDefault(),a.focus()):t.shiftKey||e!==a||(t.preventDefault(),s.focus())}else"Escape"===t.code&&(this.closePopover(),null===(e=this.popoverButtonRef)||void 0===e||e.setFocus())}autoCloseCallback(){"popover"===this.mode?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){var t;null===(t=this.popoverButtonRef)||void 0===t||t.setFocus(),setTimeout((()=>{this.copied=!1}),200)}updateDimensions(t){var i,e;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(e=this.embedHeightRef)||void 0===e?void 0:e.value;this.embedHeight=parseInt(t)}}render(){var t,i,a,n,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():e("div",{class:Qt.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c="vertical"===this.shareIconsLayout?` ${Qt.layout.vertical}`:` ${Qt.layout.horizontal}`,h=" calcite-mode-"+(this.el.closest(Gt)?"dark":"light"),d=e("div",{key:"1d10b5a2fb75584357c9c0f4fbd75e4904ad20ef",ref:t=>this.dialogContentRef=t,class:`${Qt.dialog}${c}${h}`},r);return e(s,{key:"75f577c38604ff752062434134a04d6d85263c16"},"popover"===this.mode?[e("calcite-popover",{ref:t=>this.popoverRef=t,label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":this.removePopoverOffset?0:6,"pointer-disabled":this.removePopoverOffset},d),this.renderButton()]:[d,e("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(n=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===n?void 0:n.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),e("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,s,a,n,o,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?e("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Qt.popoverButton,kind:this.shareButtonColor,appearance:"transparent",label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,title:null===(a=null===(s=this.messages)||void 0===s?void 0:s.share)||void 0===a?void 0:a.label,scale:c},e("div",{class:Qt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):e("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Qt.popoverButton,appearance:"transparent",label:null===(o=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===o?void 0:o.label,title:null===(r=null===(l=this.messages)||void 0===l?void 0:l.share)||void 0===r?void 0:r.label,scale:c,text:"",alignment:"center"},e("div",{class:Qt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Qt.success.container},e("span",{class:Qt.success.header},e("span",{class:Qt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Qt.success.message},this.successMessage||(null==i?void 0:i.url)))}renderEmbedSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Qt.success.container},e("span",{class:Qt.success.header},e("span",{class:Qt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Qt.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,s,a;const n=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${Qt.rtl.optionText}`:"";return e("ul",{ref:t=>this.shareListRef=t,class:Qt.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:Qt.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${Qt.optionText}${o}`},null===(i=null==n?void 0:n.link)||void 0===i?void 0:i.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:Qt.icon},this.renderFacebookIcon()),e("span",{class:`${Qt.optionText}${o}`},null===(s=null==n?void 0:n.facebook)||void 0===s?void 0:s.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:Qt.icon},this.renderXIcon()),e("span",{class:`${Qt.optionText}${o}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:Qt.icon},this.renderLinkedInIcon()),e("span",{class:`${Qt.optionText}${o}`},null===(a=null==n?void 0:n.linkedIn)||void 0===a?void 0:a.label))]:null)}handleOptionKeyDown(t){return i=>{const e=i.code;("Space"===e||"Enter"===e)&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){const t=!!this.el.closest(Gt);return e("svg",{class:t?Qt.xLogo.dark:Qt.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.info;return e("div",{class:Qt.tipContainer},e("span",{class:Qt.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,null==i?void 0:i.label)),e("p",{class:Qt.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,s;const a=null===(t=this.messages)||void 0===t?void 0:t.embed,n="rtl"===document.dir?` ${Qt.rtl.textArea}`:"";return e("div",{class:Qt.embed.container},e("span",{class:Qt.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,null===(s=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===s?void 0:s.label)),e("div",{class:Qt.embed.embedCode.container},e("div",{class:Qt.embed.embedCode.textArea},e("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:n,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:Qt.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,null==a?void 0:a.copy))),e("span",{class:Qt.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:Qt.embed.dimensions.container},e("label",{class:Qt.embed.dimensions.input},e("span",null,null==a?void 0:a.width),e("input",{ref:t=>this.embedWidthRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:Qt.embed.dimensions.input},e("span",null,null==a?void 0:a.height),e("input",{ref:t=>this.embedHeightRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){const i="width"===t?this.embedWidthRef:this.embedHeightRef,e="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[e]=parseInt("1"),i.value="1")}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){var i,e,s,a;this.shareUrl=await this.generateShareUrl();let n=null;const o=null!==(e=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==e&&e,l=null!==(a=null===(s=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===s?void 0:s.includes("Safari"))&&void 0!==a&&a&&!o;!l&&this.shortenShareUrl&&(n=await this.shortenUrl(this.shareUrl));let r=n||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(r),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),"inline"===this.mode&&(this.copyLinkPopoverRef.open=!0,setTimeout((()=>this.copyLinkPopoverRef.open=!1),3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,void("popover"===this.mode&&setTimeout((()=>this.closePopover()),2e3));case"facebook":case"x":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const e={url:encodeURI(r)},s="x"===t?Object.assign(Object.assign({},e),{text:this.shareText}):e,[a]=await lt(["esri/intl"]),n=a.substitute(Xt[t],s);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=n,i.focus()):window.open(encodeURI(n),"_blank"))}}async shortenUrl(t){var i,e;const[s]=await lt(["esri/request"]),a=await s("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),n=null===(e=null===(i=null==a?void 0:a.data)||void 0===i?void 0:i.data)||void 0===e?void 0:e.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout((()=>this.copyEmbedPopoverRef.open=!1),3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){var t;if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view||!(null===(t=this.view)||void 0===t?void 0:t.ready))return this.shareUrl;const{x:i,y:e}=this.view.center,{spatialReference:s}=this.view,[a,n]=await lt(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new a({x:i,y:e,spatialReference:new n(Object.assign({},s.toJSON()))}),l=await this.processPoint(o),{isWGS84:r,isWebMercator:c}=l.spatialReference;return this.generateShareUrlParams(l,r||c)}async processPoint(t){const{isWGS84:i,isWebMercator:e}=t.spatialReference;if(i||e)return t;const[s,a]=await lt(["esri/geometry/SpatialReference","esri/geometry/projection"]),n=new s({wkid:4326});try{await a.load();const i=a.project(t,n);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var e,s,a,n,o;const{longitude:l,latitude:r,x:c,y:h}=t;if(void 0===l||void 0===r)return this.shareUrl;const d=this.roundValue(i?l:c),p=this.roundValue(i?r:h),{zoom:u}=this.view,v=this.roundValue(u),m=null===(s=null===(e=this.view)||void 0===e?void 0:e.popup)||void 0===s?void 0:s.selectedFeature,f=null===(n=null===(a=this.view)||void 0===a?void 0:a.popup)||void 0===n?void 0:n.visible;let g,b,x;if(m&&f&&"feature"===(null===(o=null==m?void 0:m.layer)||void 0===o?void 0:o.type)){const t=null==m?void 0:m.layer;g=null==t?void 0:t.id,b=m.attributes[t.objectIdField]}x=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";");const{type:y}=this.view,{defaultUrlParams:w}=this,_=new URL(this.shareUrl),{searchParams:k}=_;if(k.get("center")&&k.delete("center"),k.get("level")&&k.delete("level"),k.get("selectedFeature")&&k.delete("selectedFeature"),k.get("hiddenLayers")&&k.delete("hiddenLayers"),k.get("viewpoint")&&k.delete("viewpoint"),"3d"===y){const{camera:t}=this.view,{heading:i,position:e,tilt:s}=t,{longitude:a,latitude:n,z:o}=e,l={longitude:this.roundValue(a,8),latitude:this.roundValue(n,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(s,3)};return!1!==(null==w?void 0:w.viewpoint)&&_.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}return!1!==(null==w?void 0:w.center)&&_.searchParams.set("center",`${d};${p}`),!1!==(null==w?void 0:w.level)&&_.searchParams.set("level",`${v}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return a(this)}};ti.style=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";export{Ct as calcite_block,St as calcite_date_picker,Bt as calcite_input_date_picker,Zt as instant_apps_filter_list,ti as instant_apps_social_share}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- /*!
7
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
9
- * v2.11.1
10
- */
11
- const s={sticky:"sticky-pos"},c={circle:"circle",square:"square",grip:"grip"},i={menuActions:"menu-actions"};export{s as C,c as I,i as S}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,h as t,g as s}from"./p-f4c4a2b7.js";import{c as a,u as i,d as o,I as d}from"./p-ec561560.js";import{l}from"./p-b1c71e50.js";import"./p-73ae4b9b.js";import"./p-ca42f3d3.js";l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]});const c=class{constructor(t){e(this,t),this.disabled=!1,this.layout="horizontal"}connectedCallback(){a(this)}componentDidRender(){i(this)}disconnectedCallback(){o(this)}render(){return t(d,{key:"83f267502fc22df5a3d3bcf540e65d3aa43413f1",disabled:this.disabled},t("slot",{key:"0fe21889c961ab55e5b78a7be0faed720cc0d0e5"}))}get el(){return s(this)}};c.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{c as calcite_tile_select_group}