@esri/solutions-components 0.7.0 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1480) hide show
  1. package/dist/assets/t9n/feature-comments/resources.json +3 -0
  2. package/dist/assets/t9n/feature-comments/resources_en.json +3 -0
  3. package/dist/assets/t9n/feature-form-flow-item/resources.json +3 -0
  4. package/dist/assets/t9n/feature-form-flow-item/resources_en.json +3 -0
  5. package/dist/assets/t9n/layer-table/resources.json +3 -1
  6. package/dist/assets/t9n/layer-table/resources_en.json +3 -1
  7. package/dist/assets/t9n/list-flow-item/resources.json +3 -0
  8. package/dist/assets/t9n/list-flow-item/resources_en.json +3 -0
  9. package/dist/assets/t9n/location-flow-item/resources.json +3 -0
  10. package/dist/assets/t9n/location-flow-item/resources_en.json +3 -0
  11. package/dist/assets/t9n/share-item/resources.json +3 -0
  12. package/dist/assets/t9n/share-item/resources_en.json +3 -0
  13. package/dist/cjs/ExpandToggle-7ca802d2.js +118 -0
  14. package/dist/cjs/FloatingArrow-f4896a36.js +50 -0
  15. package/dist/cjs/Heading-ef796c7e.js +25 -0
  16. package/dist/cjs/app-globals-9541aa87.js +69 -0
  17. package/dist/cjs/ar-4ea5cf50.js +104 -0
  18. package/dist/cjs/arcgis-login.cjs.entry.js +60 -0
  19. package/dist/cjs/array-967ea191.js +17 -0
  20. package/dist/cjs/basemap-gallery_7.cjs.entry.js +13 -9
  21. package/dist/cjs/bg-bbb11dad.js +82 -0
  22. package/dist/cjs/browser-abd0e2fa.js +23 -0
  23. package/dist/cjs/bs-0c7323f3.js +51 -0
  24. package/dist/cjs/buffer-tools_4.cjs.entry.js +14 -14
  25. package/dist/cjs/ca-8c132b5c.js +71 -0
  26. package/dist/cjs/calcite-accordion-item.cjs.entry.js +11 -10
  27. package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
  28. package/dist/cjs/calcite-action-bar_3.cjs.entry.js +74 -29
  29. package/dist/cjs/calcite-action-group_2.cjs.entry.js +12 -12
  30. package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
  31. package/dist/cjs/calcite-action_2.cjs.entry.js +78 -407
  32. package/dist/cjs/calcite-alert_3.cjs.entry.js +39 -36
  33. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  34. package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
  35. package/dist/cjs/calcite-block.cjs.entry.js +16 -16
  36. package/dist/cjs/calcite-button.cjs.entry.js +22 -19
  37. package/dist/cjs/calcite-card.cjs.entry.js +9 -9
  38. package/dist/cjs/calcite-checkbox_3.cjs.entry.js +17 -16
  39. package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
  40. package/dist/cjs/calcite-chip.cjs.entry.js +16 -15
  41. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
  42. package/dist/cjs/calcite-color-picker.cjs.entry.js +13 -13
  43. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
  44. package/dist/cjs/calcite-combobox_6.cjs.entry.js +304 -80
  45. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -18
  46. package/dist/cjs/calcite-date-picker.cjs.entry.js +12 -12
  47. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  48. package/dist/cjs/calcite-filter_3.cjs.entry.js +16 -16
  49. package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
  50. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  51. package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
  52. package/dist/cjs/calcite-icon.cjs.entry.js +13 -8
  53. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  54. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -25
  55. package/dist/cjs/calcite-input-number.cjs.entry.js +593 -0
  56. package/dist/cjs/calcite-input-text.cjs.entry.js +356 -0
  57. package/dist/cjs/calcite-input-time-picker-07edd190.js +1849 -0
  58. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +18 -17
  59. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +53 -16
  60. package/dist/cjs/calcite-input_2.cjs.entry.js +20 -19
  61. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  62. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  63. package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -5
  64. package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
  65. package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
  66. package/dist/cjs/calcite-meter.cjs.entry.js +9 -9
  67. package/dist/cjs/calcite-modal.cjs.entry.js +14 -13
  68. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +11 -4
  69. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  70. package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
  71. package/dist/cjs/calcite-notice_2.cjs.entry.js +20 -19
  72. package/dist/cjs/calcite-option_2.cjs.entry.js +12 -11
  73. package/dist/cjs/calcite-pagination.cjs.entry.js +120 -55
  74. package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -17
  75. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  76. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +13 -13
  77. package/dist/cjs/calcite-pick-list.cjs.entry.js +11 -11
  78. package/dist/cjs/calcite-popover.cjs.entry.js +419 -0
  79. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
  80. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  81. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  82. package/dist/cjs/calcite-scrim.cjs.entry.js +11 -9
  83. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
  84. package/dist/cjs/calcite-sheet.cjs.entry.js +8 -8
  85. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  86. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +120 -61
  87. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  88. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -15
  89. package/dist/cjs/calcite-stepper-item.cjs.entry.js +38 -21
  90. package/dist/cjs/calcite-stepper.cjs.entry.js +197 -35
  91. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  92. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +14 -13
  93. package/dist/cjs/calcite-table-row.cjs.entry.js +8 -7
  94. package/dist/cjs/calcite-table.cjs.entry.js +11 -11
  95. package/dist/cjs/calcite-text-area.cjs.entry.js +13 -13
  96. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -2
  97. package/dist/cjs/calcite-tile-select.cjs.entry.js +5 -5
  98. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  99. package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -12
  100. package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
  101. package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
  102. package/dist/cjs/card-manager_3.cjs.entry.js +169 -21
  103. package/dist/cjs/component-98c27d5f.js +17 -0
  104. package/dist/cjs/conditionalSlot-1efd1f30.js +63 -0
  105. package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -2
  106. package/dist/cjs/crowdsource-reporter.cjs.entry.js +45 -6
  107. package/dist/cjs/cs-beb23778.js +147 -0
  108. package/dist/cjs/da-d2413a66.js +66 -0
  109. package/dist/cjs/date-628b8529.js +261 -0
  110. package/dist/cjs/de-73c09fa5.js +91 -0
  111. package/dist/cjs/de-at-c80ba65c.js +90 -0
  112. package/dist/cjs/de-ch-07611a55.js +90 -0
  113. package/dist/cjs/dom-5c1fefc1.js +1077 -0
  114. package/dist/cjs/downloadUtils-9c4fde54.js +3123 -0
  115. package/dist/cjs/el-85562376.js +66 -0
  116. package/dist/cjs/en-au-46f6054b.js +66 -0
  117. package/dist/cjs/en-ca-0c0a3c9b.js +65 -0
  118. package/dist/cjs/en-gb-60b63416.js +69 -0
  119. package/dist/cjs/es-699e9ab7.js +66 -0
  120. package/dist/cjs/es-mx-0a692d1b.js +65 -0
  121. package/dist/cjs/et-7120f20c.js +92 -0
  122. package/dist/cjs/feature-comments.cjs.entry.js +60 -0
  123. package/dist/cjs/feature-form-flow-item.cjs.entry.js +60 -0
  124. package/dist/cjs/features-flow-item.cjs.entry.js +60 -0
  125. package/dist/cjs/fi-48d50457.js +115 -0
  126. package/dist/cjs/filter-6d5fdb8c.js +765 -0
  127. package/dist/cjs/floating-ui-b601790a.js +1902 -0
  128. package/dist/cjs/focusTrapComponent-21d85ddf.js +1028 -0
  129. package/dist/cjs/form-81cf84d1.js +260 -0
  130. package/dist/cjs/fr-181ff7ad.js +68 -0
  131. package/dist/cjs/fr-ch-be3e8d46.js +66 -0
  132. package/dist/cjs/globalAttributes-b155944a.js +77 -0
  133. package/dist/cjs/guid-c95a49d2.js +26 -0
  134. package/dist/cjs/he-e3d579f4.js +105 -0
  135. package/dist/cjs/hi-330caf2c.js +65 -0
  136. package/dist/cjs/hr-dc91d7f6.js +80 -0
  137. package/dist/cjs/hu-20d2f283.js +88 -0
  138. package/dist/cjs/id-621968dc.js +66 -0
  139. package/dist/cjs/index-4c1b0d3c.js +73 -0
  140. package/dist/cjs/index-c0ee2715.js +206 -0
  141. package/dist/cjs/index.es-d208a6d6.js +10810 -0
  142. package/dist/cjs/interactive-85d0402d.js +147 -0
  143. package/dist/cjs/it-68cc02eb.js +66 -0
  144. package/dist/cjs/it-ch-125ed733.js +66 -0
  145. package/dist/cjs/ja-42400345.js +72 -0
  146. package/dist/cjs/key-cdf99d14.js +19 -0
  147. package/dist/cjs/ko-af71930f.js +72 -0
  148. package/dist/cjs/label-8a389916.js +154 -0
  149. package/dist/cjs/list-flow-item.cjs.entry.js +60 -0
  150. package/dist/cjs/loadable-3358bfc7.js +94 -0
  151. package/dist/cjs/loader.cjs.js +3 -3
  152. package/dist/cjs/locale-44d38e1a.js +607 -0
  153. package/dist/cjs/location-flow-item.cjs.entry.js +60 -0
  154. package/dist/cjs/lt-7fed7d9b.js +97 -0
  155. package/dist/cjs/lv-69552dce.js +66 -0
  156. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  157. package/dist/cjs/mapViewUtils-bab83c90.js +450 -0
  158. package/dist/cjs/math-950b6ada.js +60 -0
  159. package/dist/cjs/mk-d7e02da4.js +66 -0
  160. package/dist/cjs/nb-bd55eaf3.js +67 -0
  161. package/dist/cjs/nl-cd98d891.js +67 -0
  162. package/dist/cjs/observers-0f180f88.js +53 -0
  163. package/dist/cjs/openCloseComponent-7afeb520.js +92 -0
  164. package/dist/cjs/pl-2d3c3597.js +114 -0
  165. package/dist/cjs/pt-93b5d4f4.js +67 -0
  166. package/dist/cjs/pt-br-839d5879.js +65 -0
  167. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  168. package/dist/cjs/refine-results-flow-item.cjs.entry.js +60 -0
  169. package/dist/cjs/resources-19f11bde.js +29 -0
  170. package/dist/cjs/resources-1f09ad7f.js +20 -0
  171. package/dist/cjs/resources-854eafcd.js +2062 -0
  172. package/dist/cjs/resources-87f6e576.js +39 -0
  173. package/dist/cjs/resources-89626d92.js +32 -0
  174. package/dist/cjs/resources-a95a6548.js +26 -0
  175. package/dist/cjs/resources-b4f2bec2.js +27 -0
  176. package/dist/cjs/resources-b89c3642.js +52 -0
  177. package/dist/cjs/resources-d3562a7e.js +29 -0
  178. package/dist/cjs/resources-e1672ba5.js +23 -0
  179. package/dist/cjs/ro-faf4d226.js +66 -0
  180. package/dist/cjs/ru-52c88060.js +126 -0
  181. package/dist/cjs/share-item.cjs.entry.js +60 -0
  182. package/dist/cjs/shared-list-render-6939bcac.js +364 -0
  183. package/dist/cjs/sk-3d496fd7.js +148 -0
  184. package/dist/cjs/sl-5422921c.js +168 -0
  185. package/dist/cjs/solutions-components.cjs.js +3 -3
  186. package/dist/cjs/sortableComponent-f5f88018.js +3107 -0
  187. package/dist/cjs/sr-23a8f847.js +101 -0
  188. package/dist/cjs/sv-22b72d3a.js +71 -0
  189. package/dist/cjs/t9n-02f62c58.js +100 -0
  190. package/dist/cjs/th-73ce9bbd.js +65 -0
  191. package/dist/cjs/time-bfaa8f38.js +289 -0
  192. package/dist/cjs/tr-f4530a05.js +66 -0
  193. package/dist/cjs/uk-117902c4.js +104 -0
  194. package/dist/cjs/utils-4d5934ab.js +95 -0
  195. package/dist/cjs/utils-75231cf1.js +221 -0
  196. package/dist/cjs/utils-90ce30aa.js +64 -0
  197. package/dist/cjs/utils-b6e28e37.js +62 -0
  198. package/dist/cjs/vi-6ef0f273.js +70 -0
  199. package/dist/cjs/zh-cn-e801dfdd.js +94 -0
  200. package/dist/cjs/zh-hk-b4793c58.js +71 -0
  201. package/dist/cjs/zh-tw-f7e62c05.js +92 -0
  202. package/dist/collection/collection-manifest.json +8 -1
  203. package/dist/collection/components/arcgis-login/arcgis-login.js +74 -0
  204. package/dist/collection/components/arcgis-login/test/arcgis-login.e2e.js +29 -0
  205. package/dist/collection/components/arcgis-login/test/arcgis-login.spec.js +37 -0
  206. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +137 -2
  207. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +294 -6
  208. package/dist/collection/components/feature-comments/feature-comments.css +19 -0
  209. package/dist/collection/components/feature-comments/feature-comments.js +74 -0
  210. package/dist/collection/components/feature-comments/test/feature-comments.e2e.js +29 -0
  211. package/dist/collection/components/feature-comments/test/feature-comments.spec.js +37 -0
  212. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +19 -0
  213. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +74 -0
  214. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.e2e.js +29 -0
  215. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.spec.js +37 -0
  216. package/dist/collection/components/features-flow-item/features-flow-item.css +19 -0
  217. package/dist/collection/components/features-flow-item/features-flow-item.js +74 -0
  218. package/dist/collection/components/features-flow-item/test/features-flow-item.e2e.js +29 -0
  219. package/dist/collection/components/features-flow-item/test/features-flow-item.spec.js +37 -0
  220. package/dist/collection/components/info-card/info-card.js +21 -2
  221. package/dist/collection/components/layer-table/layer-table.css +5 -0
  222. package/dist/collection/components/layer-table/layer-table.js +244 -12
  223. package/dist/collection/components/list-flow-item/list-flow-item.css +19 -0
  224. package/dist/collection/components/list-flow-item/list-flow-item.js +74 -0
  225. package/dist/collection/components/list-flow-item/test/list-flow-item.e2e.js +29 -0
  226. package/dist/collection/components/list-flow-item/test/list-flow-item.spec.js +37 -0
  227. package/dist/collection/components/location-flow-item/location-flow-item.css +19 -0
  228. package/dist/collection/components/location-flow-item/location-flow-item.js +74 -0
  229. package/dist/collection/components/location-flow-item/test/location-flow-item.e2e.js +29 -0
  230. package/dist/collection/components/location-flow-item/test/location-flow-item.spec.js +37 -0
  231. package/dist/collection/components/map-card/map-card.js +38 -7
  232. package/dist/collection/components/map-layer-picker/map-layer-picker.js +49 -7
  233. package/dist/collection/components/map-picker/map-picker.js +37 -9
  234. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +19 -0
  235. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +74 -0
  236. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.e2e.js +29 -0
  237. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.spec.js +37 -0
  238. package/dist/collection/components/share-item/share-item.css +19 -0
  239. package/dist/collection/components/share-item/share-item.js +74 -0
  240. package/dist/collection/components/share-item/test/share-item.e2e.js +29 -0
  241. package/dist/collection/components/share-item/test/share-item.spec.js +37 -0
  242. package/dist/collection/demos/crowdsource-reporter.html +56 -15
  243. package/dist/collection/utils/interfaces.ts +5 -0
  244. package/dist/collection/utils/queryUtils.js +20 -0
  245. package/dist/collection/utils/queryUtils.ts +26 -0
  246. package/dist/components/ExpandToggle.js +2 -2
  247. package/dist/components/FloatingArrow.js +4 -2
  248. package/dist/components/Heading.js +1 -1
  249. package/dist/components/action-bar.js +1 -1
  250. package/dist/components/action-group.js +1 -1
  251. package/dist/components/action-menu.js +1 -1
  252. package/dist/components/action.js +9 -7
  253. package/dist/components/alert.js +8 -25
  254. package/dist/components/arcgis-login.d.ts +11 -0
  255. package/dist/components/arcgis-login.js +75 -0
  256. package/dist/components/array.js +1 -1
  257. package/dist/components/avatar.js +1 -1
  258. package/dist/components/button.js +9 -6
  259. package/dist/components/calcite-accordion-item.js +6 -5
  260. package/dist/components/calcite-action-pad.js +1 -1
  261. package/dist/components/calcite-block-section.js +2 -2
  262. package/dist/components/calcite-block.js +3 -3
  263. package/dist/components/calcite-card.js +1 -1
  264. package/dist/components/calcite-combobox-item-group.js +1 -1
  265. package/dist/components/calcite-fab.js +1 -1
  266. package/dist/components/calcite-flow-item.js +3 -2
  267. package/dist/components/calcite-flow.js +1 -1
  268. package/dist/components/calcite-inline-editable.js +1 -1
  269. package/dist/components/calcite-input-date-picker.js +12 -11
  270. package/dist/components/calcite-input-time-picker.js +8 -7
  271. package/dist/components/calcite-input-time-zone.js +39 -2
  272. package/dist/components/calcite-list-item-group.js +2 -2
  273. package/dist/components/calcite-list-item.js +1 -1
  274. package/dist/components/calcite-menu-item.js +1 -1
  275. package/dist/components/calcite-meter.js +1 -1
  276. package/dist/components/calcite-navigation-logo.js +19 -4
  277. package/dist/components/calcite-navigation-user.js +1 -1
  278. package/dist/components/calcite-navigation.js +1 -1
  279. package/dist/components/calcite-radio-button.js +1 -1
  280. package/dist/components/calcite-rating.js +1 -1
  281. package/dist/components/calcite-sheet.js +2 -2
  282. package/dist/components/calcite-shell-center-row.js +1 -1
  283. package/dist/components/calcite-sortable-list.js +1 -1
  284. package/dist/components/calcite-split-button.js +6 -12
  285. package/dist/components/calcite-stepper-item.js +34 -12
  286. package/dist/components/calcite-stepper.js +224 -34
  287. package/dist/components/calcite-table-row.js +2 -1
  288. package/dist/components/calcite-table.js +2 -2
  289. package/dist/components/calcite-text-area.js +1 -1
  290. package/dist/components/calcite-tile-select.js +1 -1
  291. package/dist/components/calcite-tip-manager.js +1 -1
  292. package/dist/components/calcite-tip.js +1 -1
  293. package/dist/components/card-manager2.js +7 -1
  294. package/dist/components/checkbox.js +1 -1
  295. package/dist/components/chip.js +5 -4
  296. package/dist/components/color-picker-hex-input.js +2 -2
  297. package/dist/components/color-picker-swatch.js +1 -1
  298. package/dist/components/combobox-item.js +6 -6
  299. package/dist/components/combobox.js +252 -47
  300. package/dist/components/component.js +15 -0
  301. package/dist/components/conditionalSlot.js +1 -1
  302. package/dist/components/crowdsource-manager.js +34 -3
  303. package/dist/components/crowdsource-reporter.js +61 -7
  304. package/dist/components/date-picker-day.js +3 -5
  305. package/dist/components/date-picker-month-header.js +4 -4
  306. package/dist/components/date-picker-month.js +1 -1
  307. package/dist/components/date-picker.js +3 -3
  308. package/dist/components/date.js +1 -1
  309. package/dist/components/dom.js +26 -11
  310. package/dist/components/dropdown-item.js +4 -3
  311. package/dist/components/dropdown.js +1 -1
  312. package/dist/components/feature-comments.d.ts +11 -0
  313. package/dist/components/feature-comments.js +75 -0
  314. package/dist/components/feature-form-flow-item.d.ts +11 -0
  315. package/dist/components/feature-form-flow-item.js +75 -0
  316. package/dist/components/features-flow-item.d.ts +11 -0
  317. package/dist/components/features-flow-item.js +75 -0
  318. package/dist/components/filter.js +1 -1
  319. package/dist/components/filter2.js +2 -2
  320. package/dist/components/floating-ui.js +21 -23
  321. package/dist/components/focusTrapComponent.js +46 -27
  322. package/dist/components/form.js +1 -29
  323. package/dist/components/globalAttributes.js +1 -1
  324. package/dist/components/graph.js +1 -1
  325. package/dist/components/guid.js +1 -1
  326. package/dist/components/handle.js +1 -1
  327. package/dist/components/icon.js +9 -4
  328. package/dist/components/index.js +2 -2
  329. package/dist/components/index4.js +40 -6
  330. package/dist/components/index5.js +15 -15
  331. package/dist/components/info-card2.js +28 -3
  332. package/dist/components/input-message.js +1 -1
  333. package/dist/components/input-number.js +12 -7
  334. package/dist/components/input-text.js +5 -4
  335. package/dist/components/input.js +8 -7
  336. package/dist/components/interactive.js +3 -3
  337. package/dist/components/key.js +1 -1
  338. package/dist/components/label.js +1 -1
  339. package/dist/components/label2.js +1 -1
  340. package/dist/components/layer-table2.js +154 -13
  341. package/dist/components/list-flow-item.d.ts +11 -0
  342. package/dist/components/list-flow-item.js +75 -0
  343. package/dist/components/list-item.js +445 -55
  344. package/dist/components/list.js +28 -2
  345. package/dist/components/loadable.js +1 -1
  346. package/dist/components/locale2.js +2 -2
  347. package/dist/components/location-flow-item.d.ts +11 -0
  348. package/dist/components/location-flow-item.js +75 -0
  349. package/dist/components/map-card2.js +22 -8
  350. package/dist/components/map-layer-picker2.js +32 -7
  351. package/dist/components/map-picker2.js +16 -11
  352. package/dist/components/map-select-tools2.js +1 -1
  353. package/dist/components/math.js +1 -1
  354. package/dist/components/modal.js +4 -3
  355. package/dist/components/notice.js +4 -3
  356. package/dist/components/observers.js +1 -1
  357. package/dist/components/openCloseComponent.js +1 -1
  358. package/dist/components/pagination.js +120 -51
  359. package/dist/components/panel.js +5 -5
  360. package/dist/components/pick-list-item.js +1 -1
  361. package/dist/components/popover.js +4 -3
  362. package/dist/components/public-notification.js +1 -1
  363. package/dist/components/queryUtils.js +21 -1
  364. package/dist/components/refine-results-flow-item.d.ts +11 -0
  365. package/dist/components/refine-results-flow-item.js +75 -0
  366. package/dist/components/refine-selection2.js +2 -2
  367. package/dist/components/resources.js +1 -1
  368. package/dist/components/resources2.js +1 -1
  369. package/dist/components/resources3.js +1 -1
  370. package/dist/components/resources4.js +1 -1
  371. package/dist/components/resources5.js +1 -1
  372. package/dist/components/scrim.js +4 -2
  373. package/dist/components/segmented-control-item.js +2 -2
  374. package/dist/components/select.js +3 -2
  375. package/dist/components/share-item.d.ts +11 -0
  376. package/dist/components/share-item.js +75 -0
  377. package/dist/components/shared-list-render.js +2 -2
  378. package/dist/components/shell-panel.js +1 -1
  379. package/dist/components/shell.js +1 -1
  380. package/dist/components/slider.js +1 -1
  381. package/dist/components/sortableComponent.js +1 -1
  382. package/dist/components/stack.js +2 -2
  383. package/dist/components/t9n.js +1 -1
  384. package/dist/components/tab-nav.js +21 -10
  385. package/dist/components/tab-title.js +13 -18
  386. package/dist/components/tab.js +13 -7
  387. package/dist/components/table-cell.js +1 -1
  388. package/dist/components/table-header.js +3 -2
  389. package/dist/components/tabs.js +51 -2
  390. package/dist/components/tile.js +1 -1
  391. package/dist/components/time-picker.js +4 -3
  392. package/dist/components/tooltip.js +4 -4
  393. package/dist/components/tree-item.js +5 -4
  394. package/dist/components/tree.js +1 -1
  395. package/dist/components/utils.js +1 -1
  396. package/dist/components/utils2.js +6 -3
  397. package/dist/components/utils3.js +4 -2
  398. package/dist/components/value-list-item.js +4 -2
  399. package/dist/components/value-list.js +2 -2
  400. package/dist/esm/ExpandToggle-c3ebdd3b.js +110 -0
  401. package/dist/esm/FloatingArrow-b38b7259.js +48 -0
  402. package/dist/esm/Heading-272fcae6.js +22 -0
  403. package/dist/esm/app-globals-7b136f05.js +67 -0
  404. package/dist/esm/ar-1d739ee3.js +102 -0
  405. package/dist/esm/arcgis-login.entry.js +56 -0
  406. package/dist/esm/array-5ed5be45.js +15 -0
  407. package/dist/esm/basemap-gallery_7.entry.js +13 -9
  408. package/dist/esm/bg-5aa64085.js +80 -0
  409. package/dist/esm/browser-aaebde6b.js +21 -0
  410. package/dist/esm/bs-6fe73bc9.js +49 -0
  411. package/dist/esm/buffer-tools_4.entry.js +14 -14
  412. package/dist/esm/ca-78e2432d.js +69 -0
  413. package/dist/esm/calcite-accordion-item.entry.js +11 -10
  414. package/dist/esm/calcite-accordion.entry.js +1 -1
  415. package/dist/esm/calcite-action-bar_3.entry.js +74 -29
  416. package/dist/esm/calcite-action-group_2.entry.js +12 -12
  417. package/dist/esm/calcite-action-pad.entry.js +13 -13
  418. package/dist/esm/calcite-action_2.entry.js +80 -409
  419. package/dist/esm/calcite-alert_3.entry.js +39 -36
  420. package/dist/esm/calcite-avatar.entry.js +5 -5
  421. package/dist/esm/calcite-block-section.entry.js +10 -10
  422. package/dist/esm/calcite-block.entry.js +16 -16
  423. package/dist/esm/calcite-button.entry.js +22 -19
  424. package/dist/esm/calcite-card.entry.js +9 -9
  425. package/dist/esm/calcite-checkbox_3.entry.js +17 -16
  426. package/dist/esm/calcite-chip-group.entry.js +7 -7
  427. package/dist/esm/calcite-chip.entry.js +16 -15
  428. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
  429. package/dist/esm/calcite-color-picker.entry.js +13 -13
  430. package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
  431. package/dist/esm/calcite-combobox_6.entry.js +304 -80
  432. package/dist/esm/calcite-date-picker-day_3.entry.js +17 -18
  433. package/dist/esm/calcite-date-picker.entry.js +12 -12
  434. package/dist/esm/calcite-fab.entry.js +7 -7
  435. package/dist/esm/calcite-filter_3.entry.js +16 -16
  436. package/dist/esm/calcite-flow-item.entry.js +14 -13
  437. package/dist/esm/calcite-flow.entry.js +3 -3
  438. package/dist/esm/calcite-graph.entry.js +3 -3
  439. package/dist/esm/calcite-icon.entry.js +13 -8
  440. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  441. package/dist/esm/calcite-input-date-picker.entry.js +26 -25
  442. package/dist/esm/calcite-input-number.entry.js +589 -0
  443. package/dist/esm/calcite-input-text.entry.js +352 -0
  444. package/dist/esm/calcite-input-time-picker-b0e9c281.js +1846 -0
  445. package/dist/esm/calcite-input-time-picker.entry.js +18 -17
  446. package/dist/esm/calcite-input-time-zone.entry.js +53 -16
  447. package/dist/esm/calcite-input_2.entry.js +20 -19
  448. package/dist/esm/calcite-label.entry.js +5 -5
  449. package/dist/esm/calcite-link.entry.js +6 -6
  450. package/dist/esm/calcite-list-item-group.entry.js +5 -5
  451. package/dist/esm/calcite-menu-item.entry.js +9 -9
  452. package/dist/esm/calcite-menu.entry.js +9 -9
  453. package/dist/esm/calcite-meter.entry.js +9 -9
  454. package/dist/esm/calcite-modal.entry.js +14 -13
  455. package/dist/esm/calcite-navigation-logo.entry.js +11 -4
  456. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  457. package/dist/esm/calcite-navigation.entry.js +5 -5
  458. package/dist/esm/calcite-notice_2.entry.js +20 -19
  459. package/dist/esm/calcite-option_2.entry.js +12 -11
  460. package/dist/esm/calcite-pagination.entry.js +120 -55
  461. package/dist/esm/calcite-panel_2.entry.js +17 -17
  462. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  463. package/dist/esm/calcite-pick-list-item.entry.js +13 -13
  464. package/dist/esm/calcite-pick-list.entry.js +11 -11
  465. package/dist/esm/calcite-popover.entry.js +415 -0
  466. package/dist/esm/calcite-radio-button-group.entry.js +2 -2
  467. package/dist/esm/calcite-radio-button.entry.js +10 -10
  468. package/dist/esm/calcite-rating.entry.js +13 -13
  469. package/dist/esm/calcite-scrim.entry.js +11 -9
  470. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  471. package/dist/esm/calcite-sheet.entry.js +8 -8
  472. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  473. package/dist/esm/calcite-shell-panel_14.entry.js +122 -63
  474. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  475. package/dist/esm/calcite-split-button.entry.js +9 -15
  476. package/dist/esm/calcite-stepper-item.entry.js +38 -21
  477. package/dist/esm/calcite-stepper.entry.js +198 -36
  478. package/dist/esm/calcite-switch.entry.js +9 -9
  479. package/dist/esm/calcite-table-cell_2.entry.js +14 -13
  480. package/dist/esm/calcite-table-row.entry.js +8 -7
  481. package/dist/esm/calcite-table.entry.js +11 -11
  482. package/dist/esm/calcite-text-area.entry.js +13 -13
  483. package/dist/esm/calcite-tile-select-group.entry.js +2 -2
  484. package/dist/esm/calcite-tile-select.entry.js +5 -5
  485. package/dist/esm/calcite-tile.entry.js +8 -8
  486. package/dist/esm/calcite-time-picker.entry.js +13 -12
  487. package/dist/esm/calcite-tip-manager.entry.js +9 -9
  488. package/dist/esm/calcite-tip.entry.js +10 -10
  489. package/dist/esm/card-manager_3.entry.js +169 -21
  490. package/dist/esm/component-7a1690e7.js +15 -0
  491. package/dist/esm/conditionalSlot-ea10aa41.js +60 -0
  492. package/dist/esm/crowdsource-manager.entry.js +25 -2
  493. package/dist/esm/crowdsource-reporter.entry.js +45 -6
  494. package/dist/esm/cs-e623da5b.js +145 -0
  495. package/dist/esm/da-b065ea31.js +64 -0
  496. package/dist/esm/date-713af2d5.js +245 -0
  497. package/dist/esm/de-674a391a.js +89 -0
  498. package/dist/esm/de-at-94f5df4e.js +88 -0
  499. package/dist/esm/de-ch-977042ef.js +88 -0
  500. package/dist/esm/dom-7b3caf49.js +1047 -0
  501. package/dist/esm/downloadUtils-b84a6f55.js +3117 -0
  502. package/dist/esm/el-3bf5add5.js +64 -0
  503. package/dist/esm/en-au-b012c4f1.js +64 -0
  504. package/dist/esm/en-ca-e94b72aa.js +63 -0
  505. package/dist/esm/en-gb-f01e285d.js +67 -0
  506. package/dist/esm/es-b0a092b5.js +64 -0
  507. package/dist/esm/es-mx-318553ae.js +63 -0
  508. package/dist/esm/et-4b370a83.js +90 -0
  509. package/dist/esm/feature-comments.entry.js +56 -0
  510. package/dist/esm/feature-form-flow-item.entry.js +56 -0
  511. package/dist/esm/features-flow-item.entry.js +56 -0
  512. package/dist/esm/fi-01e2268c.js +113 -0
  513. package/dist/esm/filter-77954777.js +763 -0
  514. package/dist/esm/floating-ui-5f9b22b5.js +1894 -0
  515. package/dist/esm/focusTrapComponent-971a945b.js +1023 -0
  516. package/dist/esm/form-e5d8cf1d.js +252 -0
  517. package/dist/esm/fr-c98a937e.js +66 -0
  518. package/dist/esm/fr-ch-32c7c9be.js +64 -0
  519. package/dist/esm/globalAttributes-8f64aaf3.js +74 -0
  520. package/dist/esm/guid-abceb248.js +24 -0
  521. package/dist/esm/he-bea2cda9.js +103 -0
  522. package/dist/esm/hi-88b336f9.js +63 -0
  523. package/dist/esm/hr-1ba83f9d.js +78 -0
  524. package/dist/esm/hu-cb7c9b7d.js +86 -0
  525. package/dist/esm/id-401c4f4b.js +64 -0
  526. package/dist/esm/index-5110a27a.js +71 -0
  527. package/dist/esm/index-d8ff08ed.js +204 -0
  528. package/dist/esm/index.es-0d4698c7.js +10724 -0
  529. package/dist/esm/interactive-53ef126b.js +143 -0
  530. package/dist/esm/it-aee1b55c.js +64 -0
  531. package/dist/esm/it-ch-2bacdd40.js +64 -0
  532. package/dist/esm/ja-14a21ba5.js +70 -0
  533. package/dist/esm/key-242646ba.js +16 -0
  534. package/dist/esm/ko-a451f6de.js +70 -0
  535. package/dist/esm/label-be72bd90.js +148 -0
  536. package/dist/esm/list-flow-item.entry.js +56 -0
  537. package/dist/esm/loadable-a9b6b87e.js +89 -0
  538. package/dist/esm/loader.js +3 -3
  539. package/dist/esm/locale-f23b92b1.js +594 -0
  540. package/dist/esm/location-flow-item.entry.js +56 -0
  541. package/dist/esm/lt-97185284.js +95 -0
  542. package/dist/esm/lv-742b3967.js +64 -0
  543. package/dist/esm/map-select-tools_3.entry.js +2 -2
  544. package/dist/esm/mapViewUtils-88f363b6.js +434 -0
  545. package/dist/esm/math-7162ad13.js +54 -0
  546. package/dist/esm/mk-d63a58c3.js +64 -0
  547. package/dist/esm/nb-a9b71f26.js +65 -0
  548. package/dist/esm/nl-88f97550.js +65 -0
  549. package/dist/esm/observers-4ec1ca0a.js +51 -0
  550. package/dist/esm/openCloseComponent-79521e6e.js +90 -0
  551. package/dist/esm/pl-6d408a9c.js +112 -0
  552. package/dist/esm/pt-bfc774aa.js +65 -0
  553. package/dist/esm/pt-br-bef64ce0.js +63 -0
  554. package/dist/esm/public-notification.entry.js +2 -2
  555. package/dist/esm/refine-results-flow-item.entry.js +56 -0
  556. package/dist/esm/resources-120cdd90.js +35 -0
  557. package/dist/esm/resources-6a27a5e7.js +26 -0
  558. package/dist/esm/resources-7de224d3.js +24 -0
  559. package/dist/esm/resources-8c00c1ef.js +24 -0
  560. package/dist/esm/resources-91b0f96d.js +20 -0
  561. package/dist/esm/resources-99ae29ef.js +28 -0
  562. package/dist/esm/resources-b1d1efb3.js +48 -0
  563. package/dist/esm/resources-b56d35f9.js +22 -0
  564. package/dist/esm/resources-b994d084.js +20 -0
  565. package/dist/esm/resources-d9c39906.js +2051 -0
  566. package/dist/esm/ro-6b678231.js +64 -0
  567. package/dist/esm/ru-4f0974b4.js +124 -0
  568. package/dist/esm/share-item.entry.js +56 -0
  569. package/dist/esm/shared-list-render-0fe2fe03.js +342 -0
  570. package/dist/esm/sk-4694961f.js +146 -0
  571. package/dist/esm/sl-abe686d3.js +166 -0
  572. package/dist/esm/solutions-components.js +3 -3
  573. package/dist/esm/sortableComponent-0b6eef97.js +3103 -0
  574. package/dist/esm/sr-a7201cef.js +99 -0
  575. package/dist/esm/sv-8cba5484.js +69 -0
  576. package/dist/esm/t9n-9d03f26d.js +95 -0
  577. package/dist/esm/th-b1c38718.js +63 -0
  578. package/dist/esm/time-1361fac3.js +274 -0
  579. package/dist/esm/tr-069d2eb8.js +64 -0
  580. package/dist/esm/uk-7f9ed1d7.js +102 -0
  581. package/dist/esm/utils-2cd02be4.js +61 -0
  582. package/dist/esm/utils-404ac39d.js +87 -0
  583. package/dist/esm/utils-93bb7d2c.js +203 -0
  584. package/dist/esm/utils-c0f61fc0.js +51 -0
  585. package/dist/esm/vi-94474938.js +68 -0
  586. package/dist/esm/zh-cn-4428e0d5.js +92 -0
  587. package/dist/esm/zh-hk-07262583.js +69 -0
  588. package/dist/esm/zh-tw-43ddb906.js +90 -0
  589. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +1 -1
  590. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +2 -7
  591. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +37 -42
  592. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +1 -1
  593. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +1 -1
  594. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +1 -1
  595. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +1 -1
  596. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +17 -64
  597. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +1 -1
  598. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +2 -2
  599. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +6 -1
  600. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +7 -7
  601. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +1 -1
  602. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +1 -1
  603. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +1 -1
  604. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +1 -1
  605. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +1 -1
  606. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
  607. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
  608. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +36 -10
  609. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +1 -1
  610. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
  611. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +22 -7
  612. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +116 -243
  613. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +4 -1
  614. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
  615. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +1 -1
  616. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
  617. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
  618. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +1 -1
  619. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +1 -1
  620. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +1 -1
  621. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +1 -2
  622. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +1 -1
  623. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +1 -1
  624. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +13 -13
  625. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +1 -1
  626. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +36 -25
  627. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +4 -16
  628. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +1 -1
  629. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +27 -12
  630. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +39 -10
  631. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +4 -2
  632. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +1 -1
  633. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +1 -1
  634. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +1 -1
  635. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +12 -5
  636. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +23 -4
  637. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +6 -5
  638. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +1 -1
  639. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +1 -1
  640. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +1 -1
  641. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +1 -1
  642. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +3 -3
  643. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +1 -1
  644. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +9 -3
  645. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +1 -1
  646. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +1 -1
  647. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +1 -1
  648. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +1 -1
  649. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +13 -20
  650. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +1 -2
  651. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +1 -1
  652. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
  653. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  654. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +1 -1
  655. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +1 -1
  656. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +1 -1
  657. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
  658. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +1 -1
  659. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +1 -1
  660. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +1 -1
  661. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +2 -2
  662. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +3 -3
  663. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +1 -1
  664. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +1 -1
  665. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  666. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
  667. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +1 -1
  668. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +1 -1
  669. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +27 -27
  670. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +8 -2
  671. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +96 -3
  672. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +36 -14
  673. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +1 -1
  674. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +28 -28
  675. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +24 -7
  676. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +26 -27
  677. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +7 -2
  678. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +1 -1
  679. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +1 -1
  680. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +1 -1
  681. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +1 -1
  682. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +1 -1
  683. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +1 -1
  684. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +1 -1
  685. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  686. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +1 -1
  687. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +1 -1
  688. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +1 -1
  689. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +1 -1
  690. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +1 -1
  691. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +1 -1
  692. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -1
  693. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +1 -1
  694. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +1 -1
  695. package/dist/solutions-components/assets/combobox/t9n/index.d.ts +3 -0
  696. package/dist/solutions-components/assets/combobox/t9n/messages.json +4 -1
  697. package/dist/solutions-components/assets/combobox/t9n/messages_en.json +4 -1
  698. package/dist/solutions-components/assets/icon/boxChartSeries16.json +1 -0
  699. package/dist/solutions-components/assets/icon/boxChartSeries24.json +1 -0
  700. package/dist/solutions-components/assets/icon/boxChartSeries32.json +1 -0
  701. package/dist/solutions-components/assets/icon/breakRecurrence16.json +1 -0
  702. package/dist/solutions-components/assets/icon/breakRecurrence24.json +1 -0
  703. package/dist/solutions-components/assets/icon/breakRecurrence32.json +1 -0
  704. package/dist/solutions-components/assets/icon/chevronEnd16.json +1 -0
  705. package/dist/solutions-components/assets/icon/chevronEnd24.json +1 -0
  706. package/dist/solutions-components/assets/icon/chevronEnd32.json +1 -0
  707. package/dist/solutions-components/assets/icon/chevronStart16.json +1 -0
  708. package/dist/solutions-components/assets/icon/chevronStart24.json +1 -0
  709. package/dist/solutions-components/assets/icon/chevronStart32.json +1 -0
  710. package/dist/solutions-components/assets/icon/collaborationUser16.json +1 -0
  711. package/dist/solutions-components/assets/icon/collaborationUser24.json +1 -0
  712. package/dist/solutions-components/assets/icon/collaborationUser32.json +1 -0
  713. package/dist/solutions-components/assets/icon/configureGridUnit16.json +1 -0
  714. package/dist/solutions-components/assets/icon/configureGridUnit24.json +1 -0
  715. package/dist/solutions-components/assets/icon/configureGridUnit32.json +1 -0
  716. package/dist/solutions-components/assets/icon/dimensionsUnit16.json +1 -0
  717. package/dist/solutions-components/assets/icon/dimensionsUnit24.json +1 -0
  718. package/dist/solutions-components/assets/icon/dimensionsUnit32.json +1 -0
  719. package/dist/solutions-components/assets/icon/dimensionsWall16.json +1 -0
  720. package/dist/solutions-components/assets/icon/dimensionsWall24.json +1 -0
  721. package/dist/solutions-components/assets/icon/dimensionsWall32.json +1 -0
  722. package/dist/solutions-components/assets/icon/employeeId16.json +1 -0
  723. package/dist/solutions-components/assets/icon/employeeId24.json +1 -0
  724. package/dist/solutions-components/assets/icon/employeeId32.json +1 -0
  725. package/dist/solutions-components/assets/icon/fileUser16.json +1 -0
  726. package/dist/solutions-components/assets/icon/fileUser24.json +1 -0
  727. package/dist/solutions-components/assets/icon/fileUser32.json +1 -0
  728. package/dist/solutions-components/assets/icon/flipVertical16.json +1 -0
  729. package/dist/solutions-components/assets/icon/flipVertical24.json +1 -0
  730. package/dist/solutions-components/assets/icon/flipVertical32.json +1 -0
  731. package/dist/solutions-components/assets/icon/groundControlPoint16.json +1 -0
  732. package/dist/solutions-components/assets/icon/groundControlPoint24.json +1 -0
  733. package/dist/solutions-components/assets/icon/groundControlPoint32.json +1 -0
  734. package/dist/solutions-components/assets/icon/imageCollectionExplorer16.json +1 -0
  735. package/dist/solutions-components/assets/icon/imageCollectionExplorer24.json +1 -0
  736. package/dist/solutions-components/assets/icon/imageCollectionExplorer32.json +1 -0
  737. package/dist/solutions-components/assets/icon/imageMagnifyingGlass16.json +1 -0
  738. package/dist/solutions-components/assets/icon/imageMagnifyingGlass24.json +1 -0
  739. package/dist/solutions-components/assets/icon/imageMagnifyingGlass32.json +1 -0
  740. package/dist/solutions-components/assets/icon/layoutCompact16.json +1 -0
  741. package/dist/solutions-components/assets/icon/layoutCompact24.json +1 -0
  742. package/dist/solutions-components/assets/icon/layoutCompact32.json +1 -0
  743. package/dist/solutions-components/assets/icon/layoutSpacious16.json +1 -0
  744. package/dist/solutions-components/assets/icon/layoutSpacious24.json +1 -0
  745. package/dist/solutions-components/assets/icon/layoutSpacious32.json +1 -0
  746. package/dist/solutions-components/assets/icon/mergeDetails16.json +1 -0
  747. package/dist/solutions-components/assets/icon/mergeDetails24.json +1 -0
  748. package/dist/solutions-components/assets/icon/mergeDetails32.json +1 -0
  749. package/dist/solutions-components/assets/icon/mergeUnits16.json +1 -0
  750. package/dist/solutions-components/assets/icon/mergeUnits24.json +1 -0
  751. package/dist/solutions-components/assets/icon/mergeUnits32.json +1 -0
  752. package/dist/solutions-components/assets/icon/partner16.json +1 -0
  753. package/dist/solutions-components/assets/icon/partner24.json +1 -0
  754. package/dist/solutions-components/assets/icon/partner32.json +1 -0
  755. package/dist/solutions-components/assets/icon/polygonSelect16.json +1 -0
  756. package/dist/solutions-components/assets/icon/polygonSelect24.json +1 -0
  757. package/dist/solutions-components/assets/icon/polygonSelect32.json +1 -0
  758. package/dist/solutions-components/assets/icon/presentationX16.json +1 -0
  759. package/dist/solutions-components/assets/icon/presentationX24.json +1 -0
  760. package/dist/solutions-components/assets/icon/presentationX32.json +1 -0
  761. package/dist/solutions-components/assets/icon/scanArea16.json +1 -0
  762. package/dist/solutions-components/assets/icon/scanArea24.json +1 -0
  763. package/dist/solutions-components/assets/icon/scanArea32.json +1 -0
  764. package/dist/solutions-components/assets/icon/scanCorridor16.json +1 -0
  765. package/dist/solutions-components/assets/icon/scanCorridor24.json +1 -0
  766. package/dist/solutions-components/assets/icon/scanCorridor32.json +1 -0
  767. package/dist/solutions-components/assets/icon/scanCrosshatch16.json +1 -0
  768. package/dist/solutions-components/assets/icon/scanCrosshatch24.json +1 -0
  769. package/dist/solutions-components/assets/icon/scanCrosshatch32.json +1 -0
  770. package/dist/solutions-components/assets/icon/scanPerimeter16.json +1 -0
  771. package/dist/solutions-components/assets/icon/scanPerimeter24.json +1 -0
  772. package/dist/solutions-components/assets/icon/scanPerimeter32.json +1 -0
  773. package/dist/solutions-components/assets/icon/scanVertical16.json +1 -0
  774. package/dist/solutions-components/assets/icon/scanVertical24.json +1 -0
  775. package/dist/solutions-components/assets/icon/scanVertical32.json +1 -0
  776. package/dist/solutions-components/assets/icon/speechBubbleLike16.json +1 -0
  777. package/dist/solutions-components/assets/icon/speechBubbleLike24.json +1 -0
  778. package/dist/solutions-components/assets/icon/speechBubbleLike32.json +1 -0
  779. package/dist/solutions-components/assets/icon/splitUnits16.json +1 -0
  780. package/dist/solutions-components/assets/icon/splitUnits24.json +1 -0
  781. package/dist/solutions-components/assets/icon/splitUnits32.json +1 -0
  782. package/dist/solutions-components/assets/icon/storage16.json +1 -0
  783. package/dist/solutions-components/assets/icon/storage24.json +1 -0
  784. package/dist/solutions-components/assets/icon/storage32.json +1 -0
  785. package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +4 -4
  786. package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +4 -4
  787. package/dist/solutions-components/assets/pagination/t9n/index.d.ts +2 -0
  788. package/dist/solutions-components/assets/pagination/t9n/messages.json +3 -1
  789. package/dist/solutions-components/assets/pagination/t9n/messages_en.json +3 -1
  790. package/dist/solutions-components/assets/panel/t9n/messages_nl.json +2 -2
  791. package/dist/solutions-components/assets/stepper/t9n/index.d.ts +5 -0
  792. package/dist/solutions-components/assets/stepper/t9n/messages.json +5 -0
  793. package/dist/solutions-components/assets/stepper/t9n/messages_ar.json +5 -0
  794. package/dist/solutions-components/assets/stepper/t9n/messages_bg.json +5 -0
  795. package/dist/solutions-components/assets/stepper/t9n/messages_bs.json +5 -0
  796. package/dist/solutions-components/assets/stepper/t9n/messages_ca.json +5 -0
  797. package/dist/solutions-components/assets/stepper/t9n/messages_cs.json +5 -0
  798. package/dist/solutions-components/assets/stepper/t9n/messages_da.json +5 -0
  799. package/dist/solutions-components/assets/stepper/t9n/messages_de.json +5 -0
  800. package/dist/solutions-components/assets/stepper/t9n/messages_el.json +5 -0
  801. package/dist/solutions-components/assets/stepper/t9n/messages_en.json +5 -0
  802. package/dist/solutions-components/assets/stepper/t9n/messages_es.json +5 -0
  803. package/dist/solutions-components/assets/stepper/t9n/messages_et.json +5 -0
  804. package/dist/solutions-components/assets/stepper/t9n/messages_fi.json +5 -0
  805. package/dist/solutions-components/assets/stepper/t9n/messages_fr.json +5 -0
  806. package/dist/solutions-components/assets/stepper/t9n/messages_he.json +5 -0
  807. package/dist/solutions-components/assets/stepper/t9n/messages_hr.json +5 -0
  808. package/dist/solutions-components/assets/stepper/t9n/messages_hu.json +5 -0
  809. package/dist/solutions-components/assets/stepper/t9n/messages_id.json +5 -0
  810. package/dist/solutions-components/assets/stepper/t9n/messages_it.json +5 -0
  811. package/dist/solutions-components/assets/stepper/t9n/messages_ja.json +5 -0
  812. package/dist/solutions-components/assets/stepper/t9n/messages_ko.json +5 -0
  813. package/dist/solutions-components/assets/stepper/t9n/messages_lt.json +5 -0
  814. package/dist/solutions-components/assets/stepper/t9n/messages_lv.json +5 -0
  815. package/dist/solutions-components/assets/stepper/t9n/messages_nl.json +5 -0
  816. package/dist/solutions-components/assets/stepper/t9n/messages_no.json +5 -0
  817. package/dist/solutions-components/assets/stepper/t9n/messages_pl.json +5 -0
  818. package/dist/solutions-components/assets/stepper/t9n/messages_pt-BR.json +5 -0
  819. package/dist/solutions-components/assets/stepper/t9n/messages_pt-PT.json +5 -0
  820. package/dist/solutions-components/assets/stepper/t9n/messages_ro.json +5 -0
  821. package/dist/solutions-components/assets/stepper/t9n/messages_ru.json +5 -0
  822. package/dist/solutions-components/assets/stepper/t9n/messages_sk.json +5 -0
  823. package/dist/solutions-components/assets/stepper/t9n/messages_sl.json +5 -0
  824. package/dist/solutions-components/assets/stepper/t9n/messages_sr.json +5 -0
  825. package/dist/solutions-components/assets/stepper/t9n/messages_sv.json +5 -0
  826. package/dist/solutions-components/assets/stepper/t9n/messages_th.json +5 -0
  827. package/dist/solutions-components/assets/stepper/t9n/messages_tr.json +5 -0
  828. package/dist/solutions-components/assets/stepper/t9n/messages_uk.json +5 -0
  829. package/dist/solutions-components/assets/stepper/t9n/messages_vi.json +5 -0
  830. package/dist/solutions-components/assets/stepper/t9n/messages_zh-CN.json +5 -0
  831. package/dist/solutions-components/assets/stepper/t9n/messages_zh-HK.json +5 -0
  832. package/dist/solutions-components/assets/stepper/t9n/messages_zh-TW.json +5 -0
  833. package/dist/solutions-components/assets/stepper-item/t9n/index.d.ts +5 -0
  834. package/dist/solutions-components/assets/stepper-item/t9n/messages.json +5 -0
  835. package/dist/solutions-components/assets/stepper-item/t9n/messages_ar.json +5 -0
  836. package/dist/solutions-components/assets/stepper-item/t9n/messages_bg.json +5 -0
  837. package/dist/solutions-components/assets/stepper-item/t9n/messages_bs.json +5 -0
  838. package/dist/solutions-components/assets/stepper-item/t9n/messages_ca.json +5 -0
  839. package/dist/solutions-components/assets/stepper-item/t9n/messages_cs.json +5 -0
  840. package/dist/solutions-components/assets/stepper-item/t9n/messages_da.json +5 -0
  841. package/dist/solutions-components/assets/stepper-item/t9n/messages_de.json +5 -0
  842. package/dist/solutions-components/assets/stepper-item/t9n/messages_el.json +5 -0
  843. package/dist/solutions-components/assets/stepper-item/t9n/messages_en.json +5 -0
  844. package/dist/solutions-components/assets/stepper-item/t9n/messages_es.json +5 -0
  845. package/dist/solutions-components/assets/stepper-item/t9n/messages_et.json +5 -0
  846. package/dist/solutions-components/assets/stepper-item/t9n/messages_fi.json +5 -0
  847. package/dist/solutions-components/assets/stepper-item/t9n/messages_fr.json +5 -0
  848. package/dist/solutions-components/assets/stepper-item/t9n/messages_he.json +5 -0
  849. package/dist/solutions-components/assets/stepper-item/t9n/messages_hr.json +5 -0
  850. package/dist/solutions-components/assets/stepper-item/t9n/messages_hu.json +5 -0
  851. package/dist/solutions-components/assets/stepper-item/t9n/messages_id.json +5 -0
  852. package/dist/solutions-components/assets/stepper-item/t9n/messages_it.json +5 -0
  853. package/dist/solutions-components/assets/stepper-item/t9n/messages_ja.json +5 -0
  854. package/dist/solutions-components/assets/stepper-item/t9n/messages_ko.json +5 -0
  855. package/dist/solutions-components/assets/stepper-item/t9n/messages_lt.json +5 -0
  856. package/dist/solutions-components/assets/stepper-item/t9n/messages_lv.json +5 -0
  857. package/dist/solutions-components/assets/stepper-item/t9n/messages_nl.json +5 -0
  858. package/dist/solutions-components/assets/stepper-item/t9n/messages_no.json +5 -0
  859. package/dist/solutions-components/assets/stepper-item/t9n/messages_pl.json +5 -0
  860. package/dist/solutions-components/assets/stepper-item/t9n/messages_pt-BR.json +5 -0
  861. package/dist/solutions-components/assets/stepper-item/t9n/messages_pt-PT.json +5 -0
  862. package/dist/solutions-components/assets/stepper-item/t9n/messages_ro.json +5 -0
  863. package/dist/solutions-components/assets/stepper-item/t9n/messages_ru.json +5 -0
  864. package/dist/solutions-components/assets/stepper-item/t9n/messages_sk.json +5 -0
  865. package/dist/solutions-components/assets/stepper-item/t9n/messages_sl.json +5 -0
  866. package/dist/solutions-components/assets/stepper-item/t9n/messages_sr.json +5 -0
  867. package/dist/solutions-components/assets/stepper-item/t9n/messages_sv.json +5 -0
  868. package/dist/solutions-components/assets/stepper-item/t9n/messages_th.json +5 -0
  869. package/dist/solutions-components/assets/stepper-item/t9n/messages_tr.json +5 -0
  870. package/dist/solutions-components/assets/stepper-item/t9n/messages_uk.json +5 -0
  871. package/dist/solutions-components/assets/stepper-item/t9n/messages_vi.json +5 -0
  872. package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-CN.json +5 -0
  873. package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-HK.json +5 -0
  874. package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-TW.json +5 -0
  875. package/dist/solutions-components/demos/crowdsource-reporter.html +56 -15
  876. package/dist/solutions-components/p-00778753.entry.js +28 -0
  877. package/dist/solutions-components/p-014bea09.entry.js +11 -0
  878. package/dist/solutions-components/p-01835985.js +11 -0
  879. package/dist/solutions-components/p-0303091f.entry.js +11 -0
  880. package/dist/solutions-components/p-037ab3c5.entry.js +11 -0
  881. package/dist/solutions-components/p-039e518a.entry.js +11 -0
  882. package/dist/solutions-components/p-03ddee7e.entry.js +11 -0
  883. package/dist/solutions-components/p-08916647.entry.js +12 -0
  884. package/dist/solutions-components/p-0c322ca5.entry.js +6 -0
  885. package/dist/solutions-components/p-0c43e485.js +6 -0
  886. package/dist/solutions-components/p-0ed276ee.js +6 -0
  887. package/dist/solutions-components/p-0fc9b854.entry.js +11 -0
  888. package/dist/solutions-components/p-118bcff3.js +11 -0
  889. package/dist/solutions-components/p-132a0716.js +6 -0
  890. package/dist/solutions-components/p-1539a6fa.entry.js +11 -0
  891. package/dist/solutions-components/p-156f2d47.js +6 -0
  892. package/dist/solutions-components/p-16adafcb.js +6 -0
  893. package/dist/solutions-components/p-1814d28b.js +11 -0
  894. package/dist/solutions-components/p-1a8e8246.js +16 -0
  895. package/dist/solutions-components/p-1af5af80.js +11 -0
  896. package/dist/solutions-components/p-1be88141.entry.js +12 -0
  897. package/dist/solutions-components/p-1bf91a04.js +11 -0
  898. package/dist/solutions-components/p-1e50346e.entry.js +11 -0
  899. package/dist/solutions-components/p-1f283ddb.js +11 -0
  900. package/dist/solutions-components/p-214d41c3.js +489 -0
  901. package/dist/solutions-components/p-2295c2dd.entry.js +6 -0
  902. package/dist/solutions-components/p-23328381.entry.js +6 -0
  903. package/dist/solutions-components/p-2dfb4e56.entry.js +16 -0
  904. package/dist/solutions-components/p-2e730210.entry.js +6 -0
  905. package/dist/solutions-components/p-2f268d5b.entry.js +16 -0
  906. package/dist/solutions-components/p-308024dc.js +11 -0
  907. package/dist/solutions-components/p-3124eab2.entry.js +17 -0
  908. package/dist/solutions-components/p-31b66bc3.entry.js +6 -0
  909. package/dist/solutions-components/p-31c65694.entry.js +6 -0
  910. package/dist/solutions-components/p-32d25bcb.js +11 -0
  911. package/dist/solutions-components/p-34737944.entry.js +6 -0
  912. package/dist/solutions-components/p-3640823f.entry.js +17 -0
  913. package/dist/solutions-components/p-367c73f3.entry.js +6 -0
  914. package/dist/solutions-components/p-37f44acc.js +11 -0
  915. package/dist/solutions-components/p-3870751d.js +6 -0
  916. package/dist/solutions-components/p-3a8f5449.entry.js +11 -0
  917. package/dist/solutions-components/p-3ced939f.entry.js +6 -0
  918. package/dist/solutions-components/p-3dfbf45e.entry.js +6 -0
  919. package/dist/solutions-components/p-3ee78186.js +61 -0
  920. package/dist/solutions-components/p-3f0a680f.js +6 -0
  921. package/dist/solutions-components/p-4031b480.js +6 -0
  922. package/dist/solutions-components/p-406c320e.js +11 -0
  923. package/dist/solutions-components/p-40827722.js +11 -0
  924. package/dist/solutions-components/p-4147ecf0.js +11 -0
  925. package/dist/solutions-components/p-430908f8.js +6 -0
  926. package/dist/solutions-components/p-4327c361.entry.js +6 -0
  927. package/dist/solutions-components/p-44b3bbf8.entry.js +11 -0
  928. package/dist/solutions-components/p-46a7caf2.js +6 -0
  929. package/dist/solutions-components/p-470345d6.js +11 -0
  930. package/dist/solutions-components/p-478fc7cb.entry.js +6 -0
  931. package/dist/solutions-components/p-483a5477.js +6 -0
  932. package/dist/solutions-components/p-49bb8952.js +11 -0
  933. package/dist/solutions-components/p-4aafb627.js +36 -0
  934. package/dist/solutions-components/p-4c365c5e.entry.js +11 -0
  935. package/dist/solutions-components/p-4c70b352.entry.js +6 -0
  936. package/dist/solutions-components/p-4f6aa2f6.js +11 -0
  937. package/dist/solutions-components/p-50002c2f.js +6 -0
  938. package/dist/solutions-components/p-504bb19e.entry.js +11 -0
  939. package/dist/solutions-components/p-5119d274.js +11 -0
  940. package/dist/solutions-components/p-533b0d64.js +6 -0
  941. package/dist/solutions-components/p-5467780a.entry.js +11 -0
  942. package/dist/solutions-components/p-54ff0119.entry.js +11 -0
  943. package/dist/solutions-components/p-55a07c2a.js +11 -0
  944. package/dist/solutions-components/p-56a43beb.entry.js +11 -0
  945. package/dist/solutions-components/p-579bdb57.js +6 -0
  946. package/dist/solutions-components/p-58562dda.entry.js +6 -0
  947. package/dist/solutions-components/p-58ccddc5.entry.js +11 -0
  948. package/dist/solutions-components/p-598c64f7.entry.js +29 -0
  949. package/dist/solutions-components/p-5a075f65.entry.js +11 -0
  950. package/dist/solutions-components/p-5bb19185.entry.js +11 -0
  951. package/dist/solutions-components/p-5e1ecb54.js +6 -0
  952. package/dist/solutions-components/p-60dba4a9.entry.js +11 -0
  953. package/dist/solutions-components/p-6373d5e2.js +6 -0
  954. package/dist/solutions-components/p-659f82a2.js +11 -0
  955. package/dist/solutions-components/p-65f230f4.js +6 -0
  956. package/dist/solutions-components/p-6d5a1566.js +17 -0
  957. package/dist/solutions-components/p-6ecce676.entry.js +11 -0
  958. package/dist/solutions-components/p-6ff04b6a.entry.js +11 -0
  959. package/dist/solutions-components/p-7203026b.entry.js +11 -0
  960. package/dist/solutions-components/p-74062e42.js +6 -0
  961. package/dist/solutions-components/p-76809845.js +6 -0
  962. package/dist/solutions-components/p-779f46eb.js +11 -0
  963. package/dist/solutions-components/p-77c3fb52.js +6 -0
  964. package/dist/solutions-components/p-79bb2b4d.entry.js +11 -0
  965. package/dist/solutions-components/p-7ab4c1e1.js +6 -0
  966. package/dist/solutions-components/p-7afb5491.js +6 -0
  967. package/dist/solutions-components/p-7bd4e7bf.js +6 -0
  968. package/dist/solutions-components/p-7c9cfa11.js +11 -0
  969. package/dist/solutions-components/p-7d79a255.entry.js +11 -0
  970. package/dist/solutions-components/p-7d94c28d.js +6 -0
  971. package/dist/solutions-components/p-7e4238d2.js +6 -0
  972. package/dist/solutions-components/p-7f3f99de.entry.js +6 -0
  973. package/dist/solutions-components/p-7ff4a852.js +6 -0
  974. package/dist/solutions-components/p-81503752.entry.js +6 -0
  975. package/dist/solutions-components/p-822d9606.entry.js +18 -0
  976. package/dist/solutions-components/p-82da0de5.js +12 -0
  977. package/dist/solutions-components/p-83153df0.js +18 -0
  978. package/dist/solutions-components/p-86a2d317.entry.js +11 -0
  979. package/dist/solutions-components/p-8837c151.entry.js +6 -0
  980. package/dist/solutions-components/p-88dac03a.js +11 -0
  981. package/dist/solutions-components/p-8a15f8aa.js +6 -0
  982. package/dist/solutions-components/p-8a9d80e2.js +6 -0
  983. package/dist/solutions-components/p-8b05cb55.entry.js +18 -0
  984. package/dist/solutions-components/p-8cbb4062.js +11 -0
  985. package/dist/solutions-components/p-8e26eb6f.js +22 -0
  986. package/dist/solutions-components/p-90a57fcf.js +6 -0
  987. package/dist/solutions-components/p-91d4bef4.js +6 -0
  988. package/dist/solutions-components/p-920709db.entry.js +11 -0
  989. package/dist/solutions-components/p-9283b5f2.entry.js +11 -0
  990. package/dist/solutions-components/p-931e1ce1.js +6 -0
  991. package/dist/solutions-components/p-9507e2ce.js +11 -0
  992. package/dist/solutions-components/p-950b82c8.entry.js +11 -0
  993. package/dist/solutions-components/p-956d3175.entry.js +6 -0
  994. package/dist/solutions-components/p-998671c9.entry.js +11 -0
  995. package/dist/solutions-components/p-99d06856.js +6 -0
  996. package/dist/solutions-components/p-9bbe962a.entry.js +11 -0
  997. package/dist/solutions-components/p-9e64167e.js +6 -0
  998. package/dist/solutions-components/p-9eaa2050.js +6 -0
  999. package/dist/solutions-components/p-a013accc.js +6 -0
  1000. package/dist/solutions-components/p-a23a07b4.entry.js +17 -0
  1001. package/dist/solutions-components/p-a2c636db.entry.js +12 -0
  1002. package/dist/solutions-components/p-a302baed.js +6 -0
  1003. package/dist/solutions-components/p-a41dfa26.entry.js +6 -0
  1004. package/dist/solutions-components/p-a4d81864.js +16 -0
  1005. package/dist/solutions-components/p-a5d70d3a.entry.js +6 -0
  1006. package/dist/solutions-components/p-a6db296e.js +6 -0
  1007. package/dist/solutions-components/p-a7ff08e7.js +11 -0
  1008. package/dist/solutions-components/p-a825403b.js +6 -0
  1009. package/dist/solutions-components/p-a85f10d5.js +6 -0
  1010. package/dist/solutions-components/p-aaa1209e.js +11 -0
  1011. package/dist/solutions-components/p-abe3df4d.entry.js +6 -0
  1012. package/dist/solutions-components/p-adcf36e0.js +11 -0
  1013. package/dist/solutions-components/p-b2862cb2.js +6 -0
  1014. package/dist/solutions-components/p-b2a7416b.entry.js +11 -0
  1015. package/dist/solutions-components/p-b2d1b625.entry.js +6 -0
  1016. package/dist/solutions-components/p-b4912a5e.js +6 -0
  1017. package/dist/solutions-components/p-b69d8edc.js +6 -0
  1018. package/dist/solutions-components/p-b6bf2256.entry.js +17 -0
  1019. package/dist/solutions-components/p-b95a7bb1.entry.js +11 -0
  1020. package/dist/solutions-components/p-b9c16f28.js +6 -0
  1021. package/dist/solutions-components/p-ba717eb2.entry.js +6 -0
  1022. package/dist/solutions-components/p-bd62df52.entry.js +6 -0
  1023. package/dist/solutions-components/p-bdd2d1b3.js +6 -0
  1024. package/dist/solutions-components/p-be7add87.js +6 -0
  1025. package/dist/solutions-components/p-bfda0e4c.js +6 -0
  1026. package/dist/solutions-components/p-c147c7ee.js +11 -0
  1027. package/dist/solutions-components/p-c3f4cb87.entry.js +11 -0
  1028. package/dist/solutions-components/p-c758e011.js +6 -0
  1029. package/dist/solutions-components/p-c75af332.js +11 -0
  1030. package/dist/solutions-components/p-c94937f6.entry.js +6 -0
  1031. package/dist/solutions-components/p-c95cf6b6.entry.js +17 -0
  1032. package/dist/solutions-components/p-c9fc3253.js +6 -0
  1033. package/dist/solutions-components/p-ca391de0.js +6 -0
  1034. package/dist/solutions-components/p-caa4ef57.js +17 -0
  1035. package/dist/solutions-components/p-cadf1546.entry.js +11 -0
  1036. package/dist/solutions-components/p-cb57efe6.entry.js +11 -0
  1037. package/dist/solutions-components/p-cc6b57c6.entry.js +11 -0
  1038. package/dist/solutions-components/p-d34397ef.entry.js +17 -0
  1039. package/dist/solutions-components/p-d52bc7dd.entry.js +11 -0
  1040. package/dist/solutions-components/p-d607ab3d.entry.js +47 -0
  1041. package/dist/solutions-components/p-d93e3745.entry.js +11 -0
  1042. package/dist/solutions-components/p-d943947f.js +11 -0
  1043. package/dist/solutions-components/p-ddb3bc15.js +11 -0
  1044. package/dist/solutions-components/p-ddd5afde.js +11 -0
  1045. package/dist/solutions-components/p-dea5e302.entry.js +11 -0
  1046. package/dist/solutions-components/p-e2336324.js +11 -0
  1047. package/dist/solutions-components/p-e2d2cb89.entry.js +11 -0
  1048. package/dist/solutions-components/p-e58ffef6.entry.js +11 -0
  1049. package/dist/solutions-components/p-e7aad23d.entry.js +6 -0
  1050. package/dist/solutions-components/p-e91c5763.js +16 -0
  1051. package/dist/solutions-components/p-ea22826b.js +11 -0
  1052. package/dist/solutions-components/p-eace7ab0.entry.js +11 -0
  1053. package/dist/solutions-components/p-ec1f28a7.entry.js +11 -0
  1054. package/dist/solutions-components/p-ef0b06ac.entry.js +6 -0
  1055. package/dist/solutions-components/p-f0547cac.entry.js +6 -0
  1056. package/dist/solutions-components/p-f0b83721.js +6 -0
  1057. package/dist/solutions-components/p-f1979b5c.entry.js +11 -0
  1058. package/dist/solutions-components/p-f2723f08.js +6 -0
  1059. package/dist/solutions-components/p-f3f1e27e.js +11 -0
  1060. package/dist/solutions-components/p-f70e8ca1.js +11 -0
  1061. package/dist/solutions-components/p-fd08afb5.entry.js +6 -0
  1062. package/dist/solutions-components/p-ff3f307a.entry.js +11 -0
  1063. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1064. package/dist/solutions-components/utils/interfaces.ts +5 -0
  1065. package/dist/solutions-components/utils/queryUtils.ts +26 -0
  1066. package/dist/types/components/arcgis-login/arcgis-login.d.ts +19 -0
  1067. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +40 -0
  1068. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +73 -0
  1069. package/dist/types/components/feature-comments/feature-comments.d.ts +19 -0
  1070. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +19 -0
  1071. package/dist/types/components/features-flow-item/features-flow-item.d.ts +19 -0
  1072. package/dist/types/components/info-card/info-card.d.ts +8 -0
  1073. package/dist/types/components/layer-table/layer-table.d.ts +93 -2
  1074. package/dist/types/components/list-flow-item/list-flow-item.d.ts +19 -0
  1075. package/dist/types/components/location-flow-item/location-flow-item.d.ts +19 -0
  1076. package/dist/types/components/map-card/map-card.d.ts +12 -0
  1077. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +15 -2
  1078. package/dist/types/components/map-picker/map-picker.d.ts +1 -4
  1079. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +19 -0
  1080. package/dist/types/components/share-item/share-item.d.ts +19 -0
  1081. package/dist/types/components.d.ts +322 -9
  1082. package/dist/types/preact.d.ts +17 -2
  1083. package/dist/types/utils/interfaces.d.ts +4 -0
  1084. package/dist/types/utils/queryUtils.d.ts +9 -0
  1085. package/package.json +2 -2
  1086. package/dist/assets/t9n/config-buffer-tools/resources.json +0 -12
  1087. package/dist/assets/t9n/config-buffer-tools/resources_en.json +0 -12
  1088. package/dist/assets/t9n/config-draw-tools/resources.json +0 -10
  1089. package/dist/assets/t9n/config-draw-tools/resources_en.json +0 -10
  1090. package/dist/assets/t9n/config-layer-picker/resources.json +0 -3
  1091. package/dist/assets/t9n/config-layer-picker/resources_en.json +0 -3
  1092. package/dist/assets/t9n/config-pdf-download/resources.json +0 -6
  1093. package/dist/assets/t9n/config-pdf-download/resources_en.json +0 -6
  1094. package/dist/cjs/ExpandToggle-965987de.js +0 -118
  1095. package/dist/cjs/FloatingArrow-5aba7af1.js +0 -48
  1096. package/dist/cjs/Heading-b0970391.js +0 -25
  1097. package/dist/cjs/app-globals-8afc8fa0.js +0 -69
  1098. package/dist/cjs/ar-e86d748c.js +0 -103
  1099. package/dist/cjs/array-d55de2d5.js +0 -17
  1100. package/dist/cjs/bg-6f72f34d.js +0 -81
  1101. package/dist/cjs/browser-09760f9f.js +0 -23
  1102. package/dist/cjs/bs-290f2e0c.js +0 -50
  1103. package/dist/cjs/ca-d9261215.js +0 -70
  1104. package/dist/cjs/calcite-input-number_2.cjs.entry.js +0 -920
  1105. package/dist/cjs/calcite-input-time-picker-b809da0b.js +0 -1848
  1106. package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
  1107. package/dist/cjs/conditionalSlot-f577ba32.js +0 -63
  1108. package/dist/cjs/cs-b250298e.js +0 -146
  1109. package/dist/cjs/da-8715f736.js +0 -65
  1110. package/dist/cjs/date-60e18f3e.js +0 -261
  1111. package/dist/cjs/de-9289461a.js +0 -90
  1112. package/dist/cjs/de-at-e7ef417f.js +0 -89
  1113. package/dist/cjs/de-ch-de539200.js +0 -89
  1114. package/dist/cjs/dom-c585dfa7.js +0 -1061
  1115. package/dist/cjs/downloadUtils-e3e595e9.js +0 -3123
  1116. package/dist/cjs/el-7701d486.js +0 -65
  1117. package/dist/cjs/en-au-6e2f2f4b.js +0 -65
  1118. package/dist/cjs/en-ca-8bc8ae5b.js +0 -64
  1119. package/dist/cjs/en-gb-6e0fd6a4.js +0 -68
  1120. package/dist/cjs/es-dd9fcddf.js +0 -65
  1121. package/dist/cjs/es-mx-32e3b2ce.js +0 -64
  1122. package/dist/cjs/et-9c241f89.js +0 -91
  1123. package/dist/cjs/fi-946c7e09.js +0 -114
  1124. package/dist/cjs/filter-a4465208.js +0 -765
  1125. package/dist/cjs/floating-ui-3625f253.js +0 -1904
  1126. package/dist/cjs/focusTrapComponent-919e5636.js +0 -1009
  1127. package/dist/cjs/form-da1bc377.js +0 -288
  1128. package/dist/cjs/fr-1a8ac01d.js +0 -67
  1129. package/dist/cjs/fr-ch-02594f06.js +0 -65
  1130. package/dist/cjs/globalAttributes-bb9603f4.js +0 -77
  1131. package/dist/cjs/guid-5ef151a6.js +0 -26
  1132. package/dist/cjs/he-e3dd7687.js +0 -104
  1133. package/dist/cjs/hi-66fc4798.js +0 -64
  1134. package/dist/cjs/hr-2dbffa4f.js +0 -79
  1135. package/dist/cjs/hu-22732855.js +0 -87
  1136. package/dist/cjs/id-40469057.js +0 -65
  1137. package/dist/cjs/index-22e2d297.js +0 -172
  1138. package/dist/cjs/index-6b21a03f.js +0 -73
  1139. package/dist/cjs/index.es-047537b5.js +0 -10810
  1140. package/dist/cjs/interactive-17168f1c.js +0 -147
  1141. package/dist/cjs/it-72244e1f.js +0 -65
  1142. package/dist/cjs/it-ch-111e0a76.js +0 -65
  1143. package/dist/cjs/ja-64c49fbb.js +0 -71
  1144. package/dist/cjs/key-29076628.js +0 -19
  1145. package/dist/cjs/ko-ba039889.js +0 -71
  1146. package/dist/cjs/label-a44d17b9.js +0 -154
  1147. package/dist/cjs/list-item.cjs.entry.js +0 -75
  1148. package/dist/cjs/loadable-53fa41ac.js +0 -94
  1149. package/dist/cjs/locale-62c20bcc.js +0 -607
  1150. package/dist/cjs/lt-14caf6e3.js +0 -96
  1151. package/dist/cjs/lv-90627da7.js +0 -65
  1152. package/dist/cjs/mapViewUtils-f7bbc35b.js +0 -429
  1153. package/dist/cjs/math-1e2752e6.js +0 -60
  1154. package/dist/cjs/mk-43da0937.js +0 -65
  1155. package/dist/cjs/nb-6e84fe55.js +0 -66
  1156. package/dist/cjs/nl-b09e824f.js +0 -66
  1157. package/dist/cjs/observers-ee7eadc4.js +0 -53
  1158. package/dist/cjs/openCloseComponent-56419b32.js +0 -92
  1159. package/dist/cjs/pl-acc3eed9.js +0 -113
  1160. package/dist/cjs/pt-445d1df2.js +0 -66
  1161. package/dist/cjs/pt-br-63d38ff8.js +0 -64
  1162. package/dist/cjs/resources-3a88b7d8.js +0 -2062
  1163. package/dist/cjs/resources-4548c1f4.js +0 -29
  1164. package/dist/cjs/resources-4671a126.js +0 -20
  1165. package/dist/cjs/resources-49866a7a.js +0 -52
  1166. package/dist/cjs/resources-85c1ae6a.js +0 -27
  1167. package/dist/cjs/resources-876c9b89.js +0 -29
  1168. package/dist/cjs/resources-9dcc553a.js +0 -39
  1169. package/dist/cjs/resources-be3c1b4b.js +0 -26
  1170. package/dist/cjs/resources-d8917c46.js +0 -32
  1171. package/dist/cjs/resources-d89b020a.js +0 -23
  1172. package/dist/cjs/responsive-b6e86bcb.js +0 -44
  1173. package/dist/cjs/ro-3d33dcc0.js +0 -65
  1174. package/dist/cjs/ru-6d33bd42.js +0 -125
  1175. package/dist/cjs/shared-list-render-44ea9d69.js +0 -364
  1176. package/dist/cjs/sk-8e7343e5.js +0 -147
  1177. package/dist/cjs/sl-b2721e1d.js +0 -167
  1178. package/dist/cjs/sortableComponent-f9fbabf1.js +0 -3107
  1179. package/dist/cjs/sr-6c42e7fd.js +0 -100
  1180. package/dist/cjs/sv-09355347.js +0 -70
  1181. package/dist/cjs/t9n-78efea01.js +0 -100
  1182. package/dist/cjs/th-b011dfda.js +0 -64
  1183. package/dist/cjs/time-5c558990.js +0 -289
  1184. package/dist/cjs/tr-64095398.js +0 -65
  1185. package/dist/cjs/uk-942a3963.js +0 -103
  1186. package/dist/cjs/utils-a3c937c3.js +0 -59
  1187. package/dist/cjs/utils-bad1a9c3.js +0 -64
  1188. package/dist/cjs/utils-bbda4ba3.js +0 -93
  1189. package/dist/cjs/utils-e99ff998.js +0 -221
  1190. package/dist/cjs/vi-1f4b147c.js +0 -69
  1191. package/dist/cjs/zh-cn-d312b710.js +0 -93
  1192. package/dist/cjs/zh-hk-8237d0e3.js +0 -70
  1193. package/dist/cjs/zh-tw-f28548c8.js +0 -91
  1194. package/dist/collection/components/list-item/list-item.js +0 -89
  1195. package/dist/components/list-item.d.ts +0 -11
  1196. package/dist/components/list-item2.js +0 -460
  1197. package/dist/components/responsive.js +0 -42
  1198. package/dist/esm/ExpandToggle-e107f9b4.js +0 -110
  1199. package/dist/esm/FloatingArrow-3bcbf69c.js +0 -46
  1200. package/dist/esm/Heading-d54e4e64.js +0 -22
  1201. package/dist/esm/app-globals-d6e155e2.js +0 -67
  1202. package/dist/esm/ar-6024936e.js +0 -101
  1203. package/dist/esm/array-3a471981.js +0 -15
  1204. package/dist/esm/bg-0aaf375e.js +0 -79
  1205. package/dist/esm/browser-b8a2c2d7.js +0 -21
  1206. package/dist/esm/bs-a29d4263.js +0 -48
  1207. package/dist/esm/ca-7025e8bd.js +0 -68
  1208. package/dist/esm/calcite-input-number_2.entry.js +0 -915
  1209. package/dist/esm/calcite-input-time-picker-970d2da4.js +0 -1845
  1210. package/dist/esm/calcite-loader.entry.js +0 -76
  1211. package/dist/esm/conditionalSlot-2966afcc.js +0 -60
  1212. package/dist/esm/cs-e75d4f0f.js +0 -144
  1213. package/dist/esm/da-7ef2ef83.js +0 -63
  1214. package/dist/esm/date-05688c80.js +0 -245
  1215. package/dist/esm/de-8c937192.js +0 -88
  1216. package/dist/esm/de-at-2d6f27fb.js +0 -87
  1217. package/dist/esm/de-ch-94e48c2e.js +0 -87
  1218. package/dist/esm/dom-923ca11d.js +0 -1032
  1219. package/dist/esm/downloadUtils-8fbd1347.js +0 -3117
  1220. package/dist/esm/el-a2fbe5ed.js +0 -63
  1221. package/dist/esm/en-au-e41b88d1.js +0 -63
  1222. package/dist/esm/en-ca-87be65a9.js +0 -62
  1223. package/dist/esm/en-gb-83952182.js +0 -66
  1224. package/dist/esm/es-141e8350.js +0 -63
  1225. package/dist/esm/es-mx-b6a7e8b9.js +0 -62
  1226. package/dist/esm/et-938a5466.js +0 -89
  1227. package/dist/esm/fi-b2c86fbe.js +0 -112
  1228. package/dist/esm/filter-a4d7ecd2.js +0 -763
  1229. package/dist/esm/floating-ui-9c3f29d1.js +0 -1896
  1230. package/dist/esm/focusTrapComponent-d703f459.js +0 -1004
  1231. package/dist/esm/form-77fd19cb.js +0 -280
  1232. package/dist/esm/fr-38f2377b.js +0 -65
  1233. package/dist/esm/fr-ch-f0aa93c8.js +0 -63
  1234. package/dist/esm/globalAttributes-43f1d649.js +0 -74
  1235. package/dist/esm/guid-99d025c6.js +0 -24
  1236. package/dist/esm/he-c4b286cd.js +0 -102
  1237. package/dist/esm/hi-78cb42a0.js +0 -62
  1238. package/dist/esm/hr-a4637cfd.js +0 -77
  1239. package/dist/esm/hu-54c88160.js +0 -85
  1240. package/dist/esm/id-059e47c6.js +0 -63
  1241. package/dist/esm/index-7bd8186c.js +0 -71
  1242. package/dist/esm/index-9d64f551.js +0 -170
  1243. package/dist/esm/index.es-b6705ce7.js +0 -10724
  1244. package/dist/esm/interactive-e95bbf6b.js +0 -143
  1245. package/dist/esm/it-015c5cc3.js +0 -63
  1246. package/dist/esm/it-ch-f345a8fe.js +0 -63
  1247. package/dist/esm/ja-f6c91a37.js +0 -69
  1248. package/dist/esm/key-5ab69c42.js +0 -16
  1249. package/dist/esm/ko-7b0bfdfa.js +0 -69
  1250. package/dist/esm/label-be61f66c.js +0 -148
  1251. package/dist/esm/list-item.entry.js +0 -71
  1252. package/dist/esm/loadable-9617e31c.js +0 -89
  1253. package/dist/esm/locale-76c0c1d9.js +0 -594
  1254. package/dist/esm/lt-ebe0d73b.js +0 -94
  1255. package/dist/esm/lv-f7cb8ecf.js +0 -63
  1256. package/dist/esm/mapViewUtils-1e2befd7.js +0 -414
  1257. package/dist/esm/math-26607e9b.js +0 -54
  1258. package/dist/esm/mk-fdcc6d81.js +0 -63
  1259. package/dist/esm/nb-44fa5d1f.js +0 -64
  1260. package/dist/esm/nl-72a97244.js +0 -64
  1261. package/dist/esm/observers-115d1b4b.js +0 -51
  1262. package/dist/esm/openCloseComponent-ecc80ec6.js +0 -90
  1263. package/dist/esm/pl-6594cf3b.js +0 -111
  1264. package/dist/esm/pt-a7407eb8.js +0 -64
  1265. package/dist/esm/pt-br-83e7fa27.js +0 -62
  1266. package/dist/esm/resources-0fa1514d.js +0 -22
  1267. package/dist/esm/resources-19e558e7.js +0 -48
  1268. package/dist/esm/resources-27261bc6.js +0 -24
  1269. package/dist/esm/resources-4100c616.js +0 -35
  1270. package/dist/esm/resources-55ef6d44.js +0 -2051
  1271. package/dist/esm/resources-9158321b.js +0 -20
  1272. package/dist/esm/resources-936a5f2d.js +0 -26
  1273. package/dist/esm/resources-bb8600a6.js +0 -28
  1274. package/dist/esm/resources-c8f83593.js +0 -20
  1275. package/dist/esm/resources-ee6e347f.js +0 -24
  1276. package/dist/esm/responsive-4d7ef153.js +0 -42
  1277. package/dist/esm/ro-455d4855.js +0 -63
  1278. package/dist/esm/ru-afedf1c0.js +0 -123
  1279. package/dist/esm/shared-list-render-086be7e0.js +0 -342
  1280. package/dist/esm/sk-593b7042.js +0 -145
  1281. package/dist/esm/sl-738e75ca.js +0 -165
  1282. package/dist/esm/sortableComponent-4a933f2e.js +0 -3103
  1283. package/dist/esm/sr-46d78867.js +0 -98
  1284. package/dist/esm/sv-a5afd0c2.js +0 -68
  1285. package/dist/esm/t9n-709a2605.js +0 -95
  1286. package/dist/esm/th-0e794832.js +0 -62
  1287. package/dist/esm/time-a725be63.js +0 -274
  1288. package/dist/esm/tr-c520e117.js +0 -63
  1289. package/dist/esm/uk-98d8c935.js +0 -101
  1290. package/dist/esm/utils-186d9d5e.js +0 -48
  1291. package/dist/esm/utils-1c26ea1b.js +0 -61
  1292. package/dist/esm/utils-3ad366fc.js +0 -85
  1293. package/dist/esm/utils-9f44f942.js +0 -203
  1294. package/dist/esm/vi-d6022534.js +0 -67
  1295. package/dist/esm/zh-cn-c112d022.js +0 -91
  1296. package/dist/esm/zh-hk-2d857989.js +0 -68
  1297. package/dist/esm/zh-tw-196abcd0.js +0 -89
  1298. package/dist/solutions-components/p-00026bea.js +0 -6
  1299. package/dist/solutions-components/p-0123207d.entry.js +0 -6
  1300. package/dist/solutions-components/p-024c2016.js +0 -11
  1301. package/dist/solutions-components/p-024ff2f9.js +0 -11
  1302. package/dist/solutions-components/p-02e84287.entry.js +0 -11
  1303. package/dist/solutions-components/p-039ac222.js +0 -11
  1304. package/dist/solutions-components/p-071d92ec.entry.js +0 -18
  1305. package/dist/solutions-components/p-072680a5.js +0 -489
  1306. package/dist/solutions-components/p-091f2e4a.entry.js +0 -11
  1307. package/dist/solutions-components/p-092fd5d9.js +0 -61
  1308. package/dist/solutions-components/p-0a95c999.js +0 -11
  1309. package/dist/solutions-components/p-0a976cf8.js +0 -6
  1310. package/dist/solutions-components/p-0bd702b0.entry.js +0 -11
  1311. package/dist/solutions-components/p-0c77262e.entry.js +0 -11
  1312. package/dist/solutions-components/p-0ca9f9b0.js +0 -6
  1313. package/dist/solutions-components/p-109dcfef.entry.js +0 -6
  1314. package/dist/solutions-components/p-11a5efc8.entry.js +0 -11
  1315. package/dist/solutions-components/p-11cb7b04.entry.js +0 -6
  1316. package/dist/solutions-components/p-1229516f.js +0 -11
  1317. package/dist/solutions-components/p-123257b4.js +0 -6
  1318. package/dist/solutions-components/p-139ff4ab.js +0 -6
  1319. package/dist/solutions-components/p-13d0424a.entry.js +0 -6
  1320. package/dist/solutions-components/p-1406bcc4.js +0 -18
  1321. package/dist/solutions-components/p-151c5d71.js +0 -11
  1322. package/dist/solutions-components/p-16d0f5e7.js +0 -6
  1323. package/dist/solutions-components/p-1738c574.entry.js +0 -6
  1324. package/dist/solutions-components/p-18bdcb54.js +0 -6
  1325. package/dist/solutions-components/p-1abf4a98.entry.js +0 -12
  1326. package/dist/solutions-components/p-1b606a4e.js +0 -6
  1327. package/dist/solutions-components/p-1d8b5383.entry.js +0 -17
  1328. package/dist/solutions-components/p-1efb6f5e.js +0 -6
  1329. package/dist/solutions-components/p-1f8b3c22.js +0 -6
  1330. package/dist/solutions-components/p-244fe501.js +0 -6
  1331. package/dist/solutions-components/p-25736760.entry.js +0 -6
  1332. package/dist/solutions-components/p-27431aa6.js +0 -11
  1333. package/dist/solutions-components/p-27c3142d.js +0 -6
  1334. package/dist/solutions-components/p-29f22e76.entry.js +0 -11
  1335. package/dist/solutions-components/p-2a8e0824.entry.js +0 -11
  1336. package/dist/solutions-components/p-2c095772.entry.js +0 -11
  1337. package/dist/solutions-components/p-2c49fea8.entry.js +0 -11
  1338. package/dist/solutions-components/p-2c676869.entry.js +0 -11
  1339. package/dist/solutions-components/p-2d34a885.entry.js +0 -6
  1340. package/dist/solutions-components/p-2ee3afea.js +0 -12
  1341. package/dist/solutions-components/p-2f9bab49.js +0 -11
  1342. package/dist/solutions-components/p-3003e56a.js +0 -11
  1343. package/dist/solutions-components/p-319e672e.js +0 -6
  1344. package/dist/solutions-components/p-3324bc9c.js +0 -6
  1345. package/dist/solutions-components/p-33833cea.js +0 -6
  1346. package/dist/solutions-components/p-34fb2a6e.js +0 -11
  1347. package/dist/solutions-components/p-353ff6c3.js +0 -17
  1348. package/dist/solutions-components/p-3556a164.entry.js +0 -11
  1349. package/dist/solutions-components/p-361b44ed.js +0 -11
  1350. package/dist/solutions-components/p-369e28ed.js +0 -11
  1351. package/dist/solutions-components/p-37551e19.entry.js +0 -28
  1352. package/dist/solutions-components/p-3760847f.js +0 -11
  1353. package/dist/solutions-components/p-3a712812.js +0 -6
  1354. package/dist/solutions-components/p-3ca5956e.entry.js +0 -6
  1355. package/dist/solutions-components/p-3e1346f4.js +0 -6
  1356. package/dist/solutions-components/p-42472527.entry.js +0 -11
  1357. package/dist/solutions-components/p-427f8955.js +0 -6
  1358. package/dist/solutions-components/p-4349f3f7.js +0 -6
  1359. package/dist/solutions-components/p-44ddfacf.entry.js +0 -6
  1360. package/dist/solutions-components/p-45cf4f67.entry.js +0 -6
  1361. package/dist/solutions-components/p-4807b2a1.js +0 -36
  1362. package/dist/solutions-components/p-4879d789.js +0 -11
  1363. package/dist/solutions-components/p-48a44c8d.js +0 -6
  1364. package/dist/solutions-components/p-49dc53cb.js +0 -11
  1365. package/dist/solutions-components/p-4b9ba22d.js +0 -17
  1366. package/dist/solutions-components/p-4ce32f39.js +0 -6
  1367. package/dist/solutions-components/p-4daf1755.entry.js +0 -11
  1368. package/dist/solutions-components/p-4e58893d.js +0 -11
  1369. package/dist/solutions-components/p-4eb21769.js +0 -11
  1370. package/dist/solutions-components/p-50a7927d.entry.js +0 -11
  1371. package/dist/solutions-components/p-524078d6.entry.js +0 -11
  1372. package/dist/solutions-components/p-528116a5.js +0 -6
  1373. package/dist/solutions-components/p-52d5d2c7.js +0 -6
  1374. package/dist/solutions-components/p-53368491.js +0 -11
  1375. package/dist/solutions-components/p-5507d527.entry.js +0 -17
  1376. package/dist/solutions-components/p-557a1912.entry.js +0 -6
  1377. package/dist/solutions-components/p-59d706b4.js +0 -11
  1378. package/dist/solutions-components/p-59f96664.js +0 -6
  1379. package/dist/solutions-components/p-5f4fba81.entry.js +0 -11
  1380. package/dist/solutions-components/p-60336409.entry.js +0 -17
  1381. package/dist/solutions-components/p-640de6e2.js +0 -11
  1382. package/dist/solutions-components/p-64106e73.js +0 -6
  1383. package/dist/solutions-components/p-6536a858.js +0 -6
  1384. package/dist/solutions-components/p-68735975.entry.js +0 -6
  1385. package/dist/solutions-components/p-69925ee2.entry.js +0 -12
  1386. package/dist/solutions-components/p-69b7a4da.js +0 -6
  1387. package/dist/solutions-components/p-6acf6258.js +0 -6
  1388. package/dist/solutions-components/p-6b7be761.entry.js +0 -11
  1389. package/dist/solutions-components/p-6e779398.entry.js +0 -11
  1390. package/dist/solutions-components/p-73e7af57.entry.js +0 -11
  1391. package/dist/solutions-components/p-761adec1.js +0 -6
  1392. package/dist/solutions-components/p-76384a24.js +0 -6
  1393. package/dist/solutions-components/p-788f3c1c.js +0 -11
  1394. package/dist/solutions-components/p-799ba781.js +0 -6
  1395. package/dist/solutions-components/p-7c937dad.entry.js +0 -11
  1396. package/dist/solutions-components/p-7d7e6744.js +0 -11
  1397. package/dist/solutions-components/p-7f793144.entry.js +0 -6
  1398. package/dist/solutions-components/p-7fea302e.js +0 -6
  1399. package/dist/solutions-components/p-800d0291.entry.js +0 -11
  1400. package/dist/solutions-components/p-8239ee0e.entry.js +0 -6
  1401. package/dist/solutions-components/p-83208f15.js +0 -6
  1402. package/dist/solutions-components/p-857c255c.js +0 -6
  1403. package/dist/solutions-components/p-866837f6.js +0 -11
  1404. package/dist/solutions-components/p-86f482ca.js +0 -11
  1405. package/dist/solutions-components/p-87e51c05.entry.js +0 -11
  1406. package/dist/solutions-components/p-8a2ae571.js +0 -11
  1407. package/dist/solutions-components/p-8f535590.entry.js +0 -6
  1408. package/dist/solutions-components/p-8f650f5a.entry.js +0 -6
  1409. package/dist/solutions-components/p-940c447c.js +0 -6
  1410. package/dist/solutions-components/p-9640d89a.entry.js +0 -6
  1411. package/dist/solutions-components/p-98d82820.entry.js +0 -11
  1412. package/dist/solutions-components/p-9b5df16f.js +0 -6
  1413. package/dist/solutions-components/p-9ddb9445.entry.js +0 -11
  1414. package/dist/solutions-components/p-9e10d371.js +0 -6
  1415. package/dist/solutions-components/p-9fd9dab0.entry.js +0 -35
  1416. package/dist/solutions-components/p-a30bf8f8.entry.js +0 -11
  1417. package/dist/solutions-components/p-a3538132.js +0 -6
  1418. package/dist/solutions-components/p-a47c8ae2.js +0 -22
  1419. package/dist/solutions-components/p-a525e175.entry.js +0 -11
  1420. package/dist/solutions-components/p-a6774162.entry.js +0 -11
  1421. package/dist/solutions-components/p-a678b2d3.js +0 -6
  1422. package/dist/solutions-components/p-a99967f5.js +0 -6
  1423. package/dist/solutions-components/p-abfec82b.js +0 -6
  1424. package/dist/solutions-components/p-acd7494a.js +0 -6
  1425. package/dist/solutions-components/p-b0e67c32.entry.js +0 -11
  1426. package/dist/solutions-components/p-b3622a4e.js +0 -11
  1427. package/dist/solutions-components/p-b41915d9.js +0 -16
  1428. package/dist/solutions-components/p-b48e8dd1.js +0 -11
  1429. package/dist/solutions-components/p-b587b224.entry.js +0 -6
  1430. package/dist/solutions-components/p-b80631c4.js +0 -11
  1431. package/dist/solutions-components/p-bc965d47.js +0 -12
  1432. package/dist/solutions-components/p-bdc6be4b.entry.js +0 -11
  1433. package/dist/solutions-components/p-bf9d3381.js +0 -16
  1434. package/dist/solutions-components/p-c0ec94af.js +0 -6
  1435. package/dist/solutions-components/p-c191d28c.entry.js +0 -17
  1436. package/dist/solutions-components/p-c24040ec.js +0 -11
  1437. package/dist/solutions-components/p-c4a448a3.js +0 -6
  1438. package/dist/solutions-components/p-c69ba9db.entry.js +0 -11
  1439. package/dist/solutions-components/p-c8e772fb.js +0 -6
  1440. package/dist/solutions-components/p-c90671e1.entry.js +0 -29
  1441. package/dist/solutions-components/p-c9ba6598.js +0 -6
  1442. package/dist/solutions-components/p-c9d9ac15.entry.js +0 -6
  1443. package/dist/solutions-components/p-ca37ebd0.entry.js +0 -6
  1444. package/dist/solutions-components/p-ca53679d.entry.js +0 -11
  1445. package/dist/solutions-components/p-ca780ab8.entry.js +0 -11
  1446. package/dist/solutions-components/p-cb8e599c.js +0 -6
  1447. package/dist/solutions-components/p-cbe3b9ee.js +0 -6
  1448. package/dist/solutions-components/p-cdfe141e.entry.js +0 -11
  1449. package/dist/solutions-components/p-cefde738.entry.js +0 -11
  1450. package/dist/solutions-components/p-d0e59d62.js +0 -6
  1451. package/dist/solutions-components/p-d16db4eb.entry.js +0 -11
  1452. package/dist/solutions-components/p-d4278729.js +0 -11
  1453. package/dist/solutions-components/p-d78136be.entry.js +0 -11
  1454. package/dist/solutions-components/p-d7953124.entry.js +0 -11
  1455. package/dist/solutions-components/p-d85e1fbe.entry.js +0 -11
  1456. package/dist/solutions-components/p-dcf0f0c8.entry.js +0 -12
  1457. package/dist/solutions-components/p-dd36af4f.js +0 -11
  1458. package/dist/solutions-components/p-dd4e5f64.js +0 -11
  1459. package/dist/solutions-components/p-dd6b827e.entry.js +0 -16
  1460. package/dist/solutions-components/p-e004e8e2.js +0 -16
  1461. package/dist/solutions-components/p-e1e22909.entry.js +0 -11
  1462. package/dist/solutions-components/p-e1f1e124.entry.js +0 -11
  1463. package/dist/solutions-components/p-e416078b.entry.js +0 -6
  1464. package/dist/solutions-components/p-e592e744.entry.js +0 -6
  1465. package/dist/solutions-components/p-ec830ecb.entry.js +0 -23
  1466. package/dist/solutions-components/p-ed3bd9b8.entry.js +0 -17
  1467. package/dist/solutions-components/p-ee13cafa.entry.js +0 -11
  1468. package/dist/solutions-components/p-ee839f28.entry.js +0 -11
  1469. package/dist/solutions-components/p-efc041d0.js +0 -11
  1470. package/dist/solutions-components/p-f20097e5.js +0 -6
  1471. package/dist/solutions-components/p-f367db61.entry.js +0 -6
  1472. package/dist/solutions-components/p-f3f83c1e.js +0 -6
  1473. package/dist/solutions-components/p-f52ee45d.js +0 -11
  1474. package/dist/solutions-components/p-fb67a388.entry.js +0 -17
  1475. package/dist/solutions-components/p-fbbfed75.entry.js +0 -18
  1476. package/dist/solutions-components/p-fe9cdc3d.entry.js +0 -6
  1477. package/dist/types/components/list-item/list-item.d.ts +0 -26
  1478. /package/dist/assets/t9n/{list-item → arcgis-login}/resources.json +0 -0
  1479. /package/dist/assets/t9n/{list-item → arcgis-login}/resources_en.json +0 -0
  1480. /package/dist/collection/components/{list-item/list-item.css → arcgis-login/arcgis-login.css} +0 -0
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as i,c as e,h as t,H as n,g as c}from"./p-f1782b8c.js";import{u as a,t as s}from"./p-4b9ba22d.js";import{c as o,d as r}from"./p-640de6e2.js";import{a as l,s as h,c as d}from"./p-49dc53cb.js";import{u as p,c as u,d as v,s as m}from"./p-27431aa6.js";import{c as b,u as g,d as f}from"./p-2ee3afea.js";import{c as k,d as x}from"./p-bf9d3381.js";import{c as y}from"./p-efc041d0.js";import{i as z}from"./p-34fb2a6e.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.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
- * v1.9.0
11
- */const w=class{constructor(t){i(this,t),this.calciteChipClose=e(this,"calciteChipClose",6),this.calciteChipSelect=e(this,"calciteChipSelect",6),this.calciteInternalChipKeyEvent=e(this,"calciteInternalChipKeyEvent",6),this.mutationObserver=y("mutation",(()=>this.updateHasText())),this.close=()=>{this.calciteChipClose.emit(),this.selected=!1,this.closed=!0},this.closeButtonKeyDownHandler=i=>{z(i.key)&&(i.preventDefault(),this.close())},this.handleSlotImageChange=i=>{this.hasImage=a(i)},this.handleEmittingEvent=()=>{this.interactive&&this.calciteChipSelect.emit()},this.disabled=!1,this.appearance="solid",this.kind="neutral",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.label=void 0,this.value=void 0,this.closed=!1,this.selectionMode="none",this.selected=!1,this.messageOverrides=void 0,this.messages=void 0,this.interactive=!1,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1,this.hasImage=!1}onMessagesChange(){}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){var i;o(this),b(this),k(this),u(this),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0})}componentDidLoad(){l(this)}componentDidRender(){g(this)}disconnectedCallback(){var i;r(this),f(this),x(this),v(this),null===(i=this.mutationObserver)||void 0===i||i.disconnect()}async componentWillLoad(){h(this),await m(this),this.updateHasText()}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.handleEmittingEvent(),i.preventDefault();break;case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalChipKeyEvent.emit(i),i.preventDefault()}}clickHandler(){!this.interactive&&this.closable&&this.closeButtonEl.focus()}async setFocus(){var i,e;await d(this),!this.disabled&&this.interactive?null===(i=this.containerEl)||void 0===i||i.focus():!this.disabled&&this.closable&&(null===(e=this.closeButtonEl)||void 0===e||e.focus())}updateHasText(){this.hasText=this.el.textContent.trim().length>0}renderChipImage(){return t("div",{class:"image-container"},t("slot",{name:"image",onSlotchange:this.handleSlotImageChange}))}renderSelectionIcon(){return t("div",{class:{"select-icon":!0,"select-icon--active":"multiple"===this.selectionMode||this.selected}},t("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-circle-f":"multiple"===this.selectionMode?"circle":this.selected?"circle-f":void 0,scale:"l"===this.scale?"m":"s"}))}renderCloseButton(){return t("button",{"aria-label":this.messages.dismissLabel,class:"close",onClick:this.close,onKeyDown:this.closeButtonKeyDownHandler,tabIndex:this.disabled?-1:0,ref:i=>this.closeButtonEl=i},t("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}))}renderIcon(){return t("calcite-icon",{class:"chip-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"===this.scale?"m":"s"})}render(){const i=this.disabled||!this.disabled&&!this.interactive,e="multiple"===this.selectionMode&&this.interactive?"checkbox":"none"!==this.selectionMode&&this.interactive?"radio":this.interactive?"button":void 0;return t(n,null,t("div",{"aria-checked":"none"!==this.selectionMode&&this.interactive?s(this.selected):void 0,"aria-disabled":i?s(this.disabled):void 0,"aria-label":this.label,class:{container:!0,"text--slotted":this.hasText,"image--slotted":this.hasImage,selectable:"none"!==this.selectionMode,multiple:"multiple"===this.selectionMode,closable:this.closable,"non-interactive":!this.interactive,"is-circle":!(this.closable||this.hasText||this.icon&&this.hasImage||"none"!==this.selectionMode&&(!this.selectionMode||"multiple"===this.selectionMode||this.selected))},onClick:this.handleEmittingEvent,role:e,tabIndex:i?-1:0,ref:i=>this.containerEl=i},"none"!==this.selectionMode&&this.renderSelectionIcon(),this.renderChipImage(),this.icon&&this.renderIcon(),t("span",{class:"title"},t("slot",null)),this.closable&&this.renderCloseButton()))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.close:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-ui-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([kind=inverse]){background-color:var(--calcite-ui-inverse);color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([kind=brand]){background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-ui-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-ui-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-ui-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-ui-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-ui-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_chip}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as n,H as e,g as s}from"./p-f1782b8c.js";import{u as a,t as o,g as l,x as r}from"./p-4b9ba22d.js";import{s as c,a as h,c as d}from"./p-49dc53cb.js";import{c as p,d as u,n as m}from"./p-bf9d3381.js";import{o as g}from"./p-8a2ae571.js";import{c as v,s as f,d as b,u as w}from"./p-27431aa6.js";import{K as y}from"./p-c24040ec.js";import{g as x}from"./p-866837f6.js";import{c as k}from"./p-efc041d0.js";import{l as z}from"./p-eec708ad.js";import{g as C}from"./p-a9154c5a.js";import{k as _}from"./p-4807b2a1.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-e1a4994d.js";import"./p-2a58e378.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
- * v1.9.0
11
- */const j={slow:14e3,medium:1e4,fast:6e3},q="container",W=class{constructor(n){t(this,n),this.calciteAlertBeforeClose=i(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=i(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=i(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=i(this,"calciteAlertOpen",6),this.calciteInternalAlertSync=i(this,"calciteInternalAlertSync",6),this.calciteInternalAlertRegister=i(this,"calciteInternalAlertRegister",6),this.autoCloseTimeoutId=null,this.resizeObserver=k("resize",(t=>this.responsiveContainerWidth=t[0].contentRect.width)),this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.autoCloseTimeoutId=null,this.queued=!1,this.open=!1,this.queue=this.queue.filter((t=>t!==this.el)),this.determineActiveAlert(),this.calciteInternalAlertSync.emit({queue:this.queue})},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)},this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin,i=j[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),i)},this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasEndActions=!1,this.queue=[],this.queueLength=0,this.queued=!1,this.responsiveContainerWidth=void 0}openHandler(){g(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.open||(this.queue=this.queue.filter((t=>t!==this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}))}onMessagesChange(){}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),j[this.autoCloseDuration]))}connectedCallback(){var t;p(this),v(this),this.open&&!this.queued&&this.calciteInternalAlertRegister.emit(),this.transitionEl&&(null===(t=this.resizeObserver)||void 0===t||t.observe(this.transitionEl))}async componentWillLoad(){c(this);const[,t]=await Promise.all([f(this),x()]);this.breakpoints=t,this.open&&g(this)}componentDidLoad(){var t;h(this),null===(t=this.resizeObserver)||void 0===t||t.observe(this.transitionEl)}disconnectedCallback(){var t;window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}})),window.clearTimeout(this.autoCloseTimeoutId),window.clearTimeout(this.queueTimeout),u(this),b(this),this.slottedInShell=!1,null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){m.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{hasEndActions:t}=this,{open:i,autoClose:s,responsiveContainerWidth:a,label:l,placement:c,queued:h}=this,d=s?"alert":"alertdialog",p=this.breakpoints.width,u=a<p.small,g=a>=p.small,v=!i,f=r(y,this.icon,this.kind),b=this.queueLength>1;return n(e,{"aria-hidden":o(v),"aria-label":l,"calcite-hydrated-hidden":v,role:d},n("div",{class:{[q]:!0,"container--queued":h,[`${q}--${c}`]:!0,"container--slotted-in-shell":this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},n("div",{class:"content-container"},f&&g?this.renderIcon(f):null,n("div",{class:"content"},f&&u?this.renderIcon(f):null,n("div",{class:"text-container"},n("slot",{name:"title"}),n("slot",{name:"message"}),n("slot",{name:"link"})))),u?this.renderCloseButton():null,n("div",{class:"footer",hidden:!t&&!b},this.renderActionsEnd(),b?this.renderQueueCount():null),g?this.renderCloseButton():null,i&&!h&&s?n("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return n("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},n("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"}))}renderQueueCount(){const t=m.numberFormatter.format(this.queueLength>2?this.queueLength-1:1);return n("div",{class:{"queue-count":!0,"queue-count--active":this.queueLength>1},key:"queue-count"},n("calcite-chip",{scale:this.scale,value:t},t))}renderActionsEnd(){return n("div",{class:"actions-end"},n("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return n("div",{class:"icon"},n("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:"l"===this.scale?"m":"s"}))}alertSync(t){this.queue!==t.detail.queue&&(this.queue=t.detail.queue),this.queueLength=this.queue.length,this.determineActiveAlert(),t.stopPropagation()}alertRegister(){this.open&&!this.queue.includes(this.el)&&(this.queued=!0,this.queue.push(this.el)),this.calciteInternalAlertSync.emit({queue:this.queue}),this.determineActiveAlert()}alertUnregister(t){const i=this.queue.filter((i=>i!==t.detail.alert));this.queue=i,window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:i}}))}async setFocus(){await d(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){w(this,this.effectiveLocale)}determineActiveAlert(){var t;(null===(t=this.queue)||void 0===t?void 0:t[0])===this.el&&(this.openAlert(),this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),j[this.autoCloseDuration])))}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout),this.queueTimeout=window.setTimeout((()=>this.queued=!1),300)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='/**\n * Do not edit directly\n * Generated on Thu, 11 May 2023 18:56:13 GMT\n */\n/* mixins & extensions */\n/* helper to properly scale internal durations */\n/**\n* Currently only used in Checkbox.\n*/\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component\'s tag as selector.\n*\n* @prop --calcite-alert-width: Specifies the width of the component.\n*/\n:host {\n --calcite-alert-edge-distance: 2rem;\n display: block;\n}\n\n.container {\n pointer-events: none;\n position: fixed;\n z-index: var(--calcite-app-z-index-toast);\n margin-inline: auto;\n margin-block: 0px;\n box-sizing: border-box;\n display: flex;\n inline-size: 100%;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n background-color: var(--calcite-ui-foreground-1);\n text-align: start;\n opacity: 0;\n --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n container: responsive-container/inline-size;\n border-radius: var(--calcite-border-radius);\n border-block-start: 0 solid transparent;\n border-inline: 1px solid var(--calcite-ui-border-3);\n border-block-end: 1px solid var(--calcite-ui-border-3);\n inline-size: var(--calcite-alert-width);\n max-inline-size: calc(100% - var(--calcite-alert-edge-distance) * 2);\n transition: var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;\n}\n.container--bottom, .container--top {\n inset-inline-end: 0;\n inset-inline-start: 0;\n}\n.container[class*=bottom] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), 0);\n inset-block-end: var(--calcite-alert-edge-distance);\n}\n.container[class*=top] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);\n inset-block-start: var(--calcite-alert-edge-distance);\n}\n.container[class*=start] {\n inset-inline-start: var(--calcite-alert-edge-distance);\n inset-inline-end: auto;\n}\n.container[class*=end] {\n inset-inline-end: var(--calcite-alert-edge-distance);\n inset-inline-start: auto;\n}\n\n.content {\n box-sizing: border-box;\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n padding-block: var(--calcite-alert-spacing-token-small);\n padding-inline: var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small);\n}\n\n.icon {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding: 0px;\n margin-block-end: var(--calcite-alert-spacing-token-large);\n margin-inline-end: auto;\n}\n\n.close {\n display: flex;\n cursor: pointer;\n align-items: flex-start;\n justify-content: flex-end;\n align-self: flex-start;\n border-style: none;\n background-color: transparent;\n color: var(--calcite-ui-text-3);\n outline: 2px solid transparent;\n outline-offset: 2px;\n -webkit-appearance: none;\n padding: var(--calcite-alert-spacing-token-large);\n outline-color: transparent;\n}\n.close:focus {\n outline: 2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));\n outline-offset: calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );\n}\n.close:hover, .close:focus {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n}\n.close:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.queue-count {\n visibility: hidden;\n display: flex;\n cursor: default;\n align-items: center;\n justify-content: space-around;\n align-self: stretch;\n overflow: hidden;\n background-color: var(--calcite-ui-foreground-1);\n text-align: center;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-2);\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n border-inline: 0 solid transparent;\n border-start-end-radius: 0;\n}\n.queue-count--active {\n visibility: visible;\n opacity: 1;\n}\n\n.dismiss-progress {\n position: absolute;\n display: block;\n inline-size: 100%;\n overflow: hidden;\n inset-inline: 0;\n inset-block-start: -2px;\n block-size: 2px;\n border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;\n}\n.dismiss-progress:after {\n position: absolute;\n inset-block-start: 0px;\n display: block;\n block-size: 2px;\n content: "";\n background-color: var(--calcite-alert-dismiss-progress-background);\n inset-inline-end: 0;\n}\n\n.actions-end {\n display: flex;\n align-self: stretch;\n}\n\n.text-container {\n display: flex;\n min-inline-size: 0px;\n flex: 1 1 0%;\n flex-direction: column;\n overflow-wrap: break-word;\n}\n\n.content-container {\n display: flex;\n flex: 1 1 0%;\n}\n\n.footer {\n position: relative;\n order: 1;\n display: flex;\n inline-size: 100%;\n justify-content: flex-end;\n padding-block-start: 1px;\n block-size: var(--calcite-alert-footer-height);\n}\n.footer:before {\n content: "";\n position: absolute;\n inset-block-start: 0px;\n inset-inline: var(--calcite-alert-footer-divider-gap);\n border-block-start: 1px solid var(--calcite-ui-border-3);\n}\n\n:host([scale=s]) {\n --calcite-alert-width: 40em;\n --calcite-alert-spacing-token-small: 0.5rem;\n --calcite-alert-spacing-token-large: 0.75rem;\n --calcite-alert-footer-height: 2rem;\n --calcite-alert-footer-divider-gap: 0.125rem;\n}\n:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n:host([scale=s]) .queue-count {\n margin-inline: 0.5rem;\n}\n:host([scale=s]) .container {\n --calcite-alert-min-height: 3.5rem;\n}\n\n:host([scale=m]) {\n --calcite-alert-width: 50em;\n --calcite-alert-spacing-token-small: 0.75rem;\n --calcite-alert-spacing-token-large: 1rem;\n --calcite-alert-footer-height: 3rem;\n --calcite-alert-footer-divider-gap: 0.25rem;\n}\n:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=m]) .queue-count {\n margin-inline: 0.75rem;\n}\n:host([scale=m]) .container {\n --calcite-alert-min-height: 4.1875rem;\n}\n\n:host([scale=l]) {\n --calcite-alert-width: 60em;\n --calcite-alert-spacing-token-small: 1rem;\n --calcite-alert-spacing-token-large: 1.25rem;\n --calcite-alert-footer-height: 4rem;\n --calcite-alert-footer-divider-gap: 0.5rem;\n}\n:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title]) {\n margin-block-end: 0.25rem;\n font-size: var(--calcite-font-size-1);\n line-height: 1.375;\n}\n:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=l]) .queue-count {\n margin-inline: 1rem;\n}\n:host([scale=l]) .container {\n --calcite-alert-min-height: 5.625rem;\n}\n\n:host([open]) .container:not(.container--queued) {\n border-block-start-width: 2px;\n opacity: 1;\n pointer-events: initial;\n}\n:host([open]) .container:not(.container--queued)[class*=bottom] {\n transform: translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);\n}\n:host([open]) .container:not(.container--queued)[class*=top] {\n transform: translate3d(0, var(--calcite-alert-edge-distance), inherit);\n}\n\n:host([auto-close]) > .queue-count {\n border-inline-end: 0 solid transparent;\n}\n\nslot[name=title]::slotted(*),\n*::slotted([slot=title]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n\nslot[name=message]::slotted(*),\n*::slotted([slot=message]) {\n margin: 0px;\n display: inline;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-2);\n margin-inline-end: 0.5rem;\n}\n\nslot[name=link]::slotted(*),\n*::slotted([slot=link]) {\n display: inline-flex;\n color: var(--calcite-ui-text-link);\n}\n\n:host([kind=brand]) .container {\n border-block-start-color: var(--calcite-ui-brand);\n}\n:host([kind=brand]) .container .icon {\n color: var(--calcite-ui-brand);\n}\n\n:host([kind=info]) .container {\n border-block-start-color: var(--calcite-ui-info);\n}\n:host([kind=info]) .container .icon {\n color: var(--calcite-ui-info);\n}\n\n:host([kind=danger]) .container {\n border-block-start-color: var(--calcite-ui-danger);\n}\n:host([kind=danger]) .container .icon {\n color: var(--calcite-ui-danger);\n}\n\n:host([kind=success]) .container {\n border-block-start-color: var(--calcite-ui-success);\n}\n:host([kind=success]) .container .icon {\n color: var(--calcite-ui-success);\n}\n\n:host([kind=warning]) .container {\n border-block-start-color: var(--calcite-ui-warning);\n}\n:host([kind=warning]) .container .icon {\n color: var(--calcite-ui-warning);\n}\n\n:host([auto-close-duration=fast]) .dismiss-progress:after {\n animation: dismissProgress 6000ms ease-out;\n}\n\n:host(:hover[auto-close-duration=fast]) .dismiss-progress:after {\n animation-play-state: paused;\n}\n\n:host([auto-close-duration=medium]) .dismiss-progress:after {\n animation: dismissProgress 10000ms ease-out;\n}\n\n:host(:hover[auto-close-duration=medium]) .dismiss-progress:after {\n animation-play-state: paused;\n}\n\n:host([auto-close-duration=slow]) .dismiss-progress:after {\n animation: dismissProgress 14000ms ease-out;\n}\n\n:host(:hover[auto-close-duration=slow]) .dismiss-progress:after {\n animation-play-state: paused;\n}\n\n@keyframes dismissProgress {\n 0% {\n inline-size: 0px;\n opacity: 0.75;\n }\n 100% {\n inline-size: 100%;\n opacity: 1;\n }\n}\n/**\n * Conditional styles for when Alert is slotted in Shell\n */\n.container--slotted-in-shell {\n position: absolute;\n}\n\n@container responsive-container (min-width: 476px) {\n .content {\n flex-direction: row;\n }\n .close {\n align-items: center;\n align-self: stretch;\n }\n .icon {\n justify-content: center;\n margin-inline-end: 0;\n margin-block: 0;\n padding-inline-end: var(--calcite-alert-spacing-token-large);\n }\n}\n@container responsive-container (min-width: 768px) {\n .close {\n align-self: stretch;\n }\n .footer {\n inline-size: auto;\n align-self: stretch;\n order: initial;\n block-size: inherit;\n }\n .footer:before {\n content: none;\n }\n .icon {\n padding-inline: var(--calcite-alert-spacing-token-large) 0;\n }\n}\n:host([hidden]) {\n display: none;\n}\n\n[hidden] {\n display: none;\n}\n\n:host([calcite-hydrated-hidden]) {\n visibility: hidden !important;\n pointer-events: none;\n}';const A=class{constructor(n){t(this,n),this.closeEdit=i(this,"closeEdit",7),this.editsComplete=i(this,"editsComplete",7),this._shouldClose=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}async graphicsWatchHandler(){0===this.graphics.length&&await this._closeEdit()}async openWatchHandler(t){var i;t&&(null===(i=this.graphics)||void 0===i?void 0:i.length)>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit()}async featureSelectionChange(){await this._closeEdit()}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){var t,i;(null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&(null===(i=this.graphics[0])||void 0===i?void 0:i.layer)&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit(),this._closeEdit()})))}render(){var t;const i=!((null===(t=this.graphics)||void 0===t?void 0:t.length)>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled),s=this._editorLoading?"display-none":"position-absolute",a=this._editorLoading?"":"display-none";return n(e,null,n("div",{class:"position-absolute"},i?n("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},n("div",{slot:"message"},this._translations.enableEditing)):void 0,n("div",{class:"position-absolute",slot:"content"},n("div",{class:s,id:"feature-form",ref:t=>this._editContainer=t}),n("calcite-loader",{class:a,scale:"s"}))))}async _initModules(){const[t,i]=await z(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await _(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:!1})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:i,visibleElements:{snappingControls:!1,sketchTooltipControls:!1},container:t}),this._editHandle&&this._attachmentHandle&&this._activeWorkflowHandle&&(this._editHandle.remove(),this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._editHandle=this.reactiveUtils.when((()=>"ready"===this._editor.viewModel.state),(()=>{this._shouldClose?this._closeEdit():this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&this._startUpdate()})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>{var t;return null===(t=this._editor.viewModel.activeWorkflow)||void 0===t?void 0:t.activeWorkflow}),(t=>{"update-table-record"!==(null==t?void 0:t.type)&&"create-features"!==(null==t?void 0:t.type)||(this._shouldClose=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(){var t,i,n;this._shouldClose=!0,(null===(t=this._editor)||void 0===t?void 0:t.activeWorkflow)&&await(null===(i=this._editor)||void 0===i?void 0:i.cancelWorkflow()),null===(n=this._editor)||void 0===n||n.destroy(),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await C(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};A.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-ui-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}";const E=class{constructor(n){t(this,n),this.selectionChanged=i(this,"selectionChanged",7),this.graphics=void 0,this.isLoading=!1,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._translations=void 0}async graphicsWatchHandler(){var t;if(this._features||await this._initFeaturesWidget(),this.graphics.length>0){const i=null===(t=this.graphics[0])||void 0===t?void 0:t.layer;this._editEnabled=i.editingEnabled&&i.capabilities.operations.supportsUpdate,this._features.open({features:this.graphics})}else this._features.clear(),this._features.close()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async closeEdit(){this._editRecordOpen=!1}async componentWillLoad(){await this._initModules(),await this._getTranslations()}render(){var t,i,s;const a=this.isLoading||this._editRecordOpen?"display-none":"position-absolute",o=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",l=!this.isLoading&&this._editRecordOpen?"display-none":"",r=(null===(i=null===(t=this._features)||void 0===t?void 0:t.features)||void 0===i?void 0:i.length)<2;return n(e,null,n("calcite-shell",null,n("calcite-loader",{class:this.isLoading?"":"display-none",label:this._translations.fetchingData}),n("div",{class:"esri-widget "+a,id:"features-node"}),n("div",{class:`${l} width-100`,slot:"footer"},n("div",{class:"display-flex top-border padding-1-2"},n("calcite-button",{appearance:"solid","icon-start":"pencil",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),n("calcite-tooltip",{label:"",placement:"bottom","reference-element":"solutions-edit"},n("span",null,this._translations.edit))),n("div",{class:"display-flex padding-1-2 button-container top-border"},n("div",{class:"min-width-100"},n("calcite-button",{appearance:"outline",disabled:r,id:"solutions-back",onClick:()=>this._back(),width:"full"},this._translations.back),n("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},n("span",null,this._translations.back))),n("div",null,this._getCount()),n("div",{class:"min-width-100"},n("calcite-button",{appearance:"outline",disabled:r,id:"solutions-next",onClick:()=>this._next(),width:"full"},this._translations.next),n("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-next"},n("span",null,this._translations.next))))),n("edit-card",{class:o,graphicIndex:null===(s=this._features)||void 0===s?void 0:s.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),n("calcite-alert",{icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},n("div",{slot:"title"},this._translations.editDisabled),n("div",{slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await z(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async _initFeaturesWidget(){return await this.mapView.when((()=>{this._features?this._features.view=this.mapView:(this._features=new this.Features({view:this.mapView,container:"features-node",visibleElements:{actionBar:!1,closeButton:!1,heading:!0}}),this.zoomAndScrollToSelected&&this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit(this._features.selectedFeature)})))}))}_alertClosed(){this._alertOpen=!1}_editRecordClosed(){this._editRecordOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){var t,i,n;const e=((null===(t=this._features)||void 0===t?void 0:t.viewModel.selectedFeatureIndex)+1).toString(),s=null===(n=null===(i=this._features)||void 0===i?void 0:i.features)||void 0===n?void 0:n.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",s)}async _getTranslations(){const t=await C(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};E.style=":host{display:block;--calcite-label-margin-bottom:0}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px}tr:nth-child(odd){background:var(--calcite-ui-foreground-2)}.bottom-border{padding-bottom:0.5rem;border-bottom:1px solid var(--calcite-ui-border-1)}.padding-1-2{padding:0.5rem}.padding-top-1-2{padding-top:0.5rem}.font-color-3{color:var(--calcite-ui-text-3)}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-features__footer{display:none !important}.button-container{justify-content:space-between;align-items:center}.top-border{border-top:1px solid var(--calcite-ui-border-1)}.min-width-100{min-width:100px}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-ui-foreground-1) !important;height:100% !important}";export{W as calcite_alert,A as edit_card,E as info_card}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as _}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var p={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(_){return _+"."}};_.locale(p,null,!0);export default p;
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as r}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var m={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(r){var m=r%10;return"["+r+(1===m||2===m?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};r.locale(m,null,!0);export default m;
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,f as s,h as e,H as a,g as o}from"./p-f1782b8c.js";import{g as r}from"./p-7d7e6744.js";import{a as c,e as d,t as n}from"./p-4b9ba22d.js";import{c as h,d as l,H as u}from"./p-bc965d47.js";import{g as p}from"./p-361b44ed.js";import{c as b,d as f,u as m}from"./p-2ee3afea.js";import{c as v,d as k,g as x}from"./p-f52ee45d.js";import{c as g,s as w,a as y}from"./p-49dc53cb.js";import"./p-3760847f.js";import"./p-86f482ca.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
- * v1.9.0
11
- */const z=class{constructor(s){t(this,s),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),s=t.find((t=>t.checked));return i===this.el&&!s},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:s}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let e=i;"rtl"===c(s)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const a=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let o=0;const d=a.length;switch(a.some(((t,i)=>{if(t.checked)return o=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(a,r(Math.max(o-1,-1),d));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(a,r(o+1,d));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hidden=!1,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}hiddenChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await g(this),this.disabled||d(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.hidden)return;const i=t.currentTarget,s=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);s&&(s.focused=!0,this.setFocus(),s.checked||(this.uncheckOtherRadioButtonsInGroup(),s.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{s(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${p()}`,this.name&&this.checkLastRadioButton(),b(this),v(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){w(this)}componentDidLoad(){y(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),k(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return e(a,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},e("div",{"aria-checked":n(this.checked),"aria-label":x(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},e("div",{class:"radio"})),e(u,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],disabled:["disabledChanged"],hidden:["hiddenChanged"],name:["nameChanged"]}}};z.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{z as calcite_radio_button}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as i,h as t,H as a,g as n}from"./p-f1782b8c.js";import{c as o,d as r}from"./p-640de6e2.js";import{f as s,g as c,t as l}from"./p-4b9ba22d.js";import{c as d,d as h,u as p}from"./p-2ee3afea.js";import{c as g,d as m}from"./p-bf9d3381.js";import{u,c as f,d as b,s as v}from"./p-27431aa6.js";import{H as x}from"./p-039ac222.js";import{c as k,s as y,a as w}from"./p-49dc53cb.js";import{o as j}from"./p-8a2ae571.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-34fb2a6e.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
- * v1.9.0
11
- */const z="content",C="toggle",B="header",L="icon",O="icon",H="control",q="header-menu-actions",D={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},M=class{constructor(t){e(this,t),this.calciteBlockBeforeClose=i(this,"calciteBlockBeforeClose",6),this.calciteBlockBeforeOpen=i(this,"calciteBlockBeforeOpen",6),this.calciteBlockClose=i(this,"calciteBlockClose",6),this.calciteBlockOpen=i(this,"calciteBlockOpen",6),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.openTransitionProp="opacity",this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.setTransitionEl=e=>{this.transitionEl=e},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){j(this)}onMessagesChange(){}async setFocus(){await k(this),s(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){u(this,this.effectiveLocale)}connectedCallback(){o(this),d(this),g(this),f(this)}disconnectedCallback(){h(this),m(this),b(this),r(this)}async componentWillLoad(){await v(this),y(this),this.open&&j(this)}componentDidLoad(){w(this)}componentDidRender(){p(this)}renderScrim(){const{loading:e}=this,i=t("slot",null);return[e?t("calcite-scrim",{loading:e}):null,i]}renderIcon(){const{loading:e,messages:i,status:a}=this,n=!!c(this.el,O);return e?t("div",{class:L,key:"loader"},t("calcite-loader",{inline:!0,label:i.loading})):a?t("div",{class:L,key:"status-icon"},t("calcite-icon",{class:{"status-icon":!0,valid:"valid"==a,invalid:"invalid"==a},icon:D[a],scale:"s"})):n?t("div",{class:L,key:"icon-slot"},t("slot",{key:"icon-slot",name:O})):null}renderTitle(){const{heading:e,headingLevel:i,description:a}=this;return e||a?t("div",{class:"title"},t(x,{class:"heading",level:i},e),a?t("div",{class:"description"},a):null):null}render(){const{collapsible:e,el:i,loading:n,open:o,messages:r}=this,s=o?r.collapse:r.expand,d=t("header",{class:"header",id:B},this.renderIcon(),this.renderTitle()),h=!!c(i,H),p=!!c(i,q),g=o?D.opened:D.closed,m=t("div",{class:"header-container"},this.dragHandle?t("calcite-handle",null):null,e?t("button",{"aria-controls":z,"aria-describedby":B,"aria-expanded":e?l(o):null,class:"toggle",id:C,onClick:this.onHeaderClick,title:s},d,h||p?null:t("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:g,scale:"s"})):d,h?t("div",{class:"control-container"},t("slot",{name:H})):null,p?t("calcite-action-menu",{label:r.options},t("slot",{name:q})):null);return t(a,null,t("article",{"aria-busy":l(n),class:{container:!0}},m,t("section",{"aria-labelledby":C,class:"content",hidden:!o,id:z,ref:this.setTransitionEl},this.renderScrim())))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};M.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}: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-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([hidden]){display:none}[hidden]{display:none}';export{M as calcite_block}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{d as e}from"./p-788f3c1c.js";import"./p-f1782b8c.js";import"./p-bc965d47.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-49dc53cb.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-27431aa6.js";import"./p-8a2ae571.js";var r={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export default r;
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{h as t,r as i,c as s,H as e,g as a}from"./p-f1782b8c.js";import{c as n,d as o,H as r}from"./p-bc965d47.js";import{g as h}from"./p-361b44ed.js";import{c as l,d as c,u as d}from"./p-2ee3afea.js";import{c as p,d as u}from"./p-f52ee45d.js";import{s as m,a as f,c as v}from"./p-49dc53cb.js";import{c as b,d as g}from"./p-bf9d3381.js";import{u as y,c as w,s as k,d as x}from"./p-27431aa6.js";import{f as j}from"./p-4b9ba22d.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-efc041d0.js";import"./p-3760847f.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
- * v1.9.0
11
- */const z=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),C=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${h()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){l(this),b(this),w(this),p(this),n(this)}async componentWillLoad(){await k(this),m(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){f(this)}disconnectedCallback(){c(this),g(this),x(this),u(this),o(this)}componentDidRender(){d(this)}render(){var i,s;return t(e,{onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t("span",{class:"wrapper"},t("fieldset",{class:"fieldset",disabled:this.disabled},t("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:h,tabIndex:l})=>t("label",{class:{star:!0,selected:r,hovered:a,average:i,partial:o},"data-value":h,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,tabIndex:l,ref:this.setLabelEl},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:h}),t(z,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(z,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${h}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:null===(i=this.count)||void 0===i?void 0:i.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",null===(s=this.count)||void 0===s?void 0:s.toString(),")")):null),t(r,{component:this})))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await v(this),j(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};C.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.star:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{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}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{C as calcite_rating}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{n,b as e,i as t,e as r}from"./p-bf9d3381.js";import{d as u}from"./p-2f9bab49.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
- * v1.9.0
11
- */const i=5;function o(n,t,u=!0,i){const o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:r(t)};return u&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),e(n,o)}function a(n,e){if(null==n)return;const t=n.toString(),r=u(n);if(n<1&&r>0&&r<4){const n=t.replace("0.","");return e&&n.length!==e&&n.length<e?n.padEnd(e,"0"):n}return n>=0&&n<10?t.padStart(2,"0"):n>=10?t:void 0}function l(n){if(!p(n))return null;const{hour:e,minute:t,second:r,fractionalSecond:u}=b(n);let i=`${a(parseInt(e))}:${a(parseInt(t))}`;return r&&(i+=`:${a(parseInt(r))}`,u&&(i+=`.${u}`)),i}function c(n,e){return d("meridiem",o(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function s(e,t){return n.numberFormatOptions={locale:e,numberingSystem:t},n.localize("1.1").split("")[1]}function f(n,e,t="latn"){return d(`${n}Suffix`,o(e,t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))}function d(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function m(n){if(!t(n))return null;const e=parseInt(n);return e>=0&&e<=11?"AM":"PM"}function p(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const e=n.split(":");if(!(e.length>1&&e.length<4))return!1;const[r,u,i]=e,o=parseInt(e[0]),a=parseInt(e[1]),l=parseInt(e[2]),c=t(r)&&o>=0&&o<24,s=t(u)&&a>=0&&a<60,f=t(i)&&l>=0&&l<60;return!!(c&&s&&!i||c&&s&&f)||void 0}function S({value:e,part:r,locale:u,numberingSystem:i}){if("fractionalSecond"===r){const t=s(u,i);let r=null;if(e){n.numberFormatOptions={locale:u,numberingSystem:i};const o=n.localize("0");0===parseInt(e)?r="".padStart(e.length,o):(r=n.localize(`0.${e}`).replace(`${o}${t}`,""),r.length<e.length&&(r=r.padEnd(e.length,o)))}return r}if(!function(n,e){if("meridiem"===e)return"AM"===n||"PM"===n;if(!t(n))return!1;const r=Number(n);return"hour"===e?r>=0&&r<24:r>=0&&r<60}(e,r))return;const a=parseInt(e),l=new Date(Date.UTC(0,0,0,"hour"===r?a:"meridiem"===r?"AM"===e?0:12:0,"minute"===r?a:0,"second"===r?a:0));return l?d(r,o(u,i).formatToParts(l)):void 0}function I({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0,fractionalSecondDigits:u}){if(!p(n))return null;const{hour:i,minute:a,second:l="0",fractionalSecond:c}=b(n),s=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(a),parseInt(l),c&&parseInt((parseFloat(`0.${c}`)/.001).toFixed(3))));return o(e,t,r,u).format(s)||null}function h({value:n,locale:e,numberingSystem:t="latn"}){if(!p(n))return null;const{hour:r,minute:u,second:i="0",fractionalSecond:a}=b(n),l=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));if(l){const n=o(e,t).formatToParts(l);return{localizedHour:d("hour",n),localizedHourSuffix:d("hourSuffix",n),localizedMinute:d("minute",n),localizedMinuteSuffix:d("minuteSuffix",n),localizedSecond:d("second",n),localizedDecimalSeparator:s(e,t),localizedFractionalSecond:S({value:a,part:"fractionalSecond",locale:e,numberingSystem:t}),localizedSecondSuffix:d("secondSuffix",n),localizedMeridiem:d("meridiem",n)}}return null}function y({value:n,locale:e,numberingSystem:t}){if(!p(n))return null;const{hour:r,minute:u,second:i="0"}=b(n),a=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));return a?o(e,t).formatToParts(a):null}function b(n){if(p(n)){const[e,t,r]=n.split(":");let u=r,i=null;return r?.includes(".")&&([u,i]=r.split(".")),{fractionalSecond:i,hour:e,minute:t,second:u}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function D(n,e=!0){if(!p(n))return"";const{hour:t,minute:r,second:u,fractionalSecond:i}=b(n);let o=`${a(parseInt(t))}:${a(parseInt(r))}`;return e&&(o+=`:${a(parseInt(e&&u||"0"))}`,i&&(o+=`.${i}`)),o}export{a,h as b,y as c,f as d,s as e,l as f,m as g,S as h,p as i,c as j,I as l,i as m,b as p,D as t}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as i,h as s,g as e}from"./p-f1782b8c.js";import{g as a}from"./p-4b9ba22d.js";import{c as n,d as h,u as o}from"./p-2ee3afea.js";import{c as l,d as c,g as r}from"./p-f52ee45d.js";import{s as d,a as p,c as b}from"./p-49dc53cb.js";import{c as u,d as f}from"./p-bf9d3381.js";import{c as v}from"./p-efc041d0.js";import{c as m,s as g,d as y,u as w}from"./p-27431aa6.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-34fb2a6e.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
- * v1.9.0
11
- */const k=class{constructor(s){t(this,s),this.calciteInlineEditableEditCancel=i(this,"calciteInlineEditableEditCancel",6),this.calciteInlineEditableEditConfirm=i(this,"calciteInlineEditableEditConfirm",6),this.calciteInternalInlineEditableEnableEditingChange=i(this,"calciteInternalInlineEditableEnableEditingChange",6),this.mutationObserver=v("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{var t,i;this.valuePriorToEditing=null===(t=this.inputElement)||void 0===t?void 0:t.value,this.editingEnabled=!0,null===(i=this.inputElement)||void 0===i||i.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{var i;t.defaultPrevented||("Escape"===t.key&&(t.preventDefault(),this.cancelEditing()),"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),null===(i=this.inputElement)||void 0===i||i.setFocus())))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}},this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.scale=void 0,this.afterConfirm=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,i){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&i&&(this.shouldEmitCancel=!0)}onMessagesChange(){}connectedCallback(){var t;n(this),l(this),u(this),m(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.mutationObserverCallback()}async componentWillLoad(){d(this),await g(this)}componentDidLoad(){p(this)}disconnectedCallback(){var t;h(this),c(this),f(this),y(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentDidRender(){o(this)}render(){return s("div",{class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},s("div",{class:"input-wrapper"},s("slot",null)),s("div",{class:"controls-wrapper"},s("calcite-button",{appearance:"transparent",class:"enable-editing-button",disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button",ref:t=>this.enableEditingButton=t}),this.shouldShowControls&&[s("div",{class:"cancel-editing-button-wrapper"},s("calcite-button",{appearance:"transparent",class:"cancel-editing-button",disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,scale:this.scale,type:"button",ref:t=>this.cancelEditingButton=t})),s("calcite-button",{appearance:"solid",class:"confirm-changes-button",disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,scale:this.scale,type:"button",ref:t=>this.confirmEditingButton=t})]))}blurHandler(){this.controls||this.disableEditing()}effectiveLocaleChange(){w(this,this.effectiveLocale)}async setFocus(){var t;await b(this),null===(t=this.el)||void 0===t||t.focus()}mutationObserverCallback(){var t;this.updateSlottedInput(),this.scale=this.scale||(null===(t=this.inputElement)||void 0===t?void 0:t.scale)}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=a(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||r(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_inline_editable}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as t,c as e,h as s,H as i,g as o}from"./p-f1782b8c.js";import{a}from"./p-4b9ba22d.js";import{c as l,u as c,d as n}from"./p-2ee3afea.js";import{s as r,a as d,c as h}from"./p-49dc53cb.js";import{c as p,d as b}from"./p-bf9d3381.js";import{c as m,s as f,d as u,u as g}from"./p-27431aa6.js";import{S as v}from"./p-024ff2f9.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-efc041d0.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
- * v1.9.0
11
- */const w=class{constructor(s){t(this,s),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handlePanelScroll=t=>{t.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=t=>{t.stopPropagation(),this.calciteFlowItemClose.emit()},this.handlePanelToggle=t=>{t.stopPropagation(),this.calciteFlowItemToggle.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),p(this),m(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){c(this)}disconnectedCallback(){n(this),b(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){var e;await(null===(e=this.containerEl)||void 0===e?void 0:e.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===a(t),{showBackButton:i,backButtonClick:o,messages:l}=this,c=l.back;return i?s("calcite-action",{"aria-label":c,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:c,title:c,ref:this.setBackRef}):null}render(){const{collapsed:t,collapseDirection:e,collapsible:o,closable:a,closed:l,description:c,disabled:n,heading:r,headingLevel:d,loading:h,menuOpen:p,messages:b}=this;return s(i,null,s("calcite-panel",{closable:a,closed:l,collapseDirection:e,collapsed:t,collapsible:o,description:c,disabled:n,heading:r,headingLevel:d,loading:h,menuOpen:p,messageOverrides:b,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,onCalcitePanelToggle:this.handlePanelToggle,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_flow_item}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as i,h as t,F as s,g as a}from"./p-f1782b8c.js";import{c as n,d as o}from"./p-640de6e2.js";import{g as r}from"./p-4b9ba22d.js";import{c as l,d as c}from"./p-bf9d3381.js";import{u as d,c as h,s as p,d as m}from"./p-27431aa6.js";import{H as g,c as f}from"./p-039ac222.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.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
- * v1.9.0
11
- */const u="thumbnail",v=class{constructor(t){e(this,t),this.calciteTipDismiss=i(this,"calciteTipDismiss",6),this.hideTip=()=>{this.closed=!0,this.calciteTipDismiss.emit()},this.closed=!1,this.closeDisabled=!1,this.heading=void 0,this.headingLevel=void 0,this.selected=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){n(this),l(this),h(this)}async componentWillLoad(){await p(this)}disconnectedCallback(){o(this),c(this),m(this)}renderHeader(){var e;const{heading:i,headingLevel:s,el:a}=this,n=null===(e=a.closest("calcite-tip-manager"))||void 0===e?void 0:e.headingLevel,o=n?f(n+1):null;return i?t("header",{class:"header"},t(g,{class:"heading",level:s||o},i)):null}renderDismissButton(){const{closeDisabled:e,hideTip:i}=this;return e?null:t("calcite-action",{class:"close",icon:"x",onClick:i,scale:"l",text:this.messages.close})}renderImageFrame(){const{el:e}=this;return r(e,u)?t("div",{class:"image-frame",key:"thumbnail"},t("slot",{name:u})):null}renderInfoNode(){return t("div",{class:"info"},t("slot",null))}renderContent(){return t("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return t(s,null,t("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};v.style=":host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_tip}
@@ -1,12 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{r as e,c as t,h as r,H as a,g as i,F as o}from"./p-f1782b8c.js";import{c as s,h as n,f as c,i as d,j as l,n as h,p as g,k as u,l as p}from"./p-024c2016.js";import{c as v,a as f,t as w}from"./p-4b9ba22d.js";import{c as y,u as b,d as x}from"./p-2ee3afea.js";import{i as m}from"./p-34fb2a6e.js";import{n as k}from"./p-bf9d3381.js";import{C as z}from"./p-3760847f.js";import{H as D}from"./p-039ac222.js";import"./p-361b44ed.js";import"./p-86f482ca.js";import"./p-efc041d0.js";const j=class{constructor(r){e(this,r),this.calciteDaySelect=t(this,"calciteDaySelect",6),this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6),this.onClick=()=>{this.disabled||this.calciteDaySelect.emit()},this.keyDownHandler=e=>{m(e.key)&&(!this.disabled&&this.calciteDaySelect.emit(),e.preventDefault())},this.day=void 0,this.dateTimeFormat=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.rangeEdge=void 0,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}componentWillLoad(){this.parentDatePickerEl=v(this.el,"calcite-date-picker")}render(){const e=s(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;k.numberFormatOptions=Object.assign(Object.assign({useGrouping:!1},e&&{numberingSystem:e}),t&&{locale:t})}const t=k.localize(String(this.day)),i=f(this.el),o=this.dateTimeFormat.format(this.value);return r(a,{"aria-disabled":w(this.disabled),"aria-label":o,"aria-selected":w(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button"},r("div",{"aria-hidden":"true",class:{"day-v-wrapper":!0,[z.rtl]:"rtl"===i}},r("div",{class:"day-wrapper"},r("span",{class:"day"},r("span",{class:"text"},t)))))}connectedCallback(){y(this)}componentDidRender(){b(this,this.isTabbable)}disconnectedCallback(){x(this)}isTabbable(){return this.active}get el(){return i(this)}};j.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;cursor:pointer;color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--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(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--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(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--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(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=s][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=start]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=end]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=end]) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted][range-edge=start]) .day-wrapper,:host([range-hover][range-edge=start]) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted][range-edge=end]) .day-wrapper,:host([range-hover][range-edge=end]) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover][range-edge=end]) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted][range-edge=start]) .calcite--rtl .day-wrapper,:host([scale=l][range-hover][range-edge=start]) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}";const C=class{constructor(r){e(this,r),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=e=>{if(e.defaultPrevented)return;const t="rtl"===this.el.dir;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7);break;case"ArrowRight":e.preventDefault(),this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault(),this.addDays(7);break;case"ArrowLeft":e.preventDefault(),this.addDays(t?1:-1);break;case"PageUp":e.preventDefault(),this.addMonths(-1);break;case"PageDown":e.preventDefault(),this.addMonths(1);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=e=>{const t=e.target;t.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(t.value),e.stopPropagation()},this.daySelect=e=>{this.calciteInternalDatePickerSelect.emit(e.target.value)},this.dateTimeFormat=void 0,this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth(),t=this.activeDate.getFullYear(),i=this.localeData.weekStart%7,{abbreviated:o,short:s,narrow:c}=this.localeData.days,d="s"===this.scale?c||s||o:s||o||c,l=[...d.slice(i,7),...d.slice(0,i)],h=this.getCurrentMonthDays(e,t),g=this.getPreviousMonthDays(e,t,i),u=this.getNextMonthDays(e,t,i);let p=0;const v=()=>p++%7,f=[...g.map((r=>({active:!1,day:r,dayInWeek:v(),date:new Date(t,e-1,r)}))),...h.map((r=>{const a=new Date(t,e,r);return{active:n(a,this.activeDate),currentMonth:!0,day:r,dayInWeek:v(),date:a,ref:!0}})),...u.map((r=>({active:!1,day:r,dayInWeek:v(),date:new Date(t,e+1,r)})))],w=[];for(let e=0;e<f.length;e+=7)w.push(f.slice(e,e+7));return r(a,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},r("div",{class:"calendar",role:"grid"},r("div",{class:"week-headers",role:"row"},l.map((e=>r("span",{class:"week-header",role:"columnheader"},e)))),w.map((e=>r("div",{class:"week-days",role:"row"},e.map((e=>this.renderDateDay(e))))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e),this.calciteInternalDatePickerActiveDateChange.emit(c(t,this.min,this.max)),this.activeFocus=!0}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e),this.calciteInternalDatePickerActiveDateChange.emit(c(t,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(e,t,r){const a=new Date(t,e,0),i=a.getDate(),o=a.getDay(),s=[];if(o===(r+6)%7)return s;if(o===r)return[i];for(let e=(7+o-r)%7;e>=0;e--)s.push(i-e);return s}getCurrentMonthDays(e,t){const r=new Date(t,e+1,0).getDate(),a=[];for(let e=0;e<r;e++)a.push(e+1);return a}getNextMonthDays(e,t,r){const a=new Date(t,e+1,0).getDay(),i=[];if(a===(r+6)%7)return i;for(let e=0;e<(6-(a-r))%7;e++)i.push(e+1);return i}betweenSelectedRange(e){return!(!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate)||this.isRangeHover(e))}isSelected(e){return!!(n(e,this.selectedDate)||this.startDate&&n(e,this.startDate)||this.endDate&&n(e,this.endDate))}isStartOfRange(e){return!(!this.startDate||n(this.startDate,this.endDate)||!n(this.startDate,e)||this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!n(this.startDate,this.endDate)&&n(this.endDate,e)||!this.endDate&&this.hoverRange&&n(this.startDate,this.hoverRange.end)&&n(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:a,day:i,dayInWeek:o,ref:s}){var c;const l=this.isFocusedOnStart(),h=this.isHoverInRange()||!this.endDate&&this.hoverRange&&n(null===(c=this.hoverRange)||void 0===c?void 0:c.end,this.startDate);return r("div",{class:"day",key:a.toDateString(),role:"gridcell"},r("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&h,"hover--outside-range":this.startDate&&!h,"focused--start":l,"focused--end":!l},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:i,disabled:!d(a,this.min,this.max),endOfRange:this.isEndOfRange(a),highlighted:this.betweenSelectedRange(a),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!n(this.startDate,this.endDate),rangeEdge:0===o?"start":6===o?"end":void 0,rangeHover:this.isRangeHover(a),scale:this.scale,selected:this.isSelected(a),startOfRange:this.isStartOfRange(a),value:a,ref:t=>{s&&e&&this.activeFocus&&(null==t||t.focus())}}))}isFocusedOnStart(){var e;return"start"===(null===(e=this.hoverRange)||void 0===e?void 0:e.focused)}isHoverInRange(){if(!this.hoverRange)return!1;const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange)return!1;const{start:t,end:r}=this.hoverRange,a=this.isFocusedOnStart(),i=this.isHoverInRange(),o=i&&(!a&&e>this.startDate&&(e<r||n(e,r))||a&&e<this.endDate&&(e>t||n(e,t))),s=!i&&(!a&&e>=this.endDate&&(e<r||n(e,r))||a&&(this.startDate&&e<this.startDate||this.endDate&&n(e,this.startDate))&&(t&&e>t||n(e,t)));return o||s}get el(){return i(this)}};C.style=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:flex;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";
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
- * v1.9.0
11
- */
12
- const I="chevron",O=class{constructor(r){e(this,r),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1})}},this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})},this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})},this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)},this.prevMonthKeydown=e=>{m(e.key)&&this.prevMonthClick(e)},this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)},this.nextMonthKeydown=e=>{m(e.key)&&this.nextMonthClick(e)},this.handleArrowClick=(e,t)=>{e.preventDefault(),this.calciteInternalDatePickerSelect.emit(t)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=v(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return r("div",{class:"header"},this.renderContent())}renderContent(){var e;const{messages:t,localeData:a,activeDate:i}=this;if(!i||!a)return null;if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;k.numberFormatOptions=Object.assign(Object.assign({useGrouping:!1},e&&{numberingSystem:e}),t&&{locale:t})}const s=i.getMonth(),{months:n,unitOrder:c}=a,d=(n.wide||n.narrow||n.abbreviated)[s],h=this.formatCalendarYear(i.getFullYear()),g="l"===this.scale?"m":"s",u=l(c),p=u.indexOf("y")<u.indexOf("m"),v=null===(e=a.year)||void 0===e?void 0:e.suffix;return r(o,null,r("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===s}`,"aria-label":t.prevMonth,class:I,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===s?-1:0},r("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:g})),r("div",{class:{text:!0,"text--reverse":p}},r(D,{class:"month",level:this.headingLevel},d),r("span",{class:"year-wrap"},r("input",{"aria-label":t.year,class:{year:!0,"year--suffix":!!v},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",type:"text",value:h,ref:e=>this.yearInput=e}),v&&r("span",{class:"suffix"},v))),r("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===s}`,"aria-label":t.nextMonth,class:I,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===s?-1:0},r("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:g})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=c(h(this.activeDate),this.min,this.max),this.prevMonthDate=c(g(this.activeDate),this.min,this.max))}formatCalendarYear(e){return k.localize(`${u(e,this.localeData)}`)}parseCalendarYear(e){return k.localize(`${p(Number(k.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:r,max:a,activeDate:i}=this,o=Number(k.delocalize(e)),s=o.toString().length,n=!isNaN(o)&&o+t,d=n&&(!r||r.getFullYear()<=n)&&(!a||a.getFullYear()>=n);if(n&&d&&s===e.length){const e=new Date(i);return e.setFullYear(n),c(e,r,a)}}setYear({localizedYear:e,commit:t=!0,offset:r=0}){const{yearInput:a,activeDate:i}=this,o=this.getInRangeDate({localizedYear:e,offset:r});o&&this.calciteInternalDatePickerSelect.emit(o),t&&(a.value=this.formatCalendarYear((o||i).getFullYear()))}get el(){return i(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};O.style=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";export{j as calcite_date_picker_day,C as calcite_date_picker_month,O as calcite_date_picker_month_header}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- /*!
7
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
9
- * v1.9.0
10
- */
11
- const n=/^[0-9A-F]$/i,r=/^#[0-9A-F]{3}$/i,t=/^#[0-9A-F]{6}$/i,e=/^#[0-9A-F]{4}$/i,s=/^#[0-9A-F]{8}$/i,u=n=>Number((100*n).toFixed()),a=n=>Number((n/100).toFixed(2));function i(n,r=!1){return c(n,r)||o(n,r)}function f(n,r,t){return!!n&&n.length===r&&t.test(n)}function c(n,t=!1){return f(n,t?5:4,t?e:r)}function o(n,r=!1){return f(n,r?9:7,r?s:t)}function $(n,r=!1,t=!1){return(n=n.toLowerCase()).startsWith("#")||(n=`#${n}`),c(n,r)?h(S(n,r)):r&&t&&i(n,!1)?h(S(`${n}${c(n,!1)?"f":"ff"}`,!0)):n}function l(n,r=!1){return r?n.hexa():n.hex()}function h(n){const{r,g:t,b:e}=n;return`#${b(r)}${b(t)}${b(e)}${"a"in n?b(255*n.a):""}`.toLowerCase()}function b(n){return n.toString(16).padStart(2,"0")}function g(n){const r={...n,a:n.alpha??1};return delete r.alpha,r}function p(n){const r={...n,alpha:n.a??1};return delete r.a,r}function S(n,r=!1){if(!i(n,r))return null;let t,e,s,u;if(3===(n=n.replace("#","")).length||4===n.length){const[r,a,i,f]=n.split("");t=parseInt(`${r}${r}`,16),e=parseInt(`${a}${a}`,16),s=parseInt(`${i}${i}`,16),u=parseInt(`${f}${f}`,16)/255}else t=parseInt(n.slice(0,2),16),e=parseInt(n.slice(2,4),16),s=parseInt(n.slice(4,6),16),u=parseInt(n.slice(6,8),16)/255;return isNaN(u)?{r:t,g:e,b:s}:{r:t,g:e,b:s,a:u}}const A={HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"},I="rgb",C="rgba",F="hsl",H="hsla",N="hsv",_="hsva";function d(n){if("string"==typeof n){if(n.startsWith("#")){const{length:r}=n;if(4===r||7===r)return A.HEX;if(5===r||9===r)return A.HEXA}if(n.startsWith("rgba("))return A.RGBA_CSS;if(n.startsWith("rgb("))return A.RGB_CSS;if(n.startsWith("hsl("))return A.HSL_CSS;if(n.startsWith("hsla("))return A.HSLA_CSS}if("object"==typeof n){if(v(n,"r","g","b"))return v(n,"a")?C:I;if(v(n,"h","s","l"))return v(n,"a")?H:F;if(v(n,"h","s","v"))return v(n,"a")?_:N}return null}function v(n,...r){return r.every((r=>r&&n&&`${r}`in n))}function x(n,r){return n?.rgb().array().toString()===r?.rgb().array().toString()}function j(n){return n===A.HEXA||n===A.RGBA_CSS||n===A.HSLA_CSS||n===C||n===H||n===_}function m(n){return n===A.HEX?A.HEXA:n===A.RGB_CSS?A.RGBA_CSS:n===A.HSL_CSS?A.HSLA_CSS:n===I?C:n===F?H:n===N?_:n}function y(n){return n===A.HEXA?A.HEX:n===A.RGBA_CSS?A.RGB_CSS:n===A.HSLA_CSS?A.HSL_CSS:n===C?I:n===H?F:n===_?N:n}export{A as C,u as a,j as b,x as c,g as d,m as e,p as f,S as g,l as h,i,o as j,n as k,$ as n,a as o,d as p,h as r,y as t}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{c as t}from"./p-e1a4994d.js";var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=t((function(t){var e=Array.prototype.concat,n=Array.prototype.slice,r=t.exports=function(t){for(var r,s=[],o=0,a=t.length;o<a;o++){var i=t[o];(r=i)&&"string"!=typeof r&&(r instanceof Array||Array.isArray(r)||r.length>=0&&(r.splice instanceof Function||Object.getOwnPropertyDescriptor(r,r.length-1)&&"String"!==r.constructor.name))?s=e.call(s,n.call(i)):s.push(i)}return s};r.wrap=function(t){return function(){return t(r(arguments))}}})),r=t((function(t){var r=Object.hasOwnProperty,s=Object.create(null);for(var o in e)r.call(e,o)&&(s[e[o]]=o);var a=t.exports={to:{},get:{}};function i(t,e,n){return Math.min(Math.max(e,t),n)}function l(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}a.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=a.get.hsl(t),n="hsl";break;case"hwb":e=a.get.hwb(t),n="hwb";break;default:e=a.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},a.get.rgb=function(t){if(!t)return null;var n,s,o,a=[0,0,0,1];if(n=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=n[2],n=n[1],s=0;s<3;s++){var l=2*s;a[s]=parseInt(n.slice(l,l+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(n=t.match(/^#([a-f0-9]{3,4})$/i)){for(o=(n=n[1])[3],s=0;s<3;s++)a[s]=parseInt(n[s]+n[s],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(n=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(s=0;s<3;s++)a[s]=parseInt(n[s+1],0);n[4]&&(a[3]=n[5]?.01*parseFloat(n[4]):parseFloat(n[4]))}else{if(!(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(n=t.match(/^(\w+)$/))?"transparent"===n[1]?[0,0,0,0]:r.call(e,n[1])?((a=e[n[1]])[3]=1,a):null:null;for(s=0;s<3;s++)a[s]=Math.round(2.55*parseFloat(n[s+1]));n[4]&&(a[3]=n[5]?.01*parseFloat(n[4]):parseFloat(n[4]))}for(s=0;s<3;s++)a[s]=i(a[s],0,255);return a[3]=i(a[3],0,1),a},a.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,i(parseFloat(e[2]),0,100),i(parseFloat(e[3]),0,100),i(isNaN(n)?1:n,0,1)]}return null},a.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,i(parseFloat(e[2]),0,100),i(parseFloat(e[3]),0,100),i(isNaN(n)?1:n,0,1)]}return null},a.to.hex=function(){var t=n(arguments);return"#"+l(t[0])+l(t[1])+l(t[2])+(t[3]<1?l(Math.round(255*t[3])):"")},a.to.rgb=function(){var t=n(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},a.to.rgb.percent=function(){var t=n(arguments),e=Math.round(t[0]/255*100),r=Math.round(t[1]/255*100),s=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+r+"%, "+s+"%)":"rgba("+e+"%, "+r+"%, "+s+"%, "+t[3]+")"},a.to.hsl=function(){var t=n(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},a.to.hwb=function(){var t=n(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},a.to.keyword=function(t){return s[t.slice(0,3)]}}));const s={};for(const t of Object.keys(e))s[e[t]]=t;const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var a=o;for(const t of Object.keys(o)){if(!("channels"in o[t]))throw new Error("missing channels property: "+t);if(!("labels"in o[t]))throw new Error("missing channel labels property: "+t);if(o[t].labels.length!==o[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=o[t];delete o[t].channels,delete o[t].labels,Object.defineProperty(o[t],"channels",{value:e}),Object.defineProperty(o[t],"labels",{value:n})}function i(t,e){return function(n){return e(t(n))}}function l(t,e){const n=[e[t].parent,t];let r=a[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)n.unshift(e[s].parent),r=i(a[e[s].parent][s],r),s=e[s].parent;return r.conversion=n,r}o.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(e,n,r),o=Math.max(e,n,r),a=o-s;let i,l;o===s?i=0:e===o?i=(n-r)/a:n===o?i=2+(r-e)/a:r===o&&(i=4+(e-n)/a),i=Math.min(60*i,360),i<0&&(i+=360);const c=(s+o)/2;return l=o===s?0:c<=.5?a/(o+s):a/(2-o-s),[i,100*l,100*c]},o.rgb.hsv=function(t){let e,n,r,s,o;const a=t[0]/255,i=t[1]/255,l=t[2]/255,c=Math.max(a,i,l),u=c-Math.min(a,i,l),h=function(t){return(c-t)/6/u+.5};return 0===u?(s=0,o=0):(o=u/c,e=h(a),n=h(i),r=h(l),a===c?s=r-n:i===c?s=1/3+e-r:l===c&&(s=2/3+n-e),s<0?s+=1:s>1&&(s-=1)),[360*s,100*o,100*c]},o.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const s=o.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[s,100*a,100*r]},o.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(1-e,1-n,1-r);return[100*((1-e-s)/(1-s)||0),100*((1-n-s)/(1-s)||0),100*((1-r-s)/(1-s)||0),100*s]},o.rgb.keyword=function(t){const n=s[t];if(n)return n;let r,o=1/0;for(const n of Object.keys(e)){const s=((a=t)[0]-(i=e[n])[0])**2+(a[1]-i[1])**2+(a[2]-i[2])**2;s<o&&(o=s,r=n)}var a,i;return r},o.keyword.rgb=function(t){return e[t]},o.rgb.xyz=function(t){let e=t[0]/255,n=t[1]/255,r=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*e+.3576*n+.1805*r),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},o.rgb.lab=function(t){const e=o.rgb.xyz(t);let n=e[0],r=e[1],s=e[2];return n/=95.047,r/=100,s/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,[116*r-16,500*(n-r),200*(r-s)]},o.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100;let s,o,a;if(0===n)return a=255*r,[a,a,a];s=r<.5?r*(1+n):r+n-r*n;const i=2*r-s,l=[0,0,0];for(let t=0;t<3;t++)o=e+1/3*-(t-1),o<0&&o++,o>1&&o--,a=6*o<1?i+6*(s-i)*o:2*o<1?s:3*o<2?i+(s-i)*(2/3-o)*6:i,l[t]=255*a;return l},o.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,r=t[2]/100,s=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,s*=o<=1?o:2-o,[e,100*(0===r?2*s/(o+s):2*n/(r+n)),(r+n)/2*100]},o.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let r=t[2]/100;const s=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),i=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,s){case 0:return[r,l,a];case 1:return[i,r,a];case 2:return[a,r,l];case 3:return[a,i,r];case 4:return[l,a,r];case 5:return[r,a,i]}},o.hsv.hsl=function(t){const e=t[0],n=t[1]/100,r=t[2]/100,s=Math.max(r,.01);let o,a;a=(2-n)*r;const i=(2-n)*s;return o=n*s,o/=i<=1?i:2-i,o=o||0,a/=2,[e,100*o,100*a]},o.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,r=t[2]/100;const s=n+r;let o;s>1&&(n/=s,r/=s);const a=Math.floor(6*e),i=1-r;o=6*e-a,0!=(1&a)&&(o=1-o);const l=n+o*(i-n);let c,u,h;switch(a){default:case 6:case 0:c=i,u=l,h=n;break;case 1:c=l,u=i,h=n;break;case 2:c=n,u=i,h=l;break;case 3:c=n,u=l,h=i;break;case 4:c=l,u=n,h=i;break;case 5:c=i,u=n,h=l}return[255*c,255*u,255*h]},o.cmyk.rgb=function(t){const e=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-r)+r)),255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},o.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,r=t[2]/100;let s,o,a;return s=3.2406*e+-1.5372*n+-.4986*r,o=-.9689*e+1.8758*n+.0415*r,a=.0557*e+-.204*n+1.057*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*s,255*o,255*a]},o.xyz.lab=function(t){let e=t[0],n=t[1],r=t[2];return e/=95.047,n/=100,r/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(e-n),200*(n-r)]},o.lab.xyz=function(t){let e,n,r;n=(t[0]+16)/116,e=t[1]/500+n,r=n-t[2]/200;const s=n**3,o=e**3,a=r**3;return n=s>.008856?s:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,e*=95.047,n*=100,r*=108.883,[e,n,r]},o.lab.lch=function(t){const e=t[0],n=t[1],r=t[2];let s;return s=360*Math.atan2(r,n)/2/Math.PI,s<0&&(s+=360),[e,Math.sqrt(n*n+r*r),s]},o.lch.lab=function(t){const e=t[1],n=t[2]/360*2*Math.PI;return[t[0],e*Math.cos(n),e*Math.sin(n)]},o.rgb.ansi16=function(t,e=null){const[n,r,s]=t;let a=null===e?o.rgb.hsv(t)[2]:e;if(a=Math.round(a/50),0===a)return 30;let i=30+(Math.round(s/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(i+=60),i},o.hsv.ansi16=function(t){return o.rgb.ansi16(o.hsv.rgb(t),t[2])},o.rgb.ansi256=function(t){const e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},o.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},o.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},o.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];3===e[0].length&&(n=n.split("").map((t=>t+t)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.max(Math.max(e,n),r),o=Math.min(Math.min(e,n),r),a=s-o;let i,l;return i=a<1?o/(1-a):0,l=a<=0?0:s===e?(n-r)/a%6:s===n?2+(r-e)/a:4+(e-n)/a,l/=6,l%=1,[360*l,100*a,100*i]},o.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,r=n<.5?2*e*n:2*e*(1-n);let s=0;return r<1&&(s=(n-.5*r)/(1-r)),[t[0],100*r,100*s]},o.hsv.hcg=function(t){const e=t[2]/100,n=t[1]/100*e;let r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},o.hcg.rgb=function(t){const e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];const r=[0,0,0],s=t[0]/360%1*6,o=s%1,a=1-o;let i=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=o,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=o;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=o,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return i=(1-e)*n,[255*(e*r[0]+i),255*(e*r[1]+i),255*(e*r[2]+i)]},o.hcg.hsv=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);let r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},o.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},o.hcg.hwb=function(t){const e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},o.hwb.hcg=function(t){const e=1-t[2]/100,n=e-t[1]/100;let r=0;return n<1&&(r=(e-n)/(1-n)),[t[0],100*n,100*r]},o.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},o.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},o.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},o.gray.hsl=function(t){return[0,0,t[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(t){return[0,100,t[0]]},o.gray.cmyk=function(t){return[0,0,0,t[0]]},o.gray.lab=function(t){return[t[0],0,0]},o.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const c={};Object.keys(a).forEach((t=>{c[t]={},Object.defineProperty(c[t],"channels",{value:a[t].channels}),Object.defineProperty(c[t],"labels",{value:a[t].labels});const e=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(a);for(let n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}(),n=[t];for(e[t].distance=0;n.length;){const t=n.pop(),r=Object.keys(a[t]);for(let s=r.length,o=0;o<s;o++){const s=r[o],a=e[s];-1===a.distance&&(a.distance=e[t].distance+1,a.parent=t,n.unshift(s))}}return e}(t),n={},r=Object.keys(e);for(let t=r.length,s=0;s<t;s++){const t=r[s];null!==e[t].parent&&(n[t]=l(t,e))}return n}(t);Object.keys(e).forEach((n=>{const r=e[n];c[t][n]=function(t){const e=function(...e){const n=e[0];if(null==n)return n;n.length>1&&(e=n);const r=t(e);if("object"==typeof r)for(let t=r.length,e=0;e<t;e++)r[e]=Math.round(r[e]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}(r),c[t][n].raw=function(t){const e=function(...e){const n=e[0];return null==n?n:(n.length>1&&(e=n),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)}))}));var u=c;const h=["keyword","gray","hex"],f={};for(const t of Object.keys(u))f[[...u[t].labels].sort().join("")]=t;const d={};function b(t,e){if(!(this instanceof b))return new b(t,e);if(e&&e in h&&(e=null),e&&!(e in u))throw new Error("Unknown model: "+e);let n,s;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof b)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=r.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,s=u[this.model].channels,this.color=e.value.slice(0,s),this.valpha="number"==typeof e.value[s]?e.value[s]:1}else if(t.length>0){this.model=e||"rgb",s=u[this.model].channels;const n=Array.prototype.slice.call(t,0,s);this.color=m(n,s),this.valpha="number"==typeof t[s]?t[s]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const r=e.sort().join("");if(!(r in f))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=f[r];const{labels:s}=u[this.model],o=[];for(n=0;n<s.length;n++)o.push(t[s[n]]);this.color=m(o)}if(d[this.model])for(s=u[this.model].channels,n=0;n<s;n++){const t=d[this.model][n];t&&(this.color[n]=t(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}b.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in r.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const n=1===e.valpha?e.color:[...e.color,this.valpha];return r.to[e.model](n)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),n=1===e.valpha?e.color:[...e.color,this.valpha];return r.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=u[this.model],{labels:n}=u[this.model];for(let r=0;r<e;r++)t[n[r]]=this.color[r];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new b([...this.color.map(g(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new b([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:p("rgb",0,y(255)),green:p("rgb",1,y(255)),blue:p("rgb",2,y(255)),hue:p(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:p("hsl",1,y(100)),lightness:p("hsl",2,y(100)),saturationv:p("hsv",1,y(100)),value:p("hsv",2,y(100)),chroma:p("hcg",1,y(100)),gray:p("hcg",2,y(100)),white:p("hwb",1,y(100)),wblack:p("hwb",2,y(100)),cyan:p("cmyk",0,y(100)),magenta:p("cmyk",1,y(100)),yellow:p("cmyk",2,y(100)),black:p("cmyk",3,y(100)),x:p("xyz",0,y(95.047)),y:p("xyz",1,y(100)),z:p("xyz",2,y(108.833)),l:p("lab",0,y(100)),a:p("lab",1),b:p("lab",2),keyword(t){return void 0!==t?new b(t):u[this.model].keyword(this.color)},hex(t){return void 0!==t?new b(t):r.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new b(t);const e=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(e)+n},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[n,r]of t.entries()){const t=r/255;e[n]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return b.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let n=e.color[0];return n=(n+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const n=t.rgb(),r=this.rgb(),s=void 0===e?.5:e,o=2*s-1,a=n.alpha()-r.alpha(),i=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-i;return b.rgb(i*n.red()+l*r.red(),i*n.green()+l*r.green(),i*n.blue()+l*r.blue(),n.alpha()*s+r.alpha()*(1-s))}};for(const t of Object.keys(u)){if(h.includes(t))continue;const{channels:e}=u[t];b.prototype[t]=function(...e){return this.model===t?new b(this):new b(e.length>0?e:[...(n=u[this.model][t].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],t);var n},b[t]=function(...n){let r=n[0];return"number"==typeof r&&(r=m(n,e)),new b(r,t)}}function g(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function p(t,e,n){t=Array.isArray(t)?t:[t];for(const r of t)(d[r]||(d[r]=[]))[e]=n;return t=t[0],function(r){let s;return void 0!==r?(n&&(r=n(r)),s=this[t](),s.color[e]=r,s):(s=this[t]().color[e],n&&(s=n(s)),s)}}function y(t){return function(e){return Math.max(0,Math.min(t,e))}}function m(t,e){for(let n=0;n<e;n++)"number"!=typeof t[n]&&(t[n]=0);return t}var w=b;
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
- * v1.9.0
11
- */const v={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},M=w("#007AC2"),k="calcite-color-",j={r:255,g:255,b:255},O={h:360,s:100,v:100},x=O.h-1,F={min:0,max:100},A={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:10}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:10}}},S=1;export{v as C,M as D,O as H,F as O,j as R,S,A as a,x as b,w as c,k as d}
@@ -1,16 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{a as i,r as s,h as t,H as e,g as n}from"./p-f1782b8c.js";import{a,t as l}from"./p-4b9ba22d.js";import{c as o}from"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.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
- * v1.9.0
11
- */const c={},r={},h={s:16,m:24,l:32};
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
- * v1.9.0
16
- */const m=class{constructor(i){s(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var i;null===(i=this.intersectionObserver)||void 0===i||i.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:s,pathData:n,scale:o,textLabel:c}=this,r=a(i),m=h[o],d=!!c,p=[].concat(n||"");return t(e,{"aria-hidden":l(!d),"aria-label":d?c:null,role:d?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===r&&s,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:s,scale:t,visible:e}=this;s&&e&&(this.pathData=await async function({icon:s,scale:t}){const e=h[t],n=function(i){const s=!isNaN(Number(i.charAt(0))),t=i.split("-");if(t.length>0){const s=/[a-z]/i;i=t.map(((i,t)=>i.replace(s,(function(i,s){return 0===t&&0===s?i:i.toUpperCase()})))).join("")}return s?`i${i}`:i}(s),a="F"===n.charAt(n.length-1),l=`${a?n.substring(0,n.length-1):n}${e}${a?"F":""}`;if(c[l])return c[l];r[l]||(r[l]=fetch(i(`./assets/icon/${l}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${l}" is not a valid calcite-ui-icon name`),""))));const o=await r[l];return c[l]=o,o}({icon:s,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(s=>{s.forEach((s=>{s.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style=":host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_icon}
@@ -1,16 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import{g as t}from"./p-7d7e6744.js";import{e as s,g as i,t as e}from"./p-4b9ba22d.js";import{S as n}from"./p-59d706b4.js";import{d as o}from"./p-a82f35c9.js";import{h as r,H as a}from"./p-f1782b8c.js";import{C as l,S as c}from"./p-3003e56a.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
- * v1.9.0
11
- */function h(){this.setUpItems(),this.setUpFilter(),this.deselectRemovedItems()}const u=["ArrowUp","ArrowDown"];function f(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=o(x.bind(this),0),this.emitCalciteListFilter=o(j.bind(this),0)}function d(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}function m(){this.mutationObserver?.disconnect()}function p(t){const{selectedValues:i}=this,{item:e,value:n,selected:o,shiftPressed:r}=t.detail;o?(this.multiple&&r&&this.selectSiblings(e),this.multiple||this.deselectSiblingItems(e),i.set(n,e)):(i.delete(n),this.multiple&&r&&this.selectSiblings(e,!0)),this.multiple||(C(e,o),o&&s(e)),this.lastSelectedItem=e,this.emitCalciteListChange()}function b(t){const s=t.detail.oldValue,i=this.selectedValues;if(i.has(s)){const e=i.get(s);i.delete(s),i.set(t.detail.newValue,e)}t.stopPropagation()}function g(t){const{el:s,items:i,multiple:e,selectedValues:n}=this;e||s.contains(t.relatedTarget)||A(i).forEach((s=>{C(s,0===n.size?s.contains(t.target)||t.target===s:s.selected)}))}function v(t){const{key:i,target:e}=t;if(!function(t){return!!u.find((s=>s===t))}(i))return;const{items:n,multiple:o,selectionFollowsFocus:r}=this,{length:a}=n,l=n.indexOf(e);if(!a||-1===l)return;t.preventDefault();const c=n[w(this,e,"ArrowUp"===i?"up":"down")];n.forEach((t=>C(t,t===c))),!o&&r&&(c.selected=!0),s(c)}function w(s,i,e){const{items:n}=s,{length:o}=n,r=n.indexOf(i),a="up"===e?-1:1;let l=1,c=t(r+a*l++,o);const h=c;for(;n[c].disabled&&(c=t(r+a*l++,o),c!==h););return c}function F(t,s){const{items:i}=t;return i.indexOf(s)}function A(t){return t.filter((t=>!t.disabled))}function j(){this.calciteListFilter.emit()}function x(){this.calciteListChange.emit(this.selectedValues)}function y(t){if(t.defaultPrevented)return;const s=t.target,i=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===s.parentElement.tagName&&s.slot===n.parentItem?(s.parentElement.remove(),Array.from(s.parentElement.children).forEach((t=>i.delete(t.value)))):(s.remove(),i.delete(s.value)),this.emitCalciteListChange()}function C(t,s){t.disabled||(s?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1"))}async function E(t){if(this.filterEnabled&&"filter"===t)return void await s(this.filterEl);const{items:i,multiple:e,selectionFollowsFocus:n}=this;if(0===i.length)return;if(e)return A(i)[0]?.setFocus();const o=A(i),r=o.find((t=>t.selected))||o[0];return n&&r&&(r.selected=!0),r.setFocus()}function I(t){this.items=Array.from(this.el.querySelectorAll(t));let s=!1;const{items:i}=this;i.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.deselectDisabled=!0,C(t,!1)),t.selected&&(s=!0,C(t,!0),this.selectedValues.set(t.value,t))}));const[e]=i;s||!e||e.disabled||C(e,!0)}function L(){const t=this.selectedValues,s=this.items.map((({value:t})=>t));t.forEach((t=>{s.includes(t.value)||this.selectedValues.delete(t.value)}))}function P(t){this.items.forEach((s=>{s.value!==t.value&&(s.toggleSelected(!1),this.selectedValues.has(s.value)&&this.selectedValues.delete(s.value))}))}function S(t,s=!1){if(!this.lastSelectedItem)return;const{items:i}=this,e=i.findIndex((t=>t.value===this.lastSelectedItem.value)),n=i.findIndex((s=>s.value===t.value));i.slice(Math.min(e,n),Math.max(e,n)).forEach((t=>{t.toggleSelected(!s),s?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let T;function k(t=!1){const{filteredData:s,filterText:e}=this,n=s.map((t=>t.value));let o=!1;T||(T=new Set);const r=this.items?.filter((t=>{const s=t.parentElement;s.matches("calcite-pick-list-group")&&T.add(s);const i=!e||n.includes(t.value);return t.hidden=!i,o||(o=i&&t.selected),i}))||[];T.forEach((t=>{const s=r.some((s=>t.contains(s)));if(t.hidden=!s,!s)return;const e=i(t,"parent-item");e&&(e.hidden=!1,r.includes(e)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),T.clear(),r.length>0&&!o&&!this.multiple&&C(r[0],!0),this.setFilteredItems(r),t&&this.emitCalciteListFilter()}function U(){const t=this.filterEl?.filteredItems;t&&(this.filteredData=t),this.handleFilter()}function D(t){t.stopPropagation();const{filteredItems:s,value:i}=t.currentTarget;this.filterText=i,this.filteredData=s,this.handleFilter(!0)}function M(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}
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
- * v1.9.0
16
- */const V=({props:{disabled:t,loading:s,filterEnabled:i,dataForFilter:n,handleFilterEvent:o,filterPlaceholder:h,filterText:u,setFilterEl:f,dragEnabled:d,storeAssistiveEl:m},...p})=>{const b=r("slot",null);return r(a,{"aria-busy":e(s),role:"menu",...p},r("section",null,d?r("span",{"aria-live":"assertive",class:"assistive-text",ref:m}):null,r("header",{class:{[l.sticky]:!0}},i?r("calcite-filter",{"aria-label":h,disabled:s||t,items:n,onCalciteFilterChange:o,placeholder:h,value:u,ref:f}):null,r("slot",{name:c.menuActions})),s?r("calcite-scrim",{loading:s}):null,b))};export{V as L,P as a,D as b,d as c,L as d,m as e,U as f,M as g,k as h,f as i,p as j,v as k,b as l,h as m,g as n,I as o,E as p,F as q,y as r,S as s,w as t}