@esri/solutions-components 0.7.33 → 0.7.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1547) hide show
  1. package/dist/cjs/ExpandToggle-da591f01.js +118 -0
  2. package/dist/cjs/FloatingArrow-a27ad9b2.js +50 -0
  3. package/dist/cjs/Heading-bd401e0a.js +25 -0
  4. package/dist/cjs/Validation-b02c6710.js +20 -0
  5. package/dist/cjs/app-globals-056e11bb.js +69 -0
  6. package/dist/cjs/ar-bec1adeb.js +105 -0
  7. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  8. package/dist/cjs/array-6ea3edb8.js +17 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  10. package/dist/cjs/bg-e1afda53.js +83 -0
  11. package/dist/cjs/browser-d08a5f99.js +23 -0
  12. package/dist/cjs/bs-d14ff0d3.js +52 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +12 -12
  14. package/dist/cjs/ca-10ee7960.js +72 -0
  15. package/dist/cjs/calcite-accordion-item.cjs.entry.js +25 -25
  16. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  17. package/dist/cjs/calcite-action-bar.cjs.entry.js +21 -20
  18. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  19. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +112 -114
  20. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +20 -19
  21. package/dist/cjs/calcite-action_2.cjs.entry.js +28 -28
  22. package/dist/cjs/calcite-alert_4.cjs.entry.js +64 -50
  23. package/dist/cjs/calcite-avatar.cjs.entry.js +40 -40
  24. package/dist/cjs/calcite-block-section.cjs.entry.js +29 -29
  25. package/dist/cjs/calcite-block_2.cjs.entry.js +51 -50
  26. package/dist/cjs/calcite-button.cjs.entry.js +42 -38
  27. package/dist/cjs/calcite-card.cjs.entry.js +22 -22
  28. package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -14
  29. package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -10
  30. package/dist/cjs/calcite-chip_2.cjs.entry.js +388 -0
  31. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +19 -19
  32. package/dist/cjs/calcite-color-picker.cjs.entry.js +21 -17
  33. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -9
  34. package/dist/cjs/calcite-combobox_5.cjs.entry.js +2120 -0
  35. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +25 -28
  36. package/dist/cjs/calcite-fab.cjs.entry.js +13 -13
  37. package/dist/cjs/calcite-filter_5.cjs.entry.js +257 -204
  38. package/dist/cjs/calcite-flow_5.cjs.entry.js +37 -36
  39. package/dist/cjs/calcite-graph_2.cjs.entry.js +233 -277
  40. package/dist/cjs/calcite-icon.cjs.entry.js +49 -49
  41. package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
  42. package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +90 -65
  43. package/dist/cjs/calcite-input-number.cjs.entry.js +73 -52
  44. package/dist/cjs/calcite-input-text.cjs.entry.js +36 -39
  45. package/dist/cjs/calcite-input-time-picker-bb2db82c.js +1850 -0
  46. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -19
  47. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +118 -116
  48. package/dist/cjs/calcite-input_2.cjs.entry.js +80 -59
  49. package/dist/cjs/calcite-label.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-link.cjs.entry.js +13 -13
  51. package/dist/cjs/calcite-list-item-group.cjs.entry.js +11 -10
  52. package/dist/cjs/calcite-menu-item.cjs.entry.js +51 -52
  53. package/dist/cjs/calcite-menu.cjs.entry.js +24 -17
  54. package/dist/cjs/calcite-meter.cjs.entry.js +24 -24
  55. package/dist/cjs/calcite-modal.cjs.entry.js +57 -55
  56. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +10 -10
  57. package/dist/cjs/calcite-navigation-user.cjs.entry.js +7 -7
  58. package/dist/cjs/calcite-navigation.cjs.entry.js +24 -24
  59. package/dist/cjs/calcite-notice.cjs.entry.js +23 -23
  60. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  61. package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
  62. package/dist/cjs/calcite-pagination.cjs.entry.js +30 -30
  63. package/dist/cjs/calcite-panel_2.cjs.entry.js +58 -40
  64. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -8
  65. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
  66. package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
  67. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +27 -10
  68. package/dist/cjs/calcite-radio-button.cjs.entry.js +27 -23
  69. package/dist/cjs/calcite-rating.cjs.entry.js +20 -20
  70. package/dist/cjs/calcite-scrim.cjs.entry.js +14 -14
  71. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +29 -16
  72. package/dist/cjs/calcite-sheet.cjs.entry.js +15 -15
  73. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
  74. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +126 -114
  75. package/dist/cjs/calcite-sortable-list.cjs.entry.js +23 -21
  76. package/dist/cjs/calcite-split-button.cjs.entry.js +13 -13
  77. package/dist/cjs/calcite-stepper-item.cjs.entry.js +24 -24
  78. package/dist/cjs/calcite-stepper.cjs.entry.js +34 -34
  79. package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
  80. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +41 -32
  81. package/dist/cjs/calcite-table-row.cjs.entry.js +23 -12
  82. package/dist/cjs/calcite-table.cjs.entry.js +29 -25
  83. package/dist/cjs/calcite-text-area.cjs.entry.js +39 -40
  84. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -5
  85. package/dist/cjs/calcite-tile-select.cjs.entry.js +39 -28
  86. package/dist/cjs/calcite-tile.cjs.entry.js +16 -21
  87. package/dist/cjs/calcite-time-picker.cjs.entry.js +44 -44
  88. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  89. package/dist/cjs/calcite-tip-manager.cjs.entry.js +24 -24
  90. package/dist/cjs/calcite-tip.cjs.entry.js +20 -20
  91. package/dist/cjs/calcite-tooltip.cjs.entry.js +212 -213
  92. package/dist/cjs/calcite-tree_2.cjs.entry.js +45 -46
  93. package/dist/cjs/card-manager_3.cjs.entry.js +39 -27
  94. package/dist/cjs/component-ac7c3bd8.js +33 -0
  95. package/dist/cjs/conditionalSlot-9d7b60d1.js +63 -0
  96. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
  97. package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -9
  98. package/dist/cjs/cs-5d5113c9.js +148 -0
  99. package/dist/cjs/da-b9b48fb6.js +67 -0
  100. package/dist/cjs/date-9de4dd6f.js +261 -0
  101. package/dist/cjs/de-2e3205ac.js +92 -0
  102. package/dist/cjs/de-at-28bea0b1.js +91 -0
  103. package/dist/cjs/de-ch-376dd4c7.js +91 -0
  104. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  105. package/dist/cjs/dom-c9c2c835.js +1087 -0
  106. package/dist/cjs/downloadUtils-8ca56dfa.js +3136 -0
  107. package/dist/cjs/el-98aab056.js +67 -0
  108. package/dist/cjs/en-au-e3c99f1e.js +67 -0
  109. package/dist/cjs/en-ca-32f77575.js +66 -0
  110. package/dist/cjs/en-gb-7f5e80a9.js +70 -0
  111. package/dist/cjs/es-9899072a.js +67 -0
  112. package/dist/cjs/es-mx-e33cab75.js +66 -0
  113. package/dist/cjs/et-b55f74e1.js +93 -0
  114. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  115. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  116. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  117. package/dist/cjs/fi-aa10ef36.js +116 -0
  118. package/dist/cjs/filter-b524f88d.js +765 -0
  119. package/dist/cjs/floating-ui-984cc970.js +1966 -0
  120. package/dist/cjs/focusTrapComponent-faae7d7e.js +1028 -0
  121. package/dist/cjs/form-fed676d6.js +316 -0
  122. package/dist/cjs/fr-52b860d8.js +69 -0
  123. package/dist/cjs/fr-ch-665d488a.js +67 -0
  124. package/dist/cjs/guid-ae73cd27.js +26 -0
  125. package/dist/cjs/he-e572f72c.js +106 -0
  126. package/dist/cjs/helpers-981dd775.js +903 -0
  127. package/dist/cjs/hi-d1bf5a03.js +66 -0
  128. package/dist/cjs/hr-7dbc9a12.js +81 -0
  129. package/dist/cjs/hu-dcb326c9.js +89 -0
  130. package/dist/cjs/id-9ac473e6.js +67 -0
  131. package/dist/cjs/index-105cf2b9.js +2553 -0
  132. package/dist/cjs/index-ae65e42f.js +201 -0
  133. package/dist/cjs/index.es-3c36cde7.js +10811 -0
  134. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
  135. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  136. package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
  137. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  138. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  139. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  140. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  141. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  142. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
  143. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
  144. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  145. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
  146. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +3 -3
  147. package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
  148. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  149. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  150. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  151. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  152. package/dist/cjs/interactive-3ab7044d.js +144 -0
  153. package/dist/cjs/it-5ee42edc.js +67 -0
  154. package/dist/cjs/it-ch-54981090.js +67 -0
  155. package/dist/cjs/ja-f090b8db.js +73 -0
  156. package/dist/cjs/key-c5504030.js +19 -0
  157. package/dist/cjs/ko-14650b28.js +73 -0
  158. package/dist/cjs/label-32573e1d.js +186 -0
  159. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  160. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  161. package/dist/cjs/loadable-5a794992.js +94 -0
  162. package/dist/cjs/loader.cjs.js +4 -4
  163. package/dist/cjs/locale-8c42ba7a.js +161 -0
  164. package/dist/cjs/locale-d237c9d5.js +584 -0
  165. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  166. package/dist/cjs/lt-7d826627.js +98 -0
  167. package/dist/cjs/lv-397bf143.js +67 -0
  168. package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
  169. package/dist/cjs/math-318a1646.js +60 -0
  170. package/dist/cjs/mk-112e247a.js +67 -0
  171. package/dist/cjs/nb-0a4d7d1f.js +68 -0
  172. package/dist/cjs/nl-cfcabe91.js +68 -0
  173. package/dist/cjs/observers-db4527e4.js +53 -0
  174. package/dist/cjs/openCloseComponent-19a769d0.js +92 -0
  175. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  176. package/dist/cjs/pl-c3e61022.js +115 -0
  177. package/dist/cjs/popupUtils-824d2f7c.js +96 -0
  178. package/dist/cjs/pt-6733c97d.js +68 -0
  179. package/dist/cjs/pt-br-6e06cf69.js +66 -0
  180. package/dist/cjs/public-notification.cjs.entry.js +6 -6
  181. package/dist/cjs/publicNotificationStore-ef379d11.js +47 -0
  182. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  183. package/dist/cjs/resources-1d88e9d6.js +39 -0
  184. package/dist/cjs/resources-3e593312.js +52 -0
  185. package/dist/cjs/resources-555dae0e.js +29 -0
  186. package/dist/cjs/resources-7e540eac.js +26 -0
  187. package/dist/cjs/resources-9447c777.js +32 -0
  188. package/dist/cjs/resources-adfcb1ec.js +2062 -0
  189. package/dist/cjs/resources-baef554d.js +27 -0
  190. package/dist/cjs/resources-c4fe74a9.js +23 -0
  191. package/dist/cjs/resources-dd8ff1b4.js +20 -0
  192. package/dist/cjs/ro-60cdf606.js +67 -0
  193. package/dist/cjs/ru-bf392182.js +127 -0
  194. package/dist/cjs/share-item.cjs.entry.js +1 -1
  195. package/dist/cjs/shared-list-render-410f421e.js +365 -0
  196. package/dist/cjs/sk-cf9539a5.js +149 -0
  197. package/dist/cjs/sl-1d297b4f.js +169 -0
  198. package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
  199. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  200. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  201. package/dist/cjs/solution-store-2f7fbcc5.js +1344 -0
  202. package/dist/cjs/solutions-components.cjs.js +5 -5
  203. package/dist/cjs/sortableComponent-c111c036.js +2742 -0
  204. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  205. package/dist/cjs/sr-f0c4f00a.js +102 -0
  206. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  207. package/dist/cjs/sv-620bebec.js +72 -0
  208. package/dist/cjs/t9n-993a84de.js +100 -0
  209. package/dist/cjs/th-07dd0e43.js +66 -0
  210. package/dist/cjs/time-ff8d50c7.js +289 -0
  211. package/dist/cjs/tr-42e14ef4.js +67 -0
  212. package/dist/cjs/uk-398a1806.js +105 -0
  213. package/dist/cjs/utils-3940c852.js +105 -0
  214. package/dist/cjs/utils-65d812ea.js +62 -0
  215. package/dist/cjs/utils-7bc7f595.js +64 -0
  216. package/dist/cjs/utils-a137dc1a.js +130 -0
  217. package/dist/cjs/utils-cca83dd0.js +221 -0
  218. package/dist/cjs/vi-860b42fc.js +71 -0
  219. package/dist/cjs/zh-cn-a89ecb38.js +95 -0
  220. package/dist/cjs/zh-hk-affe0bef.js +72 -0
  221. package/dist/cjs/zh-tw-ca333ffb.js +93 -0
  222. package/dist/collection/collection-manifest.json +1 -1
  223. package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
  224. package/dist/collection/components/buffer-tools/buffer-tools.js +3 -2
  225. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +7 -7
  226. package/dist/collection/components/delete-button/delete-button.js +1 -1
  227. package/dist/collection/components/feature-list/feature-list.js +1 -1
  228. package/dist/collection/components/json-editor/json-editor.js +3 -5
  229. package/dist/collection/components/layer-list/layer-list.js +1 -1
  230. package/dist/collection/components/layer-table/layer-table.js +36 -24
  231. package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
  232. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  233. package/dist/collection/components/map-legend/map-legend.css +3 -3
  234. package/dist/collection/components/map-picker/map-picker.js +3 -2
  235. package/dist/collection/components/pdf-download/pdf-download.js +27 -45
  236. package/dist/collection/components/public-notification/public-notification.js +1 -1
  237. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  238. package/dist/collection/components/spatial-ref/spatial-ref.js +6 -10
  239. package/dist/collection/demos/crowdsource-manager.html +181 -159
  240. package/dist/collection/utils/downloadUtils.js +13 -8
  241. package/dist/collection/utils/downloadUtils.ts +16 -8
  242. package/dist/collection/utils/interfaces.ts +15 -3
  243. package/dist/components/ExpandToggle.js +65 -65
  244. package/dist/components/FloatingArrow.js +17 -17
  245. package/dist/components/Heading.js +5 -5
  246. package/dist/components/Validation.js +18 -0
  247. package/dist/components/action-bar.js +9 -7
  248. package/dist/components/action-group.js +5 -5
  249. package/dist/components/action-menu.js +18 -19
  250. package/dist/components/action-pad.js +8 -6
  251. package/dist/components/action.js +17 -17
  252. package/dist/components/alert.js +53 -37
  253. package/dist/components/array.js +2 -2
  254. package/dist/components/avatar.js +35 -35
  255. package/dist/components/block.js +35 -33
  256. package/dist/components/button.js +31 -27
  257. package/dist/components/calcite-accordion-item.js +18 -18
  258. package/dist/components/calcite-block-section.js +20 -20
  259. package/dist/components/calcite-card.js +13 -13
  260. package/dist/components/calcite-chip-group.js +4 -3
  261. package/dist/components/calcite-color-picker.js +8 -4
  262. package/dist/components/calcite-combobox-item-group.js +4 -4
  263. package/dist/components/calcite-fab.js +7 -7
  264. package/dist/components/calcite-inline-editable.js +12 -12
  265. package/dist/components/calcite-input-time-picker.js +15 -12
  266. package/dist/components/calcite-input-time-zone.js +107 -103
  267. package/dist/components/calcite-list-item-group.js +10 -8
  268. package/dist/components/calcite-menu-item.js +42 -43
  269. package/dist/components/calcite-meter.js +15 -15
  270. package/dist/components/calcite-navigation-logo.js +8 -8
  271. package/dist/components/calcite-navigation-user.js +5 -5
  272. package/dist/components/calcite-navigation.js +19 -19
  273. package/dist/components/calcite-pick-list.js +1 -1
  274. package/dist/components/calcite-radio-button-group.js +28 -9
  275. package/dist/components/calcite-radio-button.js +1 -340
  276. package/dist/components/calcite-rating.js +7 -7
  277. package/dist/components/calcite-sheet.js +7 -7
  278. package/dist/components/calcite-shell-center-row.js +4 -4
  279. package/dist/components/calcite-sortable-list.js +16 -14
  280. package/dist/components/calcite-split-button.js +10 -10
  281. package/dist/components/calcite-stepper-item.js +14 -14
  282. package/dist/components/calcite-stepper.js +26 -26
  283. package/dist/components/calcite-table-row.js +17 -5
  284. package/dist/components/calcite-table.js +20 -15
  285. package/dist/components/calcite-text-area.js +28 -28
  286. package/dist/components/calcite-tile-select-group.js +3 -3
  287. package/dist/components/calcite-tile-select.js +42 -32
  288. package/dist/components/calcite-tile.js +103 -1
  289. package/dist/components/calcite-tip-manager.js +15 -15
  290. package/dist/components/calcite-tip.js +10 -10
  291. package/dist/components/checkbox.js +4 -4
  292. package/dist/components/chip.js +28 -27
  293. package/dist/components/color-picker-hex-input.js +79 -79
  294. package/dist/components/color-picker-swatch.js +8 -8
  295. package/dist/components/combobox-item.js +18 -17
  296. package/dist/components/combobox.js +29 -13
  297. package/dist/components/component.js +6 -6
  298. package/dist/components/conditionalSlot.js +17 -17
  299. package/dist/components/crowdsource-reporter.js +7 -7
  300. package/dist/components/date-picker-day.js +4 -7
  301. package/dist/components/date-picker-month-header.js +10 -10
  302. package/dist/components/date-picker.js +19 -19
  303. package/dist/components/date.js +110 -110
  304. package/dist/components/delete-button2.js +1 -1
  305. package/dist/components/dom.js +165 -165
  306. package/dist/components/downloadUtils.js +13 -8
  307. package/dist/components/dropdown-item.js +14 -7
  308. package/dist/components/dropdown.js +20 -20
  309. package/dist/components/feature-list2.js +1 -1
  310. package/dist/components/filter.js +27 -27
  311. package/dist/components/filter2.js +13 -11
  312. package/dist/components/floating-ui.js +227 -167
  313. package/dist/components/flow-item.js +19 -17
  314. package/dist/components/flow.js +4 -4
  315. package/dist/components/focusTrapComponent.js +27 -27
  316. package/dist/components/form.js +192 -137
  317. package/dist/components/graph.js +60 -60
  318. package/dist/components/guid.js +10 -10
  319. package/dist/components/handle.js +45 -24
  320. package/dist/components/icon.js +44 -44
  321. package/dist/components/index.js +22 -22
  322. package/dist/components/input-date-picker.js +75 -48
  323. package/dist/components/input-message.js +5 -5
  324. package/dist/components/input-number.js +64 -42
  325. package/dist/components/input-text.js +26 -28
  326. package/dist/components/input.js +71 -49
  327. package/dist/components/interactive.js +83 -88
  328. package/dist/components/key.js +2 -2
  329. package/dist/components/label.js +109 -109
  330. package/dist/components/label2.js +3 -3
  331. package/dist/components/layer-list2.js +1 -1
  332. package/dist/components/layer-table2.js +36 -24
  333. package/dist/components/link.js +7 -7
  334. package/dist/components/list-item.js +98 -62
  335. package/dist/components/list.js +88 -90
  336. package/dist/components/loadable.js +10 -10
  337. package/dist/components/locale2.js +409 -409
  338. package/dist/components/map-layer-picker2.js +1 -1
  339. package/dist/components/math.js +16 -16
  340. package/dist/components/menu.js +17 -10
  341. package/dist/components/modal.js +45 -43
  342. package/dist/components/notice.js +10 -10
  343. package/dist/components/observers.js +31 -31
  344. package/dist/components/openCloseComponent.js +50 -50
  345. package/dist/components/pagination.js +20 -20
  346. package/dist/components/panel.js +39 -37
  347. package/dist/components/pick-list-item.js +23 -23
  348. package/dist/components/popover.js +84 -85
  349. package/dist/components/public-notification.js +1 -1
  350. package/dist/components/radio-button.js +350 -0
  351. package/dist/components/refine-selection2.js +1 -1
  352. package/dist/components/resources.js +12 -12
  353. package/dist/components/resources2.js +6 -6
  354. package/dist/components/resources3.js +11 -11
  355. package/dist/components/resources4.js +6 -6
  356. package/dist/components/resources5.js +5 -5
  357. package/dist/components/scrim.js +6 -6
  358. package/dist/components/segmented-control-item.js +3 -3
  359. package/dist/components/segmented-control.js +19 -3
  360. package/dist/components/select.js +16 -9
  361. package/dist/components/shared-list-render.js +242 -241
  362. package/dist/components/shell-panel.js +16 -12
  363. package/dist/components/shell.js +41 -23
  364. package/dist/components/slider.js +160 -204
  365. package/dist/components/sortableComponent.js +548 -914
  366. package/dist/components/stack.js +11 -11
  367. package/dist/components/switch.js +4 -4
  368. package/dist/components/t9n.js +32 -32
  369. package/dist/components/tab-nav.js +7 -2
  370. package/dist/components/tab-title.js +38 -36
  371. package/dist/components/tab.js +4 -4
  372. package/dist/components/table-cell.js +14 -10
  373. package/dist/components/table-header.js +19 -11
  374. package/dist/components/tabs.js +2 -2
  375. package/dist/components/time-picker.js +246 -246
  376. package/dist/components/tooltip.js +205 -206
  377. package/dist/components/tree-item.js +23 -24
  378. package/dist/components/tree.js +14 -14
  379. package/dist/components/utils.js +142 -142
  380. package/dist/components/utils2.js +19 -19
  381. package/dist/components/utils3.js +64 -59
  382. package/dist/components/value-list-item.js +9 -9
  383. package/dist/components/value-list.js +32 -30
  384. package/dist/esm/ExpandToggle-b6eb575e.js +110 -0
  385. package/dist/esm/FloatingArrow-93d6d18b.js +48 -0
  386. package/dist/esm/Heading-94780f62.js +22 -0
  387. package/dist/esm/Validation-ea480265.js +18 -0
  388. package/dist/esm/app-globals-c4e206db.js +67 -0
  389. package/dist/esm/ar-7633f382.js +103 -0
  390. package/dist/esm/arcgis-login.entry.js +1 -1
  391. package/dist/esm/array-396bdf3c.js +15 -0
  392. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  393. package/dist/esm/bg-5ccf3b3b.js +81 -0
  394. package/dist/esm/browser-d60104bd.js +21 -0
  395. package/dist/esm/bs-59e59ad4.js +50 -0
  396. package/dist/esm/buffer-tools_3.entry.js +12 -12
  397. package/dist/esm/ca-d8d2bc89.js +70 -0
  398. package/dist/esm/calcite-accordion-item.entry.js +25 -25
  399. package/dist/esm/calcite-accordion.entry.js +2 -2
  400. package/dist/esm/calcite-action-bar.entry.js +21 -20
  401. package/dist/esm/calcite-action-group.entry.js +12 -12
  402. package/dist/esm/calcite-action-menu_2.entry.js +112 -114
  403. package/dist/esm/calcite-action-pad_2.entry.js +20 -19
  404. package/dist/esm/calcite-action_2.entry.js +28 -28
  405. package/dist/esm/calcite-alert_4.entry.js +64 -50
  406. package/dist/esm/calcite-avatar.entry.js +40 -40
  407. package/dist/esm/calcite-block-section.entry.js +29 -29
  408. package/dist/esm/calcite-block_2.entry.js +51 -50
  409. package/dist/esm/calcite-button.entry.js +42 -38
  410. package/dist/esm/calcite-card.entry.js +22 -22
  411. package/dist/esm/calcite-checkbox.entry.js +14 -14
  412. package/dist/esm/calcite-chip-group.entry.js +11 -10
  413. package/dist/esm/calcite-chip_2.entry.js +383 -0
  414. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +19 -19
  415. package/dist/esm/calcite-color-picker.entry.js +21 -17
  416. package/dist/esm/calcite-combobox-item-group.entry.js +9 -9
  417. package/dist/esm/calcite-combobox_5.entry.js +2112 -0
  418. package/dist/esm/calcite-date-picker-day_3.entry.js +25 -28
  419. package/dist/esm/calcite-fab.entry.js +13 -13
  420. package/dist/esm/calcite-filter_5.entry.js +257 -204
  421. package/dist/esm/calcite-flow_5.entry.js +37 -36
  422. package/dist/esm/calcite-graph_2.entry.js +233 -277
  423. package/dist/esm/calcite-icon.entry.js +49 -49
  424. package/dist/esm/calcite-inline-editable.entry.js +24 -24
  425. package/dist/esm/calcite-input-date-picker_3.entry.js +90 -65
  426. package/dist/esm/calcite-input-number.entry.js +73 -52
  427. package/dist/esm/calcite-input-text.entry.js +36 -39
  428. package/dist/esm/calcite-input-time-picker-dbf2079e.js +1847 -0
  429. package/dist/esm/calcite-input-time-picker.entry.js +20 -19
  430. package/dist/esm/calcite-input-time-zone.entry.js +118 -116
  431. package/dist/esm/calcite-input_2.entry.js +80 -59
  432. package/dist/esm/calcite-label.entry.js +9 -9
  433. package/dist/esm/calcite-link.entry.js +13 -13
  434. package/dist/esm/calcite-list-item-group.entry.js +11 -10
  435. package/dist/esm/calcite-menu-item.entry.js +51 -52
  436. package/dist/esm/calcite-menu.entry.js +24 -17
  437. package/dist/esm/calcite-meter.entry.js +24 -24
  438. package/dist/esm/calcite-modal.entry.js +57 -55
  439. package/dist/esm/calcite-navigation-logo.entry.js +10 -10
  440. package/dist/esm/calcite-navigation-user.entry.js +7 -7
  441. package/dist/esm/calcite-navigation.entry.js +24 -24
  442. package/dist/esm/calcite-notice.entry.js +23 -23
  443. package/dist/esm/calcite-option-group.entry.js +1 -1
  444. package/dist/esm/calcite-option_2.entry.js +23 -18
  445. package/dist/esm/calcite-pagination.entry.js +30 -30
  446. package/dist/esm/calcite-panel_2.entry.js +58 -40
  447. package/dist/esm/calcite-pick-list-group.entry.js +8 -8
  448. package/dist/esm/calcite-pick-list-item.entry.js +17 -17
  449. package/dist/esm/calcite-pick-list.entry.js +13 -13
  450. package/dist/esm/calcite-radio-button-group.entry.js +27 -10
  451. package/dist/esm/calcite-radio-button.entry.js +27 -23
  452. package/dist/esm/calcite-rating.entry.js +20 -20
  453. package/dist/esm/calcite-scrim.entry.js +14 -14
  454. package/dist/esm/calcite-segmented-control_2.entry.js +29 -16
  455. package/dist/esm/calcite-sheet.entry.js +15 -15
  456. package/dist/esm/calcite-shell-center-row.entry.js +10 -10
  457. package/dist/esm/calcite-shell-panel_14.entry.js +126 -114
  458. package/dist/esm/calcite-sortable-list.entry.js +23 -21
  459. package/dist/esm/calcite-split-button.entry.js +13 -13
  460. package/dist/esm/calcite-stepper-item.entry.js +24 -24
  461. package/dist/esm/calcite-stepper.entry.js +34 -34
  462. package/dist/esm/calcite-switch.entry.js +14 -14
  463. package/dist/esm/calcite-table-cell_2.entry.js +41 -32
  464. package/dist/esm/calcite-table-row.entry.js +23 -12
  465. package/dist/esm/calcite-table.entry.js +29 -25
  466. package/dist/esm/calcite-text-area.entry.js +39 -40
  467. package/dist/esm/calcite-tile-select-group.entry.js +5 -5
  468. package/dist/esm/calcite-tile-select.entry.js +39 -28
  469. package/dist/esm/calcite-tile.entry.js +16 -21
  470. package/dist/esm/calcite-time-picker.entry.js +44 -44
  471. package/dist/esm/calcite-tip-group.entry.js +1 -1
  472. package/dist/esm/calcite-tip-manager.entry.js +24 -24
  473. package/dist/esm/calcite-tip.entry.js +20 -20
  474. package/dist/esm/calcite-tooltip.entry.js +212 -213
  475. package/dist/esm/calcite-tree_2.entry.js +45 -46
  476. package/dist/esm/card-manager_3.entry.js +39 -27
  477. package/dist/esm/component-edd2c3cd.js +30 -0
  478. package/dist/esm/conditionalSlot-12c4fcfb.js +60 -0
  479. package/dist/esm/crowdsource-manager.entry.js +2 -2
  480. package/dist/esm/crowdsource-reporter.entry.js +9 -9
  481. package/dist/esm/cs-3d744598.js +146 -0
  482. package/dist/esm/da-ad0f6f82.js +65 -0
  483. package/dist/esm/date-5630530d.js +245 -0
  484. package/dist/esm/de-at-8de8843c.js +89 -0
  485. package/dist/esm/de-ch-03a1c027.js +89 -0
  486. package/dist/esm/de-d6966c3f.js +90 -0
  487. package/dist/esm/deduct-calculator.entry.js +1 -1
  488. package/dist/esm/dom-38c6f027.js +1056 -0
  489. package/dist/esm/downloadUtils-8b83a40c.js +3130 -0
  490. package/dist/esm/el-7130c722.js +65 -0
  491. package/dist/esm/en-au-005d4093.js +65 -0
  492. package/dist/esm/en-ca-1b54d10b.js +64 -0
  493. package/dist/esm/en-gb-ac1ad784.js +68 -0
  494. package/dist/esm/es-d6f91b06.js +65 -0
  495. package/dist/esm/es-mx-26a8411a.js +64 -0
  496. package/dist/esm/et-1f7ea62f.js +91 -0
  497. package/dist/esm/feature-comments.entry.js +1 -1
  498. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  499. package/dist/esm/features-flow-item.entry.js +1 -1
  500. package/dist/esm/fi-df7f8ad0.js +114 -0
  501. package/dist/esm/filter-ce763acf.js +763 -0
  502. package/dist/esm/floating-ui-41dfe3f1.js +1958 -0
  503. package/dist/esm/focusTrapComponent-47ddce58.js +1023 -0
  504. package/dist/esm/form-50dcd52e.js +307 -0
  505. package/dist/esm/fr-14ad3cd0.js +67 -0
  506. package/dist/esm/fr-ch-328d9a38.js +65 -0
  507. package/dist/esm/guid-b75a5f7b.js +24 -0
  508. package/dist/esm/he-a30ddc93.js +104 -0
  509. package/dist/esm/helpers-e8852b4a.js +877 -0
  510. package/dist/esm/hi-5d914f70.js +64 -0
  511. package/dist/esm/hr-232bce19.js +79 -0
  512. package/dist/esm/hu-cb9fa8dc.js +87 -0
  513. package/dist/esm/id-28662048.js +65 -0
  514. package/dist/esm/index-164d485a.js +2519 -0
  515. package/dist/esm/index-477ea182.js +199 -0
  516. package/dist/esm/index.es-33e2ee2d.js +10725 -0
  517. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
  518. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  519. package/dist/esm/instant-apps-export.entry.js +1 -1
  520. package/dist/esm/instant-apps-header.entry.js +1 -1
  521. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  522. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  523. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  524. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  525. package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
  526. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
  527. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  528. package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
  529. package/dist/esm/instant-apps-language-translator.entry.js +3 -3
  530. package/dist/esm/instant-apps-measurement.entry.js +1 -1
  531. package/dist/esm/instant-apps-popover.entry.js +1 -1
  532. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  533. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  534. package/dist/esm/instant-apps-splash.entry.js +1 -1
  535. package/dist/esm/interactive-39bf5602.js +139 -0
  536. package/dist/esm/it-7fd85aa4.js +65 -0
  537. package/dist/esm/it-ch-ab98adcc.js +65 -0
  538. package/dist/esm/ja-eaf04e42.js +71 -0
  539. package/dist/esm/key-c83d835f.js +16 -0
  540. package/dist/esm/ko-d029100b.js +71 -0
  541. package/dist/esm/label-b4cea72e.js +179 -0
  542. package/dist/esm/layout-manager.entry.js +2 -2
  543. package/dist/esm/list-flow-item.entry.js +1 -1
  544. package/dist/esm/loadable-37e7fbd6.js +89 -0
  545. package/dist/esm/loader.js +5 -5
  546. package/dist/esm/locale-25a5ae3e.js +156 -0
  547. package/dist/esm/locale-904407bf.js +571 -0
  548. package/dist/esm/location-flow-item.entry.js +1 -1
  549. package/dist/esm/lt-4c10b6c4.js +96 -0
  550. package/dist/esm/lv-d2afd652.js +65 -0
  551. package/dist/esm/map-select-tools_3.entry.js +6 -6
  552. package/dist/esm/math-efada7a9.js +54 -0
  553. package/dist/esm/mk-ee9a3d11.js +65 -0
  554. package/dist/esm/nb-b9ec8eb4.js +66 -0
  555. package/dist/esm/nl-8e5bf9af.js +66 -0
  556. package/dist/esm/observers-d04d1da9.js +51 -0
  557. package/dist/esm/openCloseComponent-9f90f493.js +90 -0
  558. package/dist/esm/pci-calculator.entry.js +1 -1
  559. package/dist/esm/pl-1379aa6d.js +113 -0
  560. package/dist/esm/popupUtils-23fe3c9f.js +94 -0
  561. package/dist/esm/pt-8494ce08.js +66 -0
  562. package/dist/esm/pt-br-54686d6b.js +64 -0
  563. package/dist/esm/public-notification.entry.js +6 -6
  564. package/dist/esm/publicNotificationStore-3bf4de75.js +45 -0
  565. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  566. package/dist/esm/resources-00983bd3.js +48 -0
  567. package/dist/esm/resources-20074cb1.js +24 -0
  568. package/dist/esm/resources-3709252d.js +35 -0
  569. package/dist/esm/resources-79914606.js +2051 -0
  570. package/dist/esm/resources-8834f920.js +28 -0
  571. package/dist/esm/resources-88a48c5c.js +20 -0
  572. package/dist/esm/resources-9b7e72d5.js +20 -0
  573. package/dist/esm/resources-abd87b42.js +24 -0
  574. package/dist/esm/resources-b0e2b809.js +22 -0
  575. package/dist/esm/ro-63586962.js +65 -0
  576. package/dist/esm/ru-ec1f486a.js +125 -0
  577. package/dist/esm/share-item.entry.js +1 -1
  578. package/dist/esm/shared-list-render-ede061c1.js +343 -0
  579. package/dist/esm/sk-d7d87eb9.js +147 -0
  580. package/dist/esm/sl-2a7d999b.js +167 -0
  581. package/dist/esm/solution-configuration.entry.js +4 -4
  582. package/dist/esm/solution-contents_3.entry.js +4 -4
  583. package/dist/esm/solution-item-icon.entry.js +1 -1
  584. package/dist/esm/solution-store-01769bbf.js +1342 -0
  585. package/dist/esm/solutions-components.js +6 -6
  586. package/dist/esm/sortableComponent-d7cd11a3.js +2738 -0
  587. package/dist/esm/spatial-ref.entry.js +2 -2
  588. package/dist/esm/sr-a3be308c.js +100 -0
  589. package/dist/esm/store-manager.entry.js +1 -1
  590. package/dist/esm/sv-890688fe.js +70 -0
  591. package/dist/esm/t9n-436fb2b1.js +95 -0
  592. package/dist/esm/th-ae3d67ae.js +64 -0
  593. package/dist/esm/time-29001694.js +274 -0
  594. package/dist/esm/tr-260f6f88.js +65 -0
  595. package/dist/esm/uk-d84b6056.js +103 -0
  596. package/dist/esm/utils-9fb4104a.js +61 -0
  597. package/dist/esm/utils-a15078af.js +203 -0
  598. package/dist/esm/utils-b46c535b.js +121 -0
  599. package/dist/esm/utils-d2b2562a.js +95 -0
  600. package/dist/esm/utils-ef0ff036.js +51 -0
  601. package/dist/esm/vi-f3eb25b9.js +69 -0
  602. package/dist/esm/zh-cn-d6fc0582.js +93 -0
  603. package/dist/esm/zh-hk-285977d0.js +70 -0
  604. package/dist/esm/zh-tw-d83c5c9d.js +91 -0
  605. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
  606. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
  607. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +13 -7
  608. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +6 -6
  609. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
  610. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
  611. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +6 -6
  612. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
  613. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
  614. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +9 -5
  615. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
  616. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +9 -5
  617. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
  618. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +9 -5
  619. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +9 -5
  620. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +9 -5
  621. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +9 -5
  622. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  623. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  624. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +25 -5
  625. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +9 -5
  626. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  627. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  628. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +9 -5
  629. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  630. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  631. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +9 -5
  632. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  633. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +37 -43
  634. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +9 -5
  635. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +9 -5
  636. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  637. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +9 -5
  638. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  639. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +10 -6
  640. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
  641. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +9 -5
  642. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +25 -5
  643. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +27 -7
  644. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +10 -27
  645. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +29 -9
  646. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +29 -9
  647. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +25 -5
  648. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +9 -5
  649. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +9 -5
  650. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -5
  651. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +9 -5
  652. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +55 -8
  653. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +13 -5
  654. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
  655. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  656. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
  657. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +9 -5
  658. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +20 -16
  659. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  660. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  661. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
  662. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
  663. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  664. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  665. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
  666. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +9 -5
  667. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +9 -5
  668. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  669. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +9 -5
  670. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
  671. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
  672. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +9 -5
  673. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +54 -18
  674. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +9 -5
  675. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  676. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +35 -10
  677. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  678. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +40 -9
  679. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  680. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +14 -6
  681. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  682. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +17 -11
  683. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +9 -5
  684. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +9 -5
  685. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +9 -5
  686. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
  687. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
  688. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +9 -5
  689. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +9 -5
  690. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +42 -30
  691. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
  692. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +9 -5
  693. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +12 -20
  694. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +35 -11
  695. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +13 -5
  696. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +13 -5
  697. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
  698. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +25 -5
  699. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +57 -29
  700. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +90 -7
  701. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +9 -5
  702. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  703. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
  704. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  705. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
  706. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
  707. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  708. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +9 -5
  709. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +9 -5
  710. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +9 -5
  711. package/dist/solutions-components/assets/combobox/t9n/messages_ar.json +4 -1
  712. package/dist/solutions-components/assets/combobox/t9n/messages_bg.json +4 -1
  713. package/dist/solutions-components/assets/combobox/t9n/messages_bs.json +4 -1
  714. package/dist/solutions-components/assets/combobox/t9n/messages_ca.json +4 -1
  715. package/dist/solutions-components/assets/combobox/t9n/messages_cs.json +4 -1
  716. package/dist/solutions-components/assets/combobox/t9n/messages_da.json +4 -1
  717. package/dist/solutions-components/assets/combobox/t9n/messages_de.json +4 -1
  718. package/dist/solutions-components/assets/combobox/t9n/messages_el.json +4 -1
  719. package/dist/solutions-components/assets/combobox/t9n/messages_es.json +4 -1
  720. package/dist/solutions-components/assets/combobox/t9n/messages_et.json +4 -1
  721. package/dist/solutions-components/assets/combobox/t9n/messages_fi.json +4 -1
  722. package/dist/solutions-components/assets/combobox/t9n/messages_fr.json +4 -1
  723. package/dist/solutions-components/assets/combobox/t9n/messages_he.json +4 -1
  724. package/dist/solutions-components/assets/combobox/t9n/messages_hr.json +4 -1
  725. package/dist/solutions-components/assets/combobox/t9n/messages_hu.json +4 -1
  726. package/dist/solutions-components/assets/combobox/t9n/messages_id.json +4 -1
  727. package/dist/solutions-components/assets/combobox/t9n/messages_it.json +4 -1
  728. package/dist/solutions-components/assets/combobox/t9n/messages_ja.json +4 -1
  729. package/dist/solutions-components/assets/combobox/t9n/messages_ko.json +4 -1
  730. package/dist/solutions-components/assets/combobox/t9n/messages_lt.json +4 -1
  731. package/dist/solutions-components/assets/combobox/t9n/messages_lv.json +4 -1
  732. package/dist/solutions-components/assets/combobox/t9n/messages_nl.json +4 -1
  733. package/dist/solutions-components/assets/combobox/t9n/messages_no.json +4 -1
  734. package/dist/solutions-components/assets/combobox/t9n/messages_pl.json +4 -1
  735. package/dist/solutions-components/assets/combobox/t9n/messages_pt-BR.json +4 -1
  736. package/dist/solutions-components/assets/combobox/t9n/messages_pt-PT.json +4 -1
  737. package/dist/solutions-components/assets/combobox/t9n/messages_ro.json +4 -1
  738. package/dist/solutions-components/assets/combobox/t9n/messages_ru.json +4 -1
  739. package/dist/solutions-components/assets/combobox/t9n/messages_sk.json +4 -1
  740. package/dist/solutions-components/assets/combobox/t9n/messages_sl.json +4 -1
  741. package/dist/solutions-components/assets/combobox/t9n/messages_sr.json +4 -1
  742. package/dist/solutions-components/assets/combobox/t9n/messages_sv.json +4 -1
  743. package/dist/solutions-components/assets/combobox/t9n/messages_th.json +4 -1
  744. package/dist/solutions-components/assets/combobox/t9n/messages_tr.json +4 -1
  745. package/dist/solutions-components/assets/combobox/t9n/messages_uk.json +4 -1
  746. package/dist/solutions-components/assets/combobox/t9n/messages_vi.json +4 -1
  747. package/dist/solutions-components/assets/combobox/t9n/messages_zh-CN.json +4 -1
  748. package/dist/solutions-components/assets/combobox/t9n/messages_zh-HK.json +4 -1
  749. package/dist/solutions-components/assets/combobox/t9n/messages_zh-TW.json +4 -1
  750. package/dist/solutions-components/assets/handle/t9n/index.d.ts +1 -0
  751. package/dist/solutions-components/assets/handle/t9n/messages.json +2 -1
  752. package/dist/solutions-components/assets/handle/t9n/messages_en.json +2 -1
  753. package/dist/solutions-components/assets/icon/absoluteDirection16.json +1 -0
  754. package/dist/solutions-components/assets/icon/absoluteDirection24.json +1 -0
  755. package/dist/solutions-components/assets/icon/absoluteDirection32.json +1 -0
  756. package/dist/solutions-components/assets/icon/absoluteElevation16.json +1 -0
  757. package/dist/solutions-components/assets/icon/absoluteElevation24.json +1 -0
  758. package/dist/solutions-components/assets/icon/absoluteElevation32.json +1 -0
  759. package/dist/solutions-components/assets/icon/columnSettings16.json +1 -0
  760. package/dist/solutions-components/assets/icon/columnSettings24.json +1 -0
  761. package/dist/solutions-components/assets/icon/columnSettings32.json +1 -0
  762. package/dist/solutions-components/assets/icon/folderVideo16.json +1 -0
  763. package/dist/solutions-components/assets/icon/folderVideo24.json +1 -0
  764. package/dist/solutions-components/assets/icon/folderVideo32.json +1 -0
  765. package/dist/solutions-components/assets/icon/full1Column16.json +1 -0
  766. package/dist/solutions-components/assets/icon/full1Column24.json +1 -0
  767. package/dist/solutions-components/assets/icon/full1Column32.json +1 -0
  768. package/dist/solutions-components/assets/icon/fullMedium1Column16.json +1 -0
  769. package/dist/solutions-components/assets/icon/fullMedium1Column24.json +1 -0
  770. package/dist/solutions-components/assets/icon/fullMedium1Column32.json +1 -0
  771. package/dist/solutions-components/assets/icon/fullSmall1Column16.json +1 -0
  772. package/dist/solutions-components/assets/icon/fullSmall1Column24.json +1 -0
  773. package/dist/solutions-components/assets/icon/fullSmall1Column32.json +1 -0
  774. package/dist/solutions-components/assets/icon/hexagon16.json +1 -0
  775. package/dist/solutions-components/assets/icon/hexagon24.json +1 -0
  776. package/dist/solutions-components/assets/icon/hexagon32.json +1 -0
  777. package/dist/solutions-components/assets/icon/large2Column16.json +1 -0
  778. package/dist/solutions-components/assets/icon/large2Column24.json +1 -0
  779. package/dist/solutions-components/assets/icon/large2Column32.json +1 -0
  780. package/dist/solutions-components/assets/icon/medium2Column16.json +1 -0
  781. package/dist/solutions-components/assets/icon/medium2Column24.json +1 -0
  782. package/dist/solutions-components/assets/icon/medium2Column32.json +1 -0
  783. package/dist/solutions-components/assets/icon/octagon16.json +1 -0
  784. package/dist/solutions-components/assets/icon/octagon24.json +1 -0
  785. package/dist/solutions-components/assets/icon/octagon32.json +1 -0
  786. package/dist/solutions-components/assets/icon/onTheGroundElevation16.json +1 -0
  787. package/dist/solutions-components/assets/icon/onTheGroundElevation24.json +1 -0
  788. package/dist/solutions-components/assets/icon/onTheGroundElevation32.json +1 -0
  789. package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay16.json +1 -0
  790. package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay24.json +1 -0
  791. package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay32.json +1 -0
  792. package/dist/solutions-components/assets/icon/relativeDirection16.json +1 -0
  793. package/dist/solutions-components/assets/icon/relativeDirection24.json +1 -0
  794. package/dist/solutions-components/assets/icon/relativeDirection32.json +1 -0
  795. package/dist/solutions-components/assets/icon/relativeToGroundElevation16.json +1 -0
  796. package/dist/solutions-components/assets/icon/relativeToGroundElevation24.json +1 -0
  797. package/dist/solutions-components/assets/icon/relativeToGroundElevation32.json +1 -0
  798. package/dist/solutions-components/assets/icon/relativeToSceneElevation16.json +1 -0
  799. package/dist/solutions-components/assets/icon/relativeToSceneElevation24.json +1 -0
  800. package/dist/solutions-components/assets/icon/relativeToSceneElevation32.json +1 -0
  801. package/dist/solutions-components/assets/icon/small2Column16.json +1 -0
  802. package/dist/solutions-components/assets/icon/small2Column24.json +1 -0
  803. package/dist/solutions-components/assets/icon/small2Column32.json +1 -0
  804. package/dist/solutions-components/assets/icon/surface16.json +1 -0
  805. package/dist/solutions-components/assets/icon/surface24.json +1 -0
  806. package/dist/solutions-components/assets/icon/surface32.json +1 -0
  807. package/dist/solutions-components/assets/icon/timeFilter16.json +1 -0
  808. package/dist/solutions-components/assets/icon/timeFilter24.json +1 -0
  809. package/dist/solutions-components/assets/icon/timeFilter32.json +1 -0
  810. package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +1 -1
  811. package/dist/solutions-components/assets/list/t9n/messages_ar.json +4 -0
  812. package/dist/solutions-components/assets/list/t9n/messages_bg.json +4 -0
  813. package/dist/solutions-components/assets/list/t9n/messages_bs.json +4 -0
  814. package/dist/solutions-components/assets/list/t9n/messages_ca.json +4 -0
  815. package/dist/solutions-components/assets/list/t9n/messages_cs.json +4 -0
  816. package/dist/solutions-components/assets/list/t9n/messages_da.json +4 -0
  817. package/dist/solutions-components/assets/list/t9n/messages_de.json +4 -0
  818. package/dist/solutions-components/assets/list/t9n/messages_el.json +4 -0
  819. package/dist/solutions-components/assets/list/t9n/messages_es.json +4 -0
  820. package/dist/solutions-components/assets/list/t9n/messages_et.json +4 -0
  821. package/dist/solutions-components/assets/list/t9n/messages_fi.json +4 -0
  822. package/dist/solutions-components/assets/list/t9n/messages_fr.json +4 -0
  823. package/dist/solutions-components/assets/list/t9n/messages_he.json +4 -0
  824. package/dist/solutions-components/assets/list/t9n/messages_hr.json +4 -0
  825. package/dist/solutions-components/assets/list/t9n/messages_hu.json +4 -0
  826. package/dist/solutions-components/assets/list/t9n/messages_id.json +4 -0
  827. package/dist/solutions-components/assets/list/t9n/messages_it.json +4 -0
  828. package/dist/solutions-components/assets/list/t9n/messages_ja.json +4 -0
  829. package/dist/solutions-components/assets/list/t9n/messages_ko.json +4 -0
  830. package/dist/solutions-components/assets/list/t9n/messages_lt.json +4 -0
  831. package/dist/solutions-components/assets/list/t9n/messages_lv.json +4 -0
  832. package/dist/solutions-components/assets/list/t9n/messages_nl.json +4 -0
  833. package/dist/solutions-components/assets/list/t9n/messages_no.json +4 -0
  834. package/dist/solutions-components/assets/list/t9n/messages_pl.json +4 -0
  835. package/dist/solutions-components/assets/list/t9n/messages_pt-BR.json +4 -0
  836. package/dist/solutions-components/assets/list/t9n/messages_pt-PT.json +4 -0
  837. package/dist/solutions-components/assets/list/t9n/messages_ro.json +4 -0
  838. package/dist/solutions-components/assets/list/t9n/messages_ru.json +4 -0
  839. package/dist/solutions-components/assets/list/t9n/messages_sk.json +4 -0
  840. package/dist/solutions-components/assets/list/t9n/messages_sl.json +4 -0
  841. package/dist/solutions-components/assets/list/t9n/messages_sr.json +4 -0
  842. package/dist/solutions-components/assets/list/t9n/messages_sv.json +4 -0
  843. package/dist/solutions-components/assets/list/t9n/messages_th.json +4 -0
  844. package/dist/solutions-components/assets/list/t9n/messages_tr.json +4 -0
  845. package/dist/solutions-components/assets/list/t9n/messages_uk.json +4 -0
  846. package/dist/solutions-components/assets/list/t9n/messages_vi.json +4 -0
  847. package/dist/solutions-components/assets/list/t9n/messages_zh-CN.json +4 -0
  848. package/dist/solutions-components/assets/list/t9n/messages_zh-HK.json +4 -0
  849. package/dist/solutions-components/assets/list/t9n/messages_zh-TW.json +4 -0
  850. package/dist/solutions-components/assets/list-item/t9n/index.d.ts +2 -0
  851. package/dist/solutions-components/assets/list-item/t9n/messages.json +3 -1
  852. package/dist/solutions-components/assets/list-item/t9n/messages_en.json +3 -1
  853. package/dist/solutions-components/assets/pagination/t9n/messages_ar.json +2 -2
  854. package/dist/solutions-components/assets/pagination/t9n/messages_bg.json +2 -2
  855. package/dist/solutions-components/assets/pagination/t9n/messages_bs.json +2 -2
  856. package/dist/solutions-components/assets/pagination/t9n/messages_ca.json +2 -2
  857. package/dist/solutions-components/assets/pagination/t9n/messages_cs.json +2 -2
  858. package/dist/solutions-components/assets/pagination/t9n/messages_da.json +2 -2
  859. package/dist/solutions-components/assets/pagination/t9n/messages_de.json +2 -2
  860. package/dist/solutions-components/assets/pagination/t9n/messages_el.json +2 -2
  861. package/dist/solutions-components/assets/pagination/t9n/messages_es.json +2 -2
  862. package/dist/solutions-components/assets/pagination/t9n/messages_et.json +2 -2
  863. package/dist/solutions-components/assets/pagination/t9n/messages_fi.json +2 -2
  864. package/dist/solutions-components/assets/pagination/t9n/messages_fr.json +2 -2
  865. package/dist/solutions-components/assets/pagination/t9n/messages_he.json +2 -2
  866. package/dist/solutions-components/assets/pagination/t9n/messages_hr.json +2 -2
  867. package/dist/solutions-components/assets/pagination/t9n/messages_hu.json +2 -2
  868. package/dist/solutions-components/assets/pagination/t9n/messages_id.json +2 -2
  869. package/dist/solutions-components/assets/pagination/t9n/messages_it.json +2 -2
  870. package/dist/solutions-components/assets/pagination/t9n/messages_ja.json +2 -2
  871. package/dist/solutions-components/assets/pagination/t9n/messages_ko.json +2 -2
  872. package/dist/solutions-components/assets/pagination/t9n/messages_lt.json +2 -2
  873. package/dist/solutions-components/assets/pagination/t9n/messages_lv.json +2 -2
  874. package/dist/solutions-components/assets/pagination/t9n/messages_nl.json +2 -2
  875. package/dist/solutions-components/assets/pagination/t9n/messages_no.json +2 -2
  876. package/dist/solutions-components/assets/pagination/t9n/messages_pl.json +2 -2
  877. package/dist/solutions-components/assets/pagination/t9n/messages_pt-BR.json +2 -2
  878. package/dist/solutions-components/assets/pagination/t9n/messages_pt-PT.json +2 -2
  879. package/dist/solutions-components/assets/pagination/t9n/messages_ro.json +2 -2
  880. package/dist/solutions-components/assets/pagination/t9n/messages_ru.json +2 -2
  881. package/dist/solutions-components/assets/pagination/t9n/messages_sk.json +2 -2
  882. package/dist/solutions-components/assets/pagination/t9n/messages_sl.json +2 -2
  883. package/dist/solutions-components/assets/pagination/t9n/messages_sr.json +2 -2
  884. package/dist/solutions-components/assets/pagination/t9n/messages_sv.json +2 -2
  885. package/dist/solutions-components/assets/pagination/t9n/messages_th.json +2 -2
  886. package/dist/solutions-components/assets/pagination/t9n/messages_tr.json +2 -2
  887. package/dist/solutions-components/assets/pagination/t9n/messages_uk.json +2 -2
  888. package/dist/solutions-components/assets/pagination/t9n/messages_vi.json +2 -2
  889. package/dist/solutions-components/assets/pagination/t9n/messages_zh-CN.json +2 -2
  890. package/dist/solutions-components/assets/pagination/t9n/messages_zh-HK.json +2 -2
  891. package/dist/solutions-components/assets/pagination/t9n/messages_zh-TW.json +2 -2
  892. package/dist/solutions-components/demos/crowdsource-manager.html +181 -159
  893. package/dist/solutions-components/p-01f7f1a2.js +6 -0
  894. package/dist/solutions-components/p-028fba9d.js +6 -0
  895. package/dist/solutions-components/p-02fa1945.entry.js +11 -0
  896. package/dist/solutions-components/p-033522a7.entry.js +11 -0
  897. package/dist/solutions-components/p-038fcd93.entry.js +12 -0
  898. package/dist/solutions-components/p-04923112.entry.js +17 -0
  899. package/dist/solutions-components/p-04c37d69.entry.js +17 -0
  900. package/dist/solutions-components/p-05cb50f9.js +11 -0
  901. package/dist/solutions-components/p-070d486d.entry.js +17 -0
  902. package/dist/solutions-components/p-076673a8.js +6 -0
  903. package/dist/solutions-components/p-08651773.entry.js +11 -0
  904. package/dist/solutions-components/p-0883bc7b.js +6 -0
  905. package/dist/solutions-components/p-08cca1ba.entry.js +6 -0
  906. package/dist/solutions-components/p-0b92e4b1.entry.js +11 -0
  907. package/dist/solutions-components/p-0c6d2898.entry.js +6 -0
  908. package/dist/solutions-components/p-0cb5f2ee.js +6 -0
  909. package/dist/solutions-components/p-0d641d14.entry.js +11 -0
  910. package/dist/solutions-components/p-0f66fd89.js +145 -0
  911. package/dist/solutions-components/p-1065f4fa.js +11 -0
  912. package/dist/solutions-components/p-11c85508.entry.js +6 -0
  913. package/dist/solutions-components/p-13a02132.js +6 -0
  914. package/dist/solutions-components/p-13f2d901.js +16 -0
  915. package/dist/solutions-components/p-16a82c20.js +11 -0
  916. package/dist/solutions-components/p-18f1e8b5.js +6 -0
  917. package/dist/solutions-components/p-1b627c37.js +6 -0
  918. package/dist/solutions-components/p-1c19b946.js +6 -0
  919. package/dist/solutions-components/p-1c8cdfeb.entry.js +11 -0
  920. package/dist/solutions-components/p-1ee6220e.entry.js +17 -0
  921. package/dist/solutions-components/p-1f33a29d.js +11 -0
  922. package/dist/solutions-components/p-1f65ab1e.js +11 -0
  923. package/dist/solutions-components/p-1fbac542.js +6 -0
  924. package/dist/solutions-components/p-201a6ea3.js +11 -0
  925. package/dist/solutions-components/p-20320bf6.entry.js +11 -0
  926. package/dist/solutions-components/p-212c00e9.entry.js +6 -0
  927. package/dist/solutions-components/p-23d88af7.entry.js +17 -0
  928. package/dist/solutions-components/p-23de1b01.entry.js +11 -0
  929. package/dist/solutions-components/p-25894d7a.entry.js +6 -0
  930. package/dist/solutions-components/p-26461392.entry.js +11 -0
  931. package/dist/solutions-components/p-2917dae0.entry.js +6 -0
  932. package/dist/solutions-components/p-2a0f52c5.entry.js +6 -0
  933. package/dist/solutions-components/p-2a546c56.js +6 -0
  934. package/dist/solutions-components/p-2b0454a0.js +11 -0
  935. package/dist/solutions-components/p-2b6679d2.entry.js +6 -0
  936. package/dist/solutions-components/p-2ba240b9.entry.js +6 -0
  937. package/dist/solutions-components/p-2c6b8811.js +18 -0
  938. package/dist/solutions-components/p-2eeff59b.js +6 -0
  939. package/dist/solutions-components/p-30480847.entry.js +11 -0
  940. package/dist/solutions-components/p-30e7ecfa.js +6 -0
  941. package/dist/solutions-components/p-312c045a.entry.js +11 -0
  942. package/dist/solutions-components/p-32dc5007.entry.js +23 -0
  943. package/dist/solutions-components/p-32fed23c.entry.js +17 -0
  944. package/dist/solutions-components/p-36375749.js +6 -0
  945. package/dist/solutions-components/p-399d795d.js +6 -0
  946. package/dist/solutions-components/p-3bb79204.js +6 -0
  947. package/dist/solutions-components/p-3cb1de38.entry.js +6 -0
  948. package/dist/solutions-components/p-3cf84035.entry.js +6 -0
  949. package/dist/solutions-components/p-3d324690.entry.js +11 -0
  950. package/dist/solutions-components/p-3d7d78f3.entry.js +6 -0
  951. package/dist/solutions-components/p-3dd92f0d.js +17 -0
  952. package/dist/solutions-components/p-3e79d77b.entry.js +11 -0
  953. package/dist/solutions-components/p-3fbfe26a.entry.js +11 -0
  954. package/dist/solutions-components/p-4000a88a.js +6 -0
  955. package/dist/solutions-components/p-431d8154.entry.js +6 -0
  956. package/dist/solutions-components/p-449db954.entry.js +6 -0
  957. package/dist/solutions-components/p-45263007.entry.js +17 -0
  958. package/dist/solutions-components/p-463712ef.entry.js +36 -0
  959. package/dist/solutions-components/p-479d1e95.js +6 -0
  960. package/dist/solutions-components/p-47a97db7.entry.js +11 -0
  961. package/dist/solutions-components/p-48bef730.js +11 -0
  962. package/dist/solutions-components/p-495e7b9d.js +11 -0
  963. package/dist/solutions-components/p-4a030771.entry.js +11 -0
  964. package/dist/solutions-components/p-4b530f7b.entry.js +6 -0
  965. package/dist/solutions-components/p-4c5d243f.js +11 -0
  966. package/dist/solutions-components/p-4ce1ffd8.entry.js +11 -0
  967. package/dist/solutions-components/p-4d09aa4c.entry.js +6 -0
  968. package/dist/solutions-components/p-4f489e61.js +6 -0
  969. package/dist/solutions-components/p-52a6d2dc.entry.js +11 -0
  970. package/dist/solutions-components/p-531ccf84.entry.js +6 -0
  971. package/dist/solutions-components/p-547b4dba.entry.js +21 -0
  972. package/dist/solutions-components/p-563a0b20.js +11 -0
  973. package/dist/solutions-components/p-565e0f0d.entry.js +6 -0
  974. package/dist/solutions-components/p-5a9a971a.js +11 -0
  975. package/dist/solutions-components/p-5b228ed7.entry.js +11 -0
  976. package/dist/solutions-components/p-5f5de955.js +11 -0
  977. package/dist/solutions-components/p-5f814990.entry.js +6 -0
  978. package/dist/solutions-components/p-5fbfa5e4.entry.js +12 -0
  979. package/dist/solutions-components/p-5fd1ae46.entry.js +6 -0
  980. package/dist/solutions-components/p-602f3e72.js +16 -0
  981. package/dist/solutions-components/p-6068c1cf.entry.js +22 -0
  982. package/dist/solutions-components/p-62f2cea7.entry.js +6 -0
  983. package/dist/solutions-components/p-6332fd4e.entry.js +6 -0
  984. package/dist/solutions-components/p-63572270.entry.js +6 -0
  985. package/dist/solutions-components/p-66ff2c3f.js +11 -0
  986. package/dist/solutions-components/p-680b89db.js +16 -0
  987. package/dist/solutions-components/p-6a61c742.entry.js +6 -0
  988. package/dist/solutions-components/p-6aa16b3c.js +6 -0
  989. package/dist/solutions-components/p-6ce37201.js +11 -0
  990. package/dist/solutions-components/p-6d0203ed.entry.js +6 -0
  991. package/dist/solutions-components/p-6d520a58.js +12 -0
  992. package/dist/solutions-components/p-6d93bdfd.entry.js +11 -0
  993. package/dist/solutions-components/p-6f6deff1.js +6 -0
  994. package/dist/solutions-components/p-701568c2.entry.js +16 -0
  995. package/dist/solutions-components/p-701ed205.js +6 -0
  996. package/dist/solutions-components/p-7169fadf.js +6 -0
  997. package/dist/solutions-components/p-71964176.entry.js +11 -0
  998. package/dist/solutions-components/p-71b65d8a.entry.js +11 -0
  999. package/dist/solutions-components/p-72849648.js +6 -0
  1000. package/dist/solutions-components/p-732ae6e8.entry.js +6 -0
  1001. package/dist/solutions-components/p-75099601.js +6 -0
  1002. package/dist/solutions-components/p-75a758c8.js +6 -0
  1003. package/dist/solutions-components/p-76bd5032.js +11 -0
  1004. package/dist/solutions-components/p-7878534f.entry.js +11 -0
  1005. package/dist/solutions-components/p-792907e2.entry.js +11 -0
  1006. package/dist/solutions-components/p-7b257e2e.js +6 -0
  1007. package/dist/solutions-components/p-7c0fe27e.entry.js +11 -0
  1008. package/dist/solutions-components/p-7c2be8cc.js +11 -0
  1009. package/dist/solutions-components/p-7c2ef952.js +6 -0
  1010. package/dist/solutions-components/p-7cfce9ee.entry.js +11 -0
  1011. package/dist/solutions-components/p-7d04ff20.js +11 -0
  1012. package/dist/solutions-components/p-7d280d8a.js +7 -0
  1013. package/dist/solutions-components/p-8007ac36.js +11 -0
  1014. package/dist/solutions-components/p-807900ac.js +6 -0
  1015. package/dist/solutions-components/p-80fd6b2e.js +6 -0
  1016. package/dist/solutions-components/p-84546f35.entry.js +6 -0
  1017. package/dist/solutions-components/p-8571c89f.entry.js +6 -0
  1018. package/dist/solutions-components/p-88cd4a24.entry.js +6 -0
  1019. package/dist/solutions-components/p-8942f6fa.js +6 -0
  1020. package/dist/solutions-components/p-8dbf3319.entry.js +6 -0
  1021. package/dist/solutions-components/p-8dc26294.js +11 -0
  1022. package/dist/solutions-components/p-905f7e81.entry.js +6 -0
  1023. package/dist/solutions-components/p-906ad47a.entry.js +11 -0
  1024. package/dist/solutions-components/p-91c49d95.entry.js +6 -0
  1025. package/dist/solutions-components/p-928c0b29.entry.js +6 -0
  1026. package/dist/solutions-components/p-93369c9f.entry.js +6 -0
  1027. package/dist/solutions-components/p-94de9279.js +11 -0
  1028. package/dist/solutions-components/p-96104375.entry.js +6 -0
  1029. package/dist/solutions-components/p-97425481.entry.js +6 -0
  1030. package/dist/solutions-components/p-9ae4f911.entry.js +6 -0
  1031. package/dist/solutions-components/p-9d3b46e2.js +11 -0
  1032. package/dist/solutions-components/p-9d53e0f2.js +11 -0
  1033. package/dist/solutions-components/p-9dfe1301.entry.js +6 -0
  1034. package/dist/solutions-components/p-9f895288.entry.js +6 -0
  1035. package/dist/solutions-components/p-a17d0d80.entry.js +6 -0
  1036. package/dist/solutions-components/p-a4149333.js +11 -0
  1037. package/dist/solutions-components/p-a5088b70.js +6 -0
  1038. package/dist/solutions-components/p-a55b766f.entry.js +6 -0
  1039. package/dist/solutions-components/p-acb9b78e.js +6 -0
  1040. package/dist/solutions-components/p-ae4c8b8c.entry.js +6 -0
  1041. package/dist/solutions-components/p-aec06ce4.entry.js +18 -0
  1042. package/dist/solutions-components/p-b04c9dc3.js +36 -0
  1043. package/dist/solutions-components/p-b15fda15.js +6 -0
  1044. package/dist/solutions-components/p-b3ad3ac1.entry.js +6 -0
  1045. package/dist/solutions-components/p-b3eb3302.js +17 -0
  1046. package/dist/solutions-components/p-b4103233.js +6 -0
  1047. package/dist/solutions-components/p-b4d85b2c.js +6 -0
  1048. package/dist/solutions-components/p-b7337228.entry.js +11 -0
  1049. package/dist/solutions-components/p-ba7d55ea.js +11 -0
  1050. package/dist/solutions-components/p-bb94c414.entry.js +6 -0
  1051. package/dist/solutions-components/p-bc665a3a.js +6 -0
  1052. package/dist/solutions-components/p-bd06bae0.entry.js +11 -0
  1053. package/dist/solutions-components/p-bdbfe9f1.js +6 -0
  1054. package/dist/solutions-components/p-bdea5320.js +11 -0
  1055. package/dist/solutions-components/p-beba1804.entry.js +11 -0
  1056. package/dist/solutions-components/p-bfdf89c2.js +11 -0
  1057. package/dist/solutions-components/p-c51f2880.entry.js +11 -0
  1058. package/dist/solutions-components/p-c85ce035.entry.js +11 -0
  1059. package/dist/solutions-components/p-c8ca9b8c.entry.js +17 -0
  1060. package/dist/solutions-components/p-c94d2cec.js +11 -0
  1061. package/dist/solutions-components/p-c97eebe2.js +6 -0
  1062. package/dist/solutions-components/p-caa7580c.js +6 -0
  1063. package/dist/solutions-components/p-cc280aa1.js +21 -0
  1064. package/dist/solutions-components/p-cc859d2b.entry.js +16 -0
  1065. package/dist/solutions-components/p-ced067bd.entry.js +17 -0
  1066. package/dist/solutions-components/p-cf24dd35.entry.js +23 -0
  1067. package/dist/solutions-components/p-d36f2db6.entry.js +11 -0
  1068. package/dist/solutions-components/p-d3ba36ce.entry.js +11 -0
  1069. package/dist/solutions-components/p-d3da7497.entry.js +6 -0
  1070. package/dist/solutions-components/p-d5ce0c2b.js +11 -0
  1071. package/dist/solutions-components/p-d67f3b6e.entry.js +11 -0
  1072. package/dist/solutions-components/p-d6c662dc.js +6 -0
  1073. package/dist/solutions-components/p-d7b02d3a.js +22 -0
  1074. package/dist/solutions-components/p-d9826b1d.entry.js +11 -0
  1075. package/dist/solutions-components/p-db53bde3.js +11 -0
  1076. package/dist/solutions-components/p-dc58d9ec.js +6 -0
  1077. package/dist/solutions-components/p-dd45738e.entry.js +6 -0
  1078. package/dist/solutions-components/p-dd67e38a.entry.js +6 -0
  1079. package/dist/solutions-components/p-ddd1cc66.js +6 -0
  1080. package/dist/solutions-components/p-de9522e9.js +11 -0
  1081. package/dist/solutions-components/p-df468e80.entry.js +12 -0
  1082. package/dist/solutions-components/p-e05b02c5.entry.js +47 -0
  1083. package/dist/solutions-components/p-e10ca475.entry.js +11 -0
  1084. package/dist/solutions-components/p-e14e6c12.entry.js +6 -0
  1085. package/dist/solutions-components/p-e29a378e.entry.js +6 -0
  1086. package/dist/solutions-components/p-e2eb93d3.js +6 -0
  1087. package/dist/solutions-components/p-e46910c5.js +6 -0
  1088. package/dist/solutions-components/p-e4e59f16.js +489 -0
  1089. package/dist/solutions-components/p-e61c56fa.entry.js +11 -0
  1090. package/dist/solutions-components/p-e7afc0a8.js +11 -0
  1091. package/dist/solutions-components/p-e813faf8.entry.js +11 -0
  1092. package/dist/solutions-components/p-e822a96b.js +6 -0
  1093. package/dist/solutions-components/p-e9700988.entry.js +6 -0
  1094. package/dist/solutions-components/p-e9788173.entry.js +11 -0
  1095. package/dist/solutions-components/p-e9828fd0.js +6 -0
  1096. package/dist/solutions-components/p-eb0f4ede.entry.js +6 -0
  1097. package/dist/solutions-components/p-ebd6afea.entry.js +11 -0
  1098. package/dist/solutions-components/p-ebdd6c63.js +6 -0
  1099. package/dist/solutions-components/p-ede2a93f.js +6 -0
  1100. package/dist/solutions-components/p-ee1e4df3.js +61 -0
  1101. package/dist/solutions-components/p-ef1cf76c.entry.js +6 -0
  1102. package/dist/solutions-components/p-efec6ba5.entry.js +11 -0
  1103. package/dist/solutions-components/p-f0c7d964.js +11 -0
  1104. package/dist/solutions-components/p-f232f765.js +6 -0
  1105. package/dist/solutions-components/p-f23e6499.js +21 -0
  1106. package/dist/solutions-components/p-f8015a1b.js +6 -0
  1107. package/dist/solutions-components/p-f8a6785d.entry.js +6 -0
  1108. package/dist/solutions-components/p-fc4df904.entry.js +6 -0
  1109. package/dist/solutions-components/p-fc9fe5fb.js +11 -0
  1110. package/dist/solutions-components/p-fdedce1c.entry.js +11 -0
  1111. package/dist/solutions-components/p-fe74de01.js +6 -0
  1112. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1113. package/dist/solutions-components/utils/downloadUtils.ts +16 -8
  1114. package/dist/solutions-components/utils/interfaces.ts +15 -3
  1115. package/dist/types/components/layer-table/layer-table.d.ts +3 -2
  1116. package/dist/types/preact.d.ts +13 -5
  1117. package/dist/types/utils/downloadUtils.d.ts +4 -4
  1118. package/dist/types/utils/interfaces.d.ts +10 -3
  1119. package/package.json +4 -4
  1120. package/dist/cjs/ExpandToggle-f83d93f8.js +0 -118
  1121. package/dist/cjs/FloatingArrow-7e1624ea.js +0 -50
  1122. package/dist/cjs/Heading-fe70b3e6.js +0 -25
  1123. package/dist/cjs/app-globals-b3f43c6b.js +0 -69
  1124. package/dist/cjs/ar-5f98cd4b.js +0 -104
  1125. package/dist/cjs/array-1d19377b.js +0 -17
  1126. package/dist/cjs/bg-a55b554b.js +0 -82
  1127. package/dist/cjs/browser-9a43b900.js +0 -23
  1128. package/dist/cjs/bs-00e4d31b.js +0 -51
  1129. package/dist/cjs/ca-cdd10d29.js +0 -71
  1130. package/dist/cjs/calcite-chip.cjs.entry.js +0 -261
  1131. package/dist/cjs/calcite-combobox_6.cjs.entry.js +0 -2232
  1132. package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +0 -1849
  1133. package/dist/cjs/component-c270a500.js +0 -33
  1134. package/dist/cjs/conditionalSlot-63e11cba.js +0 -63
  1135. package/dist/cjs/cs-d08a7e91.js +0 -147
  1136. package/dist/cjs/da-2fb40e38.js +0 -66
  1137. package/dist/cjs/date-a0b274b2.js +0 -261
  1138. package/dist/cjs/de-at-8cb4fc8d.js +0 -90
  1139. package/dist/cjs/de-ch-98281a16.js +0 -90
  1140. package/dist/cjs/de-f88ab56a.js +0 -91
  1141. package/dist/cjs/dom-e111eaa6.js +0 -1087
  1142. package/dist/cjs/downloadUtils-6b451886.js +0 -3131
  1143. package/dist/cjs/el-42222f37.js +0 -66
  1144. package/dist/cjs/en-au-ce99afe4.js +0 -66
  1145. package/dist/cjs/en-ca-44a0c79e.js +0 -65
  1146. package/dist/cjs/en-gb-9bd18cc2.js +0 -69
  1147. package/dist/cjs/es-a630678a.js +0 -66
  1148. package/dist/cjs/es-mx-cb026d16.js +0 -65
  1149. package/dist/cjs/et-9801d7bf.js +0 -92
  1150. package/dist/cjs/fi-99bb68b2.js +0 -115
  1151. package/dist/cjs/filter-8f1bbfe6.js +0 -765
  1152. package/dist/cjs/floating-ui-290f99dd.js +0 -1906
  1153. package/dist/cjs/focusTrapComponent-3add574e.js +0 -1028
  1154. package/dist/cjs/form-0291a707.js +0 -260
  1155. package/dist/cjs/fr-047990d9.js +0 -68
  1156. package/dist/cjs/fr-ch-eefff196.js +0 -66
  1157. package/dist/cjs/globalAttributes-c973ec3a.js +0 -77
  1158. package/dist/cjs/guid-1a466ca6.js +0 -26
  1159. package/dist/cjs/he-3f50b1de.js +0 -105
  1160. package/dist/cjs/helpers-a0719076.js +0 -903
  1161. package/dist/cjs/hi-8fad23c8.js +0 -65
  1162. package/dist/cjs/hr-85523ea5.js +0 -80
  1163. package/dist/cjs/hu-133d6509.js +0 -88
  1164. package/dist/cjs/id-cf31387c.js +0 -66
  1165. package/dist/cjs/index-22bb61da.js +0 -201
  1166. package/dist/cjs/index-b8a649fc.js +0 -2530
  1167. package/dist/cjs/index.es-3eaba9ef.js +0 -10811
  1168. package/dist/cjs/interactive-8aff886e.js +0 -147
  1169. package/dist/cjs/it-87a2a88e.js +0 -66
  1170. package/dist/cjs/it-ch-6197d836.js +0 -66
  1171. package/dist/cjs/ja-1be83730.js +0 -72
  1172. package/dist/cjs/key-b8c05387.js +0 -19
  1173. package/dist/cjs/ko-ea4b0148.js +0 -72
  1174. package/dist/cjs/label-bcad2894.js +0 -186
  1175. package/dist/cjs/loadable-07a214c7.js +0 -94
  1176. package/dist/cjs/locale-6a627639.js +0 -584
  1177. package/dist/cjs/locale-a476e15d.js +0 -161
  1178. package/dist/cjs/lt-4acaf0a6.js +0 -97
  1179. package/dist/cjs/lv-251e08f1.js +0 -66
  1180. package/dist/cjs/math-6c9027e3.js +0 -60
  1181. package/dist/cjs/mk-8b1ae7dd.js +0 -66
  1182. package/dist/cjs/nb-fa98c484.js +0 -67
  1183. package/dist/cjs/nl-e71e8890.js +0 -67
  1184. package/dist/cjs/observers-281a8c99.js +0 -53
  1185. package/dist/cjs/openCloseComponent-8c9a1749.js +0 -92
  1186. package/dist/cjs/pl-8527f540.js +0 -114
  1187. package/dist/cjs/popupUtils-7755782a.js +0 -96
  1188. package/dist/cjs/pt-a1c7a6ea.js +0 -67
  1189. package/dist/cjs/pt-br-c5319e0c.js +0 -65
  1190. package/dist/cjs/publicNotificationStore-3a17c2f4.js +0 -47
  1191. package/dist/cjs/resources-0986c5c2.js +0 -2062
  1192. package/dist/cjs/resources-222ad22c.js +0 -20
  1193. package/dist/cjs/resources-228f9286.js +0 -39
  1194. package/dist/cjs/resources-6c60363a.js +0 -32
  1195. package/dist/cjs/resources-8e3763a4.js +0 -52
  1196. package/dist/cjs/resources-9400a252.js +0 -23
  1197. package/dist/cjs/resources-a825d7ae.js +0 -29
  1198. package/dist/cjs/resources-d2d7b7c7.js +0 -27
  1199. package/dist/cjs/resources-f3e0e822.js +0 -26
  1200. package/dist/cjs/ro-df6f795a.js +0 -66
  1201. package/dist/cjs/ru-7516a3ba.js +0 -126
  1202. package/dist/cjs/shared-list-render-25bedff5.js +0 -364
  1203. package/dist/cjs/sk-9d31fa10.js +0 -148
  1204. package/dist/cjs/sl-abecca0d.js +0 -168
  1205. package/dist/cjs/solution-store-ab6c980f.js +0 -1344
  1206. package/dist/cjs/sortableComponent-188f3290.js +0 -3108
  1207. package/dist/cjs/sr-334c5c73.js +0 -101
  1208. package/dist/cjs/sv-832dd153.js +0 -71
  1209. package/dist/cjs/t9n-0556abcb.js +0 -100
  1210. package/dist/cjs/th-cca86754.js +0 -65
  1211. package/dist/cjs/time-06aad495.js +0 -289
  1212. package/dist/cjs/tr-fcef3dae.js +0 -66
  1213. package/dist/cjs/uk-69eceeec.js +0 -104
  1214. package/dist/cjs/utils-234879c7.js +0 -99
  1215. package/dist/cjs/utils-3df24da4.js +0 -62
  1216. package/dist/cjs/utils-6587cc34.js +0 -64
  1217. package/dist/cjs/utils-6c713ba8.js +0 -130
  1218. package/dist/cjs/utils-c735a41d.js +0 -221
  1219. package/dist/cjs/vi-6afa69a0.js +0 -70
  1220. package/dist/cjs/zh-cn-0513bc09.js +0 -94
  1221. package/dist/cjs/zh-hk-73971e1d.js +0 -71
  1222. package/dist/cjs/zh-tw-af0db947.js +0 -92
  1223. package/dist/components/globalAttributes.js +0 -74
  1224. package/dist/components/tile.js +0 -115
  1225. package/dist/esm/ExpandToggle-96688cda.js +0 -110
  1226. package/dist/esm/FloatingArrow-245804f3.js +0 -48
  1227. package/dist/esm/Heading-c45d3f45.js +0 -22
  1228. package/dist/esm/app-globals-e4f88f7e.js +0 -67
  1229. package/dist/esm/ar-29711364.js +0 -102
  1230. package/dist/esm/array-51c31356.js +0 -15
  1231. package/dist/esm/bg-c0f5033b.js +0 -80
  1232. package/dist/esm/browser-b4c16201.js +0 -21
  1233. package/dist/esm/bs-60479ce5.js +0 -49
  1234. package/dist/esm/ca-4317b986.js +0 -69
  1235. package/dist/esm/calcite-chip.entry.js +0 -257
  1236. package/dist/esm/calcite-combobox_6.entry.js +0 -2223
  1237. package/dist/esm/calcite-input-time-picker-2e1b2157.js +0 -1846
  1238. package/dist/esm/component-98bae46b.js +0 -30
  1239. package/dist/esm/conditionalSlot-1149b5cb.js +0 -60
  1240. package/dist/esm/cs-da404a04.js +0 -145
  1241. package/dist/esm/da-1afac3fa.js +0 -64
  1242. package/dist/esm/date-8b4a8f33.js +0 -245
  1243. package/dist/esm/de-98f3129e.js +0 -89
  1244. package/dist/esm/de-at-ed4817af.js +0 -88
  1245. package/dist/esm/de-ch-556c82c8.js +0 -88
  1246. package/dist/esm/dom-8f926f33.js +0 -1056
  1247. package/dist/esm/downloadUtils-4577cf8b.js +0 -3125
  1248. package/dist/esm/el-394dfd74.js +0 -64
  1249. package/dist/esm/en-au-6dde1e7e.js +0 -64
  1250. package/dist/esm/en-ca-420be416.js +0 -63
  1251. package/dist/esm/en-gb-0a7caa85.js +0 -67
  1252. package/dist/esm/es-2e1beb99.js +0 -64
  1253. package/dist/esm/es-mx-ef132a24.js +0 -63
  1254. package/dist/esm/et-83d139c1.js +0 -90
  1255. package/dist/esm/fi-8b81ed94.js +0 -113
  1256. package/dist/esm/filter-8b806ae6.js +0 -763
  1257. package/dist/esm/floating-ui-c397f653.js +0 -1898
  1258. package/dist/esm/focusTrapComponent-14368766.js +0 -1023
  1259. package/dist/esm/form-133b00c7.js +0 -252
  1260. package/dist/esm/fr-c47c114a.js +0 -66
  1261. package/dist/esm/fr-ch-97635343.js +0 -64
  1262. package/dist/esm/globalAttributes-03c9e433.js +0 -74
  1263. package/dist/esm/guid-36c6c6a5.js +0 -24
  1264. package/dist/esm/he-ed2a12b9.js +0 -103
  1265. package/dist/esm/helpers-078591d2.js +0 -877
  1266. package/dist/esm/hi-a05727ac.js +0 -63
  1267. package/dist/esm/hr-d01671ca.js +0 -78
  1268. package/dist/esm/hu-16506ca7.js +0 -86
  1269. package/dist/esm/id-e9367e87.js +0 -64
  1270. package/dist/esm/index-7183ce4a.js +0 -2496
  1271. package/dist/esm/index-857df22e.js +0 -199
  1272. package/dist/esm/index.es-a28dad8e.js +0 -10725
  1273. package/dist/esm/interactive-20bb1dc4.js +0 -143
  1274. package/dist/esm/it-14246b4a.js +0 -64
  1275. package/dist/esm/it-ch-a877e111.js +0 -64
  1276. package/dist/esm/ja-67a0cfa0.js +0 -70
  1277. package/dist/esm/key-af303047.js +0 -16
  1278. package/dist/esm/ko-35b0b83a.js +0 -70
  1279. package/dist/esm/label-cd393c81.js +0 -179
  1280. package/dist/esm/loadable-c3685e51.js +0 -89
  1281. package/dist/esm/locale-6107ef11.js +0 -571
  1282. package/dist/esm/locale-731e75a8.js +0 -156
  1283. package/dist/esm/lt-71014faf.js +0 -95
  1284. package/dist/esm/lv-def9df38.js +0 -64
  1285. package/dist/esm/math-cdaf4dc0.js +0 -54
  1286. package/dist/esm/mk-bfeac49e.js +0 -64
  1287. package/dist/esm/nb-0723b461.js +0 -65
  1288. package/dist/esm/nl-89663165.js +0 -65
  1289. package/dist/esm/observers-8ce200f2.js +0 -51
  1290. package/dist/esm/openCloseComponent-982c6b9e.js +0 -90
  1291. package/dist/esm/pl-0157c37c.js +0 -112
  1292. package/dist/esm/popupUtils-d75edf93.js +0 -94
  1293. package/dist/esm/pt-80d1520c.js +0 -65
  1294. package/dist/esm/pt-br-ee5003c7.js +0 -63
  1295. package/dist/esm/publicNotificationStore-9362d7ae.js +0 -45
  1296. package/dist/esm/resources-13098091.js +0 -35
  1297. package/dist/esm/resources-1a8d4d77.js +0 -24
  1298. package/dist/esm/resources-242fdf8d.js +0 -2051
  1299. package/dist/esm/resources-4bcfc016.js +0 -22
  1300. package/dist/esm/resources-649a0f91.js +0 -48
  1301. package/dist/esm/resources-6772a50d.js +0 -24
  1302. package/dist/esm/resources-6e00e0d1.js +0 -20
  1303. package/dist/esm/resources-a0420cda.js +0 -20
  1304. package/dist/esm/resources-cdc36705.js +0 -28
  1305. package/dist/esm/ro-eff987f8.js +0 -64
  1306. package/dist/esm/ru-62839398.js +0 -124
  1307. package/dist/esm/shared-list-render-a2ab63e8.js +0 -342
  1308. package/dist/esm/sk-c2f4bd58.js +0 -146
  1309. package/dist/esm/sl-328ff1db.js +0 -166
  1310. package/dist/esm/solution-store-19f7825b.js +0 -1342
  1311. package/dist/esm/sortableComponent-65956286.js +0 -3104
  1312. package/dist/esm/sr-75a3ad46.js +0 -99
  1313. package/dist/esm/sv-10da5ef2.js +0 -69
  1314. package/dist/esm/t9n-f16911e7.js +0 -95
  1315. package/dist/esm/th-aa112042.js +0 -63
  1316. package/dist/esm/time-855b3426.js +0 -274
  1317. package/dist/esm/tr-5925a2f5.js +0 -64
  1318. package/dist/esm/uk-c40eeb9f.js +0 -102
  1319. package/dist/esm/utils-5ec65194.js +0 -121
  1320. package/dist/esm/utils-86d242a6.js +0 -90
  1321. package/dist/esm/utils-93fd55c4.js +0 -61
  1322. package/dist/esm/utils-abdd879e.js +0 -203
  1323. package/dist/esm/utils-c3509713.js +0 -51
  1324. package/dist/esm/vi-27922b93.js +0 -68
  1325. package/dist/esm/zh-cn-38a2e1d3.js +0 -92
  1326. package/dist/esm/zh-hk-e0217bd1.js +0 -69
  1327. package/dist/esm/zh-tw-31f0447c.js +0 -90
  1328. package/dist/solutions-components/p-0392679d.js +0 -6
  1329. package/dist/solutions-components/p-05f702ae.js +0 -6
  1330. package/dist/solutions-components/p-0637dbc2.entry.js +0 -6
  1331. package/dist/solutions-components/p-068f5a8c.entry.js +0 -11
  1332. package/dist/solutions-components/p-08bde7db.entry.js +0 -6
  1333. package/dist/solutions-components/p-0a0d0d3a.entry.js +0 -6
  1334. package/dist/solutions-components/p-0b4f4b0e.entry.js +0 -6
  1335. package/dist/solutions-components/p-0c07ad8a.js +0 -11
  1336. package/dist/solutions-components/p-0c97de08.js +0 -12
  1337. package/dist/solutions-components/p-0d774e41.js +0 -6
  1338. package/dist/solutions-components/p-0f156577.entry.js +0 -6
  1339. package/dist/solutions-components/p-0f6b58b2.js +0 -6
  1340. package/dist/solutions-components/p-10410f92.entry.js +0 -6
  1341. package/dist/solutions-components/p-10f2d6b0.entry.js +0 -11
  1342. package/dist/solutions-components/p-13be5cf5.entry.js +0 -11
  1343. package/dist/solutions-components/p-14548a83.js +0 -6
  1344. package/dist/solutions-components/p-17668cb7.js +0 -16
  1345. package/dist/solutions-components/p-1b9fb070.entry.js +0 -6
  1346. package/dist/solutions-components/p-1be63b50.js +0 -11
  1347. package/dist/solutions-components/p-1c75bb3d.js +0 -6
  1348. package/dist/solutions-components/p-1e2ffee3.js +0 -11
  1349. package/dist/solutions-components/p-1f7046e9.entry.js +0 -6
  1350. package/dist/solutions-components/p-21c2d29c.entry.js +0 -6
  1351. package/dist/solutions-components/p-21ccd955.entry.js +0 -6
  1352. package/dist/solutions-components/p-225c4ca4.js +0 -6
  1353. package/dist/solutions-components/p-234a8293.entry.js +0 -11
  1354. package/dist/solutions-components/p-2447b332.js +0 -6
  1355. package/dist/solutions-components/p-24c699b0.entry.js +0 -16
  1356. package/dist/solutions-components/p-259f6f81.js +0 -11
  1357. package/dist/solutions-components/p-25dd768d.js +0 -11
  1358. package/dist/solutions-components/p-2656c6e4.entry.js +0 -47
  1359. package/dist/solutions-components/p-284cc5cd.entry.js +0 -6
  1360. package/dist/solutions-components/p-288dfd06.entry.js +0 -6
  1361. package/dist/solutions-components/p-28b33708.js +0 -6
  1362. package/dist/solutions-components/p-29d68474.js +0 -11
  1363. package/dist/solutions-components/p-2d68a6fd.js +0 -6
  1364. package/dist/solutions-components/p-2e2d01de.entry.js +0 -11
  1365. package/dist/solutions-components/p-2f425700.entry.js +0 -11
  1366. package/dist/solutions-components/p-324d71f4.entry.js +0 -11
  1367. package/dist/solutions-components/p-32b6b6c9.js +0 -11
  1368. package/dist/solutions-components/p-35c58364.js +0 -11
  1369. package/dist/solutions-components/p-364486d1.entry.js +0 -6
  1370. package/dist/solutions-components/p-368cbb2c.entry.js +0 -11
  1371. package/dist/solutions-components/p-36f247db.entry.js +0 -6
  1372. package/dist/solutions-components/p-38544b17.js +0 -6
  1373. package/dist/solutions-components/p-3a73ee38.entry.js +0 -11
  1374. package/dist/solutions-components/p-3ad4426b.entry.js +0 -11
  1375. package/dist/solutions-components/p-3c10901a.entry.js +0 -11
  1376. package/dist/solutions-components/p-3c7d0eb9.js +0 -6
  1377. package/dist/solutions-components/p-3ca39d08.entry.js +0 -6
  1378. package/dist/solutions-components/p-3d17ee9f.entry.js +0 -6
  1379. package/dist/solutions-components/p-3f279568.js +0 -18
  1380. package/dist/solutions-components/p-411b73a7.js +0 -6
  1381. package/dist/solutions-components/p-428554b4.js +0 -11
  1382. package/dist/solutions-components/p-429e1284.entry.js +0 -6
  1383. package/dist/solutions-components/p-42f0e1fa.entry.js +0 -11
  1384. package/dist/solutions-components/p-4416d288.js +0 -11
  1385. package/dist/solutions-components/p-451b16b3.entry.js +0 -11
  1386. package/dist/solutions-components/p-4647b2a6.js +0 -6
  1387. package/dist/solutions-components/p-475ad635.js +0 -11
  1388. package/dist/solutions-components/p-480d0789.js +0 -6
  1389. package/dist/solutions-components/p-49b02dda.entry.js +0 -6
  1390. package/dist/solutions-components/p-49fb1bfa.js +0 -11
  1391. package/dist/solutions-components/p-4abf1c34.js +0 -6
  1392. package/dist/solutions-components/p-4ae36626.js +0 -6
  1393. package/dist/solutions-components/p-4bff69aa.entry.js +0 -11
  1394. package/dist/solutions-components/p-4ccdac24.entry.js +0 -12
  1395. package/dist/solutions-components/p-4d402bcf.entry.js +0 -11
  1396. package/dist/solutions-components/p-4d8fc031.js +0 -6
  1397. package/dist/solutions-components/p-4d99cb49.entry.js +0 -6
  1398. package/dist/solutions-components/p-4fbadb84.entry.js +0 -6
  1399. package/dist/solutions-components/p-515a319e.js +0 -21
  1400. package/dist/solutions-components/p-5268d845.entry.js +0 -11
  1401. package/dist/solutions-components/p-568822d4.js +0 -11
  1402. package/dist/solutions-components/p-5a885617.entry.js +0 -6
  1403. package/dist/solutions-components/p-5b566d55.js +0 -11
  1404. package/dist/solutions-components/p-5e12026e.js +0 -6
  1405. package/dist/solutions-components/p-5fe99315.entry.js +0 -11
  1406. package/dist/solutions-components/p-60d212df.entry.js +0 -6
  1407. package/dist/solutions-components/p-6105d57c.js +0 -6
  1408. package/dist/solutions-components/p-613315a7.entry.js +0 -12
  1409. package/dist/solutions-components/p-61a523a6.entry.js +0 -6
  1410. package/dist/solutions-components/p-6268020e.entry.js +0 -6
  1411. package/dist/solutions-components/p-627c19b5.entry.js +0 -6
  1412. package/dist/solutions-components/p-62eba559.entry.js +0 -17
  1413. package/dist/solutions-components/p-63fa7791.entry.js +0 -11
  1414. package/dist/solutions-components/p-653af7e0.js +0 -11
  1415. package/dist/solutions-components/p-6604ac77.js +0 -11
  1416. package/dist/solutions-components/p-668c9fd9.entry.js +0 -6
  1417. package/dist/solutions-components/p-674be06c.entry.js +0 -6
  1418. package/dist/solutions-components/p-67b9b58f.entry.js +0 -6
  1419. package/dist/solutions-components/p-67ff8e9a.entry.js +0 -17
  1420. package/dist/solutions-components/p-68434a63.js +0 -6
  1421. package/dist/solutions-components/p-68e0adcf.js +0 -6
  1422. package/dist/solutions-components/p-68e84199.entry.js +0 -6
  1423. package/dist/solutions-components/p-69763854.js +0 -6
  1424. package/dist/solutions-components/p-6ae45648.js +0 -6
  1425. package/dist/solutions-components/p-6b2b8b41.entry.js +0 -29
  1426. package/dist/solutions-components/p-6c85b276.js +0 -489
  1427. package/dist/solutions-components/p-6cce7009.entry.js +0 -11
  1428. package/dist/solutions-components/p-6d511162.js +0 -6
  1429. package/dist/solutions-components/p-708294ca.entry.js +0 -11
  1430. package/dist/solutions-components/p-7116f96d.entry.js +0 -36
  1431. package/dist/solutions-components/p-727596e6.js +0 -11
  1432. package/dist/solutions-components/p-73100e79.js +0 -11
  1433. package/dist/solutions-components/p-734bc1b0.entry.js +0 -11
  1434. package/dist/solutions-components/p-752ece4a.entry.js +0 -11
  1435. package/dist/solutions-components/p-758d94ea.entry.js +0 -6
  1436. package/dist/solutions-components/p-75e2a322.entry.js +0 -17
  1437. package/dist/solutions-components/p-775ad144.js +0 -11
  1438. package/dist/solutions-components/p-77b43a94.js +0 -11
  1439. package/dist/solutions-components/p-787203af.entry.js +0 -11
  1440. package/dist/solutions-components/p-78780f63.js +0 -7
  1441. package/dist/solutions-components/p-79110824.js +0 -6
  1442. package/dist/solutions-components/p-793cad54.js +0 -6
  1443. package/dist/solutions-components/p-797aa505.js +0 -6
  1444. package/dist/solutions-components/p-7c13406e.entry.js +0 -6
  1445. package/dist/solutions-components/p-7dbccc10.entry.js +0 -21
  1446. package/dist/solutions-components/p-7ebd34df.entry.js +0 -11
  1447. package/dist/solutions-components/p-802acc51.entry.js +0 -6
  1448. package/dist/solutions-components/p-809b7e47.entry.js +0 -11
  1449. package/dist/solutions-components/p-83fd31d5.js +0 -17
  1450. package/dist/solutions-components/p-84378c8d.entry.js +0 -11
  1451. package/dist/solutions-components/p-864b1d72.entry.js +0 -6
  1452. package/dist/solutions-components/p-8684a905.js +0 -21
  1453. package/dist/solutions-components/p-891682da.entry.js +0 -12
  1454. package/dist/solutions-components/p-8953a9cc.entry.js +0 -6
  1455. package/dist/solutions-components/p-8b47b607.entry.js +0 -11
  1456. package/dist/solutions-components/p-8d49a084.js +0 -6
  1457. package/dist/solutions-components/p-8fabb8a4.entry.js +0 -22
  1458. package/dist/solutions-components/p-95aba86b.entry.js +0 -6
  1459. package/dist/solutions-components/p-96c2ed64.entry.js +0 -11
  1460. package/dist/solutions-components/p-978d936a.entry.js +0 -11
  1461. package/dist/solutions-components/p-980cd015.entry.js +0 -11
  1462. package/dist/solutions-components/p-981e9549.js +0 -11
  1463. package/dist/solutions-components/p-98308b13.entry.js +0 -11
  1464. package/dist/solutions-components/p-98fe7b5d.entry.js +0 -6
  1465. package/dist/solutions-components/p-993e8bd0.js +0 -11
  1466. package/dist/solutions-components/p-99c5701d.entry.js +0 -6
  1467. package/dist/solutions-components/p-9cbfd8cd.js +0 -6
  1468. package/dist/solutions-components/p-a09c8edf.entry.js +0 -6
  1469. package/dist/solutions-components/p-a4755ea8.entry.js +0 -6
  1470. package/dist/solutions-components/p-a5272d7e.js +0 -6
  1471. package/dist/solutions-components/p-a5c5b24d.js +0 -6
  1472. package/dist/solutions-components/p-a5e93c7e.entry.js +0 -18
  1473. package/dist/solutions-components/p-a6bb4148.js +0 -6
  1474. package/dist/solutions-components/p-a84acc82.entry.js +0 -6
  1475. package/dist/solutions-components/p-a8c9ac0b.entry.js +0 -16
  1476. package/dist/solutions-components/p-a9bd945b.entry.js +0 -11
  1477. package/dist/solutions-components/p-a9c30842.entry.js +0 -11
  1478. package/dist/solutions-components/p-abdd289e.js +0 -6
  1479. package/dist/solutions-components/p-aca29f67.entry.js +0 -11
  1480. package/dist/solutions-components/p-ad96cd8b.entry.js +0 -11
  1481. package/dist/solutions-components/p-ada368a5.entry.js +0 -6
  1482. package/dist/solutions-components/p-af1bb992.js +0 -6
  1483. package/dist/solutions-components/p-b1a5f341.js +0 -61
  1484. package/dist/solutions-components/p-b1b768f7.js +0 -145
  1485. package/dist/solutions-components/p-b21a9b47.js +0 -11
  1486. package/dist/solutions-components/p-b29677ca.js +0 -6
  1487. package/dist/solutions-components/p-b2c5e62b.js +0 -6
  1488. package/dist/solutions-components/p-b326b592.entry.js +0 -11
  1489. package/dist/solutions-components/p-b3ebaa79.js +0 -11
  1490. package/dist/solutions-components/p-b699637f.entry.js +0 -11
  1491. package/dist/solutions-components/p-b6efec9a.entry.js +0 -6
  1492. package/dist/solutions-components/p-b7285bd5.js +0 -6
  1493. package/dist/solutions-components/p-b8959537.js +0 -6
  1494. package/dist/solutions-components/p-baf4cb37.js +0 -6
  1495. package/dist/solutions-components/p-baf82bab.entry.js +0 -6
  1496. package/dist/solutions-components/p-bfebff0e.js +0 -6
  1497. package/dist/solutions-components/p-c0f97ed2.entry.js +0 -6
  1498. package/dist/solutions-components/p-c3190f85.js +0 -6
  1499. package/dist/solutions-components/p-c4ebb5d1.js +0 -11
  1500. package/dist/solutions-components/p-c504529e.entry.js +0 -6
  1501. package/dist/solutions-components/p-c56fd16c.entry.js +0 -11
  1502. package/dist/solutions-components/p-c6b9a129.js +0 -11
  1503. package/dist/solutions-components/p-c77ff1b4.entry.js +0 -6
  1504. package/dist/solutions-components/p-c7e7da9a.entry.js +0 -17
  1505. package/dist/solutions-components/p-c8cf222b.entry.js +0 -6
  1506. package/dist/solutions-components/p-c92fff33.js +0 -11
  1507. package/dist/solutions-components/p-c9bd3666.js +0 -6
  1508. package/dist/solutions-components/p-cb1d29d4.entry.js +0 -17
  1509. package/dist/solutions-components/p-cbe7a79a.entry.js +0 -6
  1510. package/dist/solutions-components/p-cdee3846.js +0 -6
  1511. package/dist/solutions-components/p-cfb3d66a.js +0 -6
  1512. package/dist/solutions-components/p-d2d7d6b4.entry.js +0 -11
  1513. package/dist/solutions-components/p-d32e6900.js +0 -11
  1514. package/dist/solutions-components/p-d44e2fd7.js +0 -6
  1515. package/dist/solutions-components/p-d5263cb9.entry.js +0 -17
  1516. package/dist/solutions-components/p-d9a59fcc.js +0 -22
  1517. package/dist/solutions-components/p-db44593d.js +0 -16
  1518. package/dist/solutions-components/p-dbacb910.js +0 -11
  1519. package/dist/solutions-components/p-dd48cc25.entry.js +0 -6
  1520. package/dist/solutions-components/p-de281b08.js +0 -16
  1521. package/dist/solutions-components/p-df118036.js +0 -6
  1522. package/dist/solutions-components/p-e01f576a.entry.js +0 -6
  1523. package/dist/solutions-components/p-e22bce70.entry.js +0 -6
  1524. package/dist/solutions-components/p-e274f3b0.entry.js +0 -23
  1525. package/dist/solutions-components/p-e377cfb3.entry.js +0 -6
  1526. package/dist/solutions-components/p-e6d4bdce.js +0 -6
  1527. package/dist/solutions-components/p-e6dfc80f.js +0 -6
  1528. package/dist/solutions-components/p-e834d132.js +0 -6
  1529. package/dist/solutions-components/p-e83b1772.entry.js +0 -11
  1530. package/dist/solutions-components/p-e902ba19.js +0 -36
  1531. package/dist/solutions-components/p-ea17cefb.entry.js +0 -6
  1532. package/dist/solutions-components/p-ea83d12d.js +0 -11
  1533. package/dist/solutions-components/p-ee4e5212.js +0 -17
  1534. package/dist/solutions-components/p-ef05dea5.js +0 -6
  1535. package/dist/solutions-components/p-f0d68a3f.js +0 -11
  1536. package/dist/solutions-components/p-f10944e6.js +0 -11
  1537. package/dist/solutions-components/p-f17941f1.entry.js +0 -6
  1538. package/dist/solutions-components/p-f1e6ce96.entry.js +0 -11
  1539. package/dist/solutions-components/p-f6253a08.entry.js +0 -6
  1540. package/dist/solutions-components/p-f9e3a93d.js +0 -11
  1541. package/dist/solutions-components/p-f9ff6c29.entry.js +0 -6
  1542. package/dist/solutions-components/p-fcefdfff.js +0 -11
  1543. package/dist/solutions-components/p-ff460d05.entry.js +0 -17
  1544. package/dist/solutions-components/p-ff7c9bc3.entry.js +0 -11
  1545. package/dist/solutions-components/p-ffa2c430.js +0 -6
  1546. package/dist/solutions-components/p-ffbed9b2.entry.js +0 -12
  1547. package/dist/solutions-components_commit.txt +0 -7
