@esri/calcite-components 1.0.0-beta.71 → 1.0.0-beta.72

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 (894) hide show
  1. package/dist/calcite/assets/calcite-icon/centerAlign16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/language16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/language24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/language32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
  25. package/dist/calcite/calcite.css +1 -1
  26. package/dist/calcite/calcite.esm.js +1 -1
  27. package/dist/calcite/calcite.js +1 -1
  28. package/dist/calcite/{p-b6b6ec04.js → p-0229a408.js} +1 -1
  29. package/dist/calcite/p-04cc8259.entry.js +5 -0
  30. package/dist/calcite/p-057197f8.entry.js +5 -0
  31. package/dist/calcite/p-05c10c53.entry.js +5 -0
  32. package/dist/calcite/p-05edaadf.system.entry.js +5 -0
  33. package/dist/calcite/p-06ddf228.entry.js +5 -0
  34. package/dist/calcite/p-0b45733b.entry.js +5 -0
  35. package/dist/calcite/p-0f2b51bf.system.js +5 -0
  36. package/dist/calcite/p-112f20e6.system.entry.js +5 -0
  37. package/dist/calcite/p-11f01c0a.entry.js +5 -0
  38. package/dist/calcite/p-18d9a261.system.js +5 -0
  39. package/dist/calcite/p-1942876c.js +5 -0
  40. package/dist/calcite/{p-fba77b86.entry.js → p-2151c991.entry.js} +1 -1
  41. package/dist/calcite/{p-7bb94bfa.entry.js → p-27d9be53.entry.js} +1 -1
  42. package/dist/calcite/p-288899b9.entry.js +5 -0
  43. package/dist/calcite/p-2b294f8e.system.entry.js +5 -0
  44. package/dist/calcite/{p-2c66fb61.entry.js → p-2be1e8ee.entry.js} +1 -1
  45. package/dist/calcite/p-2d939f9e.system.entry.js +5 -0
  46. package/dist/calcite/p-2fbd50f3.system.entry.js +5 -0
  47. package/dist/calcite/p-30036f23.system.entry.js +5 -0
  48. package/dist/calcite/{p-d07ff1ee.system.js → p-35a5c74c.system.js} +1 -1
  49. package/dist/calcite/p-3739338a.system.entry.js +5 -0
  50. package/dist/calcite/p-3c25cb72.system.entry.js +5 -0
  51. package/dist/calcite/p-3d8ee39d.system.entry.js +5 -0
  52. package/dist/calcite/p-3dae9da3.js +5 -0
  53. package/dist/calcite/p-3e9c6068.entry.js +5 -0
  54. package/dist/calcite/p-3f8527a3.entry.js +5 -0
  55. package/dist/calcite/p-40991717.entry.js +5 -0
  56. package/dist/calcite/p-40e16f41.entry.js +5 -0
  57. package/dist/calcite/p-4278fb57.entry.js +5 -0
  58. package/dist/calcite/p-444ecda9.entry.js +5 -0
  59. package/dist/calcite/p-44cce7a3.system.entry.js +5 -0
  60. package/dist/calcite/p-4d02c6c0.system.entry.js +5 -0
  61. package/dist/calcite/{p-4035444d.system.js → p-4e9d072a.system.js} +1 -1
  62. package/dist/calcite/p-4f1f716a.system.entry.js +5 -0
  63. package/dist/calcite/p-4f7ebefc.system.js +5 -0
  64. package/dist/calcite/{p-71cdeee3.system.js → p-523bc291.system.js} +1 -1
  65. package/dist/calcite/p-52cc870b.js +5 -0
  66. package/dist/calcite/p-55f68e28.entry.js +5 -0
  67. package/dist/calcite/p-57169a74.entry.js +5 -0
  68. package/dist/calcite/p-5c9d89ce.system.entry.js +5 -0
  69. package/dist/calcite/p-62f3d4df.system.js +5 -0
  70. package/dist/calcite/p-63b9f804.entry.js +5 -0
  71. package/dist/calcite/p-66fda99e.entry.js +5 -0
  72. package/dist/calcite/p-689790cb.system.entry.js +5 -0
  73. package/dist/calcite/p-69bd1f5f.system.entry.js +5 -0
  74. package/dist/calcite/p-6a87d7b2.entry.js +5 -0
  75. package/dist/calcite/p-6cc23c39.system.js +5 -0
  76. package/dist/calcite/p-6faaa8af.system.entry.js +5 -0
  77. package/dist/calcite/p-6fb63fc1.entry.js +5 -0
  78. package/dist/calcite/p-72a60528.system.entry.js +5 -0
  79. package/dist/calcite/p-763479d6.system.entry.js +5 -0
  80. package/dist/calcite/p-768018df.entry.js +5 -0
  81. package/dist/calcite/p-76eda40b.entry.js +5 -0
  82. package/dist/calcite/p-7ac9f860.entry.js +5 -0
  83. package/dist/calcite/p-7ff5e336.entry.js +5 -0
  84. package/dist/calcite/p-83744979.system.js +5 -0
  85. package/dist/calcite/p-87327c2f.system.entry.js +5 -0
  86. package/dist/calcite/p-88296be9.system.entry.js +5 -0
  87. package/dist/calcite/p-88b31760.system.entry.js +5 -0
  88. package/dist/calcite/p-8a8982ab.system.entry.js +5 -0
  89. package/dist/calcite/p-8c4b6059.system.entry.js +5 -0
  90. package/dist/calcite/p-8ebc2d51.entry.js +5 -0
  91. package/dist/calcite/p-9180be05.system.entry.js +5 -0
  92. package/dist/calcite/p-93a189be.entry.js +5 -0
  93. package/dist/calcite/p-97117a5d.entry.js +5 -0
  94. package/dist/calcite/p-97efd284.system.entry.js +5 -0
  95. package/dist/calcite/p-998829cb.system.entry.js +5 -0
  96. package/dist/calcite/p-9a1ffbad.system.entry.js +5 -0
  97. package/dist/calcite/p-9a8f3883.entry.js +5 -0
  98. package/dist/calcite/p-9b979692.entry.js +5 -0
  99. package/dist/calcite/p-9fc14d49.entry.js +5 -0
  100. package/dist/calcite/p-9feb0f5a.system.entry.js +5 -0
  101. package/dist/calcite/p-a2a22cbc.entry.js +5 -0
  102. package/dist/calcite/p-a3c498de.entry.js +5 -0
  103. package/dist/calcite/p-a4784cf3.system.entry.js +5 -0
  104. package/dist/calcite/p-a4a12ffb.system.entry.js +5 -0
  105. package/dist/calcite/p-a6f99f79.entry.js +5 -0
  106. package/dist/calcite/p-a98344e2.system.entry.js +5 -0
  107. package/dist/calcite/p-a9f596be.system.entry.js +5 -0
  108. package/dist/calcite/p-adf4699d.system.entry.js +5 -0
  109. package/dist/calcite/p-b180d943.system.entry.js +5 -0
  110. package/dist/calcite/p-b2f0596f.entry.js +5 -0
  111. package/dist/calcite/p-b437a8eb.system.entry.js +5 -0
  112. package/dist/calcite/p-b43e699c.system.entry.js +5 -0
  113. package/dist/calcite/p-ba7c0f01.system.entry.js +5 -0
  114. package/dist/calcite/p-bca0b34f.entry.js +5 -0
  115. package/dist/calcite/p-bd091b49.system.entry.js +5 -0
  116. package/dist/calcite/p-bdca5372.entry.js +5 -0
  117. package/dist/calcite/p-bfa6bd72.entry.js +5 -0
  118. package/dist/calcite/p-c00b1d26.js +5 -0
  119. package/dist/calcite/p-c2bfd7f9.system.entry.js +5 -0
  120. package/dist/calcite/p-c2fcf603.system.entry.js +5 -0
  121. package/dist/calcite/{p-47f55191.system.js → p-c34c4414.system.js} +1 -1
  122. package/dist/calcite/p-c70bacc8.system.entry.js +5 -0
  123. package/dist/calcite/p-c8c6323c.entry.js +5 -0
  124. package/dist/calcite/p-cb660e54.entry.js +5 -0
  125. package/dist/calcite/p-cd5d5756.system.entry.js +5 -0
  126. package/dist/calcite/p-ce704ece.js +5 -0
  127. package/dist/calcite/p-cf499949.entry.js +5 -0
  128. package/dist/calcite/p-d17cfab3.entry.js +5 -0
  129. package/dist/calcite/{p-e956e279.js → p-d3bd900e.js} +1 -1
  130. package/dist/calcite/p-d3db2b58.system.entry.js +5 -0
  131. package/dist/calcite/p-d4d5665a.system.entry.js +5 -0
  132. package/dist/calcite/p-d8039e8a.system.entry.js +5 -0
  133. package/dist/calcite/p-d9414082.system.entry.js +5 -0
  134. package/dist/calcite/p-dc7124e9.entry.js +5 -0
  135. package/dist/calcite/p-dc777403.system.entry.js +5 -0
  136. package/dist/calcite/p-dda22c7e.system.entry.js +5 -0
  137. package/dist/calcite/p-de67ba93.system.entry.js +5 -0
  138. package/dist/calcite/p-e09bac0d.system.entry.js +5 -0
  139. package/dist/calcite/p-e0b1e90c.entry.js +5 -0
  140. package/dist/calcite/p-e35b29f5.system.entry.js +5 -0
  141. package/dist/calcite/p-e54784a8.system.entry.js +5 -0
  142. package/dist/calcite/p-e63c6a55.system.entry.js +5 -0
  143. package/dist/calcite/p-e697ab57.system.entry.js +5 -0
  144. package/dist/calcite/{p-23bc2d32.entry.js → p-e7801f1d.entry.js} +1 -1
  145. package/dist/calcite/{p-f07d3627.js → p-e7f7b0f8.js} +1 -1
  146. package/dist/calcite/p-eebd2bb0.entry.js +5 -0
  147. package/dist/calcite/p-f1f65708.entry.js +5 -0
  148. package/dist/calcite/p-f2340d02.system.entry.js +5 -0
  149. package/dist/calcite/p-f25f139a.entry.js +5 -0
  150. package/dist/calcite/p-f28d8e9e.system.entry.js +5 -0
  151. package/dist/calcite/p-f2f2ad57.entry.js +5 -0
  152. package/dist/calcite/p-f39dc5fd.entry.js +5 -0
  153. package/dist/calcite/p-f4a7fa43.entry.js +5 -0
  154. package/dist/calcite/p-f595d924.js +5 -0
  155. package/dist/calcite/{p-714ae4f6.entry.js → p-f72c037c.entry.js} +1 -1
  156. package/dist/calcite/p-f9e7371d.entry.js +5 -0
  157. package/dist/calcite/p-fc265aaf.entry.js +5 -0
  158. package/dist/calcite/p-fc9025a2.entry.js +5 -0
  159. package/dist/calcite/p-fd255a24.entry.js +5 -0
  160. package/dist/calcite/p-fd94e88d.system.entry.js +5 -0
  161. package/dist/cjs/{CalciteExpandToggle-ca629f39.js → CalciteExpandToggle-d654421a.js} +3 -3
  162. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -7
  163. package/dist/cjs/calcite-action-bar.cjs.entry.js +27 -3
  164. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  165. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  166. package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -9
  167. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-alert.cjs.entry.js +3 -5
  169. package/dist/cjs/calcite-avatar.cjs.entry.js +4 -5
  170. package/dist/cjs/calcite-block_2.cjs.entry.js +11 -7
  171. package/dist/cjs/calcite-button.cjs.entry.js +12 -7
  172. package/dist/cjs/calcite-card.cjs.entry.js +3 -7
  173. package/dist/cjs/calcite-checkbox.cjs.entry.js +4 -4
  174. package/dist/cjs/calcite-chip.cjs.entry.js +4 -5
  175. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +30 -34
  176. package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -19
  177. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +44 -34
  178. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -19
  179. package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
  180. package/dist/cjs/calcite-filter.cjs.entry.js +4 -19
  181. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-graph_2.cjs.entry.js +35 -23
  183. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  184. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  185. package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
  186. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +25 -13
  187. package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
  188. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +376 -251
  189. package/dist/cjs/calcite-input.cjs.entry.js +12 -15
  190. package/dist/cjs/calcite-label.cjs.entry.js +2 -5
  191. package/dist/cjs/calcite-link.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
  193. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-modal.cjs.entry.js +4 -6
  195. package/dist/cjs/calcite-notice.cjs.entry.js +3 -4
  196. package/dist/cjs/calcite-option_3.cjs.entry.js +12 -11
  197. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -6
  198. package/dist/cjs/calcite-panel.cjs.entry.js +6 -10
  199. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +6 -8
  200. package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -7
  201. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  203. package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +12 -54
  204. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +14 -22
  205. package/dist/cjs/calcite-rating.cjs.entry.js +5 -6
  206. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  207. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -9
  208. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  209. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -5
  210. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -8
  211. package/dist/cjs/calcite-switch.cjs.entry.js +7 -9
  212. package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -16
  213. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +3 -5
  214. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-tip_3.cjs.entry.js +5 -5
  216. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -6
  217. package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -5
  218. package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
  219. package/dist/cjs/calcite.cjs.js +2 -2
  220. package/dist/cjs/{dom-41ce6029.js → dom-19822169.js} +0 -7
  221. package/dist/cjs/{form-7f276aa5.js → form-a5b44a1f.js} +1 -1
  222. package/dist/cjs/{label-98a31f7d.js → label-8e3552b2.js} +1 -1
  223. package/dist/cjs/loader.cjs.js +2 -2
  224. package/dist/cjs/{locale-69dc9583.js → locale-33c458dc.js} +1 -1
  225. package/dist/cjs/{number-e6448e15.js → number-73f7b474.js} +17 -4
  226. package/dist/cjs/{popper-4c24a334.js → popper-a7580aca.js} +1 -1
  227. package/dist/cjs/{resources-3f7b51c8.js → resources-16974e48.js} +3 -2
  228. package/dist/cjs/{resources-1177e39b.js → resources-6c4b32ef.js} +5 -5
  229. package/dist/collection/collection-manifest.json +9 -11
  230. package/dist/collection/components/calcite-accordion/calcite-accordion.css +5 -1
  231. package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -2
  232. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +10 -23
  233. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -2
  234. package/dist/collection/components/calcite-action/calcite-action.css +5 -1
  235. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +5 -1
  236. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
  237. package/dist/collection/components/calcite-action-group/calcite-action-group.css +5 -1
  238. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +5 -1
  239. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +7 -8
  240. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -8
  241. package/dist/collection/components/calcite-alert/calcite-alert.css +29 -40
  242. package/dist/collection/components/calcite-alert/calcite-alert.js +2 -5
  243. package/dist/collection/components/calcite-avatar/calcite-avatar.css +5 -1
  244. package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
  245. package/dist/collection/components/calcite-block/calcite-block.css +13 -16
  246. package/dist/collection/components/calcite-block/calcite-block.js +8 -4
  247. package/dist/collection/components/calcite-block-section/calcite-block-section.css +7 -13
  248. package/dist/collection/components/calcite-block-section/calcite-block-section.js +3 -4
  249. package/dist/collection/components/calcite-button/calcite-button.css +24 -58
  250. package/dist/collection/components/calcite-button/calcite-button.js +9 -6
  251. package/dist/collection/components/calcite-button/resources.js +3 -1
  252. package/dist/collection/components/calcite-card/calcite-card.css +6 -7
  253. package/dist/collection/components/calcite-card/calcite-card.js +2 -6
  254. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +5 -1
  255. package/dist/collection/components/calcite-chip/calcite-chip.css +18 -39
  256. package/dist/collection/components/calcite-chip/calcite-chip.js +3 -5
  257. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +7 -8
  258. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +8 -12
  259. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +5 -1
  260. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -6
  261. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +5 -1
  262. package/dist/collection/components/calcite-combobox/calcite-combobox.css +9 -13
  263. package/dist/collection/components/calcite-combobox/calcite-combobox.js +10 -11
  264. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +7 -14
  265. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +2 -5
  266. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +7 -19
  267. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +3 -5
  268. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +5 -1
  269. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +46 -10
  270. package/dist/collection/components/calcite-date-picker/resources.js +2 -1
  271. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +27 -9
  272. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
  273. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +5 -1
  274. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -9
  275. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +5 -1
  276. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +25 -11
  277. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +5 -28
  278. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -8
  279. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +5 -1
  280. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
  281. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +41 -124
  282. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -8
  283. package/dist/collection/components/calcite-fab/calcite-fab.css +5 -1
  284. package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
  285. package/dist/collection/components/calcite-filter/calcite-filter.css +8 -22
  286. package/dist/collection/components/calcite-filter/calcite-filter.js +7 -43
  287. package/dist/collection/components/calcite-flow/calcite-flow.css +5 -1
  288. package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
  289. package/dist/collection/components/calcite-graph/calcite-graph.css +5 -1
  290. package/dist/collection/components/calcite-handle/calcite-handle.css +5 -1
  291. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
  292. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
  293. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
  294. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
  295. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
  296. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
  297. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
  298. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
  299. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
  300. package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
  301. package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
  302. package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
  303. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
  304. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
  305. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
  306. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
  307. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
  308. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
  309. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
  310. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
  311. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
  312. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
  313. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
  314. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
  315. package/dist/collection/components/calcite-icon/calcite-icon.css +5 -1
  316. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +6 -2
  317. package/dist/collection/components/calcite-input/calcite-input.css +29 -117
  318. package/dist/collection/components/calcite-input/calcite-input.js +5 -8
  319. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +5 -1
  320. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +44 -8
  321. package/dist/collection/components/calcite-input-message/calcite-input-message.css +9 -10
  322. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
  323. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +5 -1
  324. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +82 -78
  325. package/dist/collection/components/calcite-label/calcite-label.css +9 -8
  326. package/dist/collection/components/calcite-label/calcite-label.js +1 -4
  327. package/dist/collection/components/calcite-link/calcite-link.css +15 -18
  328. package/dist/collection/components/calcite-link/calcite-link.js +1 -1
  329. package/dist/collection/components/calcite-list/calcite-list.css +5 -1
  330. package/dist/collection/components/calcite-list-item/calcite-list-item.css +5 -1
  331. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +5 -1
  332. package/dist/collection/components/calcite-loader/calcite-loader.css +10 -11
  333. package/dist/collection/components/calcite-modal/calcite-modal.css +16 -26
  334. package/dist/collection/components/calcite-modal/calcite-modal.js +3 -6
  335. package/dist/collection/components/calcite-notice/calcite-notice.css +23 -33
  336. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -4
  337. package/dist/collection/components/calcite-option/calcite-option.css +5 -1
  338. package/dist/collection/components/calcite-option/calcite-option.js +3 -1
  339. package/dist/collection/components/calcite-option-group/calcite-option-group.css +5 -1
  340. package/dist/collection/components/calcite-pagination/calcite-pagination.css +6 -2
  341. package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
  342. package/dist/collection/components/calcite-panel/calcite-panel.css +11 -32
  343. package/dist/collection/components/calcite-panel/calcite-panel.js +5 -10
  344. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +5 -1
  345. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +1 -1
  346. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +2 -2
  347. package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
  348. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +6 -7
  349. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
  350. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +6 -7
  351. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +1 -1
  352. package/dist/collection/components/calcite-popover/calcite-popover.css +6 -5
  353. package/dist/collection/components/calcite-popover/calcite-popover.js +2 -5
  354. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +5 -1
  355. package/dist/collection/components/calcite-progress/calcite-progress.css +5 -1
  356. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +74 -1
  357. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +4 -5
  358. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +5 -1
  359. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +5 -1
  360. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +8 -7
  361. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +7 -3
  362. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -15
  363. package/dist/collection/components/calcite-rating/calcite-rating.css +8 -19
  364. package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
  365. package/dist/collection/components/calcite-scrim/calcite-scrim.css +6 -2
  366. package/dist/collection/components/calcite-select/calcite-select.css +12 -25
  367. package/dist/collection/components/calcite-select/calcite-select.js +10 -10
  368. package/dist/collection/components/calcite-shell/calcite-shell.css +6 -2
  369. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +8 -25
  370. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
  371. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +6 -2
  372. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +3 -3
  373. package/dist/collection/components/calcite-slider/calcite-slider.css +148 -165
  374. package/dist/collection/components/calcite-slider/calcite-slider.js +65 -29
  375. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +5 -1
  376. package/dist/collection/components/calcite-split-button/calcite-split-button.css +9 -2
  377. package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -6
  378. package/dist/collection/components/calcite-stepper/calcite-stepper.css +5 -1
  379. package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
  380. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +19 -73
  381. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -6
  382. package/dist/collection/components/calcite-switch/calcite-switch.css +9 -23
  383. package/dist/collection/components/calcite-switch/calcite-switch.js +3 -6
  384. package/dist/collection/components/calcite-tab/calcite-tab.css +5 -2
  385. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +5 -3
  386. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  387. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +16 -23
  388. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +7 -11
  389. package/dist/collection/components/calcite-tabs/calcite-tabs.css +5 -1
  390. package/dist/collection/components/calcite-tile/calcite-tile.css +5 -1
  391. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +7 -15
  392. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +1 -4
  393. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +5 -1
  394. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +61 -92
  395. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +261 -296
  396. package/dist/collection/components/calcite-time-picker/resources.js +15 -9
  397. package/dist/collection/components/calcite-tip/calcite-tip.css +5 -1
  398. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +5 -1
  399. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +8 -13
  400. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  401. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +5 -1
  402. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +5 -1
  403. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -2
  404. package/dist/collection/components/calcite-tree/calcite-tree.css +5 -1
  405. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +9 -5
  406. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -2
  407. package/dist/collection/components/calcite-value-list/calcite-value-list.css +5 -1
  408. package/dist/collection/components/calcite-value-list/calcite-value-list.js +1 -1
  409. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +5 -1
  410. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  411. package/dist/collection/utils/conditionalSlot.js +26 -0
  412. package/dist/collection/utils/dom.js +0 -6
  413. package/dist/collection/utils/key.js +0 -23
  414. package/dist/collection/utils/number.js +9 -1
  415. package/dist/collection/utils/time.js +144 -36
  416. package/dist/components/CalciteExpandToggle.js +3 -3
  417. package/dist/components/calcite-accordion-item.js +2 -3
  418. package/dist/components/calcite-accordion.js +2 -3
  419. package/dist/components/calcite-action-bar.js +26 -2
  420. package/dist/components/calcite-action-group2.js +1 -1
  421. package/dist/components/calcite-action-menu2.js +1 -1
  422. package/dist/components/calcite-action-pad.js +3 -8
  423. package/dist/components/calcite-action2.js +1 -1
  424. package/dist/components/calcite-alert.js +3 -5
  425. package/dist/components/calcite-avatar.js +4 -5
  426. package/dist/components/calcite-block-section.js +4 -4
  427. package/dist/components/calcite-block.js +7 -3
  428. package/dist/components/calcite-button2.js +11 -6
  429. package/dist/components/calcite-card.js +3 -6
  430. package/dist/components/calcite-checkbox2.js +1 -1
  431. package/dist/components/calcite-chip2.js +4 -5
  432. package/dist/components/calcite-color-picker-hex-input2.js +5 -7
  433. package/dist/components/calcite-color-picker-swatch2.js +5 -5
  434. package/dist/components/calcite-color-picker.js +9 -12
  435. package/dist/components/calcite-combobox-item-group.js +3 -4
  436. package/dist/components/calcite-combobox-item.js +2 -4
  437. package/dist/components/calcite-combobox.js +8 -9
  438. package/dist/components/calcite-date-picker-day2.js +2 -3
  439. package/dist/components/calcite-date-picker-month-header2.js +9 -11
  440. package/dist/components/calcite-date-picker-month2.js +7 -10
  441. package/dist/components/calcite-date-picker2.js +25 -12
  442. package/dist/components/calcite-dropdown-group.js +3 -4
  443. package/dist/components/calcite-dropdown-item.js +5 -8
  444. package/dist/components/calcite-dropdown2.js +5 -7
  445. package/dist/components/calcite-fab.js +4 -5
  446. package/dist/components/calcite-filter2.js +4 -20
  447. package/dist/components/calcite-flow.js +1 -1
  448. package/dist/components/calcite-graph2.js +1 -1
  449. package/dist/components/calcite-handle2.js +1 -1
  450. package/dist/components/calcite-icon2.js +1 -1
  451. package/dist/components/calcite-inline-editable.js +1 -1
  452. package/dist/components/calcite-input-date-picker.js +21 -9
  453. package/dist/components/calcite-input-message.js +3 -4
  454. package/dist/components/calcite-input-time-picker.js +53 -51
  455. package/dist/components/calcite-input2.js +7 -10
  456. package/dist/components/calcite-label2.js +2 -4
  457. package/dist/components/calcite-link2.js +2 -2
  458. package/dist/components/calcite-list-item-group.js +1 -1
  459. package/dist/components/calcite-list-item.js +1 -1
  460. package/dist/components/calcite-list.js +1 -1
  461. package/dist/components/calcite-loader2.js +1 -1
  462. package/dist/components/calcite-modal.js +4 -6
  463. package/dist/components/calcite-notice.js +3 -4
  464. package/dist/components/calcite-option-group.js +1 -1
  465. package/dist/components/calcite-option.js +4 -2
  466. package/dist/components/calcite-pagination.js +3 -5
  467. package/dist/components/calcite-panel.js +6 -10
  468. package/dist/components/calcite-pick-list-group.js +3 -5
  469. package/dist/components/calcite-pick-list-item2.js +1 -1
  470. package/dist/components/calcite-pick-list.js +1 -1
  471. package/dist/components/calcite-popover-manager.js +2 -2
  472. package/dist/components/calcite-popover2.js +3 -5
  473. package/dist/components/calcite-progress2.js +1 -1
  474. package/dist/components/calcite-radio-button-group.js +1 -1
  475. package/dist/components/calcite-radio-button.js +6 -13
  476. package/dist/components/calcite-radio-group-item.js +6 -14
  477. package/dist/components/calcite-radio-group.js +5 -6
  478. package/dist/components/calcite-rating.js +2 -4
  479. package/dist/components/calcite-scrim2.js +1 -1
  480. package/dist/components/calcite-select.js +6 -7
  481. package/dist/components/calcite-shell-center-row.js +4 -5
  482. package/dist/components/calcite-shell-panel.js +4 -4
  483. package/dist/components/calcite-shell.js +1 -1
  484. package/dist/components/calcite-slider.js +25 -12
  485. package/dist/components/calcite-sortable-list.js +1 -1
  486. package/dist/components/calcite-split-button.js +2 -4
  487. package/dist/components/calcite-stepper-item.js +4 -6
  488. package/dist/components/calcite-stepper.js +2 -3
  489. package/dist/components/calcite-switch2.js +4 -6
  490. package/dist/components/calcite-tab-nav2.js +4 -4
  491. package/dist/components/calcite-tab-title2.js +8 -11
  492. package/dist/components/calcite-tab2.js +1 -1
  493. package/dist/components/calcite-tabs2.js +1 -1
  494. package/dist/components/calcite-tile-select-group.js +1 -1
  495. package/dist/components/calcite-tile-select.js +2 -4
  496. package/dist/components/calcite-tile2.js +1 -1
  497. package/dist/components/calcite-time-picker2.js +327 -195
  498. package/dist/components/calcite-tip-group.js +1 -1
  499. package/dist/components/calcite-tip-manager.js +3 -3
  500. package/dist/components/calcite-tip.js +1 -1
  501. package/dist/components/calcite-tooltip-manager2.js +2 -3
  502. package/dist/components/calcite-tooltip.js +1 -1
  503. package/dist/components/calcite-tree-item.js +3 -4
  504. package/dist/components/calcite-tree.js +1 -1
  505. package/dist/components/calcite-value-list-item.js +1 -1
  506. package/dist/components/calcite-value-list.js +1 -1
  507. package/dist/components/dom.js +1 -7
  508. package/dist/components/form.js +1 -1
  509. package/dist/components/label.js +1 -1
  510. package/dist/components/number.js +14 -3
  511. package/dist/components/shared-list-render.js +5 -5
  512. package/dist/custom-elements/index.d.ts +0 -6
  513. package/dist/custom-elements/index.js +688 -620
  514. package/dist/esm/{CalciteExpandToggle-4b38a7d1.js → CalciteExpandToggle-c33bd6fd.js} +3 -3
  515. package/dist/esm/calcite-accordion_2.entry.js +5 -6
  516. package/dist/esm/calcite-action-bar.entry.js +28 -4
  517. package/dist/esm/calcite-action-group.entry.js +2 -2
  518. package/dist/esm/calcite-action-menu.entry.js +2 -2
  519. package/dist/esm/calcite-action-pad.entry.js +4 -9
  520. package/dist/esm/calcite-action.entry.js +1 -1
  521. package/dist/esm/calcite-alert.entry.js +3 -5
  522. package/dist/esm/calcite-avatar.entry.js +4 -5
  523. package/dist/esm/calcite-block_2.entry.js +11 -7
  524. package/dist/esm/calcite-button.entry.js +12 -7
  525. package/dist/esm/calcite-card.entry.js +3 -7
  526. package/dist/esm/calcite-checkbox.entry.js +4 -4
  527. package/dist/esm/calcite-chip.entry.js +4 -5
  528. package/dist/esm/calcite-color-picker_3.entry.js +17 -21
  529. package/dist/esm/calcite-combobox_3.entry.js +15 -18
  530. package/dist/esm/calcite-date-picker_4.entry.js +41 -31
  531. package/dist/esm/calcite-dropdown_3.entry.js +12 -17
  532. package/dist/esm/calcite-fab.entry.js +4 -5
  533. package/dist/esm/calcite-filter.entry.js +4 -19
  534. package/dist/esm/calcite-flow.entry.js +1 -1
  535. package/dist/esm/calcite-graph_2.entry.js +27 -15
  536. package/dist/esm/calcite-handle.entry.js +1 -1
  537. package/dist/esm/calcite-icon.entry.js +2 -2
  538. package/dist/esm/calcite-inline-editable.entry.js +3 -3
  539. package/dist/esm/calcite-input-date-picker.entry.js +25 -13
  540. package/dist/esm/calcite-input-message.entry.js +3 -4
  541. package/dist/esm/calcite-input-time-picker_2.entry.js +361 -236
  542. package/dist/esm/calcite-input.entry.js +11 -14
  543. package/dist/esm/calcite-label.entry.js +2 -5
  544. package/dist/esm/calcite-link.entry.js +3 -3
  545. package/dist/esm/calcite-list_3.entry.js +4 -4
  546. package/dist/esm/calcite-loader.entry.js +1 -1
  547. package/dist/esm/calcite-modal.entry.js +4 -6
  548. package/dist/esm/calcite-notice.entry.js +3 -4
  549. package/dist/esm/calcite-option_3.entry.js +12 -11
  550. package/dist/esm/calcite-pagination.entry.js +3 -6
  551. package/dist/esm/calcite-panel.entry.js +6 -10
  552. package/dist/esm/calcite-pick-list_3.entry.js +6 -8
  553. package/dist/esm/calcite-popover_2.entry.js +5 -7
  554. package/dist/esm/calcite-progress.entry.js +1 -1
  555. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  556. package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +9 -50
  557. package/dist/esm/calcite-radio-group_2.entry.js +10 -18
  558. package/dist/esm/calcite-rating.entry.js +5 -6
  559. package/dist/esm/calcite-scrim.entry.js +1 -1
  560. package/dist/esm/calcite-shell_3.entry.js +8 -9
  561. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  562. package/dist/esm/calcite-split-button.entry.js +2 -5
  563. package/dist/esm/calcite-stepper_2.entry.js +6 -8
  564. package/dist/esm/calcite-switch.entry.js +6 -8
  565. package/dist/esm/calcite-tab_4.entry.js +13 -16
  566. package/dist/esm/calcite-tile-select_2.entry.js +3 -5
  567. package/dist/esm/calcite-tile.entry.js +2 -2
  568. package/dist/esm/calcite-tip_3.entry.js +5 -5
  569. package/dist/esm/calcite-tooltip_2.entry.js +5 -6
  570. package/dist/esm/calcite-tree_2.entry.js +4 -5
  571. package/dist/esm/calcite-value-list_2.entry.js +4 -4
  572. package/dist/esm/calcite.js +2 -2
  573. package/dist/esm/{dom-dc012a45.js → dom-f24e866c.js} +1 -7
  574. package/dist/esm/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
  575. package/dist/esm/{label-0d804a87.js → label-5559055d.js} +1 -1
  576. package/dist/esm/loader.js +2 -2
  577. package/dist/esm/{locale-6c1b85c7.js → locale-4c38cf6d.js} +1 -1
  578. package/dist/esm/{number-e7393766.js → number-06e8500e.js} +14 -3
  579. package/dist/esm/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
  580. package/dist/esm/{resources-eafda211.js → resources-35c1823f.js} +5 -5
  581. package/dist/esm/{resources-bece7a88.js → resources-b4eee1d4.js} +3 -2
  582. package/dist/esm-es5/CalciteExpandToggle-c33bd6fd.js +5 -0
  583. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  584. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  585. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  586. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  587. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  588. package/dist/esm-es5/calcite-action.entry.js +2 -2
  589. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  590. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  591. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  592. package/dist/esm-es5/calcite-button.entry.js +1 -1
  593. package/dist/esm-es5/calcite-card.entry.js +1 -1
  594. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  595. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  596. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  597. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  598. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  599. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  600. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  601. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  602. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  603. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  604. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  605. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  606. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  607. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  608. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  609. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  610. package/dist/esm-es5/calcite-input.entry.js +2 -2
  611. package/dist/esm-es5/calcite-label.entry.js +1 -1
  612. package/dist/esm-es5/calcite-link.entry.js +2 -2
  613. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  614. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  615. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  616. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  617. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  618. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  619. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  620. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  621. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  622. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  623. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  624. package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
  625. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  626. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  627. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  628. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  629. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  630. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  631. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  632. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  633. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  634. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  635. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  636. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  637. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  638. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  639. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  640. package/dist/esm-es5/calcite.js +1 -1
  641. package/dist/esm-es5/dom-f24e866c.js +5 -0
  642. package/dist/esm-es5/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
  643. package/dist/esm-es5/{label-0d804a87.js → label-5559055d.js} +1 -1
  644. package/dist/esm-es5/loader.js +1 -1
  645. package/dist/esm-es5/{locale-6c1b85c7.js → locale-4c38cf6d.js} +1 -1
  646. package/dist/esm-es5/number-06e8500e.js +5 -0
  647. package/dist/esm-es5/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
  648. package/dist/esm-es5/resources-35c1823f.js +5 -0
  649. package/dist/esm-es5/{resources-bece7a88.js → resources-b4eee1d4.js} +1 -1
  650. package/dist/extras/docs-json.json +136 -256
  651. package/dist/types/components/calcite-button/resources.d.ts +2 -0
  652. package/dist/types/components/calcite-date-picker/resources.d.ts +1 -0
  653. package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
  654. package/dist/types/components.d.ts +54 -105
  655. package/dist/types/preact.d.ts +0 -2
  656. package/dist/types/utils/conditionalSlot.d.ts +17 -0
  657. package/dist/types/utils/dom.d.ts +0 -4
  658. package/dist/types/utils/key.d.ts +0 -4
  659. package/dist/types/utils/number.d.ts +2 -0
  660. package/dist/types/utils/time.d.ts +18 -5
  661. package/hydrate/index.js +713 -642
  662. package/package.json +20 -20
  663. package/readme.md +2 -2
  664. package/dist/calcite/p-04a2538a.entry.js +0 -5
  665. package/dist/calcite/p-051cc8c6.entry.js +0 -5
  666. package/dist/calcite/p-058ee7b0.entry.js +0 -5
  667. package/dist/calcite/p-0c827dec.entry.js +0 -5
  668. package/dist/calcite/p-0f33798d.system.entry.js +0 -5
  669. package/dist/calcite/p-0f9f1f89.system.entry.js +0 -5
  670. package/dist/calcite/p-1161e56f.js +0 -5
  671. package/dist/calcite/p-18fbf2af.system.entry.js +0 -5
  672. package/dist/calcite/p-198902ca.entry.js +0 -5
  673. package/dist/calcite/p-1ad123f9.entry.js +0 -5
  674. package/dist/calcite/p-1eb04aad.system.entry.js +0 -5
  675. package/dist/calcite/p-1f809e6c.system.entry.js +0 -5
  676. package/dist/calcite/p-2033f545.system.entry.js +0 -5
  677. package/dist/calcite/p-20f91a4e.system.entry.js +0 -5
  678. package/dist/calcite/p-227bc238.system.entry.js +0 -5
  679. package/dist/calcite/p-239b44dd.system.entry.js +0 -5
  680. package/dist/calcite/p-266ee9db.entry.js +0 -5
  681. package/dist/calcite/p-33802886.entry.js +0 -5
  682. package/dist/calcite/p-343cd887.entry.js +0 -5
  683. package/dist/calcite/p-3d69fba9.entry.js +0 -5
  684. package/dist/calcite/p-3ec67fae.entry.js +0 -5
  685. package/dist/calcite/p-42091a1f.system.entry.js +0 -5
  686. package/dist/calcite/p-42c7e2f0.system.entry.js +0 -5
  687. package/dist/calcite/p-43020fb5.js +0 -5
  688. package/dist/calcite/p-44a07313.system.entry.js +0 -5
  689. package/dist/calcite/p-4a8b3cf3.system.entry.js +0 -5
  690. package/dist/calcite/p-4cc182af.system.entry.js +0 -5
  691. package/dist/calcite/p-4ee2f6cf.system.entry.js +0 -5
  692. package/dist/calcite/p-50273eed.entry.js +0 -5
  693. package/dist/calcite/p-5035488d.entry.js +0 -5
  694. package/dist/calcite/p-52578054.js +0 -5
  695. package/dist/calcite/p-538e542a.system.entry.js +0 -5
  696. package/dist/calcite/p-55bfe4fc.entry.js +0 -5
  697. package/dist/calcite/p-56b352bf.system.js +0 -5
  698. package/dist/calcite/p-57e9b7cb.system.entry.js +0 -5
  699. package/dist/calcite/p-659898bf.entry.js +0 -5
  700. package/dist/calcite/p-6c5b849f.system.entry.js +0 -5
  701. package/dist/calcite/p-6ca051ef.entry.js +0 -5
  702. package/dist/calcite/p-702140ce.entry.js +0 -5
  703. package/dist/calcite/p-71e299a6.system.js +0 -5
  704. package/dist/calcite/p-72563742.js +0 -5
  705. package/dist/calcite/p-730b8963.system.entry.js +0 -5
  706. package/dist/calcite/p-7325e7fc.system.entry.js +0 -5
  707. package/dist/calcite/p-784e4e32.system.entry.js +0 -5
  708. package/dist/calcite/p-80a527ef.entry.js +0 -5
  709. package/dist/calcite/p-82c6cd9a.entry.js +0 -5
  710. package/dist/calcite/p-832affcb.system.entry.js +0 -5
  711. package/dist/calcite/p-837f9bb4.system.entry.js +0 -5
  712. package/dist/calcite/p-83fca16e.system.entry.js +0 -5
  713. package/dist/calcite/p-84d6696b.entry.js +0 -5
  714. package/dist/calcite/p-87f1831b.entry.js +0 -5
  715. package/dist/calcite/p-88b4f504.entry.js +0 -5
  716. package/dist/calcite/p-89987575.entry.js +0 -5
  717. package/dist/calcite/p-8b2d4eac.system.entry.js +0 -5
  718. package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
  719. package/dist/calcite/p-8da7ad4b.entry.js +0 -5
  720. package/dist/calcite/p-8e252799.system.js +0 -5
  721. package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
  722. package/dist/calcite/p-91645bf7.system.js +0 -5
  723. package/dist/calcite/p-9470d123.system.entry.js +0 -5
  724. package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
  725. package/dist/calcite/p-99de28b4.system.entry.js +0 -5
  726. package/dist/calcite/p-99e52ea7.system.entry.js +0 -5
  727. package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
  728. package/dist/calcite/p-9be50494.entry.js +0 -5
  729. package/dist/calcite/p-a821e9b3.system.entry.js +0 -5
  730. package/dist/calcite/p-a98e5444.system.entry.js +0 -5
  731. package/dist/calcite/p-ab9c6a18.entry.js +0 -5
  732. package/dist/calcite/p-abdc7a4b.system.entry.js +0 -5
  733. package/dist/calcite/p-ac38b743.system.entry.js +0 -5
  734. package/dist/calcite/p-aced5f01.entry.js +0 -5
  735. package/dist/calcite/p-b0b6baf4.system.entry.js +0 -5
  736. package/dist/calcite/p-b16b831d.entry.js +0 -5
  737. package/dist/calcite/p-b174f9ac.entry.js +0 -5
  738. package/dist/calcite/p-b2ab0485.js +0 -5
  739. package/dist/calcite/p-b37b7b9e.system.entry.js +0 -5
  740. package/dist/calcite/p-b3e418f0.entry.js +0 -5
  741. package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
  742. package/dist/calcite/p-b5d21a5d.system.entry.js +0 -5
  743. package/dist/calcite/p-b5f412fb.entry.js +0 -5
  744. package/dist/calcite/p-b7518275.system.entry.js +0 -5
  745. package/dist/calcite/p-b75ffebb.system.entry.js +0 -5
  746. package/dist/calcite/p-bef1f0d9.entry.js +0 -5
  747. package/dist/calcite/p-c0690971.entry.js +0 -5
  748. package/dist/calcite/p-c12e88cd.entry.js +0 -5
  749. package/dist/calcite/p-c1794615.entry.js +0 -5
  750. package/dist/calcite/p-c3ba61ea.entry.js +0 -5
  751. package/dist/calcite/p-c937f25f.system.js +0 -5
  752. package/dist/calcite/p-c9551366.entry.js +0 -5
  753. package/dist/calcite/p-ca5c0679.entry.js +0 -5
  754. package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
  755. package/dist/calcite/p-cd1cdf3c.entry.js +0 -5
  756. package/dist/calcite/p-d102e280.system.entry.js +0 -5
  757. package/dist/calcite/p-d830efad.entry.js +0 -5
  758. package/dist/calcite/p-dacd3cf8.entry.js +0 -5
  759. package/dist/calcite/p-dcc6b40f.entry.js +0 -5
  760. package/dist/calcite/p-dccb5ffd.entry.js +0 -5
  761. package/dist/calcite/p-dff7dc90.system.js +0 -5
  762. package/dist/calcite/p-e2d18d39.system.entry.js +0 -5
  763. package/dist/calcite/p-e5305b02.js +0 -5
  764. package/dist/calcite/p-e6a47d34.system.entry.js +0 -5
  765. package/dist/calcite/p-e78e743b.entry.js +0 -5
  766. package/dist/calcite/p-ea3fee96.entry.js +0 -5
  767. package/dist/calcite/p-eada9cef.entry.js +0 -5
  768. package/dist/calcite/p-eb0f1e0f.system.entry.js +0 -5
  769. package/dist/calcite/p-ed3f000d.system.entry.js +0 -5
  770. package/dist/calcite/p-ee40deba.system.entry.js +0 -5
  771. package/dist/calcite/p-ee45cff5.system.entry.js +0 -5
  772. package/dist/calcite/p-eeb8dfe5.system.entry.js +0 -5
  773. package/dist/calcite/p-f0338acf.system.entry.js +0 -5
  774. package/dist/calcite/p-f05b5dc9.system.entry.js +0 -5
  775. package/dist/calcite/p-f1832595.system.entry.js +0 -5
  776. package/dist/calcite/p-f2620bc3.js +0 -5
  777. package/dist/calcite/p-f333e31b.entry.js +0 -5
  778. package/dist/calcite/p-f6323ffa.system.entry.js +0 -5
  779. package/dist/calcite/p-f87ba8eb.system.js +0 -5
  780. package/dist/calcite/p-f97e1a2d.entry.js +0 -5
  781. package/dist/calcite/p-fb817417.entry.js +0 -5
  782. package/dist/calcite/p-fb8b2c96.entry.js +0 -5
  783. package/dist/calcite/p-fc32b022.entry.js +0 -5
  784. package/dist/calcite/p-fc47547f.system.entry.js +0 -5
  785. package/dist/calcite/p-fccc1605.entry.js +0 -5
  786. package/dist/calcite/p-fd1ddcd2.system.entry.js +0 -5
  787. package/dist/cjs/key-8bfb93ec.js +0 -37
  788. package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
  789. package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
  790. package/dist/components/calcite-radio.d.ts +0 -11
  791. package/dist/components/calcite-radio.js +0 -10
  792. package/dist/components/calcite-radio2.js +0 -71
  793. package/dist/components/key.js +0 -33
  794. package/dist/esm/key-69001a68.js +0 -33
  795. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +0 -5
  796. package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
  797. package/dist/esm-es5/dom-dc012a45.js +0 -5
  798. package/dist/esm-es5/key-69001a68.js +0 -5
  799. package/dist/esm-es5/number-e7393766.js +0 -5
  800. package/dist/esm-es5/resources-eafda211.js +0 -5
  801. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +0 -42
  802. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +0 -53
  803. package/dist/types/components/calcite-action/calcite-action.d.ts +0 -73
  804. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +0 -68
  805. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +0 -39
  806. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +0 -82
  807. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +0 -52
  808. package/dist/types/components/calcite-alert/calcite-alert.d.ts +0 -82
  809. package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +0 -26
  810. package/dist/types/components/calcite-block/calcite-block.d.ts +0 -72
  811. package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +0 -43
  812. package/dist/types/components/calcite-button/calcite-button.d.ts +0 -81
  813. package/dist/types/components/calcite-card/calcite-card.d.ts +0 -43
  814. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +0 -73
  815. package/dist/types/components/calcite-chip/calcite-chip.d.ts +0 -37
  816. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -224
  817. package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +0 -51
  818. package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +0 -23
  819. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +0 -177
  820. package/dist/types/components/calcite-combobox/interfaces.d.ts +0 -6
  821. package/dist/types/components/calcite-combobox/utils.d.ts +0 -6
  822. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +0 -46
  823. package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +0 -17
  824. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +0 -126
  825. package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +0 -45
  826. package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +0 -97
  827. package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +0 -55
  828. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +0 -98
  829. package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +0 -32
  830. package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +0 -52
  831. package/dist/types/components/calcite-fab/calcite-fab.d.ts +0 -47
  832. package/dist/types/components/calcite-filter/calcite-filter.d.ts +0 -62
  833. package/dist/types/components/calcite-flow/calcite-flow.d.ts +0 -22
  834. package/dist/types/components/calcite-graph/calcite-graph.d.ts +0 -29
  835. package/dist/types/components/calcite-handle/calcite-handle.d.ts +0 -22
  836. package/dist/types/components/calcite-icon/calcite-icon.d.ts +0 -32
  837. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +0 -69
  838. package/dist/types/components/calcite-input/calcite-input.d.ts +0 -166
  839. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +0 -164
  840. package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +0 -27
  841. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +0 -82
  842. package/dist/types/components/calcite-label/calcite-label.d.ts +0 -30
  843. package/dist/types/components/calcite-link/calcite-link.d.ts +0 -33
  844. package/dist/types/components/calcite-list/calcite-list.d.ts +0 -16
  845. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +0 -37
  846. package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +0 -18
  847. package/dist/types/components/calcite-loader/calcite-loader.d.ts +0 -27
  848. package/dist/types/components/calcite-modal/calcite-modal.d.ts +0 -88
  849. package/dist/types/components/calcite-notice/calcite-notice.d.ts +0 -51
  850. package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +0 -51
  851. package/dist/types/components/calcite-panel/calcite-panel.d.ts +0 -119
  852. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +0 -74
  853. package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +0 -30
  854. package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +0 -18
  855. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +0 -18
  856. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +0 -103
  857. package/dist/types/components/calcite-popover/calcite-popover.d.ts +0 -107
  858. package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +0 -19
  859. package/dist/types/components/calcite-progress/calcite-progress.d.ts +0 -15
  860. package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
  861. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +0 -91
  862. package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +0 -32
  863. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +0 -56
  864. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -32
  865. package/dist/types/components/calcite-rating/calcite-rating.d.ts +0 -60
  866. package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +0 -17
  867. package/dist/types/components/calcite-select/calcite-select.d.ts +0 -76
  868. package/dist/types/components/calcite-shell/calcite-shell.d.ts +0 -21
  869. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +0 -22
  870. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +0 -67
  871. package/dist/types/components/calcite-slider/calcite-slider.d.ts +0 -187
  872. package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +0 -50
  873. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +0 -52
  874. package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +0 -58
  875. package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +0 -65
  876. package/dist/types/components/calcite-switch/calcite-switch.d.ts +0 -46
  877. package/dist/types/components/calcite-tab/calcite-tab.d.ts +0 -42
  878. package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +0 -74
  879. package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +0 -92
  880. package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +0 -65
  881. package/dist/types/components/calcite-tile/calcite-tile.d.ts +0 -33
  882. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +0 -57
  883. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +0 -123
  884. package/dist/types/components/calcite-tip/calcite-tip.d.ts +0 -44
  885. package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +0 -65
  886. package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +0 -60
  887. package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +0 -41
  888. package/dist/types/components/calcite-tree/calcite-tree.d.ts +0 -38
  889. package/dist/types/components/calcite-tree/interfaces.d.ts +0 -10
  890. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +0 -56
  891. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +0 -87
  892. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +0 -76
  893. package/dist/types/components/functional/CalciteExpandToggle.d.ts +0 -19
  894. package/dist/types/utils/label.d.ts +0 -35
