@esri/calcite-components 1.0.0-next.442 → 1.0.0-next.445

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (823) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-33052713.entry.js → p-01713417.entry.js} +2 -2
  5. package/dist/calcite/{p-5d9d078d.system.entry.js → p-02fd2883.system.entry.js} +2 -2
  6. package/dist/calcite/{p-0d1c5707.js → p-041b61cd.js} +2 -2
  7. package/dist/calcite/p-05751f2e.entry.js +6 -0
  8. package/dist/calcite/p-07e641ba.js +6 -0
  9. package/dist/calcite/p-090880ec.entry.js +6 -0
  10. package/dist/calcite/{p-ad36023a.system.entry.js → p-0b025cd8.system.entry.js} +2 -2
  11. package/dist/calcite/{p-ce37501d.system.entry.js → p-0ccf95ca.system.entry.js} +2 -2
  12. package/dist/calcite/p-0e9766c8.entry.js +6 -0
  13. package/dist/calcite/{p-9bec437f.system.entry.js → p-0f5a49ed.system.entry.js} +2 -2
  14. package/dist/calcite/{p-95f3f34b.entry.js → p-0f89e70c.entry.js} +2 -2
  15. package/dist/calcite/{p-d4d75ba6.system.entry.js → p-108d9717.system.entry.js} +2 -2
  16. package/dist/calcite/{p-6ad109fa.system.entry.js → p-11ba757d.system.entry.js} +2 -2
  17. package/dist/calcite/{p-68688c2e.system.entry.js → p-133372fd.system.entry.js} +2 -2
  18. package/dist/calcite/{p-7853d93c.system.entry.js → p-14ec9332.system.entry.js} +2 -2
  19. package/dist/calcite/{p-c247533e.system.entry.js → p-161c0fe3.system.entry.js} +3 -3
  20. package/dist/calcite/{p-6c467929.system.js → p-16dde710.system.js} +1 -1
  21. package/dist/calcite/{p-e804e1ec.system.js → p-1d36af45.system.js} +1 -1
  22. package/dist/calcite/{p-7f1849d1.entry.js → p-1deaa010.entry.js} +2 -2
  23. package/dist/calcite/{p-dcd5fc83.entry.js → p-1f2f75cb.entry.js} +2 -2
  24. package/dist/calcite/{p-d0710c22.system.entry.js → p-204cff7c.system.entry.js} +2 -2
  25. package/dist/calcite/{p-c8618e02.js → p-253921ef.js} +1 -1
  26. package/dist/calcite/{p-4eeb59cb.system.js → p-258de3b5.system.js} +1 -1
  27. package/dist/calcite/{p-db8ddafb.entry.js → p-25ee06e8.entry.js} +2 -2
  28. package/dist/calcite/{p-7cb13427.entry.js → p-266d8bf5.entry.js} +2 -2
  29. package/dist/calcite/{p-1891170c.system.entry.js → p-26a03754.system.entry.js} +2 -2
  30. package/dist/calcite/{p-164c480c.entry.js → p-27627646.entry.js} +2 -2
  31. package/dist/calcite/{p-c5680ed3.system.js → p-27bf89cf.system.js} +2 -2
  32. package/dist/calcite/{p-3f028403.entry.js → p-27d2b999.entry.js} +2 -2
  33. package/dist/calcite/{p-44473ead.system.entry.js → p-28383893.system.entry.js} +2 -2
  34. package/dist/calcite/{p-e36fd7f8.system.entry.js → p-28ab1bdc.system.entry.js} +2 -2
  35. package/dist/calcite/{p-e20f6136.system.entry.js → p-29ffb1a4.system.entry.js} +2 -2
  36. package/dist/calcite/{p-5b64c3a7.entry.js → p-2d00654f.entry.js} +2 -2
  37. package/dist/calcite/{p-343d5421.entry.js → p-2daf552b.entry.js} +2 -2
  38. package/dist/calcite/{p-71153bb4.system.js → p-2e5debed.system.js} +1 -1
  39. package/dist/calcite/{p-cec2c39f.system.entry.js → p-2ef6c164.system.entry.js} +2 -2
  40. package/dist/calcite/{p-2c4da511.entry.js → p-2ffe62e7.entry.js} +2 -2
  41. package/dist/calcite/{p-d6ed0fa5.system.js → p-31197ab6.system.js} +1 -1
  42. package/dist/calcite/{p-4a4e0482.system.js → p-311f6ae3.system.js} +3 -3
  43. package/dist/calcite/{p-a9f49aba.system.entry.js → p-319fca0a.system.entry.js} +2 -2
  44. package/dist/calcite/{p-876086da.js → p-336577c6.js} +1 -1
  45. package/dist/calcite/{p-d845a221.system.js → p-34e35997.system.js} +2 -2
  46. package/dist/calcite/{p-ef71ed4d.js → p-355798dd.js} +1 -1
  47. package/dist/calcite/{p-b7a0dc57.entry.js → p-3746cde8.entry.js} +2 -2
  48. package/dist/calcite/{p-eb343d7c.system.entry.js → p-37d36485.system.entry.js} +2 -2
  49. package/dist/calcite/{p-daa14b5d.system.entry.js → p-381ae536.system.entry.js} +2 -2
  50. package/dist/calcite/{p-43db2b70.system.js → p-390993de.system.js} +3 -3
  51. package/dist/calcite/{p-341b024c.entry.js → p-39bc7480.entry.js} +2 -2
  52. package/dist/calcite/{p-2b10093d.js → p-3b2f0536.js} +2 -2
  53. package/dist/calcite/{p-c79d0614.entry.js → p-3dba8986.entry.js} +2 -2
  54. package/dist/calcite/{p-1ee6d0d4.system.js → p-3fea8ac9.system.js} +1 -1
  55. package/dist/calcite/{p-2e0be8a8.system.entry.js → p-4039990d.system.entry.js} +2 -2
  56. package/dist/calcite/{p-284dcfd1.entry.js → p-42dc5adc.entry.js} +2 -2
  57. package/dist/calcite/{p-e04fc57e.system.entry.js → p-4393b27e.system.entry.js} +2 -2
  58. package/dist/calcite/{p-57b016e9.entry.js → p-47872617.entry.js} +2 -2
  59. package/dist/calcite/{p-baee9a51.entry.js → p-4985c997.entry.js} +2 -2
  60. package/dist/calcite/{p-113f98cd.system.js → p-4a13b25d.system.js} +1 -1
  61. package/dist/calcite/{p-01a3f9a2.system.entry.js → p-4a910e1a.system.entry.js} +2 -2
  62. package/dist/calcite/{p-643ab994.entry.js → p-4b259c5a.entry.js} +2 -2
  63. package/dist/calcite/{p-7fa4665b.system.entry.js → p-4bbc21ae.system.entry.js} +2 -2
  64. package/dist/calcite/{p-dfa1a3db.system.entry.js → p-4cff6ed2.system.entry.js} +2 -2
  65. package/dist/calcite/{p-a6f6ea44.system.entry.js → p-50b46f23.system.entry.js} +2 -2
  66. package/dist/calcite/{p-a692a2b4.system.entry.js → p-548dfc90.system.entry.js} +3 -3
  67. package/dist/calcite/{p-854d1ac1.entry.js → p-5500906f.entry.js} +2 -2
  68. package/dist/calcite/{p-2134e42a.entry.js → p-569ab61c.entry.js} +2 -2
  69. package/dist/calcite/{p-95779802.js → p-57d67d2d.js} +1 -1
  70. package/dist/calcite/{p-dd94caa9.system.js → p-58a52a1c.system.js} +1 -1
  71. package/dist/calcite/{p-643bc2de.system.entry.js → p-5a60f994.system.entry.js} +2 -2
  72. package/dist/calcite/p-5bf8f6e9.system.js +6 -0
  73. package/dist/calcite/{p-af237d7a.system.js → p-5e296f6a.system.js} +2 -2
  74. package/dist/calcite/{p-3aa0fc1f.entry.js → p-6723c6d8.entry.js} +2 -2
  75. package/dist/calcite/{p-7e2e7425.js → p-6aa710a4.js} +1 -1
  76. package/dist/calcite/{p-0d2be404.system.entry.js → p-6bef1081.system.entry.js} +2 -2
  77. package/dist/calcite/{p-a723b07f.entry.js → p-74c3913a.entry.js} +2 -2
  78. package/dist/calcite/{p-1b93ee1f.system.entry.js → p-7c2843ca.system.entry.js} +2 -2
  79. package/dist/calcite/{p-54857871.system.entry.js → p-7d21684c.system.entry.js} +2 -2
  80. package/dist/calcite/{p-8e33274a.entry.js → p-7ebc43e6.entry.js} +2 -2
  81. package/dist/calcite/{p-e1afa707.system.entry.js → p-80e9f473.system.entry.js} +2 -2
  82. package/dist/calcite/{p-e0bc8a42.entry.js → p-8491b37f.entry.js} +2 -2
  83. package/dist/calcite/{p-d76c1857.system.entry.js → p-84d89c27.system.entry.js} +2 -2
  84. package/dist/calcite/{p-967b0d5c.system.entry.js → p-886b7bfa.system.entry.js} +2 -2
  85. package/dist/calcite/{p-dae31e5f.system.entry.js → p-8b3108fe.system.entry.js} +2 -2
  86. package/dist/calcite/{p-886d0ac9.system.entry.js → p-8b808b4a.system.entry.js} +2 -2
  87. package/dist/calcite/{p-78e3886c.entry.js → p-8b8402ab.entry.js} +2 -2
  88. package/dist/calcite/{p-6f203345.entry.js → p-8eb729b2.entry.js} +2 -2
  89. package/dist/calcite/{p-f7d7bad9.entry.js → p-8f061a44.entry.js} +2 -2
  90. package/dist/calcite/{p-38bb1024.entry.js → p-926b60ef.entry.js} +2 -2
  91. package/dist/calcite/p-9500d5a1.entry.js +6 -0
  92. package/dist/calcite/{p-46698107.system.entry.js → p-95bfbf7e.system.entry.js} +2 -2
  93. package/dist/calcite/{p-30edf4d0.system.entry.js → p-97dd099f.system.entry.js} +2 -2
  94. package/dist/calcite/{p-7ddb381f.js → p-97fd0700.js} +2 -2
  95. package/dist/calcite/{p-9188a778.entry.js → p-9988579e.entry.js} +2 -2
  96. package/dist/calcite/{p-dfc3aa2a.system.entry.js → p-99b389a4.system.entry.js} +2 -2
  97. package/dist/calcite/{p-9e12764a.system.js → p-99b56a57.system.js} +1 -1
  98. package/dist/calcite/{p-5820b406.system.entry.js → p-9ffb0f8e.system.entry.js} +2 -2
  99. package/dist/calcite/{p-93a12f34.system.js → p-a01d5702.system.js} +1 -1
  100. package/dist/calcite/{p-1c4f0248.entry.js → p-a284f057.entry.js} +2 -2
  101. package/dist/calcite/{p-13e09a60.entry.js → p-a39652a8.entry.js} +2 -2
  102. package/dist/calcite/{p-0d821056.entry.js → p-a39a6120.entry.js} +2 -2
  103. package/dist/calcite/{p-521b5c5f.entry.js → p-a4be4ad7.entry.js} +2 -2
  104. package/dist/calcite/{p-a67a436b.entry.js → p-a544af14.entry.js} +2 -2
  105. package/dist/calcite/{p-7c3d07cd.system.entry.js → p-a6c8b4f4.system.entry.js} +2 -2
  106. package/dist/calcite/{p-948eeaf1.system.js → p-a7793b59.system.js} +1 -1
  107. package/dist/calcite/{p-a87b026c.system.entry.js → p-aa8cd021.system.entry.js} +2 -2
  108. package/dist/calcite/{p-6d264ef2.system.entry.js → p-abc466c1.system.entry.js} +2 -2
  109. package/dist/calcite/{p-54ece774.js → p-ad7a67c5.js} +1 -1
  110. package/dist/calcite/{p-5d08adeb.entry.js → p-ae1dd9d3.entry.js} +2 -2
  111. package/dist/calcite/{p-08ac85e4.entry.js → p-b02dac57.entry.js} +2 -2
  112. package/dist/calcite/p-b0a06984.entry.js +6 -0
  113. package/dist/calcite/{p-d40c49db.entry.js → p-b0f109f2.entry.js} +2 -2
  114. package/dist/calcite/p-b17f15dc.js +6 -0
  115. package/dist/calcite/p-b1b979a8.system.js +6 -0
  116. package/dist/calcite/{p-d6da85a7.js → p-b2caaa6b.js} +2 -2
  117. package/dist/calcite/p-b31c76ec.system.js +6 -0
  118. package/dist/calcite/{p-7a9ae2ca.js → p-b4d3d3e3.js} +2 -2
  119. package/dist/calcite/{p-0de41b26.system.entry.js → p-b8d7f7c8.system.entry.js} +2 -2
  120. package/dist/calcite/{p-c6f66549.entry.js → p-b9a581df.entry.js} +2 -2
  121. package/dist/calcite/{p-e4a3e626.entry.js → p-bbb08025.entry.js} +2 -2
  122. package/dist/calcite/p-bcbdb44e.entry.js +6 -0
  123. package/dist/calcite/{p-22527dd8.entry.js → p-be089f07.entry.js} +2 -2
  124. package/dist/calcite/{p-cccf7888.js → p-be653c75.js} +1 -1
  125. package/dist/calcite/{p-eeed1462.entry.js → p-bf8a1a90.entry.js} +2 -2
  126. package/dist/calcite/{p-788d9af6.js → p-cb4a4c11.js} +1 -1
  127. package/dist/calcite/{p-8d28bdeb.entry.js → p-cbed5ee5.entry.js} +2 -2
  128. package/dist/calcite/{p-94869dec.system.entry.js → p-cc06ca0e.system.entry.js} +2 -2
  129. package/dist/calcite/{p-65304fd3.entry.js → p-cc496db8.entry.js} +2 -2
  130. package/dist/calcite/{p-81ffe774.entry.js → p-ced91d61.entry.js} +2 -2
  131. package/dist/calcite/{p-1931fab1.system.js → p-d0dd920e.system.js} +2 -2
  132. package/dist/calcite/p-d1b2d2c5.js +6 -0
  133. package/dist/calcite/{p-577c6140.system.entry.js → p-d3a24a92.system.entry.js} +2 -2
  134. package/dist/calcite/{p-8bb3fb6e.system.entry.js → p-d49affe7.system.entry.js} +2 -2
  135. package/dist/calcite/{p-8e7e6bf1.system.js → p-d4f2f493.system.js} +2 -2
  136. package/dist/calcite/{p-4d5badd1.system.js → p-d57599f3.system.js} +1 -1
  137. package/dist/calcite/{p-018a7a88.js → p-d647b605.js} +2 -2
  138. package/dist/calcite/{p-5fe433a2.system.js → p-d6ef83f2.system.js} +1 -1
  139. package/dist/calcite/{p-dd19dab2.system.entry.js → p-d9639ef6.system.entry.js} +2 -2
  140. package/dist/calcite/{p-f600eeb3.entry.js → p-dac748b6.entry.js} +2 -2
  141. package/dist/calcite/{p-9e58d2f5.system.js → p-dcd26c5b.system.js} +2 -2
  142. package/dist/calcite/{p-2753f19d.entry.js → p-dcd66dbe.entry.js} +2 -2
  143. package/dist/calcite/{p-59164e48.entry.js → p-dd148aa5.entry.js} +2 -2
  144. package/dist/calcite/{p-8b66caeb.js → p-dd2433b8.js} +1 -1
  145. package/dist/calcite/{p-d9ca5de6.system.entry.js → p-de88a90d.system.entry.js} +2 -2
  146. package/dist/calcite/{p-270c69af.system.entry.js → p-df191ce8.system.entry.js} +2 -2
  147. package/dist/calcite/{p-63be73b7.system.entry.js → p-e455cf93.system.entry.js} +2 -2
  148. package/dist/calcite/{p-50a8b856.entry.js → p-e5147246.entry.js} +2 -2
  149. package/dist/calcite/{p-4df1f8b0.system.entry.js → p-e5c97b3c.system.entry.js} +2 -2
  150. package/dist/calcite/{p-e350bf84.system.entry.js → p-e798397b.system.entry.js} +2 -2
  151. package/dist/calcite/{p-0443feac.system.entry.js → p-e7b32606.system.entry.js} +2 -2
  152. package/dist/calcite/p-ea01de75.js +6 -0
  153. package/dist/calcite/{p-82264ba9.js → p-ec8f422f.js} +1 -1
  154. package/dist/calcite/{p-e0b0486e.system.entry.js → p-f3465688.system.entry.js} +2 -2
  155. package/dist/calcite/p-f37cb564.js +6 -0
  156. package/dist/calcite/{p-76fad783.js → p-f53b0e25.js} +1 -1
  157. package/dist/calcite/{p-5ee7283a.entry.js → p-f6795331.entry.js} +2 -2
  158. package/dist/calcite/{p-afaded78.system.js → p-f713dcde.system.js} +2 -2
  159. package/dist/calcite/{p-9cdb2412.system.entry.js → p-f7d5923a.system.entry.js} +2 -2
  160. package/dist/calcite/{p-199d6edc.system.entry.js → p-f984a8fb.system.entry.js} +2 -2
  161. package/dist/calcite/{p-0fd5298e.js → p-fa493d09.js} +1 -1
  162. package/dist/calcite/{p-eada3f06.system.js → p-fbcdf49c.system.js} +1 -1
  163. package/dist/calcite/{p-adb9456b.js → p-fe25dd66.js} +1 -1
  164. package/dist/calcite/{p-74f44d5c.entry.js → p-fecc0290.entry.js} +2 -2
  165. package/dist/calcite/{p-ee6e86eb.entry.js → p-ff299c31.entry.js} +2 -2
  166. package/dist/calcite/{p-fda6176c.system.entry.js → p-ff6ac4c3.system.entry.js} +3 -3
  167. package/dist/calcite/p-ff8e5fb9.system.entry.js +6 -0
  168. package/dist/cjs/{ExpandToggle-520a0d2c.js → ExpandToggle-1d84a30f.js} +6 -6
  169. package/dist/cjs/{Heading-4031b535.js → Heading-6c577985.js} +2 -2
  170. package/dist/cjs/{array-97a0d49e.js → array-ad1d1402.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +6 -6
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1293 -1309
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +12 -10
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -9
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +10 -8
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +162 -133
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +4 -4
  229. package/dist/cjs/{conditionalSlot-19898f15.js → conditionalSlot-df594efd.js} +3 -3
  230. package/dist/cjs/{debounce-555e4ed9.js → debounce-24461fe6.js} +1 -1
  231. package/dist/cjs/{dom-ffb42c1c.js → dom-9a2cf963.js} +2 -2
  232. package/dist/cjs/{forIn-56621a4f.js → forIn-90fffb54.js} +2 -2
  233. package/dist/cjs/{form-0df8a093.js → form-9e6d03ef.js} +3 -3
  234. package/dist/cjs/{guid-54059c72.js → guid-618238ed.js} +1 -1
  235. package/dist/cjs/{index-4713f23e.js → index-2e55547d.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-e72cf638.js → interactive-1f751ab7.js} +1 -1
  238. package/dist/cjs/{interfaces-00ba5ab7.js → interfaces-c964aaab.js} +1 -1
  239. package/dist/cjs/{label-e9a5abfd.js → label-1069d8bd.js} +10 -9
  240. package/dist/cjs/loader.cjs.js +4 -4
  241. package/dist/cjs/{locale-e8cda1ee.js → locale-8fe40b14.js} +2 -2
  242. package/dist/cjs/{math-bf4c07bb.js → math-d3124585.js} +1 -1
  243. package/dist/cjs/{number-b4ff4db6.js → number-80fc2025.js} +1 -1
  244. package/dist/cjs/{observers-0fdbbd41.js → observers-c763e03a.js} +1 -1
  245. package/dist/cjs/{popper-d8549139.js → popper-8e628970.js} +2 -2
  246. package/dist/cjs/{resources-af4d8c96.js → resources-1233bb3e.js} +5 -5
  247. package/dist/cjs/{resources-8c5beef1.js → resources-245a82b3.js} +1 -1
  248. package/dist/cjs/{resources-95373e4d.js → resources-7d180442.js} +1 -1
  249. package/dist/cjs/{resources-febfc928.js → resources-cc8ca6f0.js} +3 -3
  250. package/dist/cjs/{sortable.esm-284bc36c.js → sortable.esm-42e8dec9.js} +1 -1
  251. package/dist/cjs/{utils-ee711a3e.js → utils-0d52eee6.js} +1 -1
  252. package/dist/collection/collection-manifest.json +1 -1
  253. package/dist/collection/components/accordion/accordion.js +1 -1
  254. package/dist/collection/components/accordion/interfaces.js +1 -1
  255. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  256. package/dist/collection/components/action/action.js +1 -1
  257. package/dist/collection/components/action/resources.js +1 -1
  258. package/dist/collection/components/action-bar/action-bar.js +1 -1
  259. package/dist/collection/components/action-bar/resources.js +1 -1
  260. package/dist/collection/components/action-bar/utils.js +1 -1
  261. package/dist/collection/components/action-group/action-group.js +1 -1
  262. package/dist/collection/components/action-group/resources.js +1 -1
  263. package/dist/collection/components/action-menu/action-menu.js +3 -3
  264. package/dist/collection/components/action-menu/resources.js +1 -1
  265. package/dist/collection/components/action-pad/action-pad.js +1 -1
  266. package/dist/collection/components/action-pad/resources.js +1 -1
  267. package/dist/collection/components/alert/alert.css +2 -6
  268. package/dist/collection/components/alert/alert.js +1 -1
  269. package/dist/collection/components/alert/interfaces.js +1 -1
  270. package/dist/collection/components/alert/resources.js +1 -1
  271. package/dist/collection/components/avatar/avatar.css +1 -1
  272. package/dist/collection/components/avatar/avatar.js +1 -1
  273. package/dist/collection/components/avatar/utils.js +1 -1
  274. package/dist/collection/components/block/block.js +1 -1
  275. package/dist/collection/components/block/resources.js +1 -1
  276. package/dist/collection/components/block-section/block-section.js +1 -1
  277. package/dist/collection/components/block-section/interfaces.js +1 -1
  278. package/dist/collection/components/block-section/resources.js +1 -1
  279. package/dist/collection/components/button/button.js +1 -1
  280. package/dist/collection/components/button/interfaces.js +1 -1
  281. package/dist/collection/components/button/resources.js +1 -1
  282. package/dist/collection/components/card/card.js +1 -1
  283. package/dist/collection/components/card/resources.js +1 -1
  284. package/dist/collection/components/checkbox/checkbox.css +1 -1
  285. package/dist/collection/components/checkbox/checkbox.js +1 -1
  286. package/dist/collection/components/chip/chip.css +2 -2
  287. package/dist/collection/components/chip/chip.js +1 -1
  288. package/dist/collection/components/chip/interfaces.js +1 -1
  289. package/dist/collection/components/chip/resources.js +1 -1
  290. package/dist/collection/components/color-picker/color-picker.js +1 -1
  291. package/dist/collection/components/color-picker/interfaces.js +1 -1
  292. package/dist/collection/components/color-picker/resources.js +1 -1
  293. package/dist/collection/components/color-picker/utils.js +1 -1
  294. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  295. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  296. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  297. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  298. package/dist/collection/components/combobox/combobox.js +1 -1
  299. package/dist/collection/components/combobox/interfaces.js +1 -1
  300. package/dist/collection/components/combobox/resources.js +1 -1
  301. package/dist/collection/components/combobox/utils.js +1 -1
  302. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  303. package/dist/collection/components/combobox-item/resources.js +1 -1
  304. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  305. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  306. package/dist/collection/components/date-picker/date-picker.js +1 -1
  307. package/dist/collection/components/date-picker/interfaces.js +1 -1
  308. package/dist/collection/components/date-picker/resources.js +1 -1
  309. package/dist/collection/components/date-picker/utils.js +1 -1
  310. package/dist/collection/components/date-picker-day/date-picker-day.css +0 -2
  311. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  312. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  313. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  314. package/dist/collection/components/dropdown/dropdown.js +1 -1
  315. package/dist/collection/components/dropdown/interfaces.js +1 -1
  316. package/dist/collection/components/dropdown/resources.js +1 -1
  317. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  318. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  319. package/dist/collection/components/dropdown-group/resources.js +1 -1
  320. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  321. package/dist/collection/components/dropdown-item/resources.js +1 -1
  322. package/dist/collection/components/fab/fab.js +1 -1
  323. package/dist/collection/components/fab/resources.js +1 -1
  324. package/dist/collection/components/filter/filter.js +1 -1
  325. package/dist/collection/components/filter/resources.js +1 -1
  326. package/dist/collection/components/flow/flow.css +1 -9
  327. package/dist/collection/components/flow/flow.js +1 -1
  328. package/dist/collection/components/flow/interfaces.js +1 -1
  329. package/dist/collection/components/flow/resources.js +1 -1
  330. package/dist/collection/components/functional/ExpandToggle.js +2 -2
  331. package/dist/collection/components/functional/Heading.js +1 -1
  332. package/dist/collection/components/graph/graph.js +1 -1
  333. package/dist/collection/components/graph/interfaces.js +1 -1
  334. package/dist/collection/components/graph/util.js +1 -1
  335. package/dist/collection/components/handle/handle.js +1 -1
  336. package/dist/collection/components/handle/resources.js +1 -1
  337. package/dist/collection/components/icon/icon.js +1 -1
  338. package/dist/collection/components/icon/resources.js +1 -1
  339. package/dist/collection/components/icon/utils.js +1 -1
  340. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  341. package/dist/collection/components/inline-editable/resources.js +1 -1
  342. package/dist/collection/components/input/input.js +1 -1
  343. package/dist/collection/components/input/interfaces.js +1 -1
  344. package/dist/collection/components/input/resources.js +1 -1
  345. package/dist/collection/components/input-date-picker/input-date-picker.js +10 -1
  346. package/dist/collection/components/input-message/input-message.js +1 -1
  347. package/dist/collection/components/input-message/interfaces.js +1 -1
  348. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  349. package/dist/collection/components/interfaces.js +1 -1
  350. package/dist/collection/components/label/label.js +1 -1
  351. package/dist/collection/components/label/resources.js +1 -1
  352. package/dist/collection/components/link/link.js +1 -1
  353. package/dist/collection/components/list/list.js +1 -1
  354. package/dist/collection/components/list/resources.js +1 -1
  355. package/dist/collection/components/list-item/list-item.js +1 -1
  356. package/dist/collection/components/list-item/resources.js +1 -1
  357. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  358. package/dist/collection/components/list-item-group/resources.js +1 -1
  359. package/dist/collection/components/loader/loader.js +1 -1
  360. package/dist/collection/components/modal/interfaces.js +1 -1
  361. package/dist/collection/components/modal/modal.css +1 -37
  362. package/dist/collection/components/modal/modal.js +1 -1
  363. package/dist/collection/components/modal/resources.js +1 -1
  364. package/dist/collection/components/notice/notice.js +1 -1
  365. package/dist/collection/components/notice/resources.js +1 -1
  366. package/dist/collection/components/option/option.js +1 -1
  367. package/dist/collection/components/option-group/option-group.js +1 -1
  368. package/dist/collection/components/pagination/pagination.js +1 -1
  369. package/dist/collection/components/pagination/resources.js +1 -1
  370. package/dist/collection/components/panel/panel.css +1 -1
  371. package/dist/collection/components/panel/panel.js +21 -2
  372. package/dist/collection/components/panel/resources.js +1 -1
  373. package/dist/collection/components/pick-list/pick-list.js +1 -1
  374. package/dist/collection/components/pick-list/resources.js +1 -1
  375. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  376. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  377. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  378. package/dist/collection/components/pick-list-group/resources.js +1 -1
  379. package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
  380. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  381. package/dist/collection/components/pick-list-item/resources.js +1 -1
  382. package/dist/collection/components/popover/popover.js +1 -1
  383. package/dist/collection/components/popover/resources.js +1 -1
  384. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  385. package/dist/collection/components/progress/progress.js +1 -1
  386. package/dist/collection/components/radio-button/radio-button.js +1 -1
  387. package/dist/collection/components/radio-button/resources.js +1 -1
  388. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  389. package/dist/collection/components/radio-group/interfaces.js +1 -1
  390. package/dist/collection/components/radio-group/radio-group.js +1 -1
  391. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  392. package/dist/collection/components/radio-group-item/resources.js +1 -1
  393. package/dist/collection/components/rating/rating.js +1 -1
  394. package/dist/collection/components/rating/resources.js +1 -1
  395. package/dist/collection/components/scrim/resources.js +1 -1
  396. package/dist/collection/components/scrim/scrim.js +1 -1
  397. package/dist/collection/components/select/resources.js +1 -1
  398. package/dist/collection/components/select/select.js +1 -1
  399. package/dist/collection/components/shell/resources.js +1 -1
  400. package/dist/collection/components/shell/shell.js +1 -1
  401. package/dist/collection/components/shell-center-row/resources.js +1 -1
  402. package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
  403. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  404. package/dist/collection/components/shell-panel/resources.js +1 -1
  405. package/dist/collection/components/shell-panel/shell-panel.css +1 -1
  406. package/dist/collection/components/shell-panel/shell-panel.js +5 -2
  407. package/dist/collection/components/slider/slider.js +1 -1
  408. package/dist/collection/components/sortable-list/resources.js +1 -1
  409. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  410. package/dist/collection/components/split-button/resources.js +1 -1
  411. package/dist/collection/components/split-button/split-button.js +1 -1
  412. package/dist/collection/components/stepper/stepper.js +1 -1
  413. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  414. package/dist/collection/components/switch/switch.js +1 -1
  415. package/dist/collection/components/tab/interfaces.js +1 -1
  416. package/dist/collection/components/tab/tab.js +1 -1
  417. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  418. package/dist/collection/components/tab-title/tab-title.js +1 -1
  419. package/dist/collection/components/tabs/interfaces.js +1 -1
  420. package/dist/collection/components/tabs/resources.js +1 -1
  421. package/dist/collection/components/tabs/tabs.css +1 -1
  422. package/dist/collection/components/tabs/tabs.js +1 -1
  423. package/dist/collection/components/tile/resources.js +1 -1
  424. package/dist/collection/components/tile/tile.js +1 -1
  425. package/dist/collection/components/tile-select/interfaces.js +1 -1
  426. package/dist/collection/components/tile-select/resources.js +1 -1
  427. package/dist/collection/components/tile-select/tile-select.js +1 -1
  428. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  429. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  430. package/dist/collection/components/time-picker/resources.js +1 -1
  431. package/dist/collection/components/time-picker/time-picker.js +1 -1
  432. package/dist/collection/components/tip/resources.js +1 -1
  433. package/dist/collection/components/tip/tip.js +1 -1
  434. package/dist/collection/components/tip-group/tip-group.js +1 -1
  435. package/dist/collection/components/tip-manager/resources.js +1 -1
  436. package/dist/collection/components/tip-manager/tip-manager.css +1 -9
  437. package/dist/collection/components/tip-manager/tip-manager.js +21 -2
  438. package/dist/collection/components/tooltip/TooltipManager.js +157 -0
  439. package/dist/collection/components/tooltip/resources.js +1 -2
  440. package/dist/collection/components/tooltip/tooltip.css +1 -1
  441. package/dist/collection/components/tooltip/tooltip.js +6 -10
  442. package/dist/collection/components/tooltip-manager/tooltip-manager.js +5 -160
  443. package/dist/collection/components/tree/interfaces.js +1 -1
  444. package/dist/collection/components/tree/tree.js +1 -1
  445. package/dist/collection/components/tree-item/interfaces.js +1 -1
  446. package/dist/collection/components/tree-item/resources.js +1 -1
  447. package/dist/collection/components/tree-item/tree-item.js +1 -1
  448. package/dist/collection/components/value-list/resources.js +1 -1
  449. package/dist/collection/components/value-list/value-list.js +1 -1
  450. package/dist/collection/components/value-list-item/resources.js +1 -1
  451. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  452. package/dist/collection/utils/array.js +1 -1
  453. package/dist/collection/utils/conditionalSlot.js +1 -1
  454. package/dist/collection/utils/date.js +1 -1
  455. package/dist/collection/utils/dom.js +1 -1
  456. package/dist/collection/utils/filter.js +1 -1
  457. package/dist/collection/utils/form.js +1 -1
  458. package/dist/collection/utils/globalAttributes.js +1 -1
  459. package/dist/collection/utils/guid.js +1 -1
  460. package/dist/collection/utils/interactive.js +1 -1
  461. package/dist/collection/utils/key.js +1 -1
  462. package/dist/collection/utils/label.js +9 -8
  463. package/dist/collection/utils/locale.js +1 -1
  464. package/dist/collection/utils/math.js +1 -1
  465. package/dist/collection/utils/number.js +1 -1
  466. package/dist/collection/utils/observers.js +1 -1
  467. package/dist/collection/utils/popper.js +1 -1
  468. package/dist/collection/utils/resources.js +1 -1
  469. package/dist/collection/utils/time.js +1 -1
  470. package/dist/components/ExpandToggle.js +2 -2
  471. package/dist/components/Heading.js +1 -1
  472. package/dist/components/action-group.js +11 -17
  473. package/dist/components/action-menu.js +11 -17
  474. package/dist/components/action.js +1 -1
  475. package/dist/components/array.js +1 -1
  476. package/dist/components/button.js +1 -1
  477. package/dist/components/calcite-accordion-item.js +1 -1
  478. package/dist/components/calcite-accordion.js +1 -1
  479. package/dist/components/calcite-action-bar.js +13 -19
  480. package/dist/components/calcite-action-group.js +1 -1
  481. package/dist/components/calcite-action-menu.js +1 -1
  482. package/dist/components/calcite-action-pad.js +13 -19
  483. package/dist/components/calcite-action.js +1 -1
  484. package/dist/components/calcite-alert.js +2 -2
  485. package/dist/components/calcite-avatar.js +2 -2
  486. package/dist/components/calcite-block-section.js +1 -1
  487. package/dist/components/calcite-block.js +15 -21
  488. package/dist/components/calcite-button.js +1 -1
  489. package/dist/components/calcite-card.js +1 -1
  490. package/dist/components/calcite-checkbox.js +1 -1
  491. package/dist/components/calcite-chip.js +1 -1
  492. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  493. package/dist/components/calcite-color-picker-swatch.js +1 -1
  494. package/dist/components/calcite-color-picker.js +1 -1
  495. package/dist/components/calcite-combobox-item-group.js +1 -1
  496. package/dist/components/calcite-combobox-item.js +1 -1
  497. package/dist/components/calcite-combobox.js +1 -1
  498. package/dist/components/calcite-date-picker-day.js +1 -1
  499. package/dist/components/calcite-date-picker-month-header.js +1 -1
  500. package/dist/components/calcite-date-picker-month.js +1 -1
  501. package/dist/components/calcite-date-picker.js +1 -1
  502. package/dist/components/calcite-dropdown-group.js +1 -1
  503. package/dist/components/calcite-dropdown-item.js +1 -1
  504. package/dist/components/calcite-dropdown.js +1 -1
  505. package/dist/components/calcite-fab.js +1 -1
  506. package/dist/components/calcite-filter.js +1 -1
  507. package/dist/components/calcite-flow.js +2 -2
  508. package/dist/components/calcite-graph.js +1 -1
  509. package/dist/components/calcite-handle.js +1 -1
  510. package/dist/components/calcite-icon.js +1 -1
  511. package/dist/components/calcite-inline-editable.js +1 -1
  512. package/dist/components/calcite-input-date-picker.js +10 -1
  513. package/dist/components/calcite-input-message.js +1 -1
  514. package/dist/components/calcite-input-time-picker.js +1 -1
  515. package/dist/components/calcite-input.js +1 -1
  516. package/dist/components/calcite-label.js +1 -1
  517. package/dist/components/calcite-link.js +1 -1
  518. package/dist/components/calcite-list-item-group.js +1 -1
  519. package/dist/components/calcite-list-item.js +1 -1
  520. package/dist/components/calcite-list.js +1 -1
  521. package/dist/components/calcite-loader.js +1 -1
  522. package/dist/components/calcite-modal.js +2 -2
  523. package/dist/components/calcite-notice.js +1 -1
  524. package/dist/components/calcite-option-group.js +1 -1
  525. package/dist/components/calcite-option.js +1 -1
  526. package/dist/components/calcite-pagination.js +1 -1
  527. package/dist/components/calcite-panel.js +16 -20
  528. package/dist/components/calcite-pick-list-group.js +2 -2
  529. package/dist/components/calcite-pick-list-item.js +1 -1
  530. package/dist/components/calcite-pick-list.js +2 -2
  531. package/dist/components/calcite-popover-manager.js +1 -1
  532. package/dist/components/calcite-popover.js +1 -1
  533. package/dist/components/calcite-progress.js +1 -1
  534. package/dist/components/calcite-radio-button-group.js +1 -1
  535. package/dist/components/calcite-radio-button.js +1 -1
  536. package/dist/components/calcite-radio-group-item.js +1 -1
  537. package/dist/components/calcite-radio-group.js +1 -1
  538. package/dist/components/calcite-rating.js +1 -1
  539. package/dist/components/calcite-scrim.js +1 -1
  540. package/dist/components/calcite-select.js +1 -1
  541. package/dist/components/calcite-shell-center-row.js +2 -2
  542. package/dist/components/calcite-shell-panel.js +2 -2
  543. package/dist/components/calcite-shell.js +1 -1
  544. package/dist/components/calcite-slider.js +1 -1
  545. package/dist/components/calcite-sortable-list.js +1 -1
  546. package/dist/components/calcite-split-button.js +1 -1
  547. package/dist/components/calcite-stepper-item.js +1 -1
  548. package/dist/components/calcite-stepper.js +1 -1
  549. package/dist/components/calcite-switch.js +1 -1
  550. package/dist/components/calcite-tab-nav.js +1 -1
  551. package/dist/components/calcite-tab-title.js +1 -1
  552. package/dist/components/calcite-tab.js +1 -1
  553. package/dist/components/calcite-tabs.js +1 -1
  554. package/dist/components/calcite-tile-select-group.js +1 -1
  555. package/dist/components/calcite-tile-select.js +1 -1
  556. package/dist/components/calcite-tile.js +1 -1
  557. package/dist/components/calcite-time-picker.js +1 -1
  558. package/dist/components/calcite-tip-group.js +1 -1
  559. package/dist/components/calcite-tip-manager.js +5 -3
  560. package/dist/components/calcite-tip.js +2 -2
  561. package/dist/components/calcite-tooltip-manager.js +47 -2
  562. package/dist/components/calcite-tooltip.js +168 -15
  563. package/dist/components/calcite-tree-item.js +1 -1
  564. package/dist/components/calcite-tree.js +1 -1
  565. package/dist/components/calcite-value-list-item.js +2 -2
  566. package/dist/components/calcite-value-list.js +1 -1
  567. package/dist/components/checkbox.js +2 -2
  568. package/dist/components/chip.js +2 -2
  569. package/dist/components/color-picker-hex-input.js +1 -1
  570. package/dist/components/color-picker-swatch.js +1335 -1351
  571. package/dist/components/conditionalSlot.js +1 -1
  572. package/dist/components/date-picker-day.js +2 -2
  573. package/dist/components/date-picker-month-header.js +1 -1
  574. package/dist/components/date-picker-month.js +1 -1
  575. package/dist/components/date-picker.js +1 -1
  576. package/dist/components/date.js +1 -1
  577. package/dist/components/debounce.js +1 -1
  578. package/dist/components/dom.js +1 -1
  579. package/dist/components/dropdown.js +1 -1
  580. package/dist/components/filter.js +1 -1
  581. package/dist/components/forIn.js +1 -1
  582. package/dist/components/form.js +1 -1
  583. package/dist/components/graph.js +1 -1
  584. package/dist/components/guid.js +1 -1
  585. package/dist/components/handle.js +1 -1
  586. package/dist/components/icon.js +1 -1
  587. package/dist/components/index.js +1 -1
  588. package/dist/components/input.js +1 -1
  589. package/dist/components/interactive.js +1 -1
  590. package/dist/components/interfaces.js +1 -1
  591. package/dist/components/interfaces2.js +1 -1
  592. package/dist/components/label.js +9 -8
  593. package/dist/components/label2.js +1 -1
  594. package/dist/components/link.js +1 -1
  595. package/dist/components/loader.js +1 -1
  596. package/dist/components/locale.js +1 -1
  597. package/dist/components/math.js +1 -1
  598. package/dist/components/number.js +1 -1
  599. package/dist/components/observers.js +1 -1
  600. package/dist/components/pick-list-item.js +3 -3
  601. package/dist/components/popover.js +1 -1
  602. package/dist/components/popper.js +1 -1
  603. package/dist/components/progress.js +1 -1
  604. package/dist/components/resources.js +1 -1
  605. package/dist/components/resources2.js +12 -7
  606. package/dist/components/resources3.js +7 -10
  607. package/dist/components/resources4.js +23 -6
  608. package/dist/components/scrim.js +1 -1
  609. package/dist/components/shared-list-render.js +3 -3
  610. package/dist/components/sortable.esm.js +1 -1
  611. package/dist/components/switch.js +1 -1
  612. package/dist/components/tab-nav.js +1 -1
  613. package/dist/components/tab-title.js +1 -1
  614. package/dist/components/tab.js +1 -1
  615. package/dist/components/tabs.js +2 -2
  616. package/dist/components/tile.js +1 -1
  617. package/dist/components/time-picker.js +1 -1
  618. package/dist/components/utils.js +1 -1
  619. package/dist/components/utils2.js +1 -1
  620. package/dist/custom-elements/index.js +1474 -1447
  621. package/dist/esm/{ExpandToggle-ff36d4fc.js → ExpandToggle-2718b8f6.js} +6 -6
  622. package/dist/esm/{Heading-c533056b.js → Heading-0e4aea69.js} +2 -2
  623. package/dist/esm/{array-0f0c73df.js → array-9f67c25d.js} +1 -1
  624. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  625. package/dist/esm/calcite-action-bar.entry.js +10 -10
  626. package/dist/esm/calcite-action-group.entry.js +8 -8
  627. package/dist/esm/calcite-action-menu.entry.js +10 -10
  628. package/dist/esm/calcite-action-pad.entry.js +9 -9
  629. package/dist/esm/calcite-action.entry.js +4 -4
  630. package/dist/esm/calcite-alert.entry.js +6 -6
  631. package/dist/esm/calcite-avatar.entry.js +6 -6
  632. package/dist/esm/calcite-block_2.entry.js +8 -8
  633. package/dist/esm/calcite-button.entry.js +7 -7
  634. package/dist/esm/calcite-card.entry.js +6 -6
  635. package/dist/esm/calcite-checkbox.entry.js +8 -8
  636. package/dist/esm/calcite-chip.entry.js +7 -7
  637. package/dist/esm/calcite-color-picker_3.entry.js +1293 -1309
  638. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  639. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  640. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  641. package/dist/esm/calcite-fab.entry.js +5 -5
  642. package/dist/esm/calcite-filter.entry.js +7 -7
  643. package/dist/esm/calcite-flow.entry.js +4 -4
  644. package/dist/esm/calcite-graph_2.entry.js +9 -9
  645. package/dist/esm/calcite-handle.entry.js +2 -2
  646. package/dist/esm/calcite-icon.entry.js +5 -5
  647. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  648. package/dist/esm/calcite-input-date-picker.entry.js +20 -11
  649. package/dist/esm/calcite-input-message.entry.js +4 -4
  650. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  651. package/dist/esm/calcite-input.entry.js +11 -11
  652. package/dist/esm/calcite-label.entry.js +5 -5
  653. package/dist/esm/calcite-link.entry.js +5 -5
  654. package/dist/esm/calcite-list_3.entry.js +8 -8
  655. package/dist/esm/calcite-loader.entry.js +3 -3
  656. package/dist/esm/calcite-modal.entry.js +7 -7
  657. package/dist/esm/calcite-notice.entry.js +7 -7
  658. package/dist/esm/calcite-option_3.entry.js +8 -8
  659. package/dist/esm/calcite-pagination.entry.js +2 -2
  660. package/dist/esm/calcite-panel.entry.js +12 -10
  661. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  662. package/dist/esm/calcite-popover_2.entry.js +6 -6
  663. package/dist/esm/calcite-progress.entry.js +2 -2
  664. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  665. package/dist/esm/calcite-radio-button.entry.js +8 -8
  666. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  667. package/dist/esm/calcite-rating.entry.js +7 -7
  668. package/dist/esm/calcite-scrim.entry.js +2 -2
  669. package/dist/esm/calcite-shell_3.entry.js +9 -9
  670. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  671. package/dist/esm/calcite-split-button.entry.js +3 -3
  672. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  673. package/dist/esm/calcite-switch.entry.js +7 -7
  674. package/dist/esm/calcite-tab_4.entry.js +7 -7
  675. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  676. package/dist/esm/calcite-tile.entry.js +7 -7
  677. package/dist/esm/calcite-tip_3.entry.js +10 -8
  678. package/dist/esm/calcite-tooltip_2.entry.js +162 -133
  679. package/dist/esm/calcite-tree_2.entry.js +6 -6
  680. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  681. package/dist/esm/calcite.js +4 -4
  682. package/dist/esm/{conditionalSlot-ed38fca0.js → conditionalSlot-2522e30f.js} +3 -3
  683. package/dist/esm/{debounce-53edee6a.js → debounce-1b741867.js} +1 -1
  684. package/dist/esm/{dom-56d2cefe.js → dom-db598077.js} +2 -2
  685. package/dist/esm/{forIn-e13f90af.js → forIn-c5b795e6.js} +2 -2
  686. package/dist/esm/{form-e118b118.js → form-61a289f0.js} +3 -3
  687. package/dist/esm/{guid-11fa23a4.js → guid-9fa375f5.js} +1 -1
  688. package/dist/esm/{index-971981a8.js → index-894dfc81.js} +1 -1
  689. package/dist/esm/index.js +1 -1
  690. package/dist/esm/{interactive-3f20f596.js → interactive-09f3618d.js} +1 -1
  691. package/dist/esm/{interfaces-c3dd93ae.js → interfaces-a5204d8f.js} +1 -1
  692. package/dist/esm/{label-6596400a.js → label-6c0e1ae1.js} +10 -9
  693. package/dist/esm/loader.js +4 -4
  694. package/dist/esm/{locale-3fefdde0.js → locale-3981cfde.js} +2 -2
  695. package/dist/esm/{math-3a3d00c6.js → math-acdc37ac.js} +1 -1
  696. package/dist/esm/{number-bb529b14.js → number-84278938.js} +1 -1
  697. package/dist/esm/{observers-475be65a.js → observers-9608d2fa.js} +1 -1
  698. package/dist/esm/polyfills/css-shim.js +1 -1
  699. package/dist/esm/{popper-e39fe9b7.js → popper-7f6cf197.js} +2 -2
  700. package/dist/esm/{resources-10754ff5.js → resources-2275dd9a.js} +3 -3
  701. package/dist/esm/{resources-2b57ce37.js → resources-7941421d.js} +5 -5
  702. package/dist/esm/{resources-fa277bee.js → resources-b064c016.js} +1 -1
  703. package/dist/esm/{resources-4d608b62.js → resources-b0ef8228.js} +1 -1
  704. package/dist/esm/{sortable.esm-1e94286b.js → sortable.esm-a9eb30f8.js} +1 -1
  705. package/dist/esm/{utils-6ce13142.js → utils-442279d6.js} +1 -1
  706. package/dist/esm-es5/{ExpandToggle-ff36d4fc.js → ExpandToggle-2718b8f6.js} +2 -2
  707. package/dist/esm-es5/{Heading-c533056b.js → Heading-0e4aea69.js} +2 -2
  708. package/dist/esm-es5/{array-0f0c73df.js → array-9f67c25d.js} +1 -1
  709. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  710. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  711. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  712. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  713. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  714. package/dist/esm-es5/calcite-action.entry.js +2 -2
  715. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  716. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  717. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  718. package/dist/esm-es5/calcite-button.entry.js +2 -2
  719. package/dist/esm-es5/calcite-card.entry.js +2 -2
  720. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  721. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  722. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  723. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  724. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  725. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  726. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  727. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  728. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  729. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  730. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  731. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  732. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  733. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  734. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  735. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  736. package/dist/esm-es5/calcite-input.entry.js +2 -2
  737. package/dist/esm-es5/calcite-label.entry.js +2 -2
  738. package/dist/esm-es5/calcite-link.entry.js +2 -2
  739. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  741. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  742. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  743. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  744. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  745. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  746. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  747. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  748. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  749. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  750. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  751. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  752. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  753. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  754. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  755. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  756. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  757. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  759. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  760. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  761. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  762. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  763. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  764. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  765. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite.js +2 -2
  767. package/dist/esm-es5/{conditionalSlot-ed38fca0.js → conditionalSlot-2522e30f.js} +2 -2
  768. package/dist/esm-es5/{debounce-53edee6a.js → debounce-1b741867.js} +1 -1
  769. package/dist/esm-es5/{dom-56d2cefe.js → dom-db598077.js} +2 -2
  770. package/dist/esm-es5/{forIn-e13f90af.js → forIn-c5b795e6.js} +2 -2
  771. package/dist/esm-es5/{form-e118b118.js → form-61a289f0.js} +2 -2
  772. package/dist/esm-es5/{guid-11fa23a4.js → guid-9fa375f5.js} +1 -1
  773. package/dist/esm-es5/{index-971981a8.js → index-894dfc81.js} +1 -1
  774. package/dist/esm-es5/index.js +1 -1
  775. package/dist/esm-es5/{interactive-3f20f596.js → interactive-09f3618d.js} +1 -1
  776. package/dist/esm-es5/{interfaces-c3dd93ae.js → interfaces-a5204d8f.js} +1 -1
  777. package/dist/esm-es5/label-6c0e1ae1.js +6 -0
  778. package/dist/esm-es5/loader.js +2 -2
  779. package/dist/esm-es5/{locale-3fefdde0.js → locale-3981cfde.js} +2 -2
  780. package/dist/esm-es5/{math-3a3d00c6.js → math-acdc37ac.js} +1 -1
  781. package/dist/esm-es5/{number-bb529b14.js → number-84278938.js} +1 -1
  782. package/dist/esm-es5/{observers-475be65a.js → observers-9608d2fa.js} +1 -1
  783. package/dist/esm-es5/{popper-e39fe9b7.js → popper-7f6cf197.js} +2 -2
  784. package/dist/esm-es5/{resources-10754ff5.js → resources-2275dd9a.js} +2 -2
  785. package/dist/esm-es5/{resources-2b57ce37.js → resources-7941421d.js} +2 -2
  786. package/dist/esm-es5/{resources-fa277bee.js → resources-b064c016.js} +1 -1
  787. package/dist/esm-es5/{resources-4d608b62.js → resources-b0ef8228.js} +1 -1
  788. package/dist/esm-es5/{sortable.esm-1e94286b.js → sortable.esm-a9eb30f8.js} +1 -1
  789. package/dist/esm-es5/{utils-6ce13142.js → utils-442279d6.js} +1 -1
  790. package/dist/extras/docs-json.json +55 -71
  791. package/dist/loader/cdn.js +1 -1
  792. package/dist/loader/index.cjs.js +1 -1
  793. package/dist/loader/index.es2017.js +1 -1
  794. package/dist/loader/index.js +1 -1
  795. package/dist/types/components/panel/panel.d.ts +5 -0
  796. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -0
  797. package/dist/types/components/tip-manager/tip-manager.d.ts +5 -0
  798. package/dist/types/components/tooltip/TooltipManager.d.ts +27 -0
  799. package/dist/types/components/tooltip/resources.d.ts +0 -1
  800. package/dist/types/components/tooltip/tooltip.d.ts +0 -2
  801. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -29
  802. package/dist/types/components.d.ts +11 -0
  803. package/dist/types/preact.d.ts +4 -2
  804. package/hydrate/index.js +1493 -1455
  805. package/package.json +14 -16
  806. package/dist/calcite/p-3dba6477.js +0 -6
  807. package/dist/calcite/p-5b46f643.entry.js +0 -6
  808. package/dist/calcite/p-738cd7bf.js +0 -6
  809. package/dist/calcite/p-91bf6b14.entry.js +0 -6
  810. package/dist/calcite/p-a729f472.system.js +0 -6
  811. package/dist/calcite/p-c8e8cbf8.system.js +0 -6
  812. package/dist/calcite/p-d7dd9ab1.entry.js +0 -6
  813. package/dist/calcite/p-dd2d3722.js +0 -6
  814. package/dist/calcite/p-e3ba876d.entry.js +0 -6
  815. package/dist/calcite/p-e54cf4d5.system.entry.js +0 -6
  816. package/dist/calcite/p-f10a9390.entry.js +0 -6
  817. package/dist/calcite/p-f4a430e9.js +0 -6
  818. package/dist/calcite/p-f58f22f5.entry.js +0 -6
  819. package/dist/calcite/p-f78e589a.system.js +0 -6
  820. package/dist/calcite/p-fad0ea8b.js +0 -6
  821. package/dist/components/resources5.js +0 -33
  822. package/dist/components/tooltip-manager.js +0 -172
  823. package/dist/esm-es5/label-6596400a.js +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.442",
3
+ "version": "1.0.0-next.445",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@a11y/focus-trap": "1.0.5",
62
62
  "@popperjs/core": "2.11.5",
63
- "@stencil/core": "2.15.0",
63
+ "@stencil/core": "2.15.1",
64
64
  "@types/color": "3.0.3",
65
65
  "color": "4.2.3",
66
66
  "form-request-submit-polyfill": "2.0.0",
@@ -68,21 +68,19 @@
68
68
  "sortablejs": "1.15.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@babel/plugin-proposal-numeric-separator": "7.16.7",
72
71
  "@babel/preset-react": "7.16.7",
73
72
  "@esri/calcite-base": "^1.2.0",
74
73
  "@esri/calcite-colors": "6.0.1",
75
74
  "@esri/calcite-ui-icons": "3.18.7",
76
75
  "@esri/eslint-plugin-calcite-components": "0.1.4",
77
- "@rollup/plugin-babel": "5.3.1",
78
76
  "@stencil/eslint-plugin": "0.4.0",
79
77
  "@stencil/postcss": "2.1.0",
80
78
  "@stencil/sass": "1.5.2",
81
79
  "@stencil/state-tunnel": "^1.0.1",
82
- "@storybook/addon-a11y": "6.4.21",
83
- "@storybook/addon-docs": "6.4.21",
80
+ "@storybook/addon-a11y": "6.4.22",
81
+ "@storybook/addon-docs": "6.4.22",
84
82
  "@storybook/addon-knobs": "6.4.0",
85
- "@storybook/html": "6.4.21",
83
+ "@storybook/html": "6.4.22",
86
84
  "@storybook/storybook-deployer": "2.8.11",
87
85
  "@types/dedent": "0.7.0",
88
86
  "@types/git-semver-tags": "4.1.1",
@@ -96,8 +94,8 @@
96
94
  "@types/sortablejs": "1.10.7",
97
95
  "@types/standard-version": "7.0.1",
98
96
  "@types/yargs": "17.0.10",
99
- "@typescript-eslint/eslint-plugin": "5.19.0",
100
- "@typescript-eslint/parser": "5.19.0",
97
+ "@typescript-eslint/eslint-plugin": "5.20.0",
98
+ "@typescript-eslint/parser": "5.20.0",
101
99
  "@whitespace/storybook-addon-html": "5.0.0",
102
100
  "autoprefixer": "10.4.4",
103
101
  "axe-core": "4.4.1",
@@ -115,34 +113,34 @@
115
113
  "eslint-plugin-prettier": "4.0.0",
116
114
  "eslint-plugin-react": "7.29.4",
117
115
  "eslint-plugin-unicorn": "42.0.0",
118
- "gh-release": "6.0.3",
116
+ "gh-release": "6.0.4",
119
117
  "git-semver-tags": "4.1.1",
120
118
  "husky": "7.0.4",
121
119
  "jest": "26.6.3",
122
120
  "jest-axe": "6.0.0",
123
121
  "jest-cli": "26.6.3",
124
- "lint-staged": "12.3.7",
122
+ "lint-staged": "12.3.8",
125
123
  "pify": "5.0.0",
126
124
  "postcss": "8.4.12",
127
125
  "prettier": "2.6.2",
128
126
  "puppeteer": "10.0.0",
129
127
  "rimraf": "3.0.2",
130
128
  "screener-storybook": "0.23.0",
131
- "semver": "7.3.6",
129
+ "semver": "7.3.7",
132
130
  "shell-quote": "1.7.3",
133
131
  "standard-version": "9.3.2",
134
132
  "stencil-eslint-core": "0.3.1",
135
- "storybook": "6.4.21",
133
+ "storybook": "6.4.22",
136
134
  "storybook-addon-themes": "6.1.0",
137
135
  "storybook-rtl-addon": "0.3.3",
138
- "stylelint": "14.6.1",
136
+ "stylelint": "14.7.1",
139
137
  "stylelint-config-recommended-scss": "6.0.0",
140
- "tailwindcss": "3.0.23",
138
+ "tailwindcss": "3.0.24",
141
139
  "ts-jest": "27.1.2",
142
140
  "ts-node": "10.7.0",
143
141
  "typescript": "4.5.4",
144
142
  "updtr": "4.0.0",
145
- "workbox-build": "6.5.2",
143
+ "workbox-build": "6.5.3",
146
144
  "yargs": "17.4.1"
147
145
  },