@@ -0,0 +1,23 @@
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 s,H as n}from"./p-7d280d8a.js";import{f as a}from"./p-bdea5320.js";import{c as l,u as o,d as c,I as r}from"./p-6d520a58.js";import{s as h,a as d,c as u}from"./p-a4149333.js";import{c as p,d as g,n as f}from"./p-13f2d901.js";import{u as b,s as m,c as v,d as y}from"./p-05cb50f9.js";import{d as x}from"./p-a82f35c9.js";import{t as C,u as w,B as k,a as I}from"./p-3dd92f0d.js";import{c as L}from"./p-1f65ab1e.js";import{u as S,a as z,M as D,b as E,g as A,I as F,C as M,S as j,c as T}from"./p-8dc26294.js";import{d as H,a as P,c as O}from"./p-2c6b8811.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.4.0
11
+ */const R=class{constructor(i){t(this,i),this.calciteFilterChange=e(this,"calciteFilterChange",6),this.filterDebounced=x(((t,e=!1,i)=>this.items.length&&this.updateFiltered(a(this.items,t),e,i)),250),this.inputHandler=t=>{const e=t.target;this.value=e.value,this.filterDebounced(e.value,!0)},this.keyDownHandler=t=>{"Escape"===t.key&&(this.clear(),t.preventDefault()),"Enter"===t.key&&t.preventDefault()},this.clear=()=>{this.value="",this.filterDebounced("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filterDebounced(this.value)}onMessagesChange(){}valueHandler(t){this.filterDebounced(t)}effectiveLocaleChange(){b(this,this.effectiveLocale)}async componentWillLoad(){h(this),this.items.length&&this.updateFiltered(a(this.items,this.value)),await m(this)}connectedCallback(){l(this),p(this),v(this)}componentDidRender(){o(this)}disconnectedCallback(){c(this),g(this),y(this),this.filterDebounced.cancel()}componentDidLoad(){d(this)}async filter(t=this.value){return new Promise((e=>{this.value=t,this.filterDebounced(t,!1,e)}))}async setFocus(){var t;await u(this),null===(t=this.el)||void 0===t||t.focus()}updateFiltered(t,e=!1,i){this.filteredItems=t,e&&this.calciteFilterChange.emit(),null==i||i()}render(){const{disabled:t,scale:e}=this;return i(r,{disabled:t},i("div",{class:"container"},i("label",null,i("calcite-input",{clearable:!0,disabled:t,icon:"search",label:this.messages.label,messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,scale:e,type:"text",value:this.value,ref:t=>{this.textInput=t}}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{items:["watchItemsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};R.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([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;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-color-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-color-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-color-text-2)}.clear-button:hover,.clear-button:focus{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/main/LICENSE.md for details.
15
+ * v2.4.0
16
+ */
17
+ const _="{itemLabel}",W=class{constructor(i){t(this,i),this.calciteHandleChange=e(this,"calciteHandleChange",6),this.calciteHandleNudge=e(this,"calciteHandleNudge",6),this.calciteInternalAssistiveTextChange=e(this,"calciteInternalAssistiveTextChange",6),this.handleKeyDown=t=>{if(!this.disabled)switch(t.key){case" ":this.selected=!this.selected,this.calciteHandleChange.emit(),t.preventDefault();break;case"ArrowUp":if(!this.selected)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.selected)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"down"})}},this.handleBlur=()=>{this.blurUnselectDisabled||this.disabled||this.selected&&(this.selected=!1,this.calciteHandleChange.emit())},this.selected=!1,this.disabled=!1,this.dragHandle=void 0,this.messages=void 0,this.setPosition=void 0,this.setSize=void 0,this.label=void 0,this.blurUnselectDisabled=!1,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleAriaTextChange(){const t=this.getAriaText("live");t&&this.calciteInternalAssistiveTextChange.emit({message:t})}onMessagesChange(){}connectedCallback(){l(this),v(this),p(this)}async componentWillLoad(){h(this),await m(this)}componentDidLoad(){d(this)}componentDidRender(){o(this)}disconnectedCallback(){c(this),y(this),g(this)}effectiveLocaleChange(){b(this,this.effectiveLocale)}async setFocus(){var t;await u(this),null===(t=this.handleButton)||void 0===t||t.focus()}getTooltip(){const{label:t,messages:e}=this;return e?t?e.dragHandle.replace(_,t):e.dragHandleUntitled:""}getAriaText(t){const{setPosition:e,setSize:i,label:s,messages:n,selected:a}=this;return n&&s&&"number"==typeof i&&"number"==typeof e?("label"===t?a?n.dragHandleChange:n.dragHandleIdle:a?n.dragHandleActive:n.dragHandleCommit).replace("{position}",e.toString()).replace(_,s).replace("{total}",i.toString()):null}render(){return i("span",{"aria-disabled":this.disabled?C(this.disabled):null,"aria-label":this.disabled?null:this.getAriaText("label"),"aria-pressed":this.disabled?null:C(this.selected),class:{handle:!0,"handle--selected":!this.disabled&&this.selected},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabIndex:this.disabled?null:0,title:this.getTooltip(),ref:t=>{this.handleButton=t}},i("calcite-icon",{icon:"drag",scale:"s"}))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messages:["handleAriaTextChange"],label:["handleAriaTextChange"],selected:["handleAriaTextChange"],setPosition:["handleAriaTextChange"],setSize:["handleAriaTextChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};W.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}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-color-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:not([disabled])) .handle:focus{color:var(--calcite-color-text-1);outline:2px solid 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 )}:host(:not([disabled])) .handle--selected{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}: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/main/LICENSE.md for details.
21
+ * v2.4.0
22
+ */
23
+ const B="assistive-text",G="actions-start",K="actions-end",N="calcite-list-item",U=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListDragEnd=e(this,"calciteListDragEnd",6),this.calciteListDragStart=e(this,"calciteListDragStart",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector=N,this.focusableItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=L("mutation",(()=>this.updateListItems())),this.visibleItems=[],this.handleDefaultSlotChange=t=>{S(z(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=w(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=w(t)},this.handleFilterNoResultsSlotChange=t=>{this.hasFilterNoResults=w(t)},this.setActiveListItem=()=>{const{focusableItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.visibleItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.updateFilteredItems=(t=!1)=>{const{visibleItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=null==e?void 0:e.filter((t=>e.every((e=>e===t||!t.contains(e))))),l=e.filter((t=>!s||n.includes(t.value)))||[],o=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:l,visibleParents:o}))),l.length>0&&this.findAncestorOfFirstFilteredItem(l),this.filteredItems=l,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=x(((t=!1)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(this.parentListEl)return this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),void this.setUpSorting();const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e,t.selectionMode=i})),this.queryListItems(!0).forEach((t=>{t.dragHandle=s})),this.listItems=n,this.filterEnabled&&(this.dataForFilter=this.getItemData(),this.filterEl&&(this.filterEl.items=this.dataForFilter)),this.visibleItems=this.listItems.filter((t=>!t.closed&&!t.hidden)),this.updateFilteredItems(t),this.focusableItems=this.filteredItems.filter((t=>!t.disabled)),this.setActiveListItem(),this.updateSelectedItems(t),this.setUpSorting()}),0),this.queryListItems=(t=!1)=>Array.from(this.el.querySelectorAll(t?":scope > calcite-list-item":N)),this.focusRow=t=>{const{focusableItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{var e;const i=null===(e=t.parentElement)||void 0===e?void 0:e.closest(N);return!i||i.open&&this.isNavigable(i)},this.handleListKeydown=t=>{var e;if(t.defaultPrevented||this.parentListEl)return;const{key:i}=t,s=this.focusableItems.filter((t=>this.isNavigable(t))),n=s.findIndex((t=>t.active));if("ArrowDown"===i){t.preventDefault();const e=t.target===this.filterEl?0:n+1;s[e]&&this.focusRow(s[e])}else if("ArrowUp"===i){if(t.preventDefault(),0===n&&this.filterEnabled)return void(null===(e=this.filterEl)||void 0===e||e.setFocus());const i=n-1;s[i]&&this.focusRow(s[i])}else if("Home"===i){t.preventDefault();const e=s[0];e&&this.focusRow(e)}else if("End"===i){t.preventDefault();const e=s[s.length-1];e&&this.focusRow(e)}},this.findAncestorOfFirstFilteredItem=t=>{var e,i;null===(e=this.ancestorOfFirstFilteredItem)||void 0===e||e.removeAttribute("data-filter"),t.forEach((t=>{t.removeAttribute("data-filter")})),this.ancestorOfFirstFilteredItem=this.getTopLevelAncestorItemElement(t[0]),t[0].setAttribute("data-filter","0"),null===(i=this.ancestorOfFirstFilteredItem)||void 0===i||i.setAttribute("data-filter","0")},this.getTopLevelAncestorItemElement=t=>{let e=t.parentElement.closest(N);for(;e;){const t=e.parentElement.closest(N);if(!t)return e;e=t}return null},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.messageOverrides=void 0,this.messages=void 0,this.numberingSystem=void 0,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.effectiveLocale="",this.defaultMessages=void 0,this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1,this.hasFilterNoResults=!1}async handleFilterTextChange(){this.performFilter()}onMessagesChange(){}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{focusableItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalAssistiveTextChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(t){if(this.parentListEl)return;t.stopPropagation();const{target:e,detail:i}=t,{focusableItems:s,lastSelectedInfo:n}=this,a=e;if(i.selectMultiple&&n){const t=s.indexOf(a),e=s.indexOf(n.selectedItem),i=Math.min(e,t),l=Math.max(e,t);s.slice(i,l+1).forEach((t=>t.selected=n.selected))}else this.lastSelectedInfo={selectedItem:a,selected:a.selected}}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){H(this)||(v(this),this.connectObserver(),this.updateListItems(),this.setUpSorting(),l(this),this.setParentList())}async componentWillLoad(){h(this),await m(this)}componentDidRender(){o(this)}componentDidLoad(){d(this)}disconnectedCallback(){H(this)||(this.disconnectObserver(),P(this),c(this),y(this))}effectiveLocaleChange(){b(this,this.effectiveLocale)}async setFocus(){var t,e;return await u(this),this.filterEnabled?null===(t=this.filterEl)||void 0===t?void 0:t.setFocus():null===(e=this.focusableItems.find((t=>t.active)))||void 0===e?void 0:e.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:l,filterText:o,filteredItems:c,hasFilterActionsStart:h,hasFilterActionsEnd:d,hasFilterNoResults:u}=this;return i(r,{disabled:this.disabled},i("div",{class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:B},this.assistiveText):null,this.renderItemAriaLive(),t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{"aria-busy":C(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||h||d?i("thead",null,i("tr",{class:{"sticky-pos":!0}},i("th",{colSpan:D},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:G}),i("calcite-filter",{"aria-label":l,disabled:s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:l,value:o,ref:this.setFilterEl}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:K}))))):null,i("tbody",{class:"table-container"},i("slot",{onSlotchange:this.handleDefaultSlotChange}))),i("div",{"aria-live":"polite","data-test-id":"no-results-container",hidden:!(u&&a&&o&&!c.length)},i("slot",{name:"filter-no-results",onSlotchange:this.handleFilterNoResultsSlotChange}))))}renderItemAriaLive(){const{messages:t,filteredItems:e,parentListEl:s,effectiveLocale:n,numberingSystem:a,filterEnabled:l,filterText:o,filteredData:c}=this;return f.numberFormatOptions={locale:n,numberingSystem:a},s?null:i("div",{"aria-live":"polite",class:B},l&&o&&(null==c?void 0:c.length)?i("div",{key:"aria-filter-enabled"},t.filterEnabled):null,i("div",{key:"aria-item-count"},t.total.replace("{count}",f.localize(e.length.toString()))),e.length?i("ol",{key:"aria-item-list"},e.map((t=>i("li",null,t.label)))):null)}connectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&O(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(t){this.calciteListDragEnd.emit(t)}onDragStart(t){this.calciteListDragStart.emit(t)}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){var t;this.parentListEl=null===(t=this.el.parentElement)||void 0===t?void 0:t.closest("calcite-list")}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.filterHidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems(t))}async performFilter(){const{filterEl:t,filterText:e}=this;t&&(t.value=e,await t.filter(e),this.updateFilteredData())}handleNudgeEvent(t){const{handleSelector:e,dragSelector:i}=this,{direction:s}=t.detail,n=t.composedPath(),a=n.find((t=>(null==t?void 0:t.tagName)&&t.matches(e))),l=n.find((t=>(null==t?void 0:t.tagName)&&t.matches(i))),o=null==l?void 0:l.parentElement;if(!o)return;const{filteredItems:c}=this,r=c.filter((t=>t.parentElement===o)),h=r.length-1,d=r.indexOf(l);let u;u="up"===s?0===d?h:d-1:d===h?0:d+1,this.disconnectObserver(),a.blurUnselectDisabled=!0,o.insertBefore(l,"up"===s&&u!==h||"down"===s&&0===u?r[u]:r[u].nextSibling),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:l,fromEl:o,toEl:o,newIndex:u,oldIndex:d}),a.setFocus().then((()=>a.blurUnselectDisabled=!1))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{filterText:["handleFilterTextChange"],messageOverrides:["onMessagesChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"],effectiveLocale:["effectiveLocaleChange"]}}};U.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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 -1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:1px}::slotted(calcite-list-item:first-of-type){--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)}::slotted(calcite-list-item[data-filter]){--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);margin-block-start:0px}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-color-foreground-1)}.sticky-pos th{padding:0px}.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 $=new Map,q=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteListItemDragHandleChange=e(this,"calciteListItemDragHandleChange",6),this.calciteListItemToggle=e(this,"calciteListItemToggle",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemSelectMultiple=e(this,"calciteInternalListItemSelectMultiple",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.dragHandleSelectedChangeHandler=t=>{this.dragSelected=t.target.selected,this.calciteListItemDragHandleChange.emit(),t.stopPropagation()},this.emitInternalListItemActive=()=>{this.calciteInternalListItemActive.emit()},this.focusCellHandle=()=>{this.handleCellFocusIn(this.handleGridEl)},this.focusCellActionsStart=()=>{this.handleCellFocusIn(this.actionsStartEl)},this.focusCellContent=()=>{this.handleCellFocusIn(this.contentEl)},this.focusCellActionsEnd=()=>{this.handleCellFocusIn(this.actionsEndEl)},this.handleCloseClick=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=w(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=w(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=w(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=w(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=w(t)},this.handleContentBottomSlotChange=t=>{this.hasContentBottom=w(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.handleToggleClick=()=>{this.toggle()},this.toggle=(t=!this.open)=>{this.open=t,this.calciteListItemToggle.emit()},this.handleItemClick=t=>{t.defaultPrevented||this.toggleSelected(t.shiftKey)},this.toggleSelected=t=>{const{selectionMode:e,selected:i}=this;this.disabled||("multiple"===e||"single"===e?this.selected=!i:"single-persist"===e&&(this.selected=!0),this.calciteInternalListItemSelectMultiple.emit({selectMultiple:t&&"multiple"===e}),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,actionsStartEl:n,actionsEndEl:a,open:l,openable:o}=this,c=this.getGridCells(),r=c.findIndex((t=>i.includes(t)));if("Enter"!==e||i.includes(n)||i.includes(a)){if("ArrowRight"===e){t.preventDefault();const e=r+1;-1===r?!l&&o?(this.toggle(!0),this.focusCell(null)):c[0]&&this.focusCell(c[0]):c[r]&&c[e]&&this.focusCell(c[e])}else if("ArrowLeft"===e){t.preventDefault();const e=r-1;-1===r?(this.focusCell(null),l&&o?this.toggle(!1):this.calciteInternalFocusPreviousItem.emit()):0===r?(this.focusCell(null),s.focus()):c[r]&&c[e]&&this.focusCell(c[e])}}else t.preventDefault(),this.toggleSelected(t.shiftKey)},this.focusCellNull=()=>{this.focusCell(null)},this.handleCellFocusIn=t=>{this.setFocusCell(t,k(t),!0)},this.setFocusCell=(t,e,i)=>{const{parentListEl:s}=this;i&&$.set(s,null);const n=this.getGridCells();n.forEach((t=>{t.tabIndex=-1,t.removeAttribute(E)})),t&&(t.tabIndex=t===e?0:-1,t.setAttribute(E,""),i&&$.set(s,n.indexOf(t)))},this.focusCell=(t,e=!0)=>{const i=k(t);this.setFocusCell(t,i,e),null==i||i.focus()},this.active=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.dragSelected=!1,this.filterHidden=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.visualLevel=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1,this.hasContentBottom=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){l(this),p(this),v(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=A(t)+1,this.visualLevel=A(t,!0),this.setSelectionDefaults()}async componentWillLoad(){h(this),await m(this)}componentDidLoad(){d(this)}componentDidRender(){o(this)}disconnectedCallback(){c(this),g(this),y(this)}async setFocus(){await u(this);const{containerEl:t,parentListEl:e}=this,i=$.get(e);if("number"!=typeof i)null==t||t.focus();else{const e=this.getGridCells();e[i]?this.focusCell(e[i]):null==t||t.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:{[M.selectionContainer]:!0,[M.selectionContainerSingle]:"single"===e||"single-persist"===e},key:"selection-container",onClick:this.handleItemClick},i("calcite-icon",{icon:t?"multiple"===e?F.selectedMultiple:F.selectedSingle:"multiple"===e?F.unselectedMultiple:F.unselectedSingle,scale:"s"}))}renderDragHandle(){const{label:t,dragHandle:e,dragSelected:s,dragDisabled:n,setPosition:a,setSize:l}=this;return e?i("td",{"aria-label":t,class:M.dragContainer,key:"drag-handle-container",onFocusin:this.focusCellHandle,role:"gridcell",ref:t=>this.handleGridEl=t},i("calcite-handle",{disabled:n,label:t,onCalciteHandleChange:this.dragHandleSelectedChangeHandler,selected:s,setPosition:a,setSize:l})):null}renderOpen(){const{el:t,open:e,openable:s,messages:n}=this,a=I(t),l=e?F.open:"rtl"===a?F.closedRTL:F.closedLTR;return s?i("td",{class:M.openContainer,key:"open-container",onClick:this.handleToggleClick,title:e?n.collapse:n.expand},i("calcite-icon",{icon:l,key:l,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:M.actionsStart,hidden:!e,key:"actions-start-container",onFocusin:this.focusCellActionsStart,role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:j.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:M.actionsEnd,hidden:!(e||s),key:"actions-end-container",onFocusin:this.focusCellActionsEnd,role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:j.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:F.close,key:"close-action",label:n.close,onClick:this.handleCloseClick,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:M.contentStart,hidden:!t},i("slot",{name:j.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:M.customContent,hidden:!t},i("slot",{name:j.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:M.contentEnd,hidden:!t},i("slot",{name:j.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentBottom(){const{hasContentBottom:t,visualLevel:e}=this;return i("div",{class:M.contentBottom,hidden:!t,style:{"--calcite-list-item-spacing-indent-multiplier":`${e}`}},i("slot",{name:j.contentBottom,onSlotchange:this.handleContentBottomSlotChange}))}renderDefaultContainer(){return i("div",{class:{[M.nestedContainer]:!0,[M.nestedContainerHidden]:this.openable&&!this.open}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:M.content,key:"content"},t?i("div",{class:M.label,key:"label"},t):null,e?i("div",{class:M.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this,a=n||!!e||!!t,l=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[M.contentContainer]:!0,[M.contentContainerSelectable]:"none"!==s,[M.contentContainerHasCenterContent]:a},key:"content-container",onClick:this.handleItemClick,onFocusin:this.focusCellContent,role:"gridcell",ref:t=>this.contentEl=t},l)}render(){const{openable:t,open:e,level:s,setPosition:a,setSize:l,active:o,label:c,selected:h,selectionAppearance:d,selectionMode:u,closed:p,visualLevel:g}=this,f="none"!==u&&"border"===d,b=f&&h,m=f&&!h;return i(n,null,i(r,{disabled:this.disabled},i("tr",{"aria-expanded":t?C(e):null,"aria-label":c,"aria-level":s,"aria-posinset":a,"aria-selected":C(h),"aria-setsize":l,class:{[M.container]:!0,[M.containerHover]:!0,[M.containerBorder]:f,[M.containerBorderSelected]:b,[M.containerBorderUnselected]:m},hidden:p,onFocus:this.focusCellNull,onFocusin:this.emitInternalListItemActive,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${g}`},tabIndex:o?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),this.renderContentBottom(),this.renderDefaultContainer()))}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const e=z(t),i=T(t);S(e),this.openable=!!e.length||!!i.length}getGridCells(){return[this.handleGridEl,this.actionsStartEl,this.contentEl,this.actionsEndEl].filter((t=>t&&!t.hidden))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],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:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-color-brand);--calcite-list-item-spacing-indent:1rem}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-color-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}.container:active{background-color:var(--calcite-color-foreground-1)}.container--border{border-inline-start-width:4px;border-inline-start-style:solid}.container--border-selected{border-inline-start-color:var(--calcite-color-brand)}.container--border-unselected{border-inline-start-color:transparent}.container:hover.container--border-unselected{border-color:var(--calcite-color-border-1)}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{outline:2px solid 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 )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description,.content-bottom{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child,.content-bottom:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-color-text-1)}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}.description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}:host([selected]) .description{color:var(--calcite-color-text-2)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-bottom{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-color-border-input)}.selection-container--single{color:transparent}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-color-border-1)}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-item-icon-color)}.open-container{color:var(--calcite-color-text-3)}:host(:not([disabled])) .container:hover .open-container{color:var(--calcite-color-text-1)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}::slotted(calcite-list:empty){padding-block:0.75rem}:host([hidden]){display:none}[hidden]{display:none}";const J=class{constructor(e){t(this,e),this.handleActionsStartSlotChange=t=>{this.hasActionsStart=w(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=w(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=w(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=w(t)},this.disabled=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasContentStart=!1,this.hasContentEnd=!1}renderActionsStart(){const{hasActionsStart:t}=this;return i("div",{class:"actions-start",hidden:!t,key:"actions-start-container"},i("slot",{name:G,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return i("div",{class:"actions-end",hidden:!t,key:"actions-end-container"},i("slot",{name:K,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:"content-start",hidden:!t},i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return i("div",{class:"content"},i("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:"content-end",hidden:!t},i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}render(){return i(n,null,i("div",{class:"container"},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};J.style=":host([disabled]) .content{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_filter,W as calcite_handle,U as calcite_list,q as calcite_list_item,J as calcite_stack}
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as s,H as e,g as n}from"./p-7d280d8a.js";import{d as a,a as o,b as l,i as r,c,e as h,f as d}from"./p-94de9279.js";import{t as p}from"./p-3dd92f0d.js";import{f as u,c as v,d as m,r as f,a as g,F as b}from"./p-db53bde3.js";import{s as _,c as x,d as w,H as y}from"./p-1f33a29d.js";import{c as k,d as $,u as C,I as z}from"./p-6d520a58.js";import{n as D}from"./p-e7afc0a8.js";import{c as E,d as I}from"./p-9d53e0f2.js";import{c as P,s as R,a as F}from"./p-a4149333.js";import{n as S,c as j,d as L,b as O}from"./p-13f2d901.js";import{o as N}from"./p-2b0454a0.js";import{g as T,a as A}from"./p-bfdf89c2.js";import{c as M,s as U,d as B}from"./p-05cb50f9.js";import{c as W,d as H,a as V}from"./p-d7b02d3a.js";import{g as J}from"./p-5a9a971a.js";import{g as K}from"./p-495e7b9d.js";import{V as q}from"./p-c94d2cec.js";import{l as Y}from"./p-a8a0187d.js";import{g as Z}from"./p-86b21da1.js";import{g as G}from"./p-c96eb2db.js";import"./p-7c2be8cc.js";import"./p-a82f35c9.js";import"./p-ba7d55ea.js";import"./p-1f65ab1e.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.4.0
11
+ */const X="input-wrapper",Q="input",tt="toggle-icon",it=class{constructor(s){t(this,s),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,s=i.value,e=this.parseNumerals(s),n=this.formatNumerals(e);i.value=n;const{year:a}=o(s,this.localeData);if(a&&a.length<4)return;const c=l(s,this.localeData);r(c,this.min,this.max)&&(this.datePickerActiveDate=c)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${J()}`,this.focusOnOpen=!1,this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${J()}`,this.onInputWrapperPointerDown=()=>{this.currentOpenInput=this.focusedInput},this.onInputWrapperClick=t=>{const{range:i,endInput:s,startInput:e,currentOpenInput:n}=this,a=t.currentTarget.getAttribute("data-position");t.composedPath().find((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(tt)}))&&("start"===a?e:s).setFocus(),i&&this.open&&n!==a||(this.open=!this.open)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(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=>{var i,s;const{defaultPrevented:e,key:n}=t;e||("Enter"===n?(this.commitValue(),this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(s=this.startInput)||void 0===s||s.setFocus()),_(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===n?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===n&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,v(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,W(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 s=this[`${i}Input`];s&&(s.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,s=Array.isArray(i),e=Array.isArray(t);let n=e?c(e?t[0]:null):"";n&&(n=this.getNormalizedDate(n));let a=e?c(e?t[1]:null):"";a&&(a=this.getNormalizedDate(a));const o=n||a?[n,a]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?T(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,s?(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 s=c(t);s=this.getNormalizedDate(s),s!==i&&(this.userChangedValue=!0,this.valueAsDate=s?h(s):void 0,this.value=s||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>{var i,s,e;return(null===(i=this.commonDateSeparators)||void 0===i?void 0:i.includes(t))?null===(s=this.localeData)||void 0===s?void 0:s.separator:(null==D?void 0:D.includes(t))?null===(e=null==S?void 0:S.numberFormatter)||void 0===e?void 0:e.format(Number(t)):t})).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>D.includes(t)?S.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.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=m,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?H(this):V(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?T(t):t?h(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)?[c(t[0]),c(t[1])]:c(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=h(t))}onMaxChanged(t){t&&(this.maxAsDate=h(t))}openHandler(){N(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 P(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:s,placement:e,overlayPositioning:n,filteredFlipPlacements:a}=this;return f(this,{floatingEl:i,referenceEl:s,overlayPositioning:n,placement:e,flipPlacements:a,type:"menu"},t)}connectedCallback(){k(this),j(this);const{open:t}=this;if(t&&this.openHandler(),Array.isArray(this.value))this.valueAsDate=T(this.value);else if(this.value)try{this.valueAsDate=h(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.valueAsDate&&(this.range?this.setRangeValue(this.valueAsDate):Array.isArray(this.valueAsDate)||(this.value=c(this.valueAsDate)));this.min&&(this.minAsDate=h(this.min)),this.max&&(this.maxAsDate=h(this.max)),E(this),x(this),M(this),this.setFilteredPlacements(),this.reposition(!0),S.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&N(this),v(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){R(this),await Promise.all([this.loadLocaleData(),U(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){F(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){H(this),$(this),I(this),w(this),g(this,this.referenceEl,this.floatingEl),L(this),B(this)}componentDidRender(){C(this)}render(){var t,i,n;const{disabled:a,effectiveLocale:o,messages:l,numberingSystem:r,readOnly:c}=this;return S.numberFormatOptions={numberingSystem:r,locale:o,useGrouping:!1},s(e,{onBlur:this.blurHandler,onKeyDown:this.keyDownHandler},s(z,{disabled:this.disabled},this.localeData&&s("div",{class:"input-container"},s("div",{class:X,"data-position":"start",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setStartWrapper},s("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:{[Q]:!0,"no-bottom-border":"vertical"===this.layout&&this.range},disabled:a,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:c,role:"combobox",scale:this.scale,status:this.status,ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),s("span",{"aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",null===(i=this.localeData)||void 0===i?void 0:i.placeholder)),s("div",{"aria-hidden":p(!this.open),"aria-label":l.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},s("div",{class:{"calendar-wrapper":!0,"calendar-wrapper--end":"end"===this.focusedInput,[b.animation]:!0,[b.animationActive]:this.open},ref:this.setTransitionEl},s("calcite-date-picker",{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:r,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&s("div",{class:"horizontal-arrow-container"},s("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:K(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&s("div",{class:"vertical-arrow-container"},s("calcite-icon",{icon:"arrow-down",scale:K(this.scale)})),this.range&&s("div",{class:X,"data-position":"end",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setEndWrapper},s("calcite-input-text",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:{[Q]:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:a,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,placeholder:null===(n=this.localeData)||void 0===n?void 0:n.placeholder,readOnly:c,role:"combobox",scale:this.scale,status:this.status,ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),s(y,{component:this}),this.validationMessage?s(q,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return s("span",{class:tt,tabIndex:-1},s("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:K(this.scale)}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:s,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?s||e:e||s,requestAnimationFrame((()=>v(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){V(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),H(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}commitValue(){const{focusedInput:t,value:i}=this,s=l(this[`${t}Input`].value,this.localeData),e=c(s),n=Array.isArray(i);if(this.range)if(n){if(e===i["start"===t?0:1])return;s?(this.setRangeValue(["start"===t?s:h(i[0]),"end"===t?s:h(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&h(i[0]),"start"===t&&h(i[1])])}else s&&(this.setRangeValue(["start"===t?s:h(i[0]),"end"===t?s:h(i[1])]),this.localizeInputValues());else{if(e===i)return;this.setValue(s),this.localizeInputValues()}}async loadLocaleData(){S.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await A(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(){var t;const i=d(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),s=this.range?d(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e={numberingSystem:O(this.numberingSystem)},n=i&&i.toLocaleDateString(this.effectiveLocale,e),a=s&&s.toLocaleDateString(this.effectiveLocale,e);this.setInputValue(null!=n?n:"","start"),this.setInputValue(null!==(t=this.range&&a)&&void 0!==t?t:"","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(!
12
+ /*!
13
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
+ * v2.4.0
16
+ */
17
+ function(t){if(!t)return!1;const{year:i}=a(t);return Number(i)<100}(t))return t;const{day:i,month:s,year:e}=a(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(e))}-${s}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(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"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};it.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}.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 st="instant-apps-filter-list calcite-mode-light",et=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function nt(t){return t.replaceAll("'","''")}function at(t,i=!1){if(t){const s=new Date(t),e=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return i?`${e} ${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`:e}}function ot(t){var i;if(null!=t){t.value=["",""];const s=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=s)for(const t of s)t.value=""}}const lt="instant-apps-filter-list__footer",rt="instant-apps-filter-list__item-container--user-input",ct=class{constructor(s){t(this,s),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.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.view=void 0,this.zoomBtn=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=st,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"===G(this.el)?"instant-apps-filter-list calcite-mode-dark":st,await this.initializeModules(),Z(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,s){"view"===s&&null!=t?this.handleWhenView():"layerExpressions"===s&&(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,s]=await Y(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);return this.geometryJsonUtils=i,this.reactiveUtils=s,this.locale=t.getLocale(),Promise.resolve()}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.closeBtn?this.renderFullFooter():this.renderFooter();return s(e,null,s("calcite-panel",{class:this.baseClass,ref:t=>this.panelEl=t},s("slot",{slot:"header-content",name:"filter-header-content"}),s("slot",{slot:"header-actions-end",name:"filter-header-actions-end"}),s("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return s("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((e,n)=>"checkbox"==e.type||null==e.type?s("div",{key:`${i}-${n}`,class:"instant-apps-filter-list__item-container"},s("div",{class:"instant-apps-filter-list__title"},s("p",null,e.name)),s("div",{class:"instant-apps-filter-list__checkbox-container"},s("calcite-checkbox",{id:e.id.toString(),scale:"l",checked:null==e?void 0:e.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,e)}))):this.initInput(t,e)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const e=this.renderFilter(t),{operator:n}=t,a="OR"===(null==n?void 0:n.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return s("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[a],open:!!this.openFilters||void 0,collapsible:!0},o,e)}renderCombobox(t,i){var e;return s("label",{key:"combo-select",class:rt},s("span",null,i.name),s("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,overlayPositioning:"fixed",selectionMode:"multiple",scale:"s","max-items":"6"},null===(e=i.fields)||void 0===e?void 0:e.map(((t,s)=>this.renderComboboxItem(i,t,s)))))}renderComboboxItem(t,i,e){var n,a;let o=i;"coded-value"===t.type?o=null===(n=t.codedValues)||void 0===n?void 0:n[i]:"number"===t.type&&"number"==typeof i&&null!=t.format&&(null!=t.format.places&&(o=this.roundNumber(i,t.format.places)),t.format.digitSeparator&&(o=this.numberWithCommas(o)));const l=null==t?void 0:t.selectedFields,r=null!==(a=null==l?void 0:l.includes(i))&&void 0!==a&&a;return s("calcite-combobox-item",{key:`${o}-${e}`,value:i,textLabel:`${o}`,selected:r})}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],e="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",n=this.renderZoomTo(this.filterLayerExpressions[0]);return s("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[e],open:!0},n,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var e,n,a,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!==(e=null==i?void 0:i.field)&&void 0!==e?e:"",m=[null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.min)?i.range.min:d,null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max)?i.range.max:p];return null!=d&&null!=p?s("label",{key:null==i?void 0:i.id.toString(),class:rt},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__number-input-container"},s("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 e,n,a,o;const l=at(i.min),r=at(i.max),c=[null===(e=null==i?void 0:i.range)||void 0===e?void 0:e.min,null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max];return null!=l&&null!=r?s("label",{class:rt},s("span",null,null==i?void 0:i.name),s("div",{class:"instant-apps-filter-list__date-picker-input-container"},s("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,scale:"s",lang:null!==(a=this.locale)&&void 0!==a?a:"en","overlay-positioning":"fixed",layout:"vertical",value:c,range:!0}),s("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 s("div",{class:lt,slot:"footer"},s("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,e;const n=null!=this.closeBtnText?this.closeBtnText:null===(t=this.messages)||void 0===t?void 0:t.close;return s("div",{class:lt,slot:"footer"},s("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),s("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(e=this.closeBtnOnClick)||void 0===e?void 0:e.bind(this)},n))}renderZoomTo(t){var i;return this.zoomBtn?s("div",{class:"instant-apps-filter-list__zoom-to"},s("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){ot(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:s}=i;return"string"===s||"coded-value"==s?this.renderCombobox(t,i):"number"===s||"range"==s?"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?this.renderCombobox(t,i):this.renderNumberSlider(t,i):"date"===s?"drop-down"===(null==i?void 0:i.displayOption)?this.renderCombobox(t,i):this.renderDatePicker(t,i):void 0}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=this.filterLayerExpressions;for(let i=0;i<(null==t?void 0:t.length);i++){const s=t[i].expressions;for(let e=0;e<(null==s?void 0:s.length);e++)null==s[e].active&&null!=s[e].definitionExpression&&(s[e].active=!1),await this.setInitExpression(t[i],s[e])}this.loading=!1,this.filterLayerExpressions=[...t]}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}=t;"string"===i||"coded-value"===i?this.resetCombobox(t):"date"===i?this.resetDatePicker(t):"number"===i||"range"===i?"drop-down"===(null==t?void 0:t.numDisplayOption)||"drop-down"===(null==t?void 0:t.displayOption)?this.resetCombobox(t):this.resetNumberRange(t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetCombobox(t){const{id:i}=t;t.selectedFields=void 0;const s=this.panelEl.querySelector(`[id='${i}']`);if(null!=s)for(let t=0;t<s.children.length;t++)s.children[t].selected=!1}resetDatePicker(t){const{id:i}=t;t.range=void 0,ot(this.panelEl.querySelector(`[id='${i}']`))}resetNumberRange(t){t.range=void 0;const{id:i,max:s,min:e}=t,n=this.panelEl.querySelector(`[id='${i}']`);null!=n&&(n.minValue=e,n.maxValue=s)}resetCheckbox(t){const{id:i}=t,s=this.panelEl.querySelector(`[id='${i}']`);null!=s&&(s.checked=!1)}resetAllFilters(){var t,i,s,e,n;const a=null===(s=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===s?void 0:s.concat(null===(n=null===(e=this.view)||void 0===e?void 0:e.map)||void 0===n?void 0:n.allTables);null==a||a.forEach((t=>{var i,s;if(et.includes(t.type)){const e=t;"point-cloud"===e.type?e.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[e.id]:"map-image"===e.type?e.allSublayers.forEach((t=>{var i,s;t.definitionExpression=null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[e.id])||void 0===s?void 0:s[t.id]})):e.definitionExpression=null===(s=this.initDefExpressions)||void 0===s?void 0:s[e.id]}}))}async updateStringExpression(t,i){const{field:s}=i,e=this.findFilterLayer(t);if(i.fields=await this.getFeatureAttributes(e,s),null==i?void 0:i.selectedFields){const t=i.selectedFields.map((t=>"number"==typeof t?t:`'${nt(t)}'`));return i.definitionExpression=`${s} IN (${t.join(",")})`,Promise.resolve(!0)}return Promise.resolve(!1)}async updateNumberExpression(t,i){var s,e;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 n=this.findFilterLayer(t),{field:a}=i;if(null!=a)if(this.setExpressionFormat(n,i,a),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)){const t=await this.getFeatureAttributes(n,a);t.sort(((t,i)=>t-i)),i.fields=t}else{const t=await this.calculateMinMaxStatistics(n,a),o=null===(s=null==t?void 0:t[0])||void 0===s?void 0:s.attributes;if(null!=(null===(e=i.format)||void 0===e?void 0:e.places)?(i.min=this.roundMinNumberDown(o[`min${a}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${a}`],i.format.places)):(i.min=o[`min${a}`],i.max=o[`max${a}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:s}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${s}`,!0}}}return!1}async updateDateExpression(t,i){var s;const{field:e,range:n}=i,a=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(a,e),l=null===(s=null==o?void 0:o[0])||void 0===s?void 0:s.attributes;if(i.min=at(l[`min${e}`]),i.max=at(l[`max${e}`]),null!=n&&(null!=(null==n?void 0:n.max)||null!=(null==n?void 0:n.min))){let{min:t,max:s}=n;if(t=null==t?void 0:t.replace("+"," "),s=null==s?void 0:s.replace("+"," "),t||s){const n=s&&!t?"<":!s&&t?">":null;return i.definitionExpression=n?`${e} ${n} '${null!=t?t:s}'`:`${e} BETWEEN '${t}' AND '${s}'`,!0}}return!1}updateCodedValueExpression(t,i){var s;const{field:e}=t,n=[];t.codedValues={};const a=null==i?void 0:i.domain;if(null===(s=null==a?void 0:a.codedValues)||void 0===s||s.forEach((i=>{const{code:s,name:e}=i;n.push(s),null!=t.codedValues&&(t.codedValues[s]=e)})),t.fields=n,null==t?void 0:t.selectedFields){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${nt(t)}'`)),s=`${e} IN (${i.join(",")})`;return t.definitionExpression=s,!0}return!1}updateRangeExpression(t,i){const{field:s,range:e}=t,n=null==i?void 0:i.domain;if(t.min=null==n?void 0:n.minValue,t.max=null==n?void 0:n.maxValue,e&&Object.keys(e).length){const{min:i,max:n}=e;return t.definitionExpression=`${s} BETWEEN ${i} AND ${n}`,!0}return!1}async getFeatureAttributes(t,i){var s,e,n;if(t&&et.includes(t.type)){const a=t.createQuery();if((null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.supportsCacheHint)&&(a.cacheHint=!0),i){const s=this.getInitDefExprFromLayer(t);if(a.where=s||"1=1",a.outFields=[i],a.orderByFields=[`${i} DESC`],a.returnDistinctValues=!0,a.returnGeometry=!1,a.maxRecordCountFactor=3,this.extentSelector&&this.extentSelectorConfig){const t=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=t&&(a.geometry=t),a.spatialRelationship="intersects"}return null===(n=await this.queryForFeatures(t,a,i))||void 0===n?void 0:n.sort()}}return[]}async queryForFeatures(t,i,s){const e=await t.queryFeatures(i),n=null==e?void 0:e.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}));return null==n?void 0:n.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[s]}))}async calculateMinMaxStatistics(t,i){var s,e;if(t&&et.includes(t.type)){const n=t.createQuery();let a=this.getInitDefExprFromLayer(t);if(n.where=a||"1=1",(null===(e=null===(s=null==t?void 0:t.capabilities)||void 0===s?void 0:s.query)||void 0===e?void 0:e.supportsCacheHint)&&(n.cacheHint=!0),i){if(n.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.extentSelector&&this.extentSelectorConfig){const t=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=t&&(n.geometry=t),n.spatialRelationship="intersects"}const s=await t.queryFeatures(n);return null==s?void 0:s.features}}return[]}getExtent(t,i){if(t&&i){const{constraints:t}=i;let s=Object.assign({},t);const e=null==s?void 0:s.geometry;if(e){const t=this.geometryJsonUtils.fromJSON(e);if(t&&("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type)))return t}}}setInitExpression(t,i){if(i.field&&i.type){const s=this.findFilterLayer(t);return null==s?Promise.resolve():("not-loaded"!==s.loadStatus&&"failed"!==s.loadStatus||s.load(),s.when((async()=>{var e,n;const a=null===(e=s.fields)||void 0===e?void 0:e.find((({name:t})=>t===i.field)),o=null===(n=null==a?void 0:a.domain)||void 0===n?void 0:n.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,a)})))}return this.updateExpression(t,i,void 0),Promise.resolve()}async updateExpression(t,i,s){let e=!1;const{type:n}=i;"string"===n?e=await this.updateStringExpression(t,i):"number"===n?e=await this.updateNumberExpression(t,i):"date"===n?e="drop-down"===i.displayOption?await this.updateStringExpression(t,i):await this.updateDateExpression(t,i):"coded-value"===n?e=this.updateCodedValueExpression(i,s):"range"===n?e=this.updateRangeExpression(i,s):!i.active||"checkbox"!==n&&null!=n||(e=!0),e&&this.generateOutput(t)}updateRangeExpressions(t,i,s,e){const n=this.getInitDefExprFromLayerExpression(i);!e&&0!==e||!s&&0!==s||(e===(null==t?void 0:t.min)&&s===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`:`${null==t?void 0:t.field} BETWEEN ${e} AND ${s}`,t.active=!0)),t.range={min:e,max:s}}handleCheckboxChange(t,i,s){i.active=s.target.checked,this.generateOutput(t)}handleSliderChange(t,i,s){const{maxValue:e,minValue:n}=s.target;this.updateRangeExpressions(t,i,e,n),this.generateOutput(i)}handleComboSelect(t,i,s){const e=s.target.selectedItems,{field:n}=t;if(e&&e.length){const i=e.map((({value:t})=>"number"==typeof t?t:`'${nt(t)}'`));t.selectedFields=e.map((({value:t})=>t));const s=`${n} IN (${i.join(",")})`;t.definitionExpression=s,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,s){const e=s.target,[n,a]=e.valueAsDate,o=null!=n?at(Math.floor(n.getTime()),!0):void 0,l=null!=a?at(Math.floor(a.getTime()),!0):void 0;if(null!=o||null!=l){const s=l&&null==o?"<":null==l&&o?">":null;t.definitionExpression=s?`${t.field} ${s} '${null!=o?o:l}'`:`${t.field} BETWEEN '${o}' AND '${l}'`,t.range={min:o,max:l},t.active=!0,this.generateOutput(i)}}handleURLParams(){var t;if("URLSearchParams"in window){const i=null===(t=new URLSearchParams(document.location.search).get("filter"))||void 0===t?void 0:t.split(";");null==i||i.forEach((t=>{var i;const s=JSON.parse(t);null===(i=this.filterLayerExpressions)||void 0===i||i.forEach((t=>{var i;(null==s?void 0:s.layerId)===t.id&&(null===(i=t.expressions)||void 0===i||i.forEach((t=>{var i,e;(null===(i=t.id)||void 0===i?void 0:i.toString())===(null===(e=null==s?void 0:s.expressionId)||void 0===e?void 0:e.toString())&&(t.active=!0,"range"===s.type?t.range=s.range:"select"===s.type&&(t.selectedFields=s.selectedFields))})))}))}))}}createURLParamExpression(t,i){const{id:s,range:e,selectedFields:n,type:a}=i;return"number"===a||"range"===a||"date"===a?{type:"range",layerId:t.id,expressionId:s.toString(),range:e}:"string"===a||"coded-value"===a?{type:"select",layerId:t.id,expressionId:s.toString(),selectedFields:n}:{layerId:t.id,expressionId:s.toString()}}autoUpdateURLCheck(t){this.autoUpdateUrl&&(t.toString()?window.history.replaceState({},"",`${window.location.pathname}?${t} `):window.history.replaceState({},"",window.location.pathname))}generateURLParams(){var t;if("URLSearchParams"in window){const i=new URLSearchParams(window.location.search),s=[];null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=null==t?void 0:t.expressions)||void 0===i||i.forEach((i=>{if(i.active){const e=this.createURLParamExpression(t,i);s.push(JSON.stringify(e))}}))})),s.length>0?i.set("filter",s.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}}updateFilter(t,i,s){const{id:e}=t,n=this.view.map.findLayerById(e)||this.view.map.findTableById(e);if(null!=n)if("point-cloud"===n.type)this.updateFilterLayerPCLFilter(n,s);else if("map-image"===n.type){const s=n.findSublayerById(null==t?void 0:t.sublayerId);null!=s&&this.updateFilterLayerDefExpression(s,i,t)}else this.updateFilterLayerDefExpression(n,i,t)}updateFilterLayerDefExpression(t,i,s){const{operator:e}=s;let n=this.getInitDefExprFromLayer(t);const a=(null==i?void 0:i.length)>0&&null!=n?`(${i.join(e)}) AND (${n})`:i.length>0?i.join(e):n;t.definitionExpression=a}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={};const i=t.allLayers.concat(t.allTables);for(let t=0;t<i.length;t++){const s=i.getItemAt(t);if(et.includes(s.type)){const t=s;"point-cloud"===t.type?this.initPointCloudFilters[t.id]=t.filters:"map-image"===t.type?(this.initMapImageExpressions[t.id]={},t.allSublayers.forEach((i=>{this.initMapImageExpressions[t.id][i.id]=i.definitionExpression}))):this.initDefExpressions[t.id]=t.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}`);null!=i&&(i.loading=!0,i.disabled=!0),this.zoomToGraphics=[];let s=0,e=!1;const n=setInterval((()=>{s>=1e3&&e&&(this.view.goTo(this.zoomToGraphics),null!=i&&(i.loading=!1,i.disabled=!1),clearInterval(n)),s+=500}),500);await this.getZoomToGraphics(t),e=!0}async getZoomToGraphics(t){var i,s,e,n,a;const o=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),l=o.layer,r="map-image"===l.type?l.findSublayerById(t.sublayerId):l;if("point-cloud"!==r.type&&et.includes(null==r?void 0:r.type)){const t=r.createQuery();if((null===(s=null===(i=null==l?void 0:l.capabilities)||void 0===i?void 0:i.query)||void 0===s?void 0:s.supportsCacheHint)&&(t.cacheHint=!0),t.where=null!==(e=r.definitionExpression)&&void 0!==e?e:"1=1",t.returnGeometry=!0,t.returnDistinctValues=!0,t.maxRecordCountFactor=3,t.returnExceededLimitFeatures=!0,t.outFields=[],this.extentSelector&&this.extentSelectorConfig){const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);null!=i&&(t.geometry=i),t.spatialRelationship="intersects"}const c=null!=(null===(n=null==o?void 0:o.featureEffect)||void 0===n?void 0:n.filter)?o.featureEffect.filter:o.filter;null!=c&&(null!=c.objectIds&&(t.objectIds=c.objectIds),null!=c.distance&&(t.distance=c.distance),null!=c.geometry&&(t.geometry=c.geometry),null!=c.distance&&(t.distance=c.distance),null!=c.spatialRelationship&&(t.spatialRelationship=c.spatialRelationship),null!=c.units&&(t.units=c.units),null!=c.where&&(t.where=c.where),null!=c.timeExtent&&(t.timeExtent=c.timeExtent));try{const i=await r.queryFeatures(t);this.zoomToGraphics.push(...i.features)}catch(i){if(null===(a=null==i?void 0:i.message)||void 0===a?void 0:a.toLowerCase().includes("distinct"))try{t.returnDistinctValues=!1;const i=await r.queryFeatures(t);this.zoomToGraphics.push(...i.features)}catch(t){}}}return Promise.resolve()}generateOutput(t){if(null==this.view)return;const i=[];let s=[];if(t){for(const e of t.expressions){const{active:t,definitionExpression:n,pointCloudFilters:a}=e;t&&n&&i.push(`(${n})`),t&&null!=a&&a.length>0&&(s=s.concat(a))}this.updateFilter(t,i,s),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}roundMinNumberDown(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.floor(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.floor(t+"e+"+i)+"e-"+i)}}roundMaxNumberUp(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.ceil(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.ceil(t+"e+"+i)+"e-"+i)}}roundNumber(t,i){if(null!=t){if((""+t).includes("e")){var s=(""+t).split("e"),e="";return+s[1]+i>0&&(e="+"),+(Math.round(+s[0]+"e"+e+(+s[1]+i))+"e-"+i)}return+(Math.round(t+"e+"+i)+"e-"+i)}}setExpressionFormat(t,i,s){if(null!=(null==t?void 0:t.popupTemplate)){const e=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===s));i.format=null==e?void 0:e.format}}getInitDefExprFromLayer(t){var i,s,e;return"sublayer"===t.type?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===s?void 0:s[t.id]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[t.id]}getInitDefExprFromLayerExpression(t){var i,s,e;return null!=(null==t?void 0:t.sublayerId)?null===(s=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===s?void 0:s[t.sublayerId]:null===(e=this.initDefExpressions)||void 0===e?void 0:e[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}get el(){return n(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};ct.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%}.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:48px;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}@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 ht="instant-apps-social-share",dt={base:ht,dialog:`${ht}__dialog`,dialogEmbed:`${ht}__dialog-embed`,dialogContent:`${ht}__dialog-content`,options:`${ht}__options`,tipContainer:`${ht}__tip`,tipHeader:`${ht}__tip-header`,tipContent:`${ht}__tip-content`,icon:`${ht}__icon`,iconContainer:`${ht}__icon-container`,optionText:`${ht}__option-text`,popoverButton:`${ht}__popover-button`,layout:{vertical:`${ht}__layout--vertical`,horizontal:`${ht}__layout--horizontal`},success:{container:`${ht}__success`,header:`${ht}__success-header`,message:`${ht}__success-message`,icon:`${ht}__success-icon`},embed:{container:`${ht}__embed`,header:`${ht}__embed-header`,embedCode:{container:`${ht}__embed-code`,textArea:`${ht}__embed-code-text-area`,copyButton:`${ht}__embed-code-copy-button`},textAreaText:`${ht}__embed-text-area-text`,dimensions:{container:`${ht}__embed-dimensions`,input:`${ht}__embed-dimensions-input`}},rtl:{optionText:`${ht}__option-text--rtl`,textArea:`${ht}__text-area--rtl`}},pt={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",twitter:"https://twitter.com/intent/tweet?text={text}&url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},ut=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.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;Z(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,s;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===(s=this.dialogContentRef)||void 0===s||s.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,s;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===(s=this.dialogContentRef)||void 0===s||s.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,s;if("Tab"===t.code){if(!this.shareListRef)return;const s=t.target,e=this.shareListRef.children[0],n=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&s===e?(t.preventDefault(),n.focus()):t.shiftKey||s!==n||(t.preventDefault(),e.focus())}else"Escape"===t.code&&(this.closePopover(),null===(s=this.popoverButtonRef)||void 0===s||s.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,s;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(s=this.embedHeightRef)||void 0===s?void 0:s.value;this.embedHeight=parseInt(t)}}render(){var t,i,n,a,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():s("div",{class:dt.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c=s("div",{ref:t=>this.dialogContentRef=t,class:`${dt.dialog}${"vertical"===this.shareIconsLayout?` ${dt.layout.vertical}`:` ${dt.layout.horizontal}`}`},r);return s(e,null,"popover"===this.mode?[s("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},c),this.renderButton()]:[c,s("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(a=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===a?void 0:a.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),s("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,e,n,a,o,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?s("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:dt.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===(n=null===(e=this.messages)||void 0===e?void 0:e.share)||void 0===n?void 0:n.label,scale:c},s("div",{class:dt.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):s("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:dt.popoverButton,appearance:"transparent",label:null===(o=null===(a=this.messages)||void 0===a?void 0:a.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:""},s("div",{class:dt.iconContainer},s("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return s("div",{class:dt.success.container},s("span",{class:dt.success.header},s("span",{class:dt.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:dt.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 s("div",{class:dt.success.container},s("span",{class:dt.success.header},s("span",{class:dt.success.icon},s("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),s("span",{class:dt.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,e,n;const a=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${dt.rtl.optionText}`:"";return s("ul",{ref:t=>this.shareListRef=t,class:dt.options,role:"menu"},s("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},s("span",{class:dt.icon},s("calcite-icon",{icon:"link",scale:this.scale})),s("span",{class:`${dt.optionText}${o}`},null===(i=null==a?void 0:a.link)||void 0===i?void 0:i.label)),this.socialMedia?[s("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},s("span",{class:dt.icon},this.renderFacebookIcon()),s("span",{class:`${dt.optionText}${o}`},null===(e=null==a?void 0:a.facebook)||void 0===e?void 0:e.label)),s("li",{onClick:this.handleShareItem.bind(this,"twitter"),onKeyDown:this.handleOptionKeyDown("twitter"),role:"menuitem",tabindex:"0"},s("span",{class:dt.icon},this.renderTwitterIcon()),s("span",{class:`${dt.optionText}${o}`},"Twitter")),s("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},s("span",{class:dt.icon},this.renderLinkedInIcon()),s("span",{class:`${dt.optionText}${o}`},null===(n=null==a?void 0:a.linkedIn)||void 0===n?void 0:n.label))]:null)}handleOptionKeyDown(t){return i=>{const s=i.code;("Space"===s||"Enter"===s)&&this.handleShareItem(t)}}renderFacebookIcon(){return s("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"},s("g",null,s("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"}}),s("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"}})))}renderTwitterIcon(){return s("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"},s("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),s("path",{d:"M161.014,464.013c193.208,0 298.885,-160.071 298.885,-298.885c0,-4.546 0,-9.072 -0.307,-13.578c20.558,-14.871 38.305,-33.282 52.408,-54.374c-19.171,8.495 -39.51,14.065 -60.334,16.527c21.924,-13.124 38.343,-33.782 46.182,-58.102c-20.619,12.235 -43.18,20.859 -66.703,25.498c-19.862,-21.121 -47.602,-33.112 -76.593,-33.112c-57.682,0 -105.145,47.464 -105.145,105.144c0,8.002 0.914,15.979 2.722,23.773c-84.418,-4.231 -163.18,-44.161 -216.494,-109.752c-27.724,47.726 -13.379,109.576 32.522,140.226c-16.715,-0.495 -33.071,-5.005 -47.677,-13.148l0,1.331c0.014,49.814 35.447,93.111 84.275,102.974c-15.464,4.217 -31.693,4.833 -47.431,1.802c13.727,42.685 53.311,72.108 98.14,72.95c-37.19,29.227 -83.157,45.103 -130.458,45.056c-8.358,-0.016 -16.708,-0.522 -25.006,-1.516c48.034,30.825 103.94,47.18 161.014,47.104",style:{fill:"#1da1f2",fillRule:"nonzero"}}))}renderLinkedInIcon(){return s("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"},s("g",{id:"g5891"},s("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"}}),s("g",{id:"shapes"},s("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),s("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"}}),s("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 s("div",{class:dt.tipContainer},s("span",{class:dt.tipHeader},s("calcite-icon",{icon:"lightbulb",scale:this.scale}),s("span",null,null==i?void 0:i.label)),s("p",{class:dt.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,e;const n=null===(t=this.messages)||void 0===t?void 0:t.embed,a="rtl"===document.dir?` ${dt.rtl.textArea}`:"";return s("div",{class:dt.embed.container},s("span",{class:dt.embed.header},s("calcite-icon",{icon:"code",scale:this.scale}),s("span",null,null===(e=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===e?void 0:e.label)),s("div",{class:dt.embed.embedCode.container},s("div",{class:dt.embed.embedCode.textArea},s("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:a,value:this.getEmbedCode()}),s("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:dt.embed.embedCode.copyButton},s("calcite-icon",{icon:"copy",scale:this.scale}),s("span",null,null==n?void 0:n.copy))),s("span",{class:dt.embed.textAreaText},s("slot",{name:"text-area-text"})),s("div",{class:dt.embed.dimensions.container},s("label",{class:dt.embed.dimensions.input},s("span",null,null==n?void 0:n.width),s("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"})),s("label",{class:dt.embed.dimensions.input},s("span",null,null==n?void 0:n.height),s("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,s="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[s]=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,s,e,n;this.shareUrl=await this.generateShareUrl();let a=null;const o=null!==(s=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==s&&s,l=null!==(n=null===(e=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===e?void 0:e.includes("Safari"))&&void 0!==n&&n&&!o;!l&&this.shortenShareUrl&&(a=await this.shortenUrl(this.shareUrl));let r=a||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"twitter":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const s={url:encodeURI(r)},e="twitter"===t?Object.assign(Object.assign({},s),{text:this.shareText}):s,[n]=await Y(["esri/intl"]),a=n.substitute(pt[t],e);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=a,i.focus()):window.open(encodeURI(a),"_blank"))}}async shortenUrl(t){var i,s;const[e]=await Y(["esri/request"]),n=await e("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),a=null===(s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.data)||void 0===s?void 0:s.url;if(a)return a.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:s}=this.view.center,{spatialReference:e}=this.view,[n,a]=await Y(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new n({x:i,y:s,spatialReference:new a(Object.assign({},e.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:s}=t.spatialReference;if(i||s)return t;const[e,n]=await Y(["esri/geometry/SpatialReference","esri/geometry/projection"]),a=new e({wkid:4326});try{await n.load();const i=n.project(t,a);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var s,e,n,a;const{longitude:o,latitude:l,x:r,y:c}=t;if(void 0===o||void 0===l)return this.shareUrl;const h=this.roundValue(i?o:r),d=this.roundValue(i?l:c),{zoom:p}=this.view,u=this.roundValue(p),v=null===(e=null===(s=this.view)||void 0===s?void 0:s.popup)||void 0===e?void 0:e.selectedFeature,m=null===(a=null===(n=this.view)||void 0===n?void 0:n.popup)||void 0===a?void 0:a.visible;let f,g;if(v&&m){const t=null==v?void 0:v.layer;f=t.id,g=v.attributes[t.objectIdField]}const b=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";"),{type:_}=this.view,{defaultUrlParams:x}=this,w=new URL(this.shareUrl),{searchParams:y}=w;if(y.get("center")&&y.delete("center"),y.get("level")&&y.delete("level"),y.get("selectedFeature")&&y.delete("selectedFeature"),y.get("hiddenLayers")&&y.delete("hiddenLayers"),y.get("viewpoint")&&y.delete("viewpoint"),"3d"===_){const{camera:t}=this.view,{heading:i,position:s,tilt:e}=t,{longitude:n,latitude:a,z:o}=s,l={longitude:this.roundValue(n,8),latitude:this.roundValue(a,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(e,3)};return!1!==(null==x?void 0:x.viewpoint)&&w.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),f&&g&&!1!==(null==x?void 0:x.selectedFeature)&&w.searchParams.set("selectedFeature",`${f};${g}`),b&&!1!==(null==x?void 0:x.hiddenLayers)&&w.searchParams.set("hiddenLayers",b),w.search=decodeURIComponent(w.search),w.href}return!1!==(null==x?void 0:x.center)&&w.searchParams.set("center",`${h};${d}`),!1!==(null==x?void 0:x.level)&&w.searchParams.set("level",`${u}`),f&&g&&!1!==(null==x?void 0:x.selectedFeature)&&w.searchParams.set("selectedFeature",`${f};${g}`),b&&!1!==(null==x?void 0:x.hiddenLayers)&&w.searchParams.set("hiddenLayers",b),w.search=decodeURIComponent(w.search),w.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return n(this)}};ut.style=":host{display:block;--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}: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__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}: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([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{it as calcite_input_date_picker,ct as instant_apps_filter_list,ut as instant_apps_social_share}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as _}from"./p-1065f4fa.js";import"./p-7d280d8a.js";import"./p-1f33a29d.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-6d520a58.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";import"./p-9d53e0f2.js";import"./p-495e7b9d.js";import"./p-a4149333.js";import"./p-13f2d901.js";import"./p-1f65ab1e.js";import"./p-d7b02d3a.js";import"./p-8007ac36.js";import"./p-f0c7d964.js";import"./p-05cb50f9.js";import"./p-2b0454a0.js";import"./p-c94d2cec.js";var m={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export default m;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as s}from"./p-1065f4fa.js";import"./p-7d280d8a.js";import"./p-1f33a29d.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-6d520a58.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";import"./p-9d53e0f2.js";import"./p-495e7b9d.js";import"./p-a4149333.js";import"./p-13f2d901.js";import"./p-1f65ab1e.js";import"./p-d7b02d3a.js";import"./p-8007ac36.js";import"./p-f0c7d964.js";import"./p-05cb50f9.js";import"./p-2b0454a0.js";import"./p-c94d2cec.js";var a="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),i="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),m=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,d=function(s,d){return m.test(d)?a[s.month()]:i[s.month()]};d.s=i,d.f=a;var M={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:d,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};s.locale(M,null,!0);export default M;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as i}from"./p-1065f4fa.js";import"./p-7d280d8a.js";import"./p-1f33a29d.js";import"./p-3dd92f0d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-6d520a58.js";import"./p-ba7d55ea.js";import"./p-e7afc0a8.js";import"./p-9d53e0f2.js";import"./p-495e7b9d.js";import"./p-a4149333.js";import"./p-13f2d901.js";import"./p-1f65ab1e.js";import"./p-d7b02d3a.js";import"./p-8007ac36.js";import"./p-f0c7d964.js";import"./p-05cb50f9.js";import"./p-2b0454a0.js";import"./p-c94d2cec.js";function e(i){return i%10<5&&i%10>1&&~~(i/10)%10!=1}function r(i,r,a){var t=i+" ";switch(a){case"m":return r?"minuta":"minutę";case"mm":return t+(e(i)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return t+(e(i)?"godziny":"godzin");case"MM":return t+(e(i)?"miesiące":"miesięcy");case"yy":return t+(e(i)?"lata":"lat")}}var a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),p=/D MMMM/,_=function(i,e){return p.test(e)?a[i.month()]:t[i.month()]};_.s=t,_.f=a;var s={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:_,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(i){return i+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},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"}};i.locale(s,null,!0);export default s;
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as s,h as i,g as e}from"./p-7d280d8a.js";import{c as a,C as o,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-16a82c20.js";import{i as f,a as m}from"./p-3dd92f0d.js";import{C as v,n as g,h as b,o as w,a as x,b as C,p as y,c as k,t as S,d as A,e as j,f as D}from"./p-6ce37201.js";import{c as $,d as z,u as F,I as O}from"./p-6d520a58.js";import{i as L}from"./p-e7afc0a8.js";import{c as M,s as I,a as N}from"./p-a4149333.js";import{c as P,d as K}from"./p-13f2d901.js";import{r as E,c as U,a as H}from"./p-f0c7d964.js";import{u as R,s as T,c as X,d as V}from"./p-05cb50f9.js";import{t as q}from"./p-6665fa1f.js";import"./p-e1a4994d.js";import"./p-5a9a971a.js";import"./p-7c2be8cc.js";import"./p-ba7d55ea.js";import"./p-1f65ab1e.js";import"./p-a82f35c9.js";const B=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,C(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.allowEmpty&&!s.value)a="";else{const t=Number(s.value);a=U(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a,""!==a&&0!==this.shiftKeyChannelAdjustment&&this.handleChannelChange(t)},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?w(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{L(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=q(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!C(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let o=!1;if(!i||t){const i=y(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&C(this.mode)?D(t):t),r=!k(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){R(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await M(this),this.el.focus()}async componentWillLoad(){I(this);const{allowEmpty:t,color:s,format:i,value:e}=this,o=t&&!e,n=y(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await T(this)}connectedCallback(){$(this),P(this),X(this)}componentDidLoad(){N(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),K(this),V(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:a,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:C,savedColors:y,savedDisabled:k,scale:S,scopeOrientation:A}=this,j=e?b(e,w):null,D=d,$=null!=v?v:c*n.hue()/r.h,z=d,F=null!=C?C:c*x(n.alpha())/h.max,L=null===e,M="vertical"===A,I=p||f,N=s||u,P=k||m,[K,E]=this.getAdjustedScopePosition(a,l),[U,H]=this.getAdjustedScopePosition($,D),[R,T]=this.getAdjustedScopePosition(F,z);return i(O,{disabled:this.disabled},i("div",{class:o.container},i("div",{class:o.controlAndScope},i("canvas",{class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":M?g.value:g.saturation,"aria-valuemax":M?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(M?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${E||0}px`,left:`${K||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:o.previewAndSliders},i("calcite-color-picker-swatch",{class:o.preview,color:j,scale:"l"}),i("div",{class:o.sliders},i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${H}px`,left:`${U}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${T}px`,left:`${R}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),I&&N?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},I?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:o.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:j})),N?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,g.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:L,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:L,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),y.length>0?i("div",{class:o.savedColors},[...y.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null)))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=C(t);if(i&&!e){const i=j(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s)}drawThumb(t,s,i,e,a){const o=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(c/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,a(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,o);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=x(s.alpha())/(h.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s)}getSliderBoundX(t,s,i){const e=H(t,s,i);return 0===e?t:-1===e?E(t,0,s,i,2*i):E(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};B.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:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid 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 );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{B as calcite_color_picker}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as i,g as o}from"./p-7d280d8a.js";import{g as n}from"./p-86b21da1.js";import"./p-a8a0187d.js";import"./p-d918ec36.js";import"./p-e1a4994d.js";import"./p-14a48b14.js";const s=class{constructor(i){t(this,i),this.popoverTitle=void 0,this.subtitle=void 0,this.content=void 0,this.imgSrc=void 0,this.imgAlt=void 0,this.mediaSrc=void 0,this.index=void 0,this.referenceElement=void 0,this.parent=void 0,this.placement="trailing-start",this.refId=void 0,this.pagination=!1,this.disableAction=!1,this.popoverAction=void 0,this.messages=void 0,this.messageOverrides=void 0}async componentDidLoad(){n(this,this.messageOverrides)}componentDidUpdate(){this.popoverEl.referenceElement=this.referenceElement}render(){var t,o,n,s,a;return i("calcite-popover",{ref:t=>this.popoverEl=t,heading:this.popoverTitle,"auto-close":!0,placement:this.placement,messageOverrides:{close:null===(t=this.messages)||void 0===t?void 0:t.close},"trigger-disabled":!0,"ref-id":this.refId,closable:!0,referenceElement:this.referenceElement,label:this.popoverTitle},i("div",{class:"instant-apps-popover__content"+(this.disableAction?" instant-apps-popover--action-disabled":"")},this.disableAction?null:i("calcite-action",{key:"popover-action",class:"instant-apps-popover__action",onClick:this.popoverAction,icon:"rtl"===document.dir?"chevron-right":"chevron-left",compact:!0,"text-enabled":!0,text:(null===(o=this.messageOverrides)||void 0===o?void 0:o.popoverAction)?this.messageOverrides.popoverAction:this.messages.back}),i("section",null,i("span",{id:"subtitle"},this.subtitle),i("p",null,this.content),this.imgSrc?i("img",{key:`iac-popover-img-${this.refId}`,class:"instant-apps-popover__img",src:this.imgSrc,alt:this.imgAlt?this.imgAlt:""}):null),this.pagination?i("div",{key:`iac-popover-footer-${this.index}`,class:"instant-apps-popover__footer"},i("span",null,this.index+1," ",null===(n=this.messages)||void 0===n?void 0:n.of," ",null===(a=null===(s=this.parent)||void 0===s?void 0:s.instantAppsPopovers)||void 0===a?void 0:a.size),this.renderPagination()):null))}renderPagination(){var t,o;const{index:n,messages:s,parent:a}=this,e=n===(null===(o=null===(t=this.parent)||void 0===t?void 0:t.instantAppsPopovers)||void 0===o?void 0:o.size)-1;return i("div",{key:"pagination-button-container",class:"instant-apps-popover__button-container"},0===n?null:i("calcite-button",{key:"prev",onClick:()=>null==a?void 0:a.previous(),appearance:"outline",kind:"neutral"},null==s?void 0:s.back),i("calcite-button",{key:"next",onClick:()=>{e?null==a||a.done():null==a||a.next()}},e?null==s?void 0:s.done:null==s?void 0:s.next))}get el(){return o(this)}};s.style=":host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:0.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2:transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px 0;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0;margin-bottom:10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:normal;font-size:0.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3:transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px 0}";export{s as instant_apps_popover}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as e,g as a}from"./p-7d280d8a.js";import{c as o,u as n,d as s,I as c}from"./p-6d520a58.js";import{c as l,s as r,a as d}from"./p-a4149333.js";import"./p-ba7d55ea.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.4.0
11
+ */const h=class{constructor(e){t(this,e),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}async setFocus(){await l(this),this.el.focus()}connectedCallback(){o(this)}componentWillLoad(){r(this)}componentDidLoad(){d(this)}componentDidRender(){n(this)}disconnectedCallback(){s(this)}render(){return e(c,{disabled:this.disabled},e("div",{class:"container"},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),e("div",{class:"divider-container"},e("div",{class:"divider"})),e("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,"width-scale":this.scale},e("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),e("slot",null))))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};h.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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-color-brand);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-color-status-danger);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-color-foreground-3);--calcite-split-button-divider:var(--calcite-color-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-color-inverse);--calcite-split-button-divider:var(--calcite-color-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-text-1);--calcite-split-button-background:transparent}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-color-border-1);--calcite-split-button-background:var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .divider-container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}: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{h as calcite_split_button}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as s,h as t,H as r,g as e}from"./p-7d280d8a.js";const o=class{constructor(t){s(this,t)}render(){return t(r,null,t("slot",null))}get el(){return e(this)}};o.style=":host{display:block}";export{o as feature_comments}
@@ -0,0 +1,17 @@
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{g as n}from"./p-5a9a971a.js";import{C as t}from"./p-7c2be8cc.js";
7
+ /*!
8
+ * tabbable 6.2.0
9
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
+ */
11
+ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},c=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var c=f.shift();if(!a(c,!1))if("SLOT"===c.tagName){var l=c.assignedElements(),s=n(l.length?l:c.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{u.call(c,e)&&o.filter(c)&&(r||!t.includes(c))&&i.push(c);var d=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(d&&v){var p=n(!0===d?c.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:c,candidates:p})}else f.unshift.apply(f,c.children)}}return i},l=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},s=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!l(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,c=i(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||c===n.ownerDocument?f:c.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var c,l,s;f=!(null===(l=a=null===(c=u=i(a))||void 0===c?void 0:c.host)||void 0===l||null===(s=l.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||s(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=function(n,t){var r=s(n);return r<0&&t&&!l(n)?0:r}(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},h=function(n,t){var r;return r=(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),E(r)},A=function(n,t){return(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&m(t,n)},g=r.concat("iframe").join(","),b=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,g)&&y(t,n)};
12
+ /*!
13
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
15
+ * v2.4.0
16
+ */
17
+ const N={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){const r=U(n,`.${t.darkMode}, .${t.lightMode}`);return r?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=U(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function C(n){return n?parseFloat(getComputedStyle(n).inlineSize):0}function D(n){return n.getRootNode()}function L(n){const t=D(n);return"host"in t?t:null}function R(n,t){if(!n)return 0;const r=document.createElement("canvas").getContext("2d");return r.font=t,r.measureText(n).width}function k(n){return n.host||null}function O(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=D(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=k(o);return u||(i?n(i):null)}(n)}function U(n,t){return function n(r){return r?r.closest(t)||n(k(D(r))):null}(n)}function B(n,t){return P(n,t)}function P(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return P(e instanceof ShadowRoot?e.host:e,t)}function j(n,t){return!!B(t,(t=>t===n||void 0))}async function F(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){if(n)return h(n,N)[0]??n}function M(n){z(n)?.focus()}const q=":not([slot])";function G(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:q;return r?.all?function(n,t,r){let e=t===q?V(n,q):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===q?V(n,q)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function V(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function X(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function Y(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function H(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function J(n){return Boolean(n).toString()}function K(n){return Q(n)||function(n){return!!function(n){return function(n){return n.target.assignedNodes({flatten:!0})}(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}(n)}(n)}function Q(n){return!!W(n).length}function W(n){return n.target.assignedElements({flatten:!0})}function Z(n){return!(!n.isPrimary||0!==n.button)}const _=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],F(u),u};function nn(n,t){if(n.parentNode!==t.parentNode)return!1;const r=Array.from(n.parentNode.children);return r.indexOf(n)<r.indexOf(t)}export{R as A,z as B,L as C,K as D,$ as a,j as b,U as c,_ as d,F as e,M as f,G as g,nn as h,Z as i,h as j,A as k,S as l,s as m,T as n,b as o,N as p,O as q,H as r,W as s,J as t,Q as u,I as v,x as w,Y as x,X as y,C as z}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as e,g as n}from"./p-7d280d8a.js";import{g as o}from"./p-5a9a971a.js";import{c as a,d as l,u as c,I as s}from"./p-6d520a58.js";import{c as r,s as d,a as h}from"./p-a4149333.js";import"./p-ba7d55ea.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.4.0
11
+ */const u="icon",p=class{constructor(e){t(this,e),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${o()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.icon=void 0,this.iconFlipRtl=!1,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){var t;return await r(this),null===(t=this.input)||void 0===t?void 0:t.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}clickHandler(t){this.disabled||["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!1)}connectedCallback(){this.renderInput(),a(this)}componentWillLoad(){d(this)}componentDidLoad(){h(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input),l(this)}componentDidRender(){c(this)}renderInput(){this.input="radio"===this.type?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:i,disabled:n,focused:o,heading:a,icon:l,inputAlignment:c,inputEnabled:r,width:d,iconFlipRtl:h}=this,p=a&&l&&!i,b=Boolean(l);return e(s,{disabled:n},e("div",{class:{checked:t,container:!0,description:Boolean(i),"description-only":Boolean(!a&&!l&&i),disabled:n,focused:o,heading:Boolean(a),"heading-only":a&&!l&&!i,[u]:b,"icon-only":!a&&l&&!i,"input-alignment-end":"end"===c,"input-alignment-start":"start"===c,"input-enabled":r,"large-visual":p,"width-auto":"auto"===d,"width-full":"full"===d}},e("div",{class:{tile:!0,"tile--large-visual":p}},l&&e("div",{class:{[u]:b}},e("calcite-icon",{flipRtl:h,icon:l,scale:"l"})),e("div",{class:"tile-content-container"},e("div",{class:"tile-content"},a&&e("div",{class:"tile-heading"},a),i&&e("div",{class:"tile-description"},i)))),e("slot",null)))}get el(){return n(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};p.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}:host .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){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 .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid 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 );outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand), inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-direction:column;gap:0.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0px;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:0.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-2)}: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{p as calcite_tile_select}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as e,h as i,H as a,g as s}from"./p-7d280d8a.js";import{c as o,u as l,d as n,I as c}from"./p-6d520a58.js";import{g as d,M as r}from"./p-8dc26294.js";import"./p-ba7d55ea.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.4.0
11
+ */const h=class{constructor(i){t(this,i),this.calciteInternalListItemGroupDefaultSlotChange=e(this,"calciteInternalListItemGroupDefaultSlotChange",6),this.handleDefaultSlotChange=()=>{this.calciteInternalListItemGroupDefaultSlotChange.emit()},this.disabled=!1,this.filterHidden=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=d(t,!0),o(this)}componentDidRender(){l(this)}disconnectedCallback(){n(this)}render(){const{disabled:t,heading:e,visualLevel:s}=this;return i(a,null,i(c,{disabled:t},i("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${s}`}},i("td",{class:"heading",colSpan:r},e)),i("slot",{onSlotchange:this.handleDefaultSlotChange})))}get el(){return s(this)}};h.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-direction:column;background-color:var(--calcite-color-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-color-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 -1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:1px}::slotted(calcite-list-item:nth-child(1 of :not([hidden]))){--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);margin-block-start:0px}:host([hidden]){display:none}[hidden]{display:none}";export{h as calcite_list_item_group}