@@ -1,5 +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
- */
5
- import{r as t,c as i,h as e,H as s,g as a}from"./p-2e29554c.js";import{g as n}from"./p-8a63221d.js";import{g as o,n as r,i as c}from"./p-72563742.js";import{i as h}from"./p-b2ab0485.js";import{c as l,d as p,g as m}from"./p-52578054.js";import{c as u,d,H as b}from"./p-f2620bc3.js";import"./p-e5305b02.js";function f(t){if(!h(t))return null;const i=parseInt(t);return i>=0&&i<=11?"AM":"PM"}function w(t){if(!h(t))return null;const i=parseInt(t);return 0===i?"12":i>12?y(i-12):t}function k(t){const i=x(t),[e,s,a]=i?i.split(":"):[null,null,null];return{hour:e,minute:s,second:a||(e&&s?"00":null)}}function x(t){if(!t||t.endsWith(":")||t.startsWith(":"))return null;const i=t.split(":");if(i.length>1){const[t,e,s]=i,a=parseInt(i[0]),n=parseInt(i[1]),o=parseInt(i[2]),r=h(t)&&a>=0&&a<24,c=h(e)&&n>=0&&n<60,l=h(s)&&o>=0&&o<60;if(r&&c&&!s||r&&c&&l){let t=`${y(a)}:${y(n)}`;return l&&(t=`${t}:${y(o)}`),t}}return null}function y(t){const i=t.toString();return t>=0&&t<=9?i.padStart(2,"0"):i}let D=class{constructor(e){t(this,e),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.active=!1,this.disabled=!1,this.hourDisplayFormat="12",this.required=!1,this.scale="m",this.step=60,this.value=null,this.internalValueChange=!1,this.previousValidValue=null,this.referenceElementId=`input-time-picker-${n()}`,this.calciteInputBlurHandler=()=>{this.active=!1;const t=x(this.calciteInputEl.value)||x(this.value);t!==this.calciteInputEl.value&&this.setInputValue(t)},this.calciteInputFocusHandler=()=>{this.active=!0},this.calciteInputInputHandler=t=>{this.setValue({value:t.detail.value})},this.setCalciteInputEl=t=>{this.calciteInputEl=t},this.setInputValue=t=>{if(this.calciteInputEl)if("12"===this.hourDisplayFormat){const{hour:i,minute:e,second:s}=k(t);this.calciteInputEl.value=t?`${w(i)}:${e}${60!==this.step?":"+s:""} ${f(i)}`:null}else this.calciteInputEl.value=t},this.setValue=({value:t,origin:i="input"})=>{const e=this.value,s=x(t);this.internalValueChange="external"!==i&&"loading"!==i;const a="loading"!==i&&"external"!==i&&(t!==this.previousValidValue&&!t||!(this.previousValidValue||!s)||s!==this.previousValidValue&&s);t?(a&&(this.previousValidValue=s),s&&s!==this.value&&(this.value=s)):this.value=t,"time-picker"!==i&&"external"!==i||this.setInputValue(s),a&&(this.calciteInputTimePickerChange.emit().defaultPrevented?(this.internalValueChange=!1,this.value=e,this.setInputValue(e),this.previousValidValue=e):this.previousValidValue=s)}}valueWatcher(t){this.internalValueChange||this.setValue({value:t,origin:"external"}),this.internalValueChange=!1}keyUpHandler(t){"Escape"===o(t.key)&&this.active&&(this.active=!1)}timePickerBlurHandler(t){t.preventDefault(),t.stopPropagation(),this.active=!1}timePickerChangeHandler(t){if(t.preventDefault(),t.stopPropagation(),t.detail){const{hour:i,minute:e,second:s}=t.detail;let a;a=i&&e?s&&60!==this.step?`${i}:${e}:${s}`:`${i}:${e}`:"",this.setValue({value:a,origin:"time-picker"})}}timePickerFocusHandler(t){t.preventDefault(),t.stopPropagation(),this.active=!0}async setFocus(){this.calciteInputEl.setFocus()}onLabelClick(){this.setFocus()}connectedCallback(){this.value&&this.setValue({value:this.value,origin:"loading"}),l(this),u(this)}componentDidLoad(){this.calciteInputEl.value!==this.value&&this.setInputValue(this.value)}disconnectedCallback(){p(this),d(this)}render(){const{hour:t,minute:i,second:a}=k(this.value),n=`${this.referenceElementId}-popover`;return e(s,null,e("div",{"aria-controls":n,"aria-haspopup":"dialog","aria-label":this.name,"aria-owns":n,id:this.referenceElementId,role:"combobox"},e("calcite-input",{disabled:this.disabled,icon:"clock",label:m(this),onCalciteInputBlur:this.calciteInputBlurHandler,onCalciteInputFocus:this.calciteInputFocusHandler,onCalciteInputInput:this.calciteInputInputHandler,ref:this.setCalciteInputEl,scale:this.scale,step:this.step})),e("calcite-popover",{id:n,label:"Time Picker",open:this.active||!1,referenceElement:this.referenceElementId},e("calcite-time-picker",{hour:t,"hour-display-format":this.hourDisplayFormat,intlHour:this.intlHour,intlHourDown:this.intlHourDown,intlHourUp:this.intlHourUp,intlMeridiem:this.intlMeridiem,intlMeridiemDown:this.intlMeridiemDown,intlMeridiemUp:this.intlMeridiemUp,intlMinute:this.intlMinute,intlMinuteDown:this.intlMinuteDown,intlMinuteUp:this.intlMinuteUp,intlSecond:this.intlSecond,intlSecondDown:this.intlSecondDown,intlSecondUp:this.intlSecondUp,minute:i,scale:this.scale,second:a,step:this.step})),e(b,{component:this}))}get el(){return a(this)}static get watchers(){return{value:["valueWatcher"]}}};D.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select: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}";let g=class{constructor(e){t(this,e),this.calciteTimePickerBlur=i(this,"calciteTimePickerBlur",7),this.calciteTimePickerChange=i(this,"calciteTimePickerChange",7),this.calciteTimePickerFocus=i(this,"calciteTimePickerFocus",7),this.hour=null,this.hourDisplayFormat="12",this.intlHour="Hour",this.intlHourDown="Decrease hour",this.intlHourUp="Increase hour",this.intlMeridiem="AM/PM",this.intlMeridiemDown="Decrease AM/PM",this.intlMeridiemUp="Increase AM/PM",this.intlMinute="Minute",this.intlMinuteDown="Decrease minute",this.intlMinuteUp="Increase minute",this.intlSecond="Second",this.intlSecondDown="Decrease second",this.intlSecondUp="Increase second",this.minute=null,this.second=null,this.scale="m",this.step=60,this.timeChanged=!1,this.meridiem=null,this.displayHour=this.getDisplayHour(),this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setTime("hour",t)},this.decrementMeridiem=()=>{this.setTime("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(h(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setTime(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.activeEl=t.currentTarget},this.hourDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementHour()},this.hourKeyDownHandler=t=>{const i=o(t.key);if(r.includes(i)){const t=parseInt(i);let e;if(h(this.hour))switch(this.hourDisplayFormat){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setTime("hour",e)}else switch(i){case"Backspace":case"Delete":this.setTime("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":case"Spacebar":t.preventDefault()}},this.hourUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementHour()},this.incrementMeridiem=()=>{this.setTime("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=h(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setTime("hour",t)},this.incrementMinuteOrSecond=t=>{const i=h(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setTime(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.meridiemDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(o(t.key)){case"a":this.setTime("meridiem","AM");break;case"p":this.setTime("meridiem","PM");break;case"Backspace":case"Delete":this.setTime("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":case"Spacebar":t.preventDefault()}},this.meridiemUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMeridiem()},this.minuteDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementMinute()},this.minuteKeyDownHandler=t=>{const i=o(t.key);if(r.includes(i)){const t=parseInt(i);let e;if(h(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>5?t:`${i}${t}`}else e=t;this.setTime("minute",e)}else switch(i){case"Backspace":case"Delete":this.setTime("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":case"Spacebar":t.preventDefault()}},this.minuteUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementMinute()},this.secondDownButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.decrementSecond()},this.secondKeyDownHandler=t=>{const i=o(t.key);if(r.includes(i)){const t=parseInt(i);let e;if(h(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>5?t:`${i}${t}`}else e=t;this.setTime("second",e)}else switch(i){case"Backspace":case"Delete":this.setTime("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":case"Spacebar":t.preventDefault()}},this.secondUpButtonKeyDownHandler=t=>{this.buttonActivated(t)&&this.incrementSecond()},this.setTime=(t,i,e=!0)=>{switch(t){default:return;case"hour":this.hour="number"==typeof i?y(i):i;break;case"minute":this.minute="number"==typeof i?y(i):i;break;case"second":this.second="number"==typeof i?y(i):i;break;case"meridiem":if(h(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=y(t-12));break;case"PM":t<12&&(this.hour=y(t+12))}this.meridiem=i}else this.meridiem=i}this.timeChanged=!0,e&&this.calciteTimePickerChange.emit(this.getTime())}}hourChanged(t){"12"===this.hourDisplayFormat&&h(t)&&(this.meridiem=f(t))}timeChangeHandler(){const{hour:t,minute:i}=this.getTime();t||i||this.setTime("meridiem",null,!1),this.timeChanged&&(this.timeChanged=!1)}hostBlurHandler(){this.calciteTimePickerBlur.emit()}hostFocusHandler(){this.calciteTimePickerFocus.emit()}keyDownHandler(t){const i=o(t.key);switch(this.activeEl){case this.hourEl:"ArrowRight"===i&&this.setFocus("minute");break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocus("hour");break;case"ArrowRight":60!==this.step?this.setFocus("second"):"12"===this.hourDisplayFormat&&this.setFocus("meridiem")}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocus("minute");break;case"ArrowRight":"12"===this.hourDisplayFormat&&this.setFocus("meridiem")}break;case this.meridiemEl:switch(i){case"ArrowLeft":this.setFocus(60!==this.step?"second":"minute")}}}async setFocus(t){var i;null===(i=this[`${t||"hour"}El`])||void 0===i||i.focus()}buttonActivated(t){const i=o(t.key);return" "===i&&t.preventDefault(),c(i)}getDisplayHour(){return this.hour?"12"===this.hourDisplayFormat?w(this.hour):this.hour:"--"}getTime(){return{hour:this.hour,minute:this.minute,second:this.second}}connectedCallback(){"12"===this.hourDisplayFormat&&(this.meridiem=f(this.hour)),h(this.hour)&&(this.hour=y(parseInt(this.hour))),h(this.minute)&&(this.minute=y(parseInt(this.minute))),h(this.second)&&(this.second=y(parseInt(this.second)))}render(){const t="s"===this.scale||"m"===this.scale?"s":"m",i=60!==this.step,a=h(this.hour),n=h(this.minute),o=h(this.second);return e(s,null,e("div",{class:"time-picker"},e("div",{role:"group"},e("span",{"aria-label":this.intlHourUp,class:{button:!0,"button--hour-up":!0,"button--top-left":!0},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":a&&parseInt(this.hour),"aria-valuetext":this.hour,class:{input:!0,hour:!0},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:t=>this.hourEl=t,role:"spinbutton",tabIndex:0},this.getDisplayHour()),e("span",{"aria-label":this.intlHourDown,class:{button:!0,"button--hour-down":!0,"button--bottom-left":!0},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t}))),e("span",{class:"delimiter"},":"),e("div",{role:"group"},e("span",{"aria-label":this.intlMinuteUp,class:{button:!0,"button--minute-up":!0},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":n&&parseInt(this.minute),"aria-valuetext":this.minute,class:{input:!0,minute:!0},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:t=>this.minuteEl=t,role:"spinbutton",tabIndex:0},this.minute?this.minute:"--"),e("span",{"aria-label":this.intlMinuteDown,class:{button:!0,"button--minute-down":!0},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t}))),i&&e("span",{class:"delimiter"},":"),i&&e("div",{role:"group"},e("span",{"aria-label":this.intlSecondUp,class:{button:!0,"button--second-up":!0},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":o&&parseInt(this.second),"aria-valuetext":this.second,class:{input:!0,second:!0},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:t=>this.secondEl=t,role:"spinbutton",tabIndex:0},this.second?this.second:"--"),e("span",{"aria-label":this.intlSecondDown,class:{button:!0,"button--second-down":!0},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t}))),"12"===this.hourDisplayFormat&&e("div",{role:"group"},e("span",{"aria-label":this.intlMeridiemUp,class:{button:!0,"button--meridiem-up":!0,"button--top-right":!0},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"AM"===this.meridiem?"1":"PM"===this.meridiem?"2":void 0,"aria-valuetext":this.meridiem,class:{input:!0,meridiem:!0},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:t=>this.meridiemEl=t,role:"spinbutton",tabIndex:0},this.meridiem?this.meridiem:"--"),e("span",{"aria-label":this.intlMeridiemDown,class:{button:!0,"button--meridiem-down":!0,"button--bottom-right":!0},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t})))))}get el(){return a(this)}static get watchers(){return{hour:["hourChanged","timeChangeHandler"],minute:["timeChangeHandler"],second:["timeChangeHandler"]}}};g.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{color:var(--calcite-ui-text-1);display:inline-block;font-weight:var(--calcite-font-weight-medium);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.time-picker{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;border-radius:var(--calcite-border-radius)}span{-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}span.button{cursor:pointer}span.button:hover,span.button:focus{background-color:var(--calcite-ui-foreground-2)}span.button:focus{outline:2px solid transparent;outline-offset:2px}span.button:active{background-color:var(--calcite-ui-foreground-3)}span.button.top-left{border-top-left-radius:var(--calcite-border-radius)}span.button.bottom-left{border-bottom-left-radius:var(--calcite-border-radius)}span.button.top-right{border-top-right-radius:var(--calcite-border-radius)}span.button.bottom-right{border-bottom-right-radius:var(--calcite-border-radius)}span.button calcite-icon{color:var(--calcite-ui-text-3)}span.input{font-weight:var(--calcite-font-weight-medium);position:relative}span.input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}span.input:focus,span.input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([scale=s]){font-size:var(--calcite-font-size--1)}:host([scale=s]) span{height:24px;width:40px}:host([scale=s]) .delimiter{height:72px}:host([scale=s][hour-display-format="12"]) .time-picker{width:124.2px}:host([scale=s][hour-display-format="12"]:not([step="60"])) .time-picker{width:168px}:host([scale=s][hour-display-format="24"]) .time-picker{width:84.2px}:host([scale=s][hour-display-format="24"]:not([step="60"])) .time-picker{width:128.4px}:host([scale=m]){font-size:var(--calcite-font-size-0)}:host([scale=m]) span{height:32px;width:44px}:host([scale=m]) .delimiter{height:96px}:host([scale=m][hour-display-format="12"]) .time-picker{width:136.8px}:host([scale=m][hour-display-format="12"]:not([step="60"])) .time-picker{width:186px}:host([scale=m][hour-display-format="24"]) .time-picker{width:92.8px}:host([scale=m][hour-display-format="24"]:not([step="60"])) .time-picker{width:141.6px}:host([scale=l]){font-size:var(--calcite-font-size-1)}:host([scale=l]) span{height:48px;width:64px}:host([scale=l]) .delimiter{height:144px}:host([scale=l][hour-display-format="12"]) .time-picker{width:198px}:host([scale=l][hour-display-format="12"]:not([step="60"])) .time-picker{width:268px}:host([scale=l][hour-display-format="24"]) .time-picker{width:134px}:host([scale=l][hour-display-format="24"]:not([step="60"])) .time-picker{width:204px}';export{D as calcite_input_time_picker,g as calcite_time_picker}
@@ -1,5 +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
- */
5
- import{r as t,c as i,h as a,g as e}from"./p-2e29554c.js";import{b as n,C as o}from"./p-e5305b02.js";import{g as s}from"./p-8a63221d.js";let r=class{constructor(a){t(this,a),this.calciteTileSelectChange=i(this,"calciteTileSelectChange",7),this.checked=!1,this.disabled=!1,this.hidden=!1,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.width="auto",this.guid=`calcite-tile-select-${s()}`,this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){this.input.setFocus()}checkboxChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const i=t.target;i===this.input&&(this.checked=i.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const i=t.target;i===this.input&&(this.focused=i.focused),t.stopPropagation()}click(t){["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}mouseenter(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!0),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!0)}mouseleave(){"calcite-radio-button"===this.input.localName&&(this.input.hovered=!1),"calcite-checkbox"===this.input.localName&&(this.input.hovered=!1)}connectedCallback(){this.renderInput()}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}renderInput(){this.input=document.createElement("radio"===this.type?"calcite-radio-button":"calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const t=n(this.el);return a("div",{class:{focused:this.focused,root:!0,[o.rtl]:"rtl"===t}},a("calcite-tile",{active:this.checked,description:this.description,embed:!0,heading:this.heading,icon:this.icon}),a("slot",null))}get el(){return e(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};r.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}.root{background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:100%;max-width:300px;padding:0.75rem;position:relative;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;vertical-align:top;z-index:10}:host{display:block}:host(:hover) .root{z-index:20;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-1);box-shadow:0 0 0 1px var(--calcite-ui-border-1)}:host([checked]) .root{z-index:30;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}.root.focused{z-index:30}:host(:not([input-enabled]):hover) .root{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand)}:host(:not([input-enabled])) .root.focused{-webkit-box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:0 0 0 1px var(--calcite-ui-brand), inset 0 0 0 2px var(--calcite-ui-foreground-1), inset 0 0 0 5px var(--calcite-ui-brand)}:host([width=full]) .root{max-width:none;display:-ms-flexbox;display:flex}:host([width=full]) calcite-tile{-ms-flex:1 1 auto;flex:1 1 auto}:host([input-alignment=start][width=full]) calcite-tile{-ms-flex-order:1;order:1;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host(:not([input-enabled])) ::slotted(calcite-checkbox),:host(:not([input-enabled])) ::slotted(calcite-radio-button){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([heading]:not([icon]):not([description])) .root{-ms-flex-align:center;align-items:center}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) .root,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) ::slotted(calcite-radio-button),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-checkbox),:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) ::slotted(calcite-radio-button){-ms-flex-order:0;order:0}:host([width=auto][input-enabled][input-alignment=start][icon][heading][description]) calcite-tile,:host([width=auto][input-enabled][input-alignment=start]:not([icon])[heading]:not([description])) calcite-tile{-ms-flex-order:1;order:1}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;left:0.75rem}:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=start][icon][heading]:not([description])) .calcite--rtl ::slotted(calcite-radio-button){right:0.75rem;left:unset}:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) ::slotted(calcite-radio-button){position:absolute;top:0.75rem;right:0.75rem}:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][icon][heading]) .calcite--rtl ::slotted(calcite-radio-button){right:unset;left:0.75rem}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) .root{display:inline-grid;grid-gap:0.75rem;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr}:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-checkbox),:host([input-enabled][input-alignment=end][heading]:not([icon]):not([description])) ::slotted(calcite-radio-button){justify-self:flex-end}:host([hidden]){display:none}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";let c=class{constructor(i){t(this,i),this.layout="horizontal"}render(){return a("slot",null)}};c.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-right:1px;margin-bottom:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";export{r as calcite_tile_select,c as calcite_tile_select_group}
@@ -1,5 +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
- */
5
- System.register(["./p-288bc438.system.js","./p-f87ba8eb.system.js","./p-a0c02648.system.js","./p-caf7085a.system.js"],(function(t){"use strict";var e,n,r,o,i,a;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a;o=t.b},function(t){i=t.S},function(t){a=t.S}],execute:function(){t("t",g);var c=t("o",150);var u=2;var l=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*u)/n)};var f=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-l({height:r,actionHeight:n,groupCount:o}),0)}));var s=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===i.trigger:true}))}));var v=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var i=o;n.reverse().forEach((function(t){var n=0;var o=s(t).reverse();o.forEach((function(t){if(t.slot===a.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(i>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",a.menuActions);n++;if(n>1){i--}}return i<1}))}e(t)}))}));var h={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function p(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function g(t){var e=t.parent,n=t.expanded;s(e).filter((function(t){return t.slot!==a.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}if(o){o(n)}return n};var m=t("C",(function(t){var e=t.expanded,i=t.intlExpand,a=t.intlCollapse,c=t.toggle,u=t.el,l=t.position,f=t.tooltip,s=t.ref,v=t.scale;var g=r(u)==="rtl";var m=e?a:i;var x=[h.chevronsLeft,h.chevronsRight];if(g){x.reverse()}var E=p(l,u)==="end";var b=E?x[1]:x[0];var y=E?x[0]:x[1];var A=n("calcite-action",{dir:o(u)==="rtl"?"rtl":"ltr",icon:e?b:y,onClick:c,ref:function(t){return d({tooltip:f,referenceElement:t,expanded:e,ref:s})},scale:v,text:m,textEnabled:e});return f?n("calcite-tooltip-manager",null,A):A}))}}}));
@@ -1,5 +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
- */
5
- function r(r,t){const o={Up:"ArrowUp",Down:"ArrowDown",Left:"ArrowLeft",Right:"ArrowRight",Spacebar:" ",Esc:"Escape"}[r]||r,n="rtl"===t;return n&&"ArrowLeft"===o?"ArrowRight":n&&"ArrowRight"===o?"ArrowLeft":o}function t(t){return"Enter"===(t=r(t))||" "===t}const o=["0","1","2","3","4","5","6","7","8","9"];export{r as g,t as i,o as n}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,a){function s(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{n(a.next(t))}catch(t){o(t)}}function l(t){try{n(a["throw"](t))}catch(t){o(t)}}function n(t){t.done?i(t.value):s(t.value).then(r,l)}n((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,s,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return n([t,e])}}function n(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,s&&(o=r[0]&2?s["return"]:r[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,r[1])).done)return o;if(s=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++;s=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];s=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
- */System.register(["./p-288bc438.system.js","./p-f87ba8eb.system.js","./p-477bac2c.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,a,s,o,r,l,n,c;return{setters:[function(t){e=t.r;i=t.c;a=t.h;s=t.H;o=t.g},function(t){r=t.s;l=t.b;n=t.C},function(t){c=t.S},function(){}],execute:function(){var u={intlClose:"Close"};var m={slow:14e3,medium:1e4,fast:6e3};var d={title:"title",message:"message",link:"link"};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-left:0.5rem;margin-right:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-left:0.75rem;margin-right:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-bottom:0.25rem}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-left:1rem;margin-right:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{display:block}:host .container{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);display:-ms-flexbox;display:flex;position:fixed;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;pointer-events:none;margin-top:0;margin-bottom:0;margin-left:auto;margin-right:auto;background-color:var(--calcite-ui-foreground-1);opacity:0;left:0;right:0;bottom:0;border-radius:var(--calcite-border-radius);border-top:0px solid transparent;border-left:1px solid var(--calcite-ui-border-3);border-right:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);min-height:var(--calcite-alert-min-height);width:var(--calcite-alert-width);max-width:90%;max-height:0;z-index:101;-webkit-transform:translate3d(0, 1.5rem, 0);transform:translate3d(0, 1.5rem, 0);-webkit-transition:300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out;transition:300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.alert-close{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}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]) .container:not(.queued){opacity:1;max-height:100%;border-top-width:2px;-webkit-transform:translate3d(0, -1.5rem, 0);transform:translate3d(0, -1.5rem, 0);pointer-events:initial}slot[name=title]::slotted(*),*::slotted([slot=title]){font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0);line-height:1.375;color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){display:inline;margin:0;margin-right:0.5rem;font-weight:var(--calcite-font-weight-normal);font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2)}slot[name=link]::slotted(*),*::slotted([slot=link]){color:var(--calcite-ui-text-link);display:-ms-inline-flexbox;display:inline-flex}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-left:0.5rem;margin-right:unset}.alert-content{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;word-wrap:break-word;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) 0;border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-left:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.calcite--rtl .alert-content{padding:var(--calcite-alert-spacing-token-small) 0 var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small)}.calcite--rtl .alert-content:first-of-type:not(:only-child){padding-right:var(--calcite-alert-spacing-token-large)}.alert-icon{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}.alert-close{padding:var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;padding-top:0;padding-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);overflow:hidden;border-bottom-right-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.alert-close:active{background-color:var(--calcite-ui-foreground-3)}.calcite--rtl .alert-close{border-bottom-left-radius:var(--calcite-border-radius);border-bottom-right-radius:unset}.alert-queue-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;visibility:hidden;font-weight:var(--calcite-font-weight-medium);text-align:center;color:var(--calcite-ui-text-2);background-color:var(--calcite-ui-foreground-1);opacity:0;cursor:default;border-left:0px solid transparent;border-right:0px solid transparent;border-top-right-radius:0;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{border-right:0px solid transparent}:host([auto-dismiss]) .calcite--rtl>.alert-queue-count{border-left:0px solid transparent}.alert-dismiss-progress{display:block;position:absolute;left:0;right:0;width:100%;overflow:hidden;top:-2px;height:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{top:0;right:0;display:block;position:absolute;height:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104}.calcite--rtl .alert-dismiss-progress:after{left:0;right:initial}:host([color=blue]) .container{border-top-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-top-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-top-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-top-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{width:0;opacity:0.75}100%{width:100%;opacity:1}}@keyframes dismissProgress{0%{width:0;opacity:0.75}100%{width:100%;opacity:1}}';var f=t("calcite_alert",function(){function t(t){var a=this;e(this,t);this.calciteAlertClose=i(this,"calciteAlertClose",7);this.calciteAlertOpen=i(this,"calciteAlertOpen",7);this.calciteAlertSync=i(this,"calciteAlertSync",7);this.calciteAlertRegister=i(this,"calciteAlertRegister",7);this.active=false;this.autoDismiss=false;this.autoDismissDuration=this.autoDismiss?"medium":null;this.color="blue";this.intlClose=u.intlClose;this.scale="m";this.queue=[];this.queueLength=0;this.queued=false;this.autoDismissTimeoutId=null;this.trackTimer=Date.now();this.closeAlert=function(){a.autoDismissTimeoutId=null;a.queued=false;a.active=false;a.queue=a.queue.filter((function(t){return t!==a.el}));a.determineActiveAlert();a.calciteAlertSync.emit({queue:a.queue});a.calciteAlertClose.emit({el:a.el,queue:a.queue})}}t.prototype.watchActive=function(){var t=this;if(this.active&&!this.queued){this.calciteAlertRegister.emit()}if(!this.active){this.queue=this.queue.filter((function(e){return e!==t.el}));this.calciteAlertSync.emit({queue:this.queue})}};t.prototype.updateRequestedIcon=function(){this.requestedIcon=r(c,this.icon,this.color)};t.prototype.updateDuration=function(){var t=this;if(this.autoDismiss&&this.autoDismissTimeoutId){window.clearTimeout(this.autoDismissTimeoutId);this.autoDismissTimeoutId=window.setTimeout((function(){return t.closeAlert()}),m[this.autoDismissDuration]-(Date.now()-this.trackTimer))}};t.prototype.connectedCallback=function(){if(this.active&&!this.queued){this.calciteAlertRegister.emit()}};t.prototype.componentWillLoad=function(){this.requestedIcon=r(c,this.icon,this.color)};t.prototype.componentDidLoad=function(){this.alertLinkEl=this.el.querySelectorAll("calcite-link")[0]};t.prototype.disconnectedCallback=function(){window.clearTimeout(this.autoDismissTimeoutId)};t.prototype.render=function(){var t;var e=this;var i=l(this.el);var o=a("button",{"aria-label":this.intlClose,class:"alert-close",onClick:this.closeAlert,ref:function(t){return e.closeButton=t},type:"button"},a("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var r="+"+(this.queueLength>2?this.queueLength-1:1);var c=a("div",{class:(this.queueLength>1?"active ":"")+"alert-queue-count"},a("calcite-chip",{scale:this.scale,value:r},r));var u=this,m=u.active,h=u.autoDismiss,f=u.label,p=u.queued,g=u.requestedIcon;var b=h?"alert":"alertdialog";var v=!m;return a(s,{"aria-hidden":v.toString(),"aria-label":f,"calcite-hydrated-hidden":v,role:b},a("div",{class:(t={container:true,queued:p},t[n.rtl]=i==="rtl",t)},g?a("div",{class:"alert-icon"},a("calcite-icon",{icon:g,scale:this.scale==="l"?"m":"s"})):null,a("div",{class:"alert-content"},a("slot",{name:d.title}),a("slot",{name:d.message}),a("slot",{name:d.link})),c,!h?o:null,m&&!p&&h?a("div",{class:"alert-dismiss-progress"}):null))};t.prototype.alertSync=function(t){if(this.queue!==t.detail.queue){this.queue=t.detail.queue}this.queueLength=this.queue.length;this.determineActiveAlert()};t.prototype.alertRegister=function(){if(this.active&&!this.queue.includes(this.el)){this.queued=true;this.queue.push(this.el)}this.calciteAlertSync.emit({queue:this.queue});this.determineActiveAlert()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.closeButton&&!this.alertLinkEl){return[2]}else if(this.alertLinkEl){this.alertLinkEl.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};t.prototype.determineActiveAlert=function(){var t=this;var e;if(((e=this.queue)===null||e===void 0?void 0:e[0])===this.el){this.openAlert();if(this.autoDismiss&&!this.autoDismissTimeoutId){this.trackTimer=Date.now();this.autoDismissTimeoutId=window.setTimeout((function(){return t.closeAlert()}),m[this.autoDismissDuration])}}else{return}};t.prototype.openAlert=function(){var t=this;clearTimeout(this.queueTimeout);this.queueTimeout=window.setTimeout((function(){return t.queued=false}),300);this.calciteAlertOpen.emit({el:this.el,queue:this.queue})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["watchActive"],icon:["updateRequestedIcon"],color:["updateRequestedIcon"],autoDismissDuration:["updateDuration"]}},enumerable:false,configurable:true});return t}());f.style=h}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function c(t){try{l(n.next(t))}catch(t){a(t)}}function s(t){try{l(n["throw"](t))}catch(t){a(t)}}function l(t){t.done?i(t.value):o(t.value).then(c,s)}l((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(t){return function(e){return l([t,e])}}function l(c){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(a=c[0]&2?o["return"]:c[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;if(o=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;o=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(c[0]===6&&i.label<a[1]){i.label=a[1];a=c;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(c);break}if(a[2])i.ops.pop();i.trys.pop();continue}c=e.call(t,i)}catch(t){c=[6,t];o=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[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
- */System.register(["./p-288bc438.system.js","./p-477bac2c.system.js","./p-f87ba8eb.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,n,o,a,c,s,l,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;o=t.g},function(t){a=t.S},function(t){c=t.s;s=t.b;l=t.g;r=t.C},function(){}],execute:function(){var m={close:"Close"};var f={title:"title",message:"message",link:"link",actionsEnd:"actions-end"};var u={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"};var p="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{display:none;margin-left:auto;margin-right:auto;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{display:none;text-align:left;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;opacity:0;pointer-events:none;background-color:var(--calcite-ui-foreground-1);max-height:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;border-left:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{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}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{display:-ms-flexbox;display:flex;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);-ms-flex-align:center;align-items:center;opacity:1;max-height:100%;border-width:2px;pointer-events:auto}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){display:inline;margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-right:var(--calcite-notice-spacing-token-small)}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-right:0;margin-left:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) 0}.notice-content:first-of-type:not(:only-child){padding-left:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.notice-close{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:transparent;border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}.calcite--rtl{text-align:right;border-left:none;border-right:0px solid}.calcite--rtl .notice-content{padding:var(--calcite-notice-spacing-token-small) 0 var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small)}.calcite--rtl .notice-content:first-of-type:not(:only-child){padding-right:var(--calcite-notice-spacing-token-large)}.calcite--rtl .notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";var d=t("calcite_notice",function(){function t(t){var n=this;e(this,t);this.calciteNoticeClose=i(this,"calciteNoticeClose",7);this.calciteNoticeOpen=i(this,"calciteNoticeOpen",7);this.active=false;this.color="blue";this.dismissible=false;this.intlClose=m.close;this.scale="m";this.width="auto";this.close=function(){n.active=false;n.calciteNoticeClose.emit()}}t.prototype.updateRequestedIcon=function(){this.requestedIcon=c(a,this.icon,this.color)};t.prototype.componentWillLoad=function(){this.requestedIcon=c(a,this.icon,this.color)};t.prototype.componentDidLoad=function(){this.noticeLinkEl=this.el.querySelector("calcite-link")};t.prototype.render=function(){var t;var e=this;var i=this.el;var o=s(i);var a=n("button",{"aria-label":this.intlClose,class:u.close,onClick:this.close,ref:function(t){return e.closeButton=t}},n("calcite-icon",{icon:"x",scale:this.scale==="l"?"m":"s"}));var c=l(i,f.actionsEnd);return n("div",{class:(t={},t[u.container]=true,t[r.rtl]=o==="rtl",t)},this.requestedIcon?n("div",{class:u.icon},n("calcite-icon",{icon:this.requestedIcon,scale:this.scale==="l"?"m":"s"})):null,n("div",{class:u.content},n("slot",{name:f.title}),n("slot",{name:f.message}),n("slot",{name:f.link})),c?n("div",{class:u.actionsEnd},n("slot",{name:f.actionsEnd})):null,this.dismissible?a:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.closeButton&&!this.noticeLinkEl){return[2]}if(this.noticeLinkEl){this.noticeLinkEl.setFocus()}else if(this.closeButton){this.closeButton.focus()}return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}},enumerable:false,configurable:true});return t}());d.style=p}}}));
@@ -1,5 +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
- */
5
- System.register(["./p-288bc438.system.js","./p-f87ba8eb.system.js","./p-e020662f.system.js"],(function(t){"use strict";var i,a,e,o,r;return{setters:[function(t){i=t.r;a=t.c;e=t.h;o=t.g},function(t){r=t.b},function(){}],execute:function(){var n={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var c="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{height:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{width:auto}.width-half{width:50%}.width-full{width:100%}.split-button__divider-container{width:1px;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:0.15s ease-in-out;transition:0.15s ease-in-out;background-color:var(--calcite-split-button-background)}.split-button__divider{width:1px;margin-top:0.25rem;margin-bottom:0.25rem;display:inline-block;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-top:1px solid var(--calcite-split-button-divider);border-bottom:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}";var l=t("calcite_split_button",function(){function t(t){var e=this;i(this,t);this.calciteSplitButtonPrimaryClick=a(this,"calciteSplitButtonPrimaryClick",7);this.calciteSplitButtonSecondaryClick=a(this,"calciteSplitButtonSecondaryClick",7);this.appearance="solid";this.color="blue";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.loading=false;this.overlayPositioning="absolute";this.scale="m";this.width="auto";this.calciteSplitButtonPrimaryClickHandler=function(t){return e.calciteSplitButtonPrimaryClick.emit(t)};this.calciteSplitButtonSecondaryClickHandler=function(t){return e.calciteSplitButtonSecondaryClick.emit(t)}}t.prototype.render=function(){var t;var i=r(this.el);var a=(t={},t[n.container]=true,t[n.widthAuto]=this.width==="auto",t[n.widthHalf]=this.width==="half",t[n.widthFull]=this.width==="full",t);var o=this.width==="auto"?"auto":"full";return e("div",{class:a,dir:i},e("calcite-button",{appearance:this.appearance,color:this.color,dir:i,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",width:o},this.primaryText),e("div",{class:n.dividerContainer},e("div",{class:n.divider})),e("calcite-dropdown",{active:this.active,dir:i,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-trailing",scale:this.scale,width:this.scale},e("calcite-button",{appearance:this.appearance,color:this.color,dir:i,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary"}),e("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());l.style=c}}}));
@@ -1,5 +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
- */
5
- import{r as t,c as i,h as e,g as a,H as n}from"./p-2e29554c.js";import{g as r}from"./p-72563742.js";import{e as s,b as o,C as c}from"./p-e5305b02.js";import"./p-8a63221d.js";let l=class{constructor(e){t(this,e),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",7),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.items=[],this.sortedItems=[]}contentWatcher(){"horizontal"===this.layout&&(!this.stepperContentContainer&&this.requestedContent&&this.addHorizontalContentContainer(),this.updateContent(this.requestedContent))}componentDidLoad(){this.currentPosition||this.calciteStepperItemChange.emit({position:0})}componentWillLoad(){"horizontal"!==this.layout||this.stepperContentContainer||this.addHorizontalContentContainer()}render(){return e("slot",null)}calciteStepperItemKeyEvent(t){const i=t.detail.item,e=t.target,a=0===this.itemIndex(e),n=this.itemIndex(e)===this.sortedItems.length-1;switch(r(i.key)){case"ArrowDown":case"ArrowRight":n?this.focusFirstItem():this.focusNextItem(e);break;case"ArrowUp":case"ArrowLeft":a?this.focusLastItem():this.focusPrevItem(e);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}}registerItem(t){const i={item:t.target,position:t.detail.position,content:t.detail.content};i.content&&i.item.active&&(this.requestedContent=i.content),this.items.includes(i)||this.items.push(i),this.sortedItems=this.sortItems()}updateItem(t){t.detail.content&&(this.requestedContent=t.detail.content),this.currentPosition=t.detail.position,this.calciteStepperItemChange.emit({position:this.currentPosition})}async nextStep(){this.currentPosition=this.currentPosition+1<this.items.length?this.currentPosition+1:this.currentPosition,this.emitChangedItem()}async prevStep(){this.currentPosition=this.currentPosition-1>=0?this.currentPosition-1:this.currentPosition,this.emitChangedItem()}async goToStep(t){this.currentPosition=t-1,this.emitChangedItem()}async startStep(){this.currentPosition=0,this.emitChangedItem()}async endStep(){this.currentPosition=this.items.length-1,this.emitChangedItem()}addHorizontalContentContainer(){this.stepperContentContainer=document.createElement("div"),this.stepperContentContainer.classList.add("calcite-stepper-content"),this.el.insertAdjacentElement("beforeend",this.stepperContentContainer)}emitChangedItem(){this.calciteStepperItemChange.emit({position:this.currentPosition})}focusFirstItem(){this.focusElement(this.sortedItems[0])}focusLastItem(){this.focusElement(this.sortedItems[this.sortedItems.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.focusElement(this.sortedItems[i+1]||this.sortedItems[0])}focusPrevItem(t){const i=this.itemIndex(t);this.focusElement(this.sortedItems[i-1]||this.sortedItems[this.sortedItems.length-1])}itemIndex(t){return this.sortedItems.indexOf(t)}focusElement(t){t.focus()}sortItems(){const t=Array.from(this.items).filter((t=>!t.item.disabled)).sort(((t,i)=>t.position-i.position)).map((t=>t.item));return[...Array.from(new Set(t))]}updateContent(t){this.stepperContentContainer.innerHTML="",this.stepperContentContainer.append(...t)}get el(){return a(this)}static get watchers(){return{requestedContent:["contentWatcher"]}}};l.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:stretch;align-items:stretch;width:100%;min-width:100%}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex:1 1 auto;flex:1 1 auto}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-width:100%}";let m=class{constructor(e){t(this,e),this.calciteStepperItemKeyEvent=i(this,"calciteStepperItemKeyEvent",7),this.calciteStepperItemSelect=i(this,"calciteStepperItemSelect",7),this.calciteStepperItemRegister=i(this,"calciteStepperItemRegister",7),this.active=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.icon=!1,this.numbered=!1,this.scale="m"}disabledWatcher(){this.registerStepperItem()}componentWillLoad(){this.icon=s(this.el,"icon",!1),this.numbered=s(this.el,"numbered",!1),this.layout=s(this.el,"layout",!1),this.scale=s(this.el,"scale","m"),this.parentStepperEl=this.el.parentElement}componentDidLoad(){this.itemPosition=this.getItemPosition(),this.itemContent=this.getItemContent(),this.registerStepperItem(),this.active&&this.emitRequestedItem()}componentDidUpdate(){this.active&&this.emitRequestedItem()}render(){const t=o(this.el);return e(n,{"aria-expanded":this.active.toString(),onClick:()=>this.emitRequestedItem(),tabindex:this.disabled?null:0},e("div",{class:{container:!0,[c.rtl]:"rtl"===t}},e("div",{class:"stepper-item-header"},this.icon?this.renderIcon():null,this.numbered?e("div",{class:"stepper-item-number"},this.getItemPosition()+1,"."):null,e("div",{class:"stepper-item-header-text"},e("span",{class:"stepper-item-title"},this.itemTitle),e("span",{class:"stepper-item-subtitle"},this.itemSubtitle))),e("div",{class:"stepper-item-content"},e("slot",null))))}keyDownHandler(t){if(!this.disabled&&t.target===this.el)switch(r(t.key)){case" ":case"Enter":this.emitRequestedItem(),t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteStepperItemKeyEvent.emit({item:t}),t.preventDefault()}}updateActiveItemOnChange(t){t.target===this.parentStepperEl&&(this.activePosition=t.detail.position,this.determineActiveItem())}renderIcon(){return e("calcite-icon",{class:"stepper-item-icon",icon:this.active?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineActiveItem(){this.active=!this.disabled&&this.itemPosition===this.activePosition}registerStepperItem(){this.calciteStepperItemRegister.emit({position:this.itemPosition,content:this.itemContent})}emitRequestedItem(){this.disabled||this.calciteStepperItemSelect.emit({position:this.itemPosition,content:this.itemContent})}getItemContent(){var t;return(null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot"))?this.el.shadowRoot.querySelector("slot").assignedNodes({flatten:!0}):this.el.querySelector(".stepper-item-content")?this.el.querySelector(".stepper-item-content").childNodes:null}getItemPosition(){return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"),this.el)}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"]}}};m.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-right:0.25rem}:host([scale=s]) .stepper-item-subtitle{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-right:0.5rem}:host([scale=m]) .stepper-item-subtitle{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-right:0.75rem}:host([scale=l]) .stepper-item-subtitle{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;position:relative;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative;border-width:0;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);cursor:pointer;-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)}.calcite--rtl{margin-left:var(--calcite-stepper-item-spacing-unit-l);margin-right:0}:host{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}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;cursor:pointer}:host .stepper-item-content,:host .stepper-item-header{padding:var(--calcite-stepper-item-spacing-unit-l) var(--calcite-stepper-item-spacing-unit-m);padding-left:0;text-align:left;-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)}.calcite--rtl .stepper-item-content,.calcite--rtl .stepper-item-header{padding-right:0;text-align:right;-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);padding-left:initial}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}:host .stepper-item-content{-ms-flex-direction:column;flex-direction:column;width:100%;display:none;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-right:var(--calcite-stepper-item-spacing-unit-m);color:var(--calcite-ui-text-3);margin-top:1px;opacity:var(--calcite-ui-opacity-disabled);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;height:0.75rem;-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)}.calcite--rtl .stepper-item-icon{margin-left:var(--calcite-stepper-item-spacing-unit-l);margin-right:0}:host .stepper-item-header-text{margin-right:auto;-ms-flex-direction:column;flex-direction:column;text-align:initial}.calcite--rtl .stepper-item-header-text{margin-left:auto;margin-right:0}:host .stepper-item-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);margin-bottom:0.25rem}:host .stepper-item-subtitle{color:var(--calcite-ui-text-3)}.calcite--rtl .stepper-item-title{margin-right:0;margin-left:auto}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-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);margin-right:var(--calcite-stepper-item-spacing-unit-m)}.calcite--rtl .stepper-item-number{margin-left:var(--calcite-stepper-item-spacing-unit-m);margin-right:initial}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]),:host([disabled]) *{cursor:not-allowed;pointer-events:auto}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0;border-left-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-right:0;margin-left:0;margin-right:0;margin-top:0;padding-left:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{margin-top:1px;margin-right:0;margin-bottom:0;margin-left:auto;-ms-flex-order:3;order:3;padding-left:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=vertical]) .container .stepper-item-header{padding-right:0}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl{border-left-width:0;border-right-width:2px;border-color:var(--calcite-ui-border-3);padding-top:0;padding-bottom:0;padding-left:0;padding-right:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl .stepper-item-icon{margin-bottom:0;margin-left:0;padding-left:0;padding-right:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .calcite--rtl .stepper-item-header{padding-left:0;padding-right:intial}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";export{l as calcite_stepper,m as calcite_stepper_item}
@@ -1,5 +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
- */
5
- import{r as t,c as i,h as e,H as n,g as o,f as a}from"./p-2e29554c.js";import{c as r}from"./p-e4acb5a8.js";let c=class{constructor(e){t(this,e),this.calciteActionClick=i(this,"calciteActionClick",7),this.active=!1,this.appearance="solid",this.compact=!1,this.disabled=!1,this.indicator=!1,this.intlLoading="Loading",this.loading=!1,this.scale="m",this.textEnabled=!1,this.mutationObserver=r("mutation",(()=>a(this))),this.calciteActionClickHandler=()=>{this.disabled||this.calciteActionClick.emit()}}connectedCallback(){var t;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 setFocus(){this.buttonEl.focus()}renderTextContainer(){const{text:t,textEnabled:i}=this;return t?e("div",{class:{"text-container":!0,"text-container--visible":i},key:"text-container"},t):null}renderIconContainer(){var t;const{loading:i,icon:n,scale:o,el:a,intlLoading:r}=this,c="l"===o?"m":"s",s=i?e("calcite-loader",{active:!0,inline:!0,label:r,scale:c}):null,l=n?e("calcite-icon",{icon:n,scale:c}):null,b=s||l,u=b||(null===(t=a.children)||void 0===t?void 0:t.length),d=e("div",{class:{"slot-container":!0,"slot-container--hidden":i}},e("slot",null));return u?e("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},b,d):null}render(){const{compact:t,disabled:i,loading:o,textEnabled:a,label:r,text:c}=this,s=r||c,l={button:!0,"button--text-visible":a,"button--compact":t};return e(n,{onClick:this.calciteActionClickHandler},e("button",{"aria-busy":o.toString(),"aria-disabled":i.toString(),"aria-label":s,class:l,disabled:i,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()))}get el(){return o(this)}};c.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]){pointer-events:none}.button{background-color:var(--calcite-ui-foreground-1);border-style:none;cursor:pointer;fill:var(--calcite-ui-text-3);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;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;margin:0;position:relative;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);width:auto;font-family:inherit;text-align:unset}.button:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none;min-width:1rem;min-height:1rem}.button .text-container{line-height:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;width:0;opacity:0;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{-ms-flex:1 1 auto;flex:1 1 auto;opacity:1;width:auto}:host([scale=s]) .button{font-weight:var(--calcite-font-weight-normal);padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{font-weight:var(--calcite-font-weight-normal);padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{font-weight:var(--calcite-font-weight-normal);padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-left:0;padding-right:0}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{width:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-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)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{color:var(--calcite-ui-text-1);fill:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{margin-right:0;color:var(--calcite-ui-text-3)}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;opacity:var(--calcite-ui-opacity-disabled);background-color:var(--calcite-ui-foreground-1)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{opacity:var(--calcite-ui-opacity-disabled);background-color:var(--calcite-ui-foreground-3)}:host([indicator]) .button::after{content:"";position:absolute;border-width:2px;background-color:var(--calcite-ui-brand);border-radius:9999px;height:0.5rem;width:0.5rem;z-index:10;border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';export{c as calcite_action}
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,i,e){function a(t){return t instanceof i?t:new i((function(n){n(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{l(e.next(t))}catch(t){r(t)}}function s(t){try{l(e["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):a(t.value).then(o,s)}l((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(n){return l([t,n])}}function l(o){if(e)throw new TypeError("Generator is already executing.");while(i)try{if(e=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=n.call(t,i)}catch(t){o=[6,t];a=0}finally{e=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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
- */System.register(["./p-288bc438.system.js","./p-f87ba8eb.system.js","./p-e020662f.system.js"],(function(t){"use strict";var n,i,e,a,r,o,s;return{setters:[function(t){n=t.r;i=t.h;e=t.H;a=t.g},function(t){r=t.b;o=t.C;s=t.f},function(){}],execute:function(){var l="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host a,:host span{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{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}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{width:1em;height:1em;min-width:unset;min-height:unset}.calcite-link--icon{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;vertical-align:text-top;margin-top:0.125rem}:host([disabled]){pointer-events:none}:host([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-link--icon.icon-start{margin-right:0.5rem}.calcite--rtl .calcite-link--icon.icon-start{margin-right:0;margin-left:0.5rem}:host .calcite-link--icon.icon-end{margin-left:0.5rem}.calcite--rtl .calcite-link--icon.icon-end{margin-left:0;margin-right:0.5rem}:host span,:host a{display:inline;padding:0;border-style:none;background-color:transparent;position:relative;color:var(--calcite-ui-text-link);line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px;-webkit-transition:all 0.15s ease-in-out, background-size 0.3s ease-in-out;transition:all 0.15s ease-in-out, background-size 0.3s ease-in-out}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}span.calcite--rtl,a.calcite--rtl{background-position:100% 100%, 100% 100%}";var c=t("calcite_link",function(){function t(t){var i=this;n(this,t);this.disabled=false;this.childElType="span";this.storeTagRef=function(t){i.childEl=t}}t.prototype.hrefHandler=function(t){this.childElType=t?"a":"span"};t.prototype.connectedCallback=function(){this.childElType=this.href?"a":"span"};t.prototype.render=function(){var t;var n=r(this.el);var a=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var s=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var l=this.childElType;var c=this.childElType==="span"?"link":null;var u=this.disabled?-1:this.childElType==="span"?0:null;return i(e,{role:"presentation"},i(l,{class:(t={},t[o.rtl]=n==="rtl",t),dir:n,href:l==="a"&&this.href,ref:this.storeTagRef,rel:l==="a"&&this.rel,role:c,tabIndex:u,target:l==="a"&&this.target},this.iconStart?a:null,i("slot",null),this.iconEnd?s:null))};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){s(this.childEl);return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{href:["hrefHandler"]}},enumerable:false,configurable:true});return t}());c.style=l}}}));
@@ -1,5 +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{l(a.next(t))}catch(t){o(t)}}function s(t){try{l(a["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):n(t.value).then(r,s)}l((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 l([t,e])}}function l(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}}};var __spreadArray=this&&this.__spreadArray||function(t,e){for(var i=0,a=e.length,n=t.length;i<a;i++,n++)t[n]=e[i];return t};
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
- */System.register(["./p-288bc438.system.js","./p-e020662f.system.js","./p-f87ba8eb.system.js","./p-56b352bf.system.js","./p-db10485b.system.js"],(function(t){"use strict";var e,i,a,n,o,r,s,l,c,d,b,p,f,h,m;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;o=t.g;r=t.F},function(t){s=t.g},function(t){l=t.n;c=t.a;d=t.l;b=t.e;p=t.b;f=t.C},function(t){h=t.g},function(t){m=t.c}],execute:function(){var u="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([active]) section{display:block}:host{display:none;color:var(--calcite-ui-text-3);width:100%;height:100%}:host([active]){display:block;width:100%;height:100%;overflow:auto}section{height:100%;width:100%;display:none}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}";var v=t("calcite_tab",function(){function t(t){e(this,t);this.calciteTabRegister=i(this,"calciteTabRegister",7);this.active=false;this.scale="m";this.guid="calcite-tab-title-"+s()}t.prototype.render=function(){var t=this.el.id||this.guid;return a(n,{"aria-expanded":this.active.toString(),"aria-labelledby":this.labeledBy,id:t,role:"tabpanel"},a("section",null,a("slot",null)))};t.prototype.componentDidLoad=function(){this.calciteTabRegister.emit()};t.prototype.componentWillRender=function(){var t;this.scale=(t=this.el.closest("calcite-tabs"))===null||t===void 0?void 0:t.scale};t.prototype.disconnectedCallback=function(){var t;(t=document.body)===null||t===void 0?void 0:t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))};t.prototype.tabChangeHandler=function(t){var e=this;if(t.target.closest("calcite-tabs")!==this.el.closest("calcite-tabs")){return}if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(l(this.el.parentElement.children).filter((function(t){return t.matches("calcite-tab")})),this.el)]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.labeledBy=e[t.indexOf(this.el.id)]||null;return[2]}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());v.style=u;var y="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;overflow:auto;-ms-flex-pack:start;justify-content:flex-start;-webkit-overflow-scrolling:touch;padding:0.25rem;margin:-0.25rem}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{width:100%;right:0;left:0;bottom:0;position:absolute;overflow:hidden;height:0.125rem}.tab-nav-active-indicator{position:absolute;bottom:0;display:block;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--calcite-ui-brand);height:0.125rem}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";var g=t("calcite_tab_nav",function(){function t(t){var a=this;e(this,t);this.calciteTabChange=i(this,"calciteTabChange",7);this.scale="m";this.layout="inline";this.position="below";this.bordered=false;this.animationActiveDuration=.3;this.handleContainerScroll=function(){a.activeIndicatorEl.style.transitionDuration="0s";a.updateOffsetPosition()}}t.prototype.selectedTabChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(localStorage&&this.storageId&&this.selectedTab!==undefined&&this.selectedTab!==null){localStorage.setItem("calcite-tab-nav-"+this.storageId,JSON.stringify(this.selectedTab))}this.calciteTabChange.emit({tab:this.selectedTab});t=this;return[4,this.getTabTitleById(this.selectedTab)];case 1:t.selectedTabEl=e.sent();return[2]}}))}))};t.prototype.selectedTabElChanged=function(){this.updateOffsetPosition();this.updateActiveWidth();this.activeIndicatorEl.style.transitionDuration=this.animationActiveDuration+"s"};t.prototype.componentWillLoad=function(){var t="calcite-tab-nav-"+this.storageId;if(localStorage&&this.storageId&&localStorage.getItem(t)){var e=JSON.parse(localStorage.getItem(t));this.selectedTab=e;this.calciteTabChange.emit({tab:this.selectedTab})}};t.prototype.componentWillRender=function(){var t,e,i,a;this.layout=(t=this.el.closest("calcite-tabs"))===null||t===void 0?void 0:t.layout;this.position=(e=this.el.closest("calcite-tabs"))===null||e===void 0?void 0:e.position;this.scale=(i=this.el.closest("calcite-tabs"))===null||i===void 0?void 0:i.scale;this.bordered=(a=this.el.closest("calcite-tabs"))===null||a===void 0?void 0:a.bordered;if(this.selectedTabEl){this.updateOffsetPosition()}};t.prototype.componentDidRender=function(){var t=this;if(this.tabTitles.length&&this.tabTitles.every((function(t){return!t.active}))&&!this.selectedTab){this.tabTitles[0].getTabIdentifier().then((function(e){t.calciteTabChange.emit({tab:e})}))}};t.prototype.render=function(){var t=this;var e=c(this.el);var i=this.indicatorWidth+"px";var o=this.indicatorOffset+"px";var r=e!=="rtl"?{width:i,left:o}:{width:i,right:o};return a(n,{role:"tablist"},a("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:function(e){return t.tabNavEl=e}},a("div",{class:"tab-nav-active-indicator-container",ref:function(e){return t.activeIndicatorContainerEl=e}},a("div",{class:"tab-nav-active-indicator",ref:function(e){return t.activeIndicatorEl=e},style:r})),a("slot",null)))};t.prototype.resizeHandler=function(){this.activeIndicatorEl.style.transitionDuration="0s";this.updateActiveWidth();this.updateOffsetPosition()};t.prototype.focusPreviousTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e-1]||this.enabledTabTitles[this.enabledTabTitles.length-1];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.focusNextTabHandler=function(t){var e=this.getIndexOfTabTitle(t.target,this.enabledTabTitles);var i=this.enabledTabTitles[e+1]||this.enabledTabTitles[0];i.focus();t.stopPropagation();t.preventDefault()};t.prototype.activateTabHandler=function(t){this.selectedTab=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target);t.stopPropagation();t.preventDefault()};t.prototype.updateTabTitles=function(t){if(t.target.active){this.selectedTab=t.detail}};t.prototype.globalTabChangeHandler=function(t){if(this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTab!==t.detail.tab){this.selectedTab=t.detail.tab}};t.prototype.updateOffsetPosition=function(){var t,e,i,a,n;var o=c(this.el);var r=(t=this.activeIndicatorContainerEl)===null||t===void 0?void 0:t.offsetWidth;var s=(e=this.selectedTabEl)===null||e===void 0?void 0:e.offsetLeft;var l=(i=this.selectedTabEl)===null||i===void 0?void 0:i.offsetWidth;var d=r-(s+l);this.indicatorOffset=o!=="rtl"?s-((a=this.tabNavEl)===null||a===void 0?void 0:a.scrollLeft):d+((n=this.tabNavEl)===null||n===void 0?void 0:n.scrollLeft)};t.prototype.updateActiveWidth=function(){var t;this.indicatorWidth=(t=this.selectedTabEl)===null||t===void 0?void 0:t.offsetWidth};t.prototype.getIndexOfTabTitle=function(t,e){if(e===void 0){e=this.tabTitles}return e.indexOf(t)};t.prototype.getTabTitleById=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){return[2,Promise.all(this.tabTitles.map((function(t){return t.getTabIdentifier()}))).then((function(i){return e.tabTitles[i.indexOf(t)]}))]}))}))};Object.defineProperty(t.prototype,"tabTitles",{get:function(){return d(this.el,"calcite-tab-title")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"enabledTabTitles",{get:function(){return d(this.el,"calcite-tab-title:not([disabled])")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["selectedTabChanged"],selectedTabEl:["selectedTabElChanged"]}},enumerable:false,configurable:true});return t}());g.style=y;var w="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-right:1.25rem;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){text-align:center;margin-top:0;margin-bottom:0;margin-left:1.25rem;margin-right:1.25rem;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host 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}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host(:active) a,:host(:focus) a,:host(:hover) a{text-decoration:none;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-border-2)}:host([active]) a{color:var(--calcite-ui-text-1);border-color:transparent}:host([disabled]){pointer-events:none}:host([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem}:host([scale=m]) a,:host([scale=m]) span{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;border-bottom-color:transparent;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.container--has-text .calcite-tab-title--icon.icon-start{margin-right:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{margin-left:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-right:0.5rem}.container--has-text.calcite--rtl .calcite-tab-title--icon.icon-end{margin-left:0;margin-right:0.5rem}.container--has-text.calcite--rtl .calcite-tab-title--icon.icon-start{margin-left:0.5rem;margin-right:0}:host([icon-start][icon-end]) .calcite--rtl .calcite-tab-title--icon:first-child{margin-left:0.5rem;margin-right:0}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}";var k=t("calcite_tab_title",function(){function t(t){var a=this;e(this,t);this.calciteTabsActivate=i(this,"calciteTabsActivate",7);this.calciteTabsFocusNext=i(this,"calciteTabsFocusNext",7);this.calciteTabsFocusPrevious=i(this,"calciteTabsFocusPrevious",7);this.calciteTabTitleRegister=i(this,"calciteTabTitleRegister",7);this.active=false;this.disabled=false;this.bordered=false;this.mutationObserver=m("mutation",(function(){return a.updateHasText()}));this.hasText=false;this.guid="calcite-tab-title-"+s()}t.prototype.activeTabChanged=function(){if(this.active){this.emitActiveTab()}};t.prototype.connectedCallback=function(){this.setupTextContentObserver();this.parentTabNavEl=this.el.closest("calcite-tab-nav");this.parentTabsEl=this.el.closest("calcite-tabs")};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=document.body)===null||e===void 0?void 0:e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el}))};t.prototype.componentWillLoad=function(){{this.updateHasText()}if(this.tab&&this.active){this.emitActiveTab()}};t.prototype.componentWillRender=function(){if(this.parentTabsEl){this.layout=this.parentTabsEl.layout;this.position=this.parentTabsEl.position;this.scale=this.parentTabsEl.scale;this.bordered=this.parentTabsEl.bordered}if(!this.parentTabsEl&&this.parentTabNavEl){this.position=b(this.parentTabNavEl,"position",this.position);this.scale=b(this.parentTabNavEl,"scale",this.scale)}};t.prototype.render=function(){var t;var e=p(this.el);var i=this.el.id||this.guid;var o=this.disabled?"span":"a";var r=this.bordered&&!this.disabled&&this.layout!=="center";var s=a("calcite-icon",{class:"calcite-tab-title--icon icon-start",dir:e,flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var l=a("calcite-icon",{class:"calcite-tab-title--icon icon-end",dir:e,flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});return a(n,{"aria-controls":this.controls,"aria-expanded":this.active.toString(),id:i,role:"tab",tabindex:this.disabled?"-1":"0"},a(o,{class:(t={container:true,"container--has-text":this.hasText},t[f.rtl]=e==="rtl",t),style:r&&{width:this.parentTabNavEl.indicatorWidth+"px"}},this.iconStart?s:null,a("slot",null),this.iconEnd?l:null))};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(i){switch(i.label){case 0:e=(t=this.calciteTabTitleRegister).emit;return[4,this.getTabIdentifier()];case 1:e.apply(t,[i.sent()]);return[2]}}))}))};t.prototype.tabChangeHandler=function(t){var e=this;if(this.parentTabNavEl===t.target){if(this.tab){this.active=this.tab===t.detail.tab}else{this.getTabIndex().then((function(i){e.active=i===t.detail.tab}))}}};t.prototype.onClick=function(){this.emitActiveTab()};t.prototype.keyDownHandler=function(t){switch(h(t.key)){case" ":case"Enter":this.emitActiveTab();t.preventDefault();break;case"ArrowRight":if(c(this.el)==="ltr"){this.calciteTabsFocusNext.emit()}else{this.calciteTabsFocusPrevious.emit()}break;case"ArrowLeft":if(c(this.el)==="ltr"){this.calciteTabsFocusPrevious.emit()}else{this.calciteTabsFocusNext.emit()}break}};t.prototype.getTabIndex=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"),this.el)]}))}))};t.prototype.getTabIdentifier=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.tab?this.tab:this.getTabIndex()]}))}))};t.prototype.updateAriaInfo=function(t,e){if(t===void 0){t=[]}if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.controls=t[e.indexOf(this.el.id)]||null;return[2]}))}))};t.prototype.updateHasText=function(){this.hasText=this.el.textContent.trim().length>0};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.emitActiveTab=function(){if(!this.disabled){this.calciteTabsActivate.emit({tab:this.tab})}};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeTabChanged"]}},enumerable:false,configurable:true});return t}());k.style=w;var x={tabNav:"tab-nav"};var T="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}";var D=t("calcite_tabs",function(){function t(t){e(this,t);this.layout="inline";this.position="above";this.scale="m";this.bordered=false;this.titles=[];this.tabs=[]}t.prototype.connectedCallback=function(){if(this.layout==="center"){this.bordered=false}};t.prototype.render=function(){return a(r,null,a("slot",{name:x.tabNav}),a("section",null,a("slot",null)))};t.prototype.calciteTabTitleRegister=function(t){this.titles=__spreadArray(__spreadArray([],this.titles),[t.target]);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabTitleUnregister=function(t){this.titles=this.titles.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.calciteTabRegister=function(t){this.tabs=__spreadArray(__spreadArray([],this.tabs),[t.target]);this.registryHandler();t.stopPropagation()};t.prototype.calciteTabUnregister=function(t){this.tabs=this.tabs.filter((function(e){return e!==t.detail}));this.registryHandler();t.stopPropagation()};t.prototype.registryHandler=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a;var n=this;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.tabs.some((function(t){return t.tab}))||this.titles.some((function(t){return t.tab}))))return[3,1];t=this.tabs.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));e=this.titles.sort((function(t,e){return t.tab.localeCompare(e.tab)})).map((function(t){return t.id}));return[3,4];case 1:return[4,Promise.all(this.tabs.map((function(t){return t.getTabIndex()})))];case 2:i=o.sent();return[4,Promise.all(this.titles.map((function(t){return t.getTabIndex()})))];case 3:a=o.sent();t=i.reduce((function(t,e,i){t[e]=n.tabs[i].id;return t}),[]);e=a.reduce((function(t,e,i){t[e]=n.titles[i].id;return t}),[]);o.label=4;case 4:this.tabs.forEach((function(i){return i.updateAriaInfo(t,e)}));this.titles.forEach((function(i){return i.updateAriaInfo(t,e)}));return[2]}}))}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());D.style=T}}}));
@@ -1,5 +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,r){function o(t){try{l(a.next(t))}catch(t){r(t)}}function s(t){try{l(a["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):n(t.value).then(o,s)}l((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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
- */System.register(["./p-288bc438.system.js","./p-f87ba8eb.system.js","./p-1d6404b5.system.js","./p-6a541e77.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,a,n,r,o,s,l,c,u;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){o=t.f;s=t.b;l=t.C},function(t){c=t.d},function(t){u=t.f},function(){}],execute:function(){var f={container:"container",searchIcon:"search-icon",clearButton:"clear-button"};var p={filterLabel:"Filter",clear:"Clear filter"};var m={search:"search",close:"x"};var d="@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;width:100%}.container{display:-ms-flexbox;display:flex;width:100%;padding:0.5rem}label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden;position:relative;width:100%;margin-left:0.25rem;margin-right:0.25rem;margin-top:0;margin-bottom:0}input[type=text]{background-color:transparent;border-style:none;font-family:inherit;color:var(--calcite-ui-text-1);font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.25rem;width:100%;padding-top:0.25rem;padding-bottom:0.25rem;padding-right:0.25rem;padding-left:1.5rem;-webkit-transition:padding 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;transition:padding 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out;transition:padding 150ms ease-in-out, box-shadow 150ms ease-in-out;transition:padding 150ms ease-in-out, box-shadow 150ms ease-in-out, -webkit-box-shadow 150ms ease-in-out}input[type=text]::-ms-clear{display:none}calcite-input{width:100%}.search-icon{display:-ms-flexbox;display:flex;left:0;position:absolute;color:var(--calcite-ui-text-2);-webkit-transition:left 150ms ease-in-out, right 150ms ease-in-out, opacity 150ms ease-in-out;transition:left 150ms ease-in-out, right 150ms ease-in-out, opacity 150ms ease-in-out}.calcite--rtl .search-icon{right:0}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-left:0.25rem;padding-right:0.25rem}input[type=text]:focus~.search-icon{left:calc(1rem * -1);opacity:0}.calcite--rtl input[type=text]{padding-left:0.25rem;padding-right:1.5rem}.calcite--rtl input[type=text]:focus{padding-right:1.25rem}.calcite--rtl input[type=text]:focus~.search-icon{right:calc(1rem * -1)}.clear-button{color:var(--calcite-ui-text-2);background-color:transparent;border-width:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";var h=250;var b=t("calcite_filter",function(){function t(t){var a=this;e(this,t);this.calciteFilterChange=i(this,"calciteFilterChange",7);this.disabled=false;this.filteredItems=[];this.filter=c((function(t){var e=new RegExp(t,"i");if(a.items.length===0){a.updateFiltered([]);return}var i=function(t,e){var a=false;u(t,(function(t){if(typeof t==="function"){return}if(Array.isArray(t)||typeof t==="object"&&t!==null){if(i(t,e)){a=true}}else if(e.test(t)){a=true}}));return a};var n=a.items.filter((function(t){return i(t,e)}));a.updateFiltered(n)}),h);this.inputHandler=function(t){var e=t.target;a.value=e.value};this.keyDownHandler=function(t){var e=t.key;if(e==="Escape"){a.clear()}};this.clear=function(){a.value="";a.setFocus()}}t.prototype.watchDataHandler=function(t){this.items=t};t.prototype.watchItemsHandler=function(){this.filter(this.value)};t.prototype.valueHandler=function(t){this.filter(t)};t.prototype.connectedCallback=function(){if(this.data&&!this.items){this.items=this.data}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){o(this.textInput);return[2]}))}))};t.prototype.updateFiltered=function(t){this.filteredItems.length=0;this.filteredItems=this.filteredItems.concat(t);this.calciteFilterChange.emit(t)};t.prototype.render=function(){var t=this;var e=s(this.el)==="rtl";var i=this.disabled;return a(n,null,i?a("calcite-scrim",null):null,a("div",{class:f.container},a("label",{class:e?l.rtl:null},a("calcite-input",{"aria-label":this.intlLabel||p.filterLabel,class:e?l.rtl:null,disabled:this.disabled,icon:m.search,onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:function(e){t.textInput=e},type:"text",value:this.value})),this.value?a("button",{"aria-label":this.intlClear||p.clear,class:f.clearButton,onClick:this.clear},a("calcite-icon",{icon:m.close})):null))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{data:["watchDataHandler"],items:["watchItemsHandler"],value:["valueHandler"]}},enumerable:false,configurable:true});return t}());b.style=d}}}));
@@ -1,5 +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
- */
5
- import{r as t,h as i,c as a,H as e,g as n}from"./p-2e29554c.js";import{g as o}from"./p-8a63221d.js";import{a as r,f as s}from"./p-e5305b02.js";import{c,d as l,g as d}from"./p-52578054.js";import{c as h,d as m,H as p}from"./p-f2620bc3.js";import{g as b}from"./p-72563742.js";import{g as u}from"./p-accdb0ce.js";let f=class{constructor(i){t(this,i),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.scale="m"}render(){return i("div",{class:"radio"})}};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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-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]) .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]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}: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]) .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]) .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]) .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)}:host([hidden]){display:none}";let w=class{constructor(i){t(this,i),this.calciteInternalRadioButtonBlur=a(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=a(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=a(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=a(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=b(t.key),{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===r(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const n=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let o=0;const s=n.length;switch(n.some(((t,i)=>{if(t.checked)return o=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(n,u(Math.max(o-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(n,u(o+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.focused=!0,this.calciteInternalRadioButtonFocus.emit()}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton();const t=this.rootNode.querySelector(`input[name="${this.name}"]:checked`);(null==t?void 0:t.value)||this.uncheckAllRadioButtonsInGroup()}async setFocus(){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)}))}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${o()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&this.setFocus()}disconnectedCallback(){l(this),m(this)}render(){return i(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},i("div",{"aria-checked":this.checked.toString(),"aria-label":d(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:this.checked||this.isDefaultSelectable()?0:-1},i("calcite-radio",{checked:this.checked,disabled:this.disabled,focused:this.focused,hidden:this.hidden,hovered:this.hovered,scale:this.scale})),i(p,{component:this}))}get el(){return n(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{cursor:pointer;display:block}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host([disabled]){cursor:pointer}::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,w as calcite_radio_button}
@@ -1,5 +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
- */
5
- import{r as t,c as e,h as i,H as a,g as n}from"./p-2e29554c.js";import{g as o,a as r,C as s}from"./p-e5305b02.js";import{C as l}from"./p-8340b572.js";import"./p-8a63221d.js";const c={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};let m=class{constructor(i){t(this,i),this.calciteBlockToggle=e(this,"calciteBlockToggle",7),this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.intlLoading="Loading",this.intlOptions="Options",this.loading=!1,this.open=!1,this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()}}renderScrim(){const{disabled:t,loading:e}=this,a=i("slot",null);return[e||t?i("calcite-scrim",{loading:e}):null,a]}renderIcon(){const{el:t,status:e}=this,a=this.loading&&!this.open,n=a?c.refresh:c[e],r=o(t,"icon")||n,s=n?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e,loading:a},icon:n,scale:"m"}):i("slot",{name:"icon"});return r?i("div",{class:"icon"},s):null}render(){const{collapsible:t,disabled:e,el:n,heading:r,intlCollapse:s,intlExpand:m,loading:d,open:g,summary:p,intlLoading:f,headingLevel:h}=this,u=g?s||"Collapse":m||"Expand",b=i("header",{class:"header"},this.renderIcon(),i("div",{class:"title"},i(l,{class:"heading",level:h||4},r),p?i("div",{class:"summary"},p):null)),w=!!o(n,"control"),k=!!o(n,"header-menu-actions"),x=g?c.opened:c.closed,y=i("div",{class:"header-container"},this.dragHandle?i("calcite-handle",null):null,t?i("button",{"aria-expanded":t?g.toString():null,"aria-label":u,class:"toggle",onClick:this.onHeaderClick,title:u},b,w||k?null:i("calcite-icon",{"aria-hidden":"true",class:"toggle-icon",icon:x,scale:"s"})):b,d?i("calcite-loader",{inline:!0,"is-active":!0,label:f}):w?i("div",{class:"control-container"},i("slot",{name:"control"})):null,k?i("calcite-action-menu",{label:this.intlOptions||"Options"},i("slot",{name:"header-menu-actions"})):null);return i(a,{tabIndex:e?-1:null},i("article",{"aria-busy":d.toString(),class:{article:!0}},y,i("div",{class:"content",hidden:!g},this.renderScrim())))}get el(){return n(this)}};m.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:300ms}.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}: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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.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{-ms-flex-pack:start;justify-content:flex-start;padding:0}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;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;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0;padding-inline:0.75rem;padding-block:0px}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-webkit-transition-property:color;transition-property:color;-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)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-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-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0px;margin-inline-start:0px}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}';const d={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};let g=class{constructor(i){t(this,i),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",7),this.open=!1,this.toggleDisplay="button",this.handleHeaderKeyDown=t=>{" "!==t.key&&"Enter"!==t.key||(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()}}renderStatusIcon(){var t;const{status:e}=this,a=null!==(t=d[e])&&void 0!==t&&t;return a?i("calcite-icon",{class:{"status-icon":!0,valid:"valid"==e,invalid:"invalid"==e},icon:a,scale:"s"}):null}render(){const{el:t,intlCollapse:e,intlExpand:a,open:n,text:o,toggleDisplay:l}=this,c=r(t),m=n?d.menuOpen:"rtl"===c?d.menuClosedLeft:d.menuClosedRight,g=n?e||"Collapse":a||"Expand",p="switch"===l?i("div",{"aria-label":g,class:{toggle:!0,"toggle--switch":!0},onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:g},i("div",{class:"toggle--switch__content"},i("span",{class:"toggle--switch__text"},o)),i("calcite-switch",{checked:n,label:g,scale:"s",tabIndex:-1}),this.renderStatusIcon()):i("button",{"aria-label":g,class:{"section-header":!0,toggle:!0},name:g,onClick:this.toggleSection},i("calcite-icon",{icon:m,scale:"s"}),i("span",{class:"section-header__text"},o),this.renderStatusIcon());return i("section",{"aria-expanded":n.toString(),class:{[s.rtl]:"rtl"===c}},p,i("div",{class:"content",hidden:!n},i("slot",null)))}get el(){return n(this)}};g.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}: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);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:var(--calcite-font-size--1);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}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";export{m as calcite_block,g as calcite_block_section}
@@ -1,5 +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
- */
5
- import{r as a,h as t,g as i}from"./p-2e29554c.js";import{f as n,b as e}from"./p-e5305b02.js";import"./p-8a63221d.js";let o=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.loading=!1,this.scale="m",this.textEnabled=!1}async setFocus(){n(this.buttonEl)}render(){const{appearance:a,color:i,disabled:n,el:o,loading:r,scale:s,textEnabled:l,icon:p,label:c,text:m}=this,b=l?null:c||m||null,x=e(o);return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,dir:x,disabled:n,iconStart:p,label:c,loading:r,ref:a=>{this.buttonEl=a},round:!0,scale:s,title:b,width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};o.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}calcite-button{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08)}calcite-button:hover{-webkit-box-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);box-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08)}calcite-button:active{-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16)}";export{o as calcite_fab}
@@ -1,5 +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
- */
5
- import{r as t,c as e,h as i,g as a}from"./p-2e29554c.js";import{S as o}from"./p-1fb7138b.js";import{s as n,b as s,g as c,C as l}from"./p-e5305b02.js";import"./p-8a63221d.js";let r=class{constructor(i){t(this,i),this.calciteNoticeClose=e(this,"calciteNoticeClose",7),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",7),this.active=!1,this.color="blue",this.dismissible=!1,this.intlClose="Close",this.scale="m",this.width="auto",this.close=()=>{this.active=!1,this.calciteNoticeClose.emit()}}updateRequestedIcon(){this.requestedIcon=n(o,this.icon,this.color)}componentWillLoad(){this.requestedIcon=n(o,this.icon,this.color)}componentDidLoad(){this.noticeLinkEl=this.el.querySelector("calcite-link")}render(){const{el:t}=this,e=s(t),a=i("button",{"aria-label":this.intlClose,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=c(t,"actions-end");return i("div",{class:{container:!0,[l.rtl]:"rtl"===e}},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:"actions-end"})):null,this.dismissible?a:null)}async setFocus(){(this.closeButton||this.noticeLinkEl)&&(this.noticeLinkEl?this.noticeLinkEl.setFocus():this.closeButton&&this.closeButton.focus())}get el(){return a(this)}static get watchers(){return{icon:["updateRequestedIcon"],color:["updateRequestedIcon"]}}};r.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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{display:none;margin-left:auto;margin-right:auto;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{display:none;text-align:left;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;opacity:0;pointer-events:none;background-color:var(--calcite-ui-foreground-1);max-height:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;border-left:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{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}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{display:-ms-flexbox;display:flex;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);-ms-flex-align:center;align-items:center;opacity:1;max-height:100%;border-width:2px;pointer-events:auto}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){display:inline;margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-right:var(--calcite-notice-spacing-token-small)}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-right:0;margin-left:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) 0}.notice-content:first-of-type:not(:only-child){padding-left:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.notice-close{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:transparent;border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}.calcite--rtl{text-align:right;border-left:none;border-right:0px solid}.calcite--rtl .notice-content{padding:var(--calcite-notice-spacing-token-small) 0 var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small)}.calcite--rtl .notice-content:first-of-type:not(:only-child){padding-right:var(--calcite-notice-spacing-token-large)}.calcite--rtl .notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";export{r as calcite_notice}