148
146
  "license": "SEE LICENSE IN copyright.txt",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{q as n,c as e}from"./p-d6da85a7.js";const t="calciteInternalLabelConnected",c="calciteInternaLabelDisconnected",a=new WeakMap,o=new Set;function l(t){const c=(t=>{const{id:c}=t,a=c&&n(t,{selector:`calcite-label[for="${c}"]`});if(a)return a;const o=e(t,"calcite-label");return!o||function(n,e){let t;const c="custom-element-ancestor-check",a=c=>{c.stopImmediatePropagation();const a=c.composedPath();t=a.slice(a.indexOf(e),a.indexOf(n))};return n.addEventListener(c,a,{once:!0}),e.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,a),t.filter((t=>t!==e&&t!==n)).filter((n=>{var e;return null===(e=n.tagName)||void 0===e?void 0:e.includes("-")})).length>0}(o,t)?null:o})(t.el);if(a.has(c))return;const l=u.bind(t),i=d.bind(t);c?((()=>{t.labelEl=c;const n=r.bind(t);a.set(t.labelEl,n),t.labelEl.addEventListener("calciteInternalLabelClick",n)})(),o.delete(t),document.removeEventListener("calciteInternalLabelConnected",l),document.addEventListener("calciteInternaLabelDisconnected",i)):c||o.has(t)||(i(),document.removeEventListener("calciteInternaLabelDisconnected",i))}function i(n){const e=u.bind(n),t=d.bind(n);if(o.delete(n),document.removeEventListener("calciteInternalLabelConnected",e),document.removeEventListener("calciteInternaLabelDisconnected",t),!n.labelEl)return;const c=a.get(n.labelEl);n.labelEl.removeEventListener("calciteInternalLabelClick",c),a.delete(n.labelEl)}function s(n){var e,t;return n.label||(null===(t=null===(e=n.labelEl)||void 0===e?void 0:e.textContent)||void 0===t?void 0:t.trim())||""}function r(n){this.disabled||this.el.contains(n.detail.sourceEvent.target)||this.onLabelClick(n)}function u(){o.has(this)&&l(this)}function d(){o.add(this);const n=u.bind(this);document.addEventListener("calciteInternalLabelConnected",n)}export{c as a,l as c,i as d,s as g,t as l}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-788d9af6.js";import{T as s,d as r,a as o,b as c,g as l,s as p,p as h,i as d}from"./p-2b10093d.js";import{c as m,d as u,g as f}from"./p-3dba6477.js";import{c as b,d as w,H as v}from"./p-fad0ea8b.js";import{d as y,f as g,u as k,C as x,c as D,p as C}from"./p-7ddb381f.js";import{u as I}from"./p-54ece774.js";import"./p-0d1c5707.js";import"./p-95779802.js";import"./p-d6da85a7.js";import"./p-0fd5298e.js";const P=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",7),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",7),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",7),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",7),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",7),this.disabled=!1,this.active=!1,this.intlPrevMonth=s.prevMonth,this.intlNextMonth=s.nextMonth,this.intlYear=s.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.placement=y,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.focusedInput="start",this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?g(i,t):null},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteInputDatePickerOpen.emit():this.calciteInputDatePickerClose.emit())},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.active=!1},this.keyUpHandler=t=>{"Escape"===t.key&&(this.active=!1)},this.inputBlur=t=>{this.blur(t.detail)},this.startInputFocus=()=>{this.active=!0,this.focusedInput="start"},this.endInputFocus=()=>{this.active=!0,this.focusedInput="end"},this.inputInput=t=>{this.input(t.detail.value)},this.setMenuEl=t=>{t&&(this.menuEl=t,this.createPopper())},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.value=r(t.detail))},this.handleDateRangeChange=t=>{var i,a;if(!this.range||!t.detail)return;const{startDate:e,endDate:n}=t.detail;this.start=r(e),this.end=r(n),this.value=[this.start,this.end],this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(a=this.startInput)||void 0===a||a.setFocus())}}handleDisabledChange(t){t||(this.active=!1)}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>o(t))),this.start=t[0],this.end=t[1]):t?(this.valueAsDate=o(t),this.start="",this.end=""):(this.valueAsDate=void 0,this.start=void 0,this.end=void 0)}flipPlacementsHandler(){this.setFilteredPlacements()}onMinChanged(t){this.minAsDate=o(t)}onMaxChanged(t){this.maxAsDate=o(t)}activeHandler(){this.disabled?this.active=!1:this.reposition()}handleDateOrRangeChange(){this.calciteInputDatePickerChange.emit()}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.active=!1)}async setFocus(){var t;null===(t=this.startInput)||void 0===t||t.setFocus()}async reposition(){const{placement:t,popper:i,menuEl:a}=this,e=this.getModifiers();i?await k({el:a,modifiers:e,placement:t,popper:i}):this.createPopper()}connectedCallback(){Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>o(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=o(this.value),this.start="",this.end=""),this.start&&(this.startAsDate=o(this.start)),this.end&&(this.endAsDate=o(this.end)),this.min&&(this.minAsDate=o(this.min)),this.max&&(this.maxAsDate=o(this.max)),this.createPopper(),m(this),b(this),this.setFilteredPlacements()}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}disconnectedCallback(){this.destroyPopper(),u(this),w(this)}componentDidRender(){I(this)}render(){var t,i;const{disabled:n}=this,s=c(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),r=this.range?c(this.endAsDate,this.minAsDate,this.maxAsDate):null,o=r?r.toLocaleDateString(this.locale):"",l=s?s.toLocaleDateString(this.locale):"";return a(e,{onBlur:this.deactivate,onKeyUp:this.keyUpHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":this.active.toString(),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:n,icon:"calendar",label:f(this),"number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.startInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,ref:this.setStartInput,scale:this.scale,type:"text",value:l})),a("div",{"aria-hidden":(!this.active).toString(),class:{"menu-container":!0,"menu-container--active":this.active},ref:this.setMenuEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[x.animation]:!0,[x.animationActive]:this.active},onTransitionEnd:this.transitionEnd},a("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,locale:this.locale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:n,icon:"calendar","number-button-type":"none",onCalciteInputBlur:this.inputBlur,onCalciteInputFocus:this.endInputFocus,onCalciteInputInput:this.inputInput,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,ref:this.setEndInput,scale:this.scale,type:"text",value:o}))),a(v,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,this.createPopper()}onLabelClick(){this.setFocus()}getModifiers(){const t={name:"flip",enabled:!0};return t.options={fallbackPlacements:this.filteredFlipPlacements||C},[t,{name:"eventListeners",enabled:this.active}]}createPopper(){this.destroyPopper();const{menuEl:t,placement:i,referenceEl:a,overlayPositioning:e}=this;if(!t||!a)return;const n=this.getModifiers();this.popper=D({el:t,modifiers:n,overlayPositioning:e,placement:i,referenceEl:a})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}startWatcher(t){this.startAsDate=o(t)}endWatcher(t){this.endAsDate=o(t)}async loadLocaleData(){const{locale:t}=this;this.localeData=await l(t)}clearCurrentValue(){if(!this.range)return void(this.value="");const{focusedInput:t}=this;"start"===t?(this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""],this.start=void 0):"end"===t&&(this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""],this.end=void 0)}input(t){const i=this.getDateFromInput(t);if(!i)return void this.clearCurrentValue();if(!this.range)return this.value=r(i),void this.calciteDatePickerChange.emit(i);const{focusedInput:a}=this;if("start"===a){if(!this.startAsDate||!p(i,this.startAsDate)){const t=r(i);this.value=Array.isArray(this.value)?[t,this.value[1]||""]:[t],this.start=t,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate})}}else if(!("end"!==a||this.endAsDate&&p(i,this.endAsDate))){const t=r(i);this.value=Array.isArray(this.value)?[this.value[0]||"",t]:["",t],this.end=t,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:i})}}blur(t){const{locale:i,focusedInput:a,endAsDate:e,range:n,startAsDate:s,valueAsDate:r}=this;this.getDateFromInput(t.value)||(!n&&r?t.value=Array.isArray(r)?r["end"===a?1:0].toLocaleDateString(i):r.toLocaleDateString(i):"start"===a&&s?t.value=s.toLocaleDateString(i):"end"===a&&e&&(t.value=e.toLocaleDateString(i)))}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:n}=h(t,this.localeData),s=a>0,r=e>-1,o=new Date(n,e,a);o.setFullYear(n);const c=!isNaN(o.getTime()),l=t.split(i).filter((t=>t)).length>2,p=n.toString().length>0;return!!(s&&r&&c&&l&&p&&d(o,this.min,this.max))&&o}get el(){return n(this)}static get watchers(){return{disabled:["handleDisabledChange"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};P.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;width:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;position:absolute;left:0px;z-index:10;margin-left:1px;margin-right:1px;background-color:var(--calcite-ui-foreground-1);padding-left:0.625rem;padding-right:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .menu-container{pointer-events:initial;visibility:visible}.menu-container--active .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.menu-container--active .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container--active .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container--active .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container--active .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container--active .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.input .calcite-input__wrapper{margin-top:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{height:0.75rem;width:0.75rem;min-width:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{P as calcite_input_date_picker}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{h as t}from"./p-788d9af6.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const a=`h${e.level}`;return delete e.level,t(a,Object.assign({},e),r)};export{r as H,e as c}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{r as t,c as a,h as i,F as e,g as n}from"./p-788d9af6.js";import{g as r,a as o}from"./p-d6da85a7.js";import{H as s,c}from"./p-738cd7bf.js";import{c as l,d as m}from"./p-f4a430e9.js";import{c as d}from"./p-7e2e7425.js";import"./p-0fd5298e.js";const p=class{constructor(i){t(this,i),this.calciteTipDismiss=a(this,"calciteTipDismiss",7),this.dismissed=!1,this.nonDismissible=!1,this.selected=!1,this.hideTip=()=>{this.dismissed=!0,this.calciteTipDismiss.emit()}}connectedCallback(){l(this)}disconnectedCallback(){m(this)}renderHeader(){var t;const{heading:a,headingLevel:e,el:n}=this,r=null===(t=n.closest("calcite-tip-manager"))||void 0===t?void 0:t.headingLevel,o=r?c(r+1):null;return a?i("header",{class:"header"},i(s,{class:"heading",level:e||o||3},a)):null}renderDismissButton(){const{nonDismissible:t,hideTip:a,intlClose:e}=this;return t?null:i("calcite-action",{class:"close",icon:"x",onClick:a,scale:"l",text:e||"Close"})}renderImageFrame(){const{el:t}=this;return r(t,"thumbnail")?i("div",{class:"image-frame",key:"thumbnail"},i("slot",{name:"thumbnail"})):null}renderInfoNode(){return i("div",{class:"info"},i("slot",null))}renderContent(){return i("div",{class:"content"},this.renderImageFrame(),this.renderInfoNode())}render(){return i(e,null,i("article",{class:"container"},this.renderHeader(),this.renderContent()),this.renderDismissButton())}get el(){return n(this)}};p.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{width:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;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{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{margin-bottom:0.5rem}.header .heading{padding:0px;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;width:70%}.info:only-child{width:100%;padding-left:0px;padding-right:0px}::slotted(p){margin-top:0px}::slotted(a){outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{width:25%}.image-frame img{max-width:100%}::slotted(img){max-width:100%}";const f=class{constructor(a){t(this,a)}render(){return i("slot",null)}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";const h=class{constructor(i){t(this,i),this.calciteTipManagerToggle=a(this,"calciteTipManagerToggle",7),this.closed=!1,this.mutationObserver=d("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerToggle.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyUpHandler=t=>{if(t.target===this.container)switch(t.key){case"ArrowRight":t.preventDefault(),this.nextTip();break;case"ArrowLeft":t.preventDefault(),this.previousTip();break;case"Home":t.preventDefault(),this.selectedIndex=0;break;case"End":t.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=t=>{this.container=t}}closedChangeHandler(){this.direction=null,this.calciteTipManagerToggle.emit()}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}connectedCallback(){var t;this.setUpTips(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const t=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=t.length,0===this.total)return;const a=this.el.querySelector("calcite-tip[selected]");this.tips=t,this.selectedIndex=a?t.indexOf(a):0,t.forEach((t=>{t.nonDismissible=!0})),this.showSelectedTip(),this.updateGroupTitle()}showSelectedTip(){this.tips.forEach(((t,a)=>{const i=this.selectedIndex===a;t.selected=i,t.hidden=!i}))}updateGroupTitle(){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=(null==t?void 0:t.groupTitle)||this.intlDefaultTitle||"Tips"}renderPagination(){const t=o(this.el),{selectedIndex:a,tips:e,total:n,intlNext:r,intlPrevious:s,intlPaginationLabel:c}=this,l=r||"Next",m=c||"Tip";return e.length>1?i("footer",{class:"pagination"},i("calcite-action",{class:"page-previous",icon:"ltr"===t?"chevron-left":"chevron-right",onClick:this.previousClicked,scale:"m",text:s||"Previous"}),i("span",{class:"page-position"},`${m} ${a+1}/${n}`),i("calcite-action",{class:"page-next",icon:"ltr"===t?"chevron-right":"chevron-left",onClick:this.nextClicked,scale:"m",text:l})):null}render(){const{closed:t,direction:a,headingLevel:e,groupTitle:n,selectedIndex:r,intlClose:o,total:c}=this,l=o||"Close";return 0===c?null:i("section",{"aria-hidden":t.toString(),class:"container",hidden:t,onKeyUp:this.tipManagerKeyUpHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:"header"},i(s,{class:"heading",level:e||2},n),i("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:l},i("calcite-icon",{icon:"x",scale:"m"}))),i("div",{class:{"tip-container":!0,"tip-container--advancing":!t&&"advancing"===a,"tip-container--retreating":!t&&"retreating"===a},key:r,tabIndex:0},i("slot",null)),this.renderPagination())}get el(){return n(this)}static get watchers(){return{closed:["closedChangeHandler"],selectedIndex:["selectedChangeHandler"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;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{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header h2.heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;overflow:hidden;min-height:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-top:1px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center;overflow:auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing);height:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-width:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0px;padding-right:0px;padding-top:0.75rem;padding-bottom:0.5rem}.page-position{margin-top:0px;margin-bottom:0px;margin-left:0.5rem;margin-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@-webkit-keyframes tip-advance{0%{opacity:0}0%{-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1}100%{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0}0%{-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1}100%{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0}0%{-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1}100%{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0}0%{-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1}100%{-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";export{p as calcite_tip,f as calcite_tip_group,h as calcite_tip_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- System.register(["./p-d6ed0fa5.system.js","./p-9e58d2f5.system.js","./p-6c467929.system.js","./p-93a12f34.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",p);var a=t("o",150);var c=2;var u=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*c)/n)};var l=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var s=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var a=o;n.reverse().forEach((function(t){var n=0;var o=f(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(a>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){a--}}return a<1}))}e(t)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function p(t){var e=t.parent,n=t.expanded;f(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group").forEach((function(t){return t.expanded=n}))}var d=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var g=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,a=t.toggle,c=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var p=r(c)==="rtl";var g=e?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(p){m.reverse()}var x=h(u,c)==="end";var E=x?m[1]:m[0];var y=x?m[0]:m[1];var A=n("calcite-action",{icon:e?E:y,onClick:a,ref:function(t){return d({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:g,textEnabled:e});return l?n("calcite-tooltip-manager",null,A):A}))}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- System.register(["./p-9e58d2f5.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.q;n=e.c}],execute:function(){e({c:d,d:s,g:f});var r="calciteInternalLabelClick";var i=e("l","calciteInternalLabelConnected");var a=e("a","calciteInternaLabelDisconnected");var l="calcite-label";var c=new WeakMap;var o=new Set;var v=function(e){var r=e.id;var i=r&&t(e,{selector:"".concat(l,'[for="').concat(r,'"]')});if(i){return i}var a=n(e,l);if(!a||u(a,e)){return null}return a};function u(e,t){var n;var r="custom-element-ancestor-check";var i=function(r){r.stopImmediatePropagation();var i=r.composedPath();n=i.slice(i.indexOf(t),i.indexOf(e))};e.addEventListener(r,i,{once:true});t.dispatchEvent(new CustomEvent(r,{composed:true,bubbles:true}));e.removeEventListener(r,i);var a=n.filter((function(n){return n!==t&&n!==e})).filter((function(e){var t;return(t=e.tagName)===null||t===void 0?void 0:t.includes("-")}));return a.length>0}function d(e){var t=v(e.el);if(c.has(t)){return}var n=m.bind(e);var l=E.bind(e);if(t){var u=function(){e.labelEl=t;var n=b.bind(e);c.set(e.labelEl,n);e.labelEl.addEventListener(r,n)};u();o.delete(e);document.removeEventListener(i,n);document.addEventListener(a,l)}else if(!t&&!o.has(e)){l();document.removeEventListener(a,l)}}function s(e){var t=m.bind(e);var n=E.bind(e);o.delete(e);document.removeEventListener(i,t);document.removeEventListener(a,n);if(!e.labelEl){return}var l=c.get(e.labelEl);e.labelEl.removeEventListener(r,l);c.delete(e.labelEl)}function f(e){var t,n;return e.label||((n=(t=e.labelEl)===null||t===void 0?void 0:t.textContent)===null||n===void 0?void 0:n.trim())||""}function b(e){if(this.disabled){return}var t=this.el.contains(e.detail.sourceEvent.target);if(t){return}this.onLabelClick(e)}function m(){if(o.has(this)){d(this)}}function E(){o.add(this);var e=m.bind(this);document.addEventListener(i,e)}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{r as t,h as a,H as i,g as e}from"./p-788d9af6.js";import{g as n}from"./p-0fd5298e.js";import{a as r,u as o,c as s,C as l}from"./p-7ddb381f.js";import{q as c}from"./p-d6da85a7.js";const m="data-calcite-tooltip-reference",p=class{constructor(a){t(this,a),this.offsetDistance=r,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.guid=`calcite-tooltip-${n()}`,this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement();const{el:t,referenceElement:a,effectiveReferenceElement:i}=this;a&&!i&&console.warn(`${t.tagName}: reference-element id "${a}" was not found.`,{el:t}),this.addReferences(),this.createPopper()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const a=this.getId();t.setAttribute(m,a),t.setAttribute("aria-describedby",a)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&(t.removeAttribute(m),t.removeAttribute("aria-describedby"))},this.show=()=>{this.open=!0},this.hide=()=>{this.open=!1}}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),this.destroyPopper()}async reposition(){const{popper:t,el:a,placement:i}=this,e=this.getModifiers();t?await o({el:a,modifiers:e,placement:i,popper:t}):this.createPopper()}getReferenceElement(){const{referenceElement:t,el:a}=this;return("string"==typeof t?c(a,{id:t}):t)||null}getModifiers(){const{arrowEl:t,offsetDistance:a,offsetSkidding:i}=this;return[{name:"arrow",enabled:!0,options:{element:t}},{name:"offset",enabled:!0,options:{offset:[i,a]}},{name:"eventListeners",enabled:this.open}]}createPopper(){this.destroyPopper();const{el:t,placement:a,effectiveReferenceElement:i,overlayPositioning:e}=this,n=this.getModifiers();this.popper=s({el:t,modifiers:n,placement:a,overlayPositioning:e,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}render(){const{effectiveReferenceElement:t,label:e,open:n}=this,r=t&&n,o=!r;return a(i,{"aria-hidden":o.toString(),"aria-label":e,"calcite-hydrated-hidden":o,id:this.getId(),role:"tooltip"},a("div",{class:{[l.animation]:!0,[l.animationActive]:r}},a("div",{class:"arrow",ref:t=>this.arrowEl=t}),a("div",{class:"container"},a("slot",null))))}get el(){return e(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};p.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:999;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);overflow:hidden;max-width:20rem;max-height:20rem}.calcite-popper-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}';const f=class{constructor(a){t(this,a),this.hoverTimeouts=new WeakMap,this.selector=`[${m}]`,this.queryTooltip=t=>{const{el:a}=this;if(!t.includes(a))return null;const i=t.find((t=>{var a;return null===(a=null==t?void 0:t.hasAttribute)||void 0===a?void 0:a.call(t,m)}));if(!i)return null;const e=i.getAttribute(m);return c(a,{id:e})},this.clearHoverTimeout=t=>{const{hoverTimeouts:a}=this;a.has(t)&&(window.clearTimeout(a.get(t)),a.delete(t))},this.closeExistingTooltip=()=>{const{tooltipEl:t}=this;t&&this.toggleTooltip(t,!1)},this.focusTooltip=({tooltip:t,value:a})=>{this.closeExistingTooltip(),a&&this.clearHoverTimeout(t),this.toggleTooltip(t,a)},this.toggleTooltip=(t,a)=>{t.open=a,a&&(this.tooltipEl=t)},this.hoverToggle=({tooltip:t,value:a})=>{const{hoverTimeouts:i}=this;i.delete(t),a&&this.closeExistingTooltip(),this.toggleTooltip(t,a)},this.hoverTooltip=({tooltip:t,value:a})=>{this.clearHoverTimeout(t);const{hoverTimeouts:i}=this,e=window.setTimeout((()=>this.hoverToggle({tooltip:t,value:a})),500);i.set(t,e)},this.activeTooltipHover=t=>{const{tooltipEl:a,hoverTimeouts:i}=this,{type:e}=t;a&&("mouseover"===e&&t.composedPath().includes(a)?this.clearHoverTimeout(a):"mouseout"!==e||i.has(a)||this.hoverTooltip({tooltip:a,value:!1}))},this.hoverEvent=(t,a)=>{const i=this.queryTooltip(t.composedPath());this.activeTooltipHover(t),i&&this.hoverTooltip({tooltip:i,value:a})},this.focusEvent=(t,a)=>{const i=this.queryTooltip(t.composedPath());i&&i!==this.clickedTooltip?this.focusTooltip({tooltip:i,value:a}):this.clickedTooltip=null}}render(){return a("slot",null)}keyUpHandler(t){if("Escape"===t.key){const{tooltipEl:t}=this;t&&(this.clearHoverTimeout(t),this.toggleTooltip(t,!1))}}mouseEnterShow(t){this.hoverEvent(t,!0)}mouseLeaveHide(t){this.hoverEvent(t,!1)}clickHandler(t){this.clickedTooltip=this.queryTooltip(t.composedPath())}focusShow(t){this.focusEvent(t,!0)}blurHide(t){this.focusEvent(t,!1)}get el(){return e(this)}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{p as calcite_tooltip,f as calcite_tooltip_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{f as t,h as e}from"./p-788d9af6.js";import{a as o}from"./p-d6da85a7.js";import{S as a}from"./p-82264ba9.js";import{S as n}from"./p-76fad783.js";const i=150,c=({actionCount:t,actionHeight:e,height:o,groupCount:a})=>Math.max(t-(({height:t,actionHeight:e,groupCount:o})=>Math.floor((t-2*o)/e))({height:o,actionHeight:e,groupCount:a}),0),l=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),r=({actionGroups:e,expanded:o,overflowCount:a})=>{let i=a;e.reverse().forEach((e=>{let a=0;const c=l(e).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(e)}))};function s({parent:t,expanded:e}){l(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group").forEach((t=>t.expanded=e))}const p=({expanded:t,intlExpand:a,intlCollapse:n,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const d="rtl"===o(c),u=t?n:a,f=["chevrons-left","chevrons-right"];d&&f.reverse();const g="end"===function(t,e){var o;return t||(null===(o=e.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(l,c),h=e("calcite-action",{icon:t?g?f[1]:f[0]:g?f[0]:f[1],onClick:i,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:a})=>(t&&(t.referenceElement=!o&&e?e:null),a&&a(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s}),scale:p,text:u,textEnabled:t});return r?e("calcite-tooltip-manager",null,h):h};export{p as E,r as a,c as g,i as o,l as q,s as t}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-788d9af6.js";import{g as r}from"./p-0fd5298e.js";import{a as n,f as s}from"./p-d6da85a7.js";import{c,d,g as l}from"./p-3dba6477.js";import{c as h,d as m,H as p}from"./p-fad0ea8b.js";import{g as u}from"./p-cccf7888.js";import{u as b}from"./p-54ece774.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",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.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,u(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,u(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}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)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){b(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display: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);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}: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{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);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{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(a.next(t))}catch(t){o(t)}}function s(t){try{c(a["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):n(t.value).then(r,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.442
6
- */System.register(["./p-d6ed0fa5.system.js","./p-5fe433a2.system.js","./p-8e7e6bf1.system.js","./p-9e58d2f5.system.js"],(function(t){"use strict";var e,i,a,n,o,r,s,c,l,p;return{setters:[function(t){e=t.r;i=t.h;a=t.H;n=t.g},function(t){o=t.g},function(t){r=t.a;s=t.u;c=t.c;l=t.C},function(t){p=t.q}],execute:function(){var f={container:"container",arrow:"arrow"};var m=500;var u="data-calcite-tooltip-reference";var d="aria-describedby";var h='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:999;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);overflow:hidden;max-width:20rem;max-height:20rem}.calcite-popper-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}';var v=t("calcite_tooltip",function(){function t(t){var i=this;e(this,t);this.offsetDistance=r;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.guid="calcite-tooltip-".concat(o());this.setUpReferenceElement=function(){i.removeReferences();i.effectiveReferenceElement=i.getReferenceElement();var t=i,e=t.el,a=t.referenceElement,n=t.effectiveReferenceElement;if(a&&!n){console.warn("".concat(e.tagName,': reference-element id "').concat(a,'" was not found.'),{el:e})}i.addReferences();i.createPopper()};this.getId=function(){return i.el.id||i.guid};this.addReferences=function(){var t=i.effectiveReferenceElement;if(!t){return}var e=i.getId();t.setAttribute(u,e);t.setAttribute(d,e)};this.removeReferences=function(){var t=i.effectiveReferenceElement;if(!t){return}t.removeAttribute(u);t.removeAttribute(d)};this.show=function(){i.open=true};this.hide=function(){i.open=false}}t.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};t.prototype.offsetSkiddingHandler=function(){this.reposition()};t.prototype.openHandler=function(){this.reposition()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};t.prototype.componentWillLoad=function(){this.setUpReferenceElement()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.disconnectedCallback=function(){this.removeReferences();this.destroyPopper()};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a,n,o;return __generator(this,(function(r){switch(r.label){case 0:t=this,e=t.popper,i=t.el,a=t.placement;n=this.getModifiers();if(!e)return[3,2];return[4,s({el:i,modifiers:n,placement:a,popper:e})];case 1:o=r.sent();return[3,3];case 2:o=this.createPopper();r.label=3;case 3:o;return[2]}}))}))};t.prototype.getReferenceElement=function(){var t=this,e=t.referenceElement,i=t.el;return(typeof e==="string"?p(i,{id:e}):e)||null};t.prototype.getModifiers=function(){var t=this,e=t.arrowEl,i=t.offsetDistance,a=t.offsetSkidding;var n={name:"arrow",enabled:true,options:{element:e}};var o={name:"offset",enabled:true,options:{offset:[a,i]}};var r={name:"eventListeners",enabled:this.open};return[n,o,r]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.el,i=t.placement,a=t.effectiveReferenceElement,n=t.overlayPositioning;var o=this.getModifiers();this.popper=c({el:e,modifiers:o,placement:i,overlayPositioning:n,referenceEl:a})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.render=function(){var t;var e=this;var n=this,o=n.effectiveReferenceElement,r=n.label,s=n.open;var c=o&&s;var p=!c;return i(a,{"aria-hidden":p.toString(),"aria-label":r,"calcite-hydrated-hidden":p,id:this.getId(),role:"tooltip"},i("div",{class:(t={},t[l.animation]=true,t[l.animationActive]=c,t)},i("div",{class:f.arrow,ref:function(t){return e.arrowEl=t}}),i("div",{class:f.container},i("slot",null))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return t}());v.style=h;var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";var w=t("calcite_tooltip_manager",function(){function t(t){var i=this;e(this,t);this.hoverTimeouts=new WeakMap;this.selector="[".concat(u,"]");this.queryTooltip=function(t){var e=i.el;if(!t.includes(e)){return null}var a=t.find((function(t){var e;return(e=t===null||t===void 0?void 0:t.hasAttribute)===null||e===void 0?void 0:e.call(t,u)}));if(!a){return null}var n=a.getAttribute(u);return p(e,{id:n})};this.clearHoverTimeout=function(t){var e=i.hoverTimeouts;if(e.has(t)){window.clearTimeout(e.get(t));e.delete(t)}};this.closeExistingTooltip=function(){var t=i.tooltipEl;if(t){i.toggleTooltip(t,false)}};this.focusTooltip=function(t){var e=t.tooltip,a=t.value;i.closeExistingTooltip();if(a){i.clearHoverTimeout(e)}i.toggleTooltip(e,a)};this.toggleTooltip=function(t,e){t.open=e;if(e){i.tooltipEl=t}};this.hoverToggle=function(t){var e=t.tooltip,a=t.value;var n=i.hoverTimeouts;n.delete(e);if(a){i.closeExistingTooltip()}i.toggleTooltip(e,a)};this.hoverTooltip=function(t){var e=t.tooltip,a=t.value;i.clearHoverTimeout(e);var n=i.hoverTimeouts;var o=window.setTimeout((function(){return i.hoverToggle({tooltip:e,value:a})}),m);n.set(e,o)};this.activeTooltipHover=function(t){var e=i,a=e.tooltipEl,n=e.hoverTimeouts;var o=t.type;if(!a){return}if(o==="mouseover"&&t.composedPath().includes(a)){i.clearHoverTimeout(a)}else if(o==="mouseout"&&!n.has(a)){i.hoverTooltip({tooltip:a,value:false})}};this.hoverEvent=function(t,e){var a=i.queryTooltip(t.composedPath());i.activeTooltipHover(t);if(!a){return}i.hoverTooltip({tooltip:a,value:e})};this.focusEvent=function(t,e){var a=i.queryTooltip(t.composedPath());if(!a||a===i.clickedTooltip){i.clickedTooltip=null;return}i.focusTooltip({tooltip:a,value:e})}}t.prototype.render=function(){return i("slot",null)};t.prototype.keyUpHandler=function(t){if(t.key==="Escape"){var e=this.tooltipEl;if(e){this.clearHoverTimeout(e);this.toggleTooltip(e,false)}}};t.prototype.mouseEnterShow=function(t){this.hoverEvent(t,true)};t.prototype.mouseLeaveHide=function(t){this.hoverEvent(t,false)};t.prototype.clickHandler=function(t){this.clickedTooltip=this.queryTooltip(t.composedPath())};t.prototype.focusShow=function(t){this.focusEvent(t,true)};t.prototype.blurHide=function(t){this.focusEvent(t,false)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());w.style=b}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{r as t,c as i,h as e,F as a,g as n}from"./p-788d9af6.js";import{C as s,I as o,S as l}from"./p-82264ba9.js";import{g as r,f as c}from"./p-d6da85a7.js";import{g as m}from"./p-cccf7888.js";import{g as h}from"./p-0fd5298e.js";import{c as u}from"./p-7e2e7425.js";import{c as p,d}from"./p-f4a430e9.js";const f=["ArrowUp","ArrowDown"],b=["ArrowUp","ArrowDown","End","Home"],x=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",7),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.mutationObserver=u("mutation",(()=>this.getActions())),this.guid=`calcite-action-menu-${h()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{el:t,menuButtonId:i,menuId:e,open:a,label:n}=this,s=r(t,l.trigger)||this.defaultMenuButtonEl;this.menuButtonEl!==s&&(this.disconnectMenuButtonEl(),this.menuButtonEl=s,this.setTooltipReferenceElement(),s&&(s.active=a,s.setAttribute("aria-controls",e),s.setAttribute("aria-expanded",a.toString()),s.setAttribute("aria-haspopup","true"),s.id||(s.id=i),s.label||(s.label=n),s.text||(s.text=n),s.addEventListener("click",this.menuButtonClick),s.addEventListener("keydown",this.menuButtonKeyDown),s.addEventListener("keyup",this.menuButtonKeyUp)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("click",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown),t.removeEventListener("keyup",this.menuButtonKeyUp))},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.setTooltipReferenceElement=()=>{const{el:t,expanded:i,menuButtonEl:e}=this,a=r(t,l.tooltip),n="SLOT"===(null==a?void 0:a.tagName)?a.assignedElements()[0]:a;"CALCITE-TOOLTIP"===(null==n?void 0:n.tagName)&&(n.referenceElement=i?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.getActions=()=>{const{el:t}=this,i=r(t,{all:!0,matches:"calcite-action"});this.updateActions(i),this.actionElements=i,this.connectMenuButtonEl()},this.menuButtonKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;this.isValidKey(i,f)&&(t.preventDefault(),e.length&&(this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuButtonKeyDown=t=>{const{key:i}=t;this.isValidKey(i,f)&&t.preventDefault()},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(" "!==i&&"Enter"!==i)this.isValidKey(i,b)&&t.preventDefault();else{t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else this.open=!1},this.menuActionsContainerKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;"Escape"!==i?this.isValidKey(i,b)&&(t.preventDefault(),e.length&&this.handleActionNavigation(i,e)):this.toggleOpen(!1)},this.handleActionNavigation=(t,i)=>{const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=m(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=m(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.getActions(),p(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.disconnectMenuButtonEl(),d(this)}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t)}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){c(this.open?this.menuEl:this.menuButtonEl)}renderMenuButton(){const{el:t,label:i,scale:a}=this,n=e("slot",{name:l.trigger},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:a,text:i}));return r(t,l.tooltip)?e("calcite-tooltip-manager",null,n):n}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:l,placement:r,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:l,offsetDistance:0,open:a,overlayPositioning:c,placement:r,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:t=>this.menuEl=t,role:"menu",tabIndex:-1},e("slot",null)))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:l.tooltip}))}getAssignedElements(){return Array.from(this.el.querySelectorAll("slot")).map((t=>t.assignedElements({flatten:!0}))).reduce(((t,i)=>t.concat(i)),[])}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};x.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{x as calcite_action_menu}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{f as t}from"./p-788d9af6.js";import{c as o}from"./p-7e2e7425.js";const n=new Set;let s;const c={childList:!0};function f(t){s||(s=o("mutation",a)),s.observe(t.el,c)}function i(t){n.delete(t.el),a(s.takeRecords()),s.disconnect();for(const[t]of n.entries())s.observe(t,c)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{r as t,c as e,h as i,F as a,g as n}from"./p-788d9af6.js";import{a as o,g as l}from"./p-d6da85a7.js";import{H as r}from"./p-738cd7bf.js";import{S as c}from"./p-82264ba9.js";import{c as s,d}from"./p-f4a430e9.js";import{u as m}from"./p-54ece774.js";import"./p-0fd5298e.js";import"./p-7e2e7425.js";const h=class{constructor(i){t(this,i),this.calcitePanelDismissedChange=e(this,"calcitePanelDismissedChange",7),this.calcitePanelScroll=e(this,"calcitePanelScroll",7),this.calcitePanelBackClick=e(this,"calcitePanelBackClick",7),this.dismissed=!1,this.disabled=!1,this.dismissible=!1,this.showBackButton=!1,this.loading=!1,this.menuOpen=!1,this.setContainerRef=t=>{this.containerEl=t},this.setDismissRef=t=>{this.dismissButtonEl=t},this.setBackRef=t=>{this.backButtonEl=t},this.panelKeyDownHandler=t=>{"Escape"===t.key&&this.dismiss()},this.dismiss=()=>{this.dismissed=!0},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.backButtonClick=()=>{this.calcitePanelBackClick.emit()}}dismissedHandler(){this.calcitePanelDismissedChange.emit()}componentDidRender(){m(this)}connectedCallback(){s(this)}disconnectedCallback(){d(this)}async setFocus(t){var e,i,a;"dismiss-button"!==t?"back-button"!==t?null===(a=this.containerEl)||void 0===a||a.focus():null===(i=this.backButtonEl)||void 0===i||i.setFocus():null===(e=this.dismissButtonEl)||void 0===e||e.setFocus()}async scrollContentTo(t){var e;null===(e=this.panelScrollEl)||void 0===e||e.scrollTo(t)}renderBackButton(){const{el:t}=this,e="rtl"===o(t),{showBackButton:a,intlBack:n,backButtonClick:l}=this,r=n||"Back";return a?i("calcite-action",{"aria-label":r,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"back-button",onClick:l,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:r}):null}renderHeaderContent(){const{heading:t,headingLevel:e,summary:a}=this,n=t?i(r,{class:"heading",level:e||3},t):null,o=a?i("span",{class:"summary"},a):null;return n||o?i("div",{class:"header-content",key:"header-content"},n,o):null}renderHeaderSlottedContent(){return i("div",{class:"header-content",key:"slotted-header-content"},i("slot",{name:"header-content"}))}renderHeaderStartActions(){const{el:t}=this;return l(t,"header-actions-start")?i("div",{class:{"header-actions--start":!0,"header-actions":!0},key:"header-actions-start"},i("slot",{name:"header-actions-start"})):null}renderHeaderActionsEnd(){const{dismiss:t,dismissible:e,el:a,intlClose:n}=this,o=n||"Close",r=e?i("calcite-action",{"aria-label":o,icon:"x",onClick:t,ref:this.setDismissRef,text:o}):null,c=i("slot",{name:"header-actions-end"});return l(a,"header-actions-end")||r?i("div",{class:{"header-actions--end":!0,"header-actions":!0},key:"header-actions-end"},c,r):null}renderMenu(){const{el:t,intlOptions:e,menuOpen:a}=this;return l(t,"header-menu-actions")?i("calcite-action-menu",{flipPlacements:["top","bottom"],key:"menu",label:e||"Options",open:a,placement:"bottom-end"},i("calcite-action",{icon:"ellipsis",slot:c.trigger,text:e||"Options"}),i("slot",{name:"header-menu-actions"})):null}renderHeaderNode(){const{el:t,showBackButton:e}=this,a=this.renderBackButton(),n=l(t,"header-content")?this.renderHeaderSlottedContent():this.renderHeaderContent(),o=this.renderHeaderStartActions(),r=this.renderHeaderActionsEnd(),c=this.renderMenu();return o||n||r||c||e?i("header",{class:"header"},a,o,n,r,c):null}renderFooterNode(){const{el:t}=this,e=l(t,"footer"),a=l(t,"footer-actions");return e||a?i("footer",{class:"footer",key:"footer"},e?i("slot",{key:"footer-slot",name:"footer"}):null,a?i("slot",{key:"footer-actions-slot",name:"footer-actions"}):null):null}renderContent(){const{el:t}=this,e=l(t,"fab"),a=i("slot",{key:"default-slot"}),n="content-wrapper";return e?i("div",{class:{"content-wrapper":!0,"content-height":!0},key:n,onScroll:this.panelScrollHandler,ref:t=>this.panelScrollEl=t,tabIndex:0},i("section",{class:"content-container"},a),this.renderFab()):i("section",{class:{"content-wrapper":!0,"content-container":!0},key:n,onScroll:this.panelScrollHandler,ref:t=>this.panelScrollEl=t,tabIndex:0},a)}renderFab(){return i("div",{class:"fab-container"},i("slot",{name:"fab"}))}render(){const{dismissed:t,dismissible:e,loading:n,panelKeyDownHandler:o}=this,l=i("article",{"aria-busy":n.toString(),class:"container",hidden:e&&t,onKeyDown:o,ref:this.setContainerRef,tabIndex:e?0:-1},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(a,null,n?i("calcite-scrim",{loading:n}):null,l)}get el(){return n(this)}static get watchers(){return{dismissed:["dismissedHandler"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;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{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.container{margin:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-height:var(--calcite-panel-max-height);width:var(--calcite-panel-width);max-width:var(--calcite-panel-max-width);min-width:var(--calcite-panel-min-width);-webkit-transition:max-height var(--calcite-animation-timing), width var(--calcite-animation-timing);transition:max-height var(--calcite-animation-timing), width var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}:host([loading]) .container,:host([disabled]) .container{position:relative}.header{border-bottom:1px solid;position:-webkit-sticky;position:sticky;top:0px;width:100%;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto}.header-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.875rem;padding-bottom:0.875rem;overflow:hidden;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .summary{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-bottom:0px}.header-content .summary{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.header-actions--end,.menu-container:only-child{-webkit-margin-start:auto;margin-inline-start:auto}.menu-button{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{min-width:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{height:100%}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{border-top:1px solid;position:-webkit-sticky;position:sticky;bottom:0px;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-top-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;min-height:3rem;padding:0.5rem}.fab-container{position:-webkit-sticky;position:sticky;bottom:0px;left:0px;right:0px;margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:block;padding:0.5rem;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content}";export{h as calcite_panel}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- System.register(["./p-d6ed0fa5.system.js"],(function(e,t){"use strict";var l,i,a,n;return{setters:[function(e){l=e.d;i=e.N;a=e.p;n=e.b}],execute:function(){var e=function(){var e=Array.from(l.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var n=t.meta.url;var c=e["data-opts"]||{};if(n!==""){c.resourcesUrl=new URL(".",n).href}return a(c)};e().then((function(e){return n(JSON.parse('[["p-0de41b26.system",[[1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"setFocus":[64]}]]],["p-d76c1857.system",[[1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"activeMenuItemIndex":[32],"setFocus":[64]},[[8,"click","closeCalciteActionMenuOnClick"]]]]],["p-7853d93c.system",[[1,"calcite-block",{"collapsible":[4],"disabled":[516],"dragHandle":[516,"drag-handle"],"heading":[1],"headingLevel":[2,"heading-level"],"intlCollapse":[1,"intl-collapse"],"intlExpand":[1,"intl-expand"],"intlLoading":[1,"intl-loading"],"intlOptions":[1,"intl-options"],"loading":[516],"open":[1540],"status":[513],"summary":[1]}],[1,"calcite-block-section",{"intlCollapse":[1,"intl-collapse"],"intlExpand":[1,"intl-expand"],"open":[1540],"status":[513],"text":[1],"toggleDisplay":[513,"toggle-display"]}]]],["p-46698107.system",[[1,"calcite-value-list",{"disabled":[516],"dragEnabled":[516,"drag-enabled"],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"group":[1],"loading":[516],"multiple":[516],"selectionFollowsFocus":[4,"selection-follows-focus"],"selectedValues":[32],"dataForFilter":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"focusout","calciteListFocusOutHandler"],[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsChange","calciteListItemPropsChangeHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"]]],[1,"calcite-value-list-item",{"description":[513],"disabled":[516],"disableDeselect":[4,"disable-deselect"],"nonInteractive":[516,"non-interactive"],"handleActivated":[1028,"handle-activated"],"icon":[513],"label":[513],"metadata":[16],"removable":[516],"selected":[1540],"value":[8],"toggleSelected":[64],"setFocus":[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"]]]]],["p-1891170c.system",[[1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513],"overflowActions":[64],"setFocus":[64]}]]],["p-fda6176c.system",[[1,"calcite-action-pad",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"position":[513],"scale":[513],"setFocus":[64]}]]],["p-2e0be8a8.system",[[1,"calcite-tip",{"dismissed":[1540],"nonDismissible":[516,"non-dismissible"],"heading":[1],"headingLevel":[2,"heading-level"],"selected":[516],"intlClose":[1,"intl-close"]}],[1,"calcite-tip-manager",{"closed":[1540],"headingLevel":[2,"heading-level"],"intlClose":[1,"intl-close"],"intlDefaultTitle":[1,"intl-default-title"],"intlNext":[1,"intl-next"],"intlPaginationLabel":[1,"intl-pagination-label"],"intlPrevious":[1,"intl-previous"],"selectedIndex":[32],"tips":[32],"total":[32],"direction":[32],"groupTitle":[32],"nextTip":[64],"previousTip":[64]}],[1,"calcite-tip-group",{"groupTitle":[1,"group-title"]}]]],["p-01a3f9a2.system",[[1,"calcite-checkbox",{"checked":[1540],"disabled":[516],"guid":[1537],"hovered":[1540],"indeterminate":[1540],"label":[1],"name":[520],"required":[516],"scale":[513],"value":[8],"setFocus":[64]}]]],["p-dd19dab2.system",[[1,"calcite-loader",{"active":[516],"inline":[516],"label":[1],"scale":[513],"type":[513],"value":[2],"text":[1],"noPadding":[4,"no-padding"]}]]],["p-68688c2e.system",[[1,"calcite-card",{"loading":[516],"selected":[1540],"selectable":[516],"intlLoading":[1,"intl-loading"],"intlSelect":[1,"intl-select"],"intlDeselect":[1,"intl-deselect"]}]]],["p-a692a2b4.system",[[1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]]],["p-daa14b5d.system",[[1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"flipPlacements":[16],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"placement":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32],"setFocus":[64],"reposition":[64]},[[0,"calciteDatePickerChange","handleDateOrRangeChange"],[0,"calciteDatePickerRangeChange","handleDateOrRangeChange"],[0,"calciteDaySelect","calciteDaySelectHandler"]]]]],["p-d4d75ba6.system",[[1,"calcite-panel",{"dismissed":[1540],"beforeBack":[16],"disabled":[516],"dismissible":[516],"headingLevel":[2,"heading-level"],"showBackButton":[516,"show-back-button"],"intlBack":[1,"intl-back"],"heightScale":[513,"height-scale"],"widthScale":[513,"width-scale"],"loading":[516],"intlClose":[1,"intl-close"],"intlOptions":[1,"intl-options"],"heading":[1],"summary":[1],"menuOpen":[516,"menu-open"],"setFocus":[64],"scrollContentTo":[64]}]]],["p-dfa1a3db.system",[[1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]]],["p-e1afa707.system",[[1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"flipPlacements":[16],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"reposition":[64],"setFocus":[64]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]],[1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[4],"ancestors":[1040],"guid":[1],"icon":[1],"textLabel":[513,"text-label"],"value":[8],"constant":[516],"toggleSelected":[64]}],[1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]]],["p-0d2be404.system",[[1,"calcite-tile-select",{"checked":[1540],"description":[513],"disabled":[516],"heading":[513],"hidden":[516],"icon":[513],"name":[520],"inputEnabled":[516,"input-enabled"],"inputAlignment":[513,"input-alignment"],"type":[513],"value":[8],"width":[513],"focused":[32],"setFocus":[64]},[[0,"calciteCheckboxChange","checkboxChangeHandler"],[0,"calciteInternalCheckboxFocus","checkboxFocusBlurHandler"],[0,"calciteInternalCheckboxBlur","checkboxFocusBlurHandler"],[0,"calciteRadioButtonChange","radioButtonChangeHandler"],[0,"calciteInternalRadioButtonCheckedChange","radioButtonCheckedChangeHandler"],[0,"calciteInternalRadioButtonFocus","radioButtonFocusBlurHandler"],[0,"calciteInternalRadioButtonBlur","radioButtonFocusBlurHandler"],[0,"click","click"],[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]],[1,"calcite-tile-select-group",{"disabled":[516],"layout":[513]}]]],["p-c247533e.system",[[1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"],"setFocus":[64]}]]],["p-94869dec.system",[[1,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"intlEnableEditing":[513,"intl-enable-editing"],"intlCancelEditing":[513,"intl-cancel-editing"],"intlConfirmChanges":[513,"intl-confirm-changes"],"scale":[1537],"afterConfirm":[16],"setFocus":[64]},[[0,"calciteInputBlur","blurHandler"]]]]],["p-967b0d5c.system",[[1,"calcite-modal",{"active":[1540],"beforeClose":[16],"disableCloseButton":[4,"disable-close-button"],"disableOutsideClose":[4,"disable-outside-close"],"intlClose":[1,"intl-close"],"docked":[516],"firstFocus":[16],"disableEscape":[4,"disable-escape"],"scale":[513],"width":[520],"fullscreen":[516],"color":[513],"backgroundColor":[513,"background-color"],"noPadding":[4,"no-padding"],"hasFooter":[32],"focusElement":[64],"setFocus":[64],"scrollContent":[64]},[[8,"keyup","handleEscape"]]]]],["p-a6f6ea44.system",[[1,"calcite-tree-item",{"selected":[1540],"expanded":[1540],"parentExpanded":[4,"parent-expanded"],"depth":[1538],"hasChildren":[1540,"has-children"],"lines":[1540],"inputEnabled":[4,"input-enabled"],"scale":[1537],"indeterminate":[516],"selectionMode":[1025,"selection-mode"]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-tree",{"lines":[1540],"inputEnabled":[4,"input-enabled"],"child":[1540],"scale":[1537],"selectionMode":[1537,"selection-mode"]},[[0,"focus","onFocus"],[0,"focusin","onFocusIn"],[0,"focusout","onFocusOut"],[0,"calciteTreeItemSelect","onClick"],[0,"keydown","keyDownHandler"]]]]],["p-d9ca5de6.system",[[1,"calcite-alert",{"active":[1540],"autoDismiss":[4,"auto-dismiss"],"autoDismissDuration":[513,"auto-dismiss-duration"],"color":[513],"icon":[520],"intlClose":[1,"intl-close"],"label":[1],"placement":[1],"scale":[513],"queue":[32],"queueLength":[32],"queued":[32],"requestedIcon":[32],"setFocus":[64]},[[8,"calciteAlertSync","alertSync"],[8,"calciteAlertRegister","alertRegister"]]]]],["p-e04fc57e.system",[[1,"calcite-rating",{"scale":[513],"value":[1538],"readOnly":[516,"read-only"],"disabled":[516],"showChip":[516,"show-chip"],"count":[514],"average":[514],"name":[513],"intlRating":[1,"intl-rating"],"intlStars":[1,"intl-stars"],"required":[516],"hoverValue":[32],"focusValue":[32],"hasFocus":[32],"setFocus":[64]},[[0,"blur","blurHandler"]]]]],["p-5820b406.system",[[1,"calcite-select",{"disabled":[516],"label":[1],"name":[1],"required":[516],"scale":[513],"value":[1025],"selectedOption":[1040],"width":[513],"setFocus":[64]},[[0,"calciteOptionChange","handleOptionOrGroupChange"],[0,"calciteOptionGroupChange","handleOptionOrGroupChange"]]],[1,"calcite-option",{"disabled":[516],"label":[1025],"selected":[516],"value":[1032]}],[1,"calcite-option-group",{"disabled":[516],"label":[1]}]]],["p-dae31e5f.system",[[1,"calcite-accordion-item",{"active":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteAccordionChange","updateActiveItemOnChange"]]],[1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteAccordionItemKeyEvent","calciteAccordionItemKeyEvent"],[0,"calciteAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteAccordionItemSelect","updateActiveItemOnChange"]]]]],["p-44473ead.system",[[1,"calcite-radio-group-item",{"checked":[1540],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"iconPosition":[513,"icon-position"],"value":[1032]}],[1,"calcite-radio-group",{"appearance":[513],"disabled":[516],"required":[516],"layout":[513],"name":[1],"scale":[513],"value":[1025],"selectedItem":[1040],"width":[513],"setFocus":[64]},[[0,"calciteRadioGroupItemChange","handleSelected"],[0,"keydown","handleKeyDown"]]]]],["p-7c3d07cd.system",[[1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[516],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[0,"keydown","keyDownHandler"],[16,"calciteStepperItemChange","updateActiveItemOnChange"]]],[1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513],"requestedContent":[1040],"nextStep":[64],"prevStep":[64],"goToStep":[64],"startStep":[64],"endStep":[64]},[[0,"calciteStepperItemKeyEvent","calciteStepperItemKeyEvent"],[0,"calciteStepperItemRegister","registerItem"],[0,"calciteStepperItemSelect","updateItem"]]]]],["p-e0b0486e.system",[[1,"calcite-avatar",{"scale":[513],"thumbnail":[1],"fullName":[1,"full-name"],"username":[1],"userId":[1,"user-id"],"error":[32]}]]],["p-cec2c39f.system",[[1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]]],["p-e350bf84.system",[[1,"calcite-notice",{"active":[1540],"color":[513],"dismissible":[516],"icon":[520],"intlClose":[1,"intl-close"],"scale":[513],"width":[513],"setFocus":[64]}]]],["p-577c6140.system",[[1,"calcite-pagination",{"num":[2],"start":[1026],"total":[2],"textLabelNext":[1,"text-label-next"],"textLabelPrevious":[1,"text-label-previous"],"scale":[513],"nextPage":[64],"previousPage":[64]}]]],["p-63be73b7.system",[[1,"calcite-list",{"disabled":[516],"headingLevel":[2,"heading-level"],"setFocus":[64]}],[1,"calcite-list-item",{"nonInteractive":[516,"non-interactive"],"description":[1],"disabled":[516],"label":[1],"setFocus":[64]}],[1,"calcite-list-item-group",{"heading":[513],"headingLevel":[2,"heading-level"]}]]],["p-e36fd7f8.system",[[1,"calcite-shell",{"contentBehind":[516,"content-behind"]}],[1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}],[1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]]],["p-643bc2de.system",[[1,"calcite-flow",{"panelCount":[32],"flowDirection":[32],"panels":[32],"back":[64]},[[0,"calcitePanelBackClick","handleCalcitePanelBackClick"]]]]],["p-dfc3aa2a.system",[[1,"calcite-radio-button",{"checked":[1540],"disabled":[516],"focused":[1540],"guid":[1537],"hidden":[516],"hovered":[1540],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1032],"setFocus":[64],"emitCheckedChange":[64]},[[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]]]],["p-270c69af.system",[[1,"calcite-radio-button-group",{"disabled":[516],"hidden":[516],"layout":[513],"name":[513],"required":[516],"scale":[513]},[[0,"calciteRadioButtonChange","radioButtonChangeHandler"]]]]],["p-5d9d078d.system",[[1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]]],["p-9cdb2412.system",[[1,"calcite-pick-list",{"disabled":[516],"filterEnabled":[516,"filter-enabled"],"filterPlaceholder":[513,"filter-placeholder"],"headingLevel":[2,"heading-level"],"loading":[516],"multiple":[516],"selectionFollowsFocus":[4,"selection-follows-focus"],"selectedValues":[32],"dataForFilter":[32],"getSelectedItems":[64],"setFocus":[64]},[[0,"calciteListItemRemove","calciteListItemRemoveHandler"],[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsChange","calciteListItemPropsChangeHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"],[0,"focusout","calciteListFocusOutHandler"]]],[1,"calcite-pick-list-group",{"groupTitle":[513,"group-title"],"headingLevel":[2,"heading-level"]}],[1,"calcite-pick-list-item",{"description":[513],"disabled":[516],"disableDeselect":[4,"disable-deselect"],"nonInteractive":[516,"non-interactive"],"icon":[513],"label":[513],"metadata":[16],"removable":[516],"selected":[1540],"intlRemove":[513,"intl-remove"],"value":[8],"toggleSelected":[64],"setFocus":[64]}]]],["p-4df1f8b0.system",[[1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"placement":[513],"step":[2],"value":[1025],"localizedValue":[32],"setFocus":[64]},[[0,"click","clickHandler"],[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]],[1,"calcite-time-picker",{"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"scale":[1],"step":[2],"value":[1025],"hour":[32],"hourCycle":[32],"localizedHour":[32],"localizedHourSuffix":[32],"localizedMeridiem":[32],"localizedMinute":[32],"localizedMinuteSuffix":[32],"localizedSecond":[32],"localizedSecondSuffix":[32],"meridiem":[32],"minute":[32],"second":[32],"showSecond":[32],"setFocus":[64]},[[0,"blur","hostBlurHandler"],[0,"focus","hostFocusHandler"],[0,"keydown","keyDownHandler"]]]]],["p-54857871.system",[[1,"calcite-tile",{"active":[516],"description":[513],"disabled":[516],"embed":[516],"focused":[516],"heading":[513],"hidden":[516],"href":[513],"icon":[513]}]]],["p-eb343d7c.system",[[1,"calcite-dropdown-item",{"active":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[1],"target":[1],"setFocus":[64]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteDropdownItemChange","updateActiveItemOnChange"]]],[1,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteDropdownItemSelect","updateActiveItemOnChange"]]],[1,"calcite-dropdown",{"active":[1540],"disableCloseOnSelect":[516,"disable-close-on-select"],"disabled":[516],"flipPlacements":[16],"maxItems":[2,"max-items"],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513],"reposition":[64]},[[8,"click","closeCalciteDropdownOnClick"],[0,"calciteDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"mouseenter","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"calciteDropdownItemKeyEvent","calciteDropdownItemKeyEvent"],[0,"calciteDropdownItemSelect","handleItemSelect"]]]]],["p-199d6edc.system",[[1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32],"setFocus":[64]},[[0,"keydown","keyDownHandler"],[0,"click","clickHandler"],[1,"pointerdown","pointerDownHandler"]]],[1,"calcite-graph",{"data":[16],"colorStops":[16],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[2],"max":[2]}]]],["p-ad36023a.system",[[1,"calcite-handle",{"activated":[1540],"textTitle":[513,"text-title"],"setFocus":[64]}]]],["p-6ad109fa.system",[[1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disableSpacing":[4,"disable-spacing"],"disabled":[516]}]]],["p-8bb3fb6e.system",[[1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[1028],"checked":[1540],"value":[8],"setFocus":[64]}]]],["p-30edf4d0.system",[[1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]]],["p-a9f49aba.system",[[1,"calcite-filter",{"items":[1040],"disabled":[516],"filteredItems":[1040],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"scale":[513],"value":[1025],"setFocus":[64]}]]],["p-e20f6136.system",[[1,"calcite-link",{"disabled":[516],"download":[520],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1],"setFocus":[64]}]]],["p-886d0ac9.system",[[1,"calcite-chip",{"appearance":[513],"color":[513],"dismissible":[516],"dismissLabel":[1,"dismiss-label"],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"scale":[513],"value":[8],"setFocus":[64]}]]],["p-0443feac.system",[[1,"calcite-button",{"alignment":[513],"appearance":[513],"label":[1],"color":[513],"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"intlLoading":[1,"intl-loading"],"loading":[516],"name":[1],"rel":[1],"form":[1],"round":[516],"scale":[513],"splitChild":[520,"split-child"],"target":[1],"type":[1025],"width":[513],"hasContent":[32],"hasLoader":[32],"setFocus":[64]}]]],["p-ce37501d.system",[[1,"calcite-tab-title",{"active":[1540],"disabled":[516],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"layout":[1537],"position":[1537],"scale":[1537],"bordered":[1540],"tab":[513],"controls":[32],"hasText":[32],"getTabIndex":[64],"getTabIdentifier":[64],"updateAriaInfo":[64]},[[16,"calciteInternalTabChange","internalTabChangeHandler"],[0,"click","onClick"],[0,"keydown","keyDownHandler"]]],[1,"calcite-tab",{"tab":[513],"active":[1540],"scale":[1537],"labeledBy":[32],"getTabIndex":[64],"updateAriaInfo":[64]},[[16,"calciteInternalTabChange","internalTabChangeHandler"]]],[1,"calcite-tab-nav",{"storageId":[1,"storage-id"],"syncId":[1,"sync-id"],"scale":[1537],"layout":[1537],"position":[1537],"bordered":[1540],"indicatorOffset":[1026,"indicator-offset"],"indicatorWidth":[1026,"indicator-width"],"selectedTab":[32],"selectedTabEl":[32]},[[0,"calciteTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteTabsFocusNext","focusNextTabHandler"],[0,"calciteInternalTabsActivate","internalActivateTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[0,"calciteTabTitleRegister","updateTabTitles"],[16,"calciteInternalTabChange","globalInternalTabChangeHandler"]]],[1,"calcite-tabs",{"layout":[513],"position":[513],"scale":[513],"bordered":[1540],"titles":[32],"tabs":[32]},[[0,"calciteTabTitleRegister","calciteTabTitleRegister"],[16,"calciteTabTitleUnregister","calciteTabTitleUnregister"],[0,"calciteTabRegister","calciteTabRegister"],[16,"calciteTabUnregister","calciteTabUnregister"]]]]],["p-6d264ef2.system",[[1,"calcite-color-picker",{"allowEmpty":[4,"allow-empty"],"appearance":[513],"color":[1040],"disabled":[516],"format":[1],"hideHex":[4,"hide-hex"],"hideChannels":[4,"hide-channels"],"hideSaved":[4,"hide-saved"],"intlB":[1,"intl-b"],"intlBlue":[1,"intl-blue"],"intlDeleteColor":[1,"intl-delete-color"],"intlG":[1,"intl-g"],"intlGreen":[1,"intl-green"],"intlH":[1,"intl-h"],"intlHsv":[1,"intl-hsv"],"intlHex":[1,"intl-hex"],"intlHue":[1,"intl-hue"],"intlNoColor":[1,"intl-no-color"],"intlR":[1,"intl-r"],"intlRed":[1,"intl-red"],"intlRgb":[1,"intl-rgb"],"intlS":[1,"intl-s"],"intlSaturation":[1,"intl-saturation"],"intlSaveColor":[1,"intl-save-color"],"intlSaved":[1,"intl-saved"],"intlV":[1,"intl-v"],"intlValue":[1,"intl-value"],"scale":[513],"storageId":[1,"storage-id"],"value":[1025],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32],"setFocus":[64]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]],[1,"calcite-color-picker-hex-input",{"allowEmpty":[4,"allow-empty"],"intlHex":[1,"intl-hex"],"intlNoColor":[1,"intl-no-color"],"scale":[513],"value":[1537],"internalColor":[32],"setFocus":[64]},[[2,"keydown","onInputKeyDown"]]],[1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]]],["p-1b93ee1f.system",[[1,"calcite-scrim",{"intlLoading":[1,"intl-loading"],"loading":[516]}]]],["p-e54cf4d5.system",[[1,"calcite-tooltip",{"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[516],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"effectiveReferenceElement":[32],"reposition":[64]}],[1,"calcite-tooltip-manager",{"selector":[1]},[[4,"keyup","keyUpHandler"],[3,"mouseover","mouseEnterShow"],[3,"mouseout","mouseLeaveHide"],[2,"click","clickHandler"],[2,"focus","focusShow"],[2,"blur","blurHide"]]]]],["p-7fa4665b.system",[[1,"calcite-popover-manager",{"selector":[1],"autoClose":[516,"auto-close"]},[[10,"click","closeOpenPopovers"]]],[1,"calcite-popover",{"closeButton":[516,"close-button"],"dismissible":[516],"disableFlip":[516,"disable-flip"],"disablePointer":[516,"disable-pointer"],"flipPlacements":[16],"heading":[1],"headingLevel":[2,"heading-level"],"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"intlClose":[1,"intl-close"],"effectiveReferenceElement":[32],"reposition":[64],"setFocus":[64],"toggle":[64]}]]],["p-a87b026c.system",[[1,"calcite-progress",{"type":[1],"value":[2],"label":[1],"text":[1],"reversed":[4]}]]],["p-9bec437f.system",[[1,"calcite-input",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxlength":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"localizedValue":[32],"setFocus":[64]}]]],["p-d0710c22.system",[[1,"calcite-date-picker",{"activeRange":[1,"active-range"],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"start":[1025],"end":[1025],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"activeDate":[32],"activeStartDate":[32],"activeEndDate":[32],"localeData":[32],"hoverRange":[32]}],[1,"calcite-date-picker-month",{"selectedDate":[16],"activeDate":[16],"startDate":[16],"endDate":[16],"min":[16],"max":[16],"scale":[513],"localeData":[16],"hoverRange":[16]},[[1,"mouseout","mouseoutHandler"]]],[1,"calcite-date-picker-month-header",{"selectedDate":[16],"activeDate":[16],"headingLevel":[2,"heading-level"],"min":[16],"max":[16],"locale":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"scale":[513],"localeData":[16],"nextMonthDate":[32],"prevMonthDate":[32]}],[1,"calcite-date-picker-day",{"day":[2],"disabled":[516],"currentMonth":[516,"current-month"],"selected":[516],"highlighted":[516],"range":[516],"startOfRange":[516,"start-of-range"],"endOfRange":[516,"end-of-range"],"rangeHover":[516,"range-hover"],"active":[516],"localeData":[16],"scale":[513],"value":[16]},[[1,"mouseover","mouseoverHandler"]]]]]]'),e)}))}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- import{c as n}from"./p-d6da85a7.js";import{h as t}from"./p-788d9af6.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,u=n(o,"form");if(!u||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(u,o))return;t.formEl=u,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const c=(t.onFormReset||s).bind(t);u.addEventListener("reset",c),i.add(o)}function s(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function u(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function c(n,t){n.defaultValue=t}function a(n,t,o){var i;const{defaultValue:r,disabled:s,name:u,required:c}=n;t.defaultValue=r,t.disabled=s,t.name=u,t.required=c,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const l=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const u=Array.isArray(i)?i:[i],c=[],l=new Set;let f;s.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(l.add(e),a(n,t,e)):c.push(t)})),u.forEach((t=>{if(l.has(t))return;let e=c.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),a(n,e,t)})),f&&t.append(f),c.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{l as H,c as a,r as c,u as d}
@@ -1,33 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.442
5
- */
6
- const CSS = {
7
- header: "header",
8
- heading: "heading",
9
- close: "close",
10
- container: "container",
11
- tipContainer: "tip-container",
12
- tipContainerAdvancing: "tip-container--advancing",
13
- tipContainerRetreating: "tip-container--retreating",
14
- pagination: "pagination",
15
- pagePosition: "page-position",
16
- pageNext: "page-next",
17
- pagePrevious: "page-previous"
18
- };
19
- const ICONS = {
20
- chevronLeft: "chevron-left",
21
- chevronRight: "chevron-right",
22
- close: "x"
23
- };
24
- const TEXT = {
25
- defaultGroupTitle: "Tips",
26
- defaultPaginationLabel: "Tip",
27
- close: "Close",
28
- previous: "Previous",
29
- next: "Next"
30
- };
31
- const HEADING_LEVEL = 2;
32
-
33
- export { CSS as C, HEADING_LEVEL as H, ICONS as I, TEXT as T };