@esri/calcite-components 1.0.0-next.378 → 1.0.0-next.381

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 (348) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/{p-86b63ebb.system.entry.js → p-010b6b91.system.entry.js} +1 -1
  4. package/dist/calcite/{p-fe6e3ff9.entry.js → p-015d6a24.entry.js} +1 -1
  5. package/dist/calcite/{p-e2c4d6ad.system.entry.js → p-0459ae3e.system.entry.js} +1 -1
  6. package/dist/calcite/{p-0164361f.system.entry.js → p-07603601.system.entry.js} +1 -1
  7. package/dist/calcite/{p-e426746f.system.entry.js → p-0926320c.system.entry.js} +1 -1
  8. package/dist/calcite/{p-1668089f.entry.js → p-09bd0204.entry.js} +1 -1
  9. package/dist/calcite/{p-a0ad66cf.entry.js → p-0c20a4e3.entry.js} +1 -1
  10. package/dist/calcite/{p-59c0e4c7.system.entry.js → p-0d61e540.system.entry.js} +1 -1
  11. package/dist/calcite/{p-a99c8ebf.system.js → p-10e3f599.system.js} +1 -1
  12. package/dist/calcite/{p-65c30ccd.entry.js → p-1199ec78.entry.js} +1 -1
  13. package/dist/calcite/p-13f9119c.js +5 -0
  14. package/dist/calcite/{p-e5420c67.entry.js → p-150e45ec.entry.js} +1 -1
  15. package/dist/calcite/{p-5d7da300.system.entry.js → p-15eebdf8.system.entry.js} +1 -1
  16. package/dist/calcite/{p-49782820.entry.js → p-16a27151.entry.js} +1 -1
  17. package/dist/calcite/{p-aceeb62f.entry.js → p-18259377.entry.js} +1 -1
  18. package/dist/calcite/{p-cb3a8861.entry.js → p-1a907c90.entry.js} +1 -1
  19. package/dist/calcite/{p-8a413063.js → p-1ce851da.js} +1 -1
  20. package/dist/calcite/{p-fee9511c.system.entry.js → p-21e8e1e9.system.entry.js} +1 -1
  21. package/dist/calcite/{p-5d12a140.entry.js → p-2328c2ec.entry.js} +1 -1
  22. package/dist/calcite/{p-f1dc4798.entry.js → p-24765b5e.entry.js} +1 -1
  23. package/dist/calcite/{p-5b8404de.entry.js → p-2718a51a.entry.js} +1 -1
  24. package/dist/calcite/{p-8e1945e3.entry.js → p-2be7746c.entry.js} +1 -1
  25. package/dist/calcite/{p-4553ae47.entry.js → p-2d88c0ba.entry.js} +1 -1
  26. package/dist/calcite/{p-7bdeb3ba.system.entry.js → p-353015b6.system.entry.js} +1 -1
  27. package/dist/calcite/{p-869eb8f9.entry.js → p-385f6cb9.entry.js} +1 -1
  28. package/dist/calcite/{p-b1a43a5f.system.entry.js → p-3e59c8ef.system.entry.js} +1 -1
  29. package/dist/calcite/{p-3dd50bac.system.entry.js → p-3f6a6851.system.entry.js} +1 -1
  30. package/dist/calcite/{p-0a85cd8c.system.entry.js → p-3f792e3d.system.entry.js} +1 -1
  31. package/dist/calcite/{p-6fb9fef5.entry.js → p-408408d6.entry.js} +1 -1
  32. package/dist/calcite/{p-63f8783a.entry.js → p-42ac867a.entry.js} +1 -1
  33. package/dist/calcite/{p-2218fef5.entry.js → p-4340f6ed.entry.js} +1 -1
  34. package/dist/calcite/{p-44aa1db4.system.js → p-48fae9a9.system.js} +1 -1
  35. package/dist/calcite/{p-04bf684c.entry.js → p-4b7ff039.entry.js} +1 -1
  36. package/dist/calcite/{p-66ca7309.entry.js → p-4edc43c1.entry.js} +1 -1
  37. package/dist/calcite/{p-b3da3b78.system.entry.js → p-4fc8341b.system.entry.js} +1 -1
  38. package/dist/calcite/{p-40c3d7a6.system.entry.js → p-510ef2b7.system.entry.js} +1 -1
  39. package/dist/calcite/{p-7743a8d0.system.entry.js → p-5248d5fb.system.entry.js} +1 -1
  40. package/dist/calcite/{p-3f1ef512.system.entry.js → p-54c3ea44.system.entry.js} +1 -1
  41. package/dist/calcite/{p-6eb1302b.entry.js → p-55c884ba.entry.js} +1 -1
  42. package/dist/calcite/{p-374c3c70.entry.js → p-5660811e.entry.js} +1 -1
  43. package/dist/calcite/p-5833a3af.entry.js +5 -0
  44. package/dist/calcite/{p-81c462a4.entry.js → p-59c6c9a0.entry.js} +1 -1
  45. package/dist/calcite/{p-fd3c4738.system.entry.js → p-5cd2ff4e.system.entry.js} +1 -1
  46. package/dist/calcite/{p-26e7351c.entry.js → p-5f129d47.entry.js} +1 -1
  47. package/dist/calcite/{p-e3e09c27.entry.js → p-635594b8.entry.js} +1 -1
  48. package/dist/calcite/{p-58eb8460.entry.js → p-65ba6a8f.entry.js} +1 -1
  49. package/dist/calcite/{p-786b8250.entry.js → p-672ec03a.entry.js} +1 -1
  50. package/dist/calcite/{p-c93dbb93.system.entry.js → p-67cd9e12.system.entry.js} +1 -1
  51. package/dist/calcite/{p-0cb38659.system.entry.js → p-6a5a4922.system.entry.js} +1 -1
  52. package/dist/calcite/{p-fdd3ea5e.entry.js → p-6a797e80.entry.js} +1 -1
  53. package/dist/calcite/{p-3d8dcea3.system.entry.js → p-6b529df3.system.entry.js} +1 -1
  54. package/dist/calcite/{p-6afd69dc.system.entry.js → p-6c4eb127.system.entry.js} +1 -1
  55. package/dist/calcite/{p-7d4316a1.system.entry.js → p-6d5c2fce.system.entry.js} +1 -1
  56. package/dist/calcite/{p-bde80af8.entry.js → p-6ee036b3.entry.js} +1 -1
  57. package/dist/calcite/{p-4fd1f88a.system.entry.js → p-71b6bc4c.system.entry.js} +2 -2
  58. package/dist/calcite/{p-e83a5fe4.system.entry.js → p-7266c359.system.entry.js} +1 -1
  59. package/dist/calcite/{p-dd8b6d4f.system.entry.js → p-72951ce3.system.entry.js} +1 -1
  60. package/dist/calcite/{p-141c978b.system.entry.js → p-75cda5de.system.entry.js} +1 -1
  61. package/dist/calcite/{p-d2bcb3ae.entry.js → p-75df0e8f.entry.js} +1 -1
  62. package/dist/calcite/p-79ba0ff5.js +5 -0
  63. package/dist/calcite/{p-04bf9bca.system.entry.js → p-7b2f2117.system.entry.js} +1 -1
  64. package/dist/calcite/{p-cfcb2161.entry.js → p-7b341154.entry.js} +1 -1
  65. package/dist/calcite/{p-05ad8606.system.entry.js → p-7e9189e8.system.entry.js} +1 -1
  66. package/dist/calcite/{p-12142a2c.system.entry.js → p-80e56ba6.system.entry.js} +1 -1
  67. package/dist/calcite/{p-da0bea7c.system.entry.js → p-8124f6cc.system.entry.js} +1 -1
  68. package/dist/calcite/{p-754809de.entry.js → p-81dc55fa.entry.js} +1 -1
  69. package/dist/calcite/{p-422a30ba.entry.js → p-82e0b30e.entry.js} +1 -1
  70. package/dist/calcite/{p-c5463268.system.entry.js → p-8446d974.system.entry.js} +1 -1
  71. package/dist/calcite/{p-c1c37da9.entry.js → p-852a718f.entry.js} +1 -1
  72. package/dist/calcite/p-8647d09e.entry.js +5 -0
  73. package/dist/calcite/{p-b86f0930.system.entry.js → p-888ce316.system.entry.js} +1 -1
  74. package/dist/calcite/{p-01b7adb5.js → p-8bfa00bc.js} +1 -1
  75. package/dist/calcite/{p-e1491358.system.entry.js → p-8d1564c5.system.entry.js} +1 -1
  76. package/dist/calcite/{p-2297db38.entry.js → p-8d437ca2.entry.js} +1 -1
  77. package/dist/calcite/{p-af669f43.entry.js → p-8f6aac19.entry.js} +1 -1
  78. package/dist/calcite/{p-bc85a791.entry.js → p-903c016f.entry.js} +1 -1
  79. package/dist/calcite/{p-70dd483b.system.js → p-9217d4ef.system.js} +1 -1
  80. package/dist/calcite/{p-541bf0b4.entry.js → p-92901db9.entry.js} +1 -1
  81. package/dist/calcite/{p-34e5baa7.system.js → p-94cfc34a.system.js} +1 -1
  82. package/dist/calcite/{p-26aea1cb.system.js → p-95810140.system.js} +1 -1
  83. package/dist/calcite/{p-a85634a1.system.entry.js → p-95a3bcff.system.entry.js} +1 -1
  84. package/dist/calcite/{p-b826048a.system.entry.js → p-95b7c39a.system.entry.js} +1 -1
  85. package/dist/calcite/p-983287ce.system.js +5 -0
  86. package/dist/calcite/{p-5a77fd17.entry.js → p-9ef989e2.entry.js} +1 -1
  87. package/dist/calcite/{p-a5660ba5.entry.js → p-9f1c59ec.entry.js} +1 -1
  88. package/dist/calcite/{p-99b729f6.entry.js → p-a37ecb59.entry.js} +1 -1
  89. package/dist/calcite/{p-8f2c68f4.system.entry.js → p-a468d651.system.entry.js} +1 -1
  90. package/dist/calcite/{p-be231b84.entry.js → p-a77a8427.entry.js} +1 -1
  91. package/dist/calcite/{p-f757cd6e.entry.js → p-a7dfed2f.entry.js} +1 -1
  92. package/dist/calcite/{p-6a2ac09a.system.entry.js → p-a809abbd.system.entry.js} +1 -1
  93. package/dist/calcite/p-a859ccd4.system.js +5 -0
  94. package/dist/calcite/{p-7409e609.system.js → p-abf93e8f.system.js} +1 -1
  95. package/dist/calcite/{p-6e37af80.entry.js → p-ac8c0493.entry.js} +1 -1
  96. package/dist/calcite/{p-2e351904.system.entry.js → p-ad2fd769.system.entry.js} +1 -1
  97. package/dist/calcite/{p-1804c868.system.entry.js → p-af5e11c9.system.entry.js} +1 -1
  98. package/dist/calcite/p-af75a72b.js +5 -0
  99. package/dist/calcite/{p-b78f6de5.system.entry.js → p-b0ab09d3.system.entry.js} +1 -1
  100. package/dist/calcite/{p-f3a85d19.system.entry.js → p-b4a80f18.system.entry.js} +1 -1
  101. package/dist/calcite/{p-9ca6c750.system.entry.js → p-b519a98e.system.entry.js} +1 -1
  102. package/dist/calcite/{p-b002b038.entry.js → p-b5781bda.entry.js} +1 -1
  103. package/dist/calcite/{p-d6f6b6c1.entry.js → p-b8a670cc.entry.js} +1 -1
  104. package/dist/calcite/{p-b4a23fdf.entry.js → p-ba6b0f09.entry.js} +1 -1
  105. package/dist/calcite/{p-da470de7.entry.js → p-bd289892.entry.js} +1 -1
  106. package/dist/calcite/{p-03e12c6f.system.entry.js → p-c36161b9.system.entry.js} +1 -1
  107. package/dist/calcite/{p-900e18a5.system.entry.js → p-c525d974.system.entry.js} +1 -1
  108. package/dist/calcite/{p-513bc44f.system.entry.js → p-c5e8d437.system.entry.js} +1 -1
  109. package/dist/calcite/{p-307c74d9.system.entry.js → p-cb02295b.system.entry.js} +1 -1
  110. package/dist/calcite/{p-10b1b39a.system.entry.js → p-d2931c8e.system.entry.js} +1 -1
  111. package/dist/calcite/{p-9d7102c0.entry.js → p-d2ebedc0.entry.js} +1 -1
  112. package/dist/calcite/{p-f4d9c369.system.entry.js → p-d3316626.system.entry.js} +1 -1
  113. package/dist/calcite/{p-7415264e.system.entry.js → p-da987587.system.entry.js} +1 -1
  114. package/dist/calcite/{p-cb33659b.system.entry.js → p-dadb1104.system.entry.js} +1 -1
  115. package/dist/calcite/{p-9aaeb1df.entry.js → p-dae2daf0.entry.js} +1 -1
  116. package/dist/calcite/{p-f5739197.entry.js → p-dc24f809.entry.js} +1 -1
  117. package/dist/calcite/{p-9e2001e9.entry.js → p-de10a37b.entry.js} +1 -1
  118. package/dist/calcite/{p-fe3fff79.entry.js → p-e54a3620.entry.js} +1 -1
  119. package/dist/calcite/{p-7b5207ea.system.entry.js → p-e93a418e.system.entry.js} +1 -1
  120. package/dist/calcite/{p-54edaa0d.entry.js → p-ea2b09ba.entry.js} +1 -1
  121. package/dist/calcite/{p-f7572da7.entry.js → p-ebd8eef3.entry.js} +1 -1
  122. package/dist/calcite/{p-13cbacc6.system.entry.js → p-ec2d6c5f.system.entry.js} +1 -1
  123. package/dist/calcite/{p-f26cad61.system.entry.js → p-ef779e80.system.entry.js} +1 -1
  124. package/dist/calcite/{p-243985d8.system.entry.js → p-f2508455.system.entry.js} +1 -1
  125. package/dist/calcite/{p-c264e4be.entry.js → p-f45eae85.entry.js} +1 -1
  126. package/dist/calcite/{p-2e29554c.js → p-fb3f5251.js} +1 -1
  127. package/dist/calcite/{p-14e47d1b.js → p-fbf74b6d.js} +1 -1
  128. package/dist/calcite/{p-f763b1e7.system.entry.js → p-fc04e52b.system.entry.js} +1 -1
  129. package/dist/calcite/p-fc2f135e.system.entry.js +5 -0
  130. package/dist/calcite/{p-54bb21f5.system.entry.js → p-fe28891b.system.entry.js} +1 -1
  131. package/dist/calcite/{p-80eb08b3.system.entry.js → p-feacdfdf.system.entry.js} +1 -1
  132. package/dist/cjs/{CalciteExpandToggle-d24fed0e.js → CalciteExpandToggle-f1e05027.js} +1 -1
  133. package/dist/cjs/{CalciteHeading-112c19f9.js → CalciteHeading-d797719f.js} +1 -1
  134. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  135. package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
  136. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  137. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  138. package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
  139. package/dist/cjs/calcite-action.cjs.entry.js +2 -2
  140. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  142. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  143. package/dist/cjs/calcite-button.cjs.entry.js +1 -1
  144. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  145. package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -2
  146. package/dist/cjs/calcite-chip.cjs.entry.js +2 -2
  147. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  148. package/dist/cjs/calcite-combobox_3.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
  150. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  154. package/dist/cjs/calcite-graph_2.cjs.entry.js +2 -2
  155. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  156. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  157. package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
  158. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +3 -3
  159. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  160. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +2 -2
  161. package/dist/cjs/calcite-input.cjs.entry.js +2 -11
  162. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  164. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  165. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  167. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  168. package/dist/cjs/calcite-option_3.cjs.entry.js +2 -2
  169. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  170. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  171. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  173. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  174. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -2
  176. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
  177. package/dist/cjs/calcite-rating.cjs.entry.js +2 -2
  178. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  179. package/dist/cjs/calcite-shell_3.cjs.entry.js +2 -2
  180. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  181. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  182. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
  184. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  186. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  187. package/dist/cjs/calcite-tip_3.cjs.entry.js +3 -3
  188. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-tree_2.cjs.entry.js +2 -2
  190. package/dist/cjs/calcite-value-list_2.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite.cjs.js +1 -1
  192. package/dist/cjs/{conditionalSlot-92505fba.js → conditionalSlot-20745612.js} +1 -1
  193. package/dist/cjs/{form-237cf392.js → form-55a71663.js} +1 -1
  194. package/dist/cjs/{index-6b5d2de5.js → index-8b0d388b.js} +0 -5
  195. package/dist/cjs/loader.cjs.js +1 -1
  196. package/dist/cjs/{resources-f70fb01b.js → resources-6af71952.js} +1 -1
  197. package/dist/cjs/{resources-95073e41.js → resources-f6847c67.js} +1 -1
  198. package/dist/collection/components/calcite-action/calcite-action.css +1 -1
  199. package/dist/collection/components/calcite-input/calcite-input.js +0 -9
  200. package/dist/collection/components/calcite-switch/calcite-switch.css +5 -0
  201. package/dist/components/calcite-action2.js +1 -1
  202. package/dist/components/calcite-input2.js +0 -9
  203. package/dist/components/calcite-switch2.js +1 -1
  204. package/dist/custom-elements/index.js +2 -11
  205. package/dist/esm/{CalciteExpandToggle-cff030be.js → CalciteExpandToggle-3ebdb3a6.js} +1 -1
  206. package/dist/esm/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
  207. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  208. package/dist/esm/calcite-action-bar.entry.js +3 -3
  209. package/dist/esm/calcite-action-group.entry.js +2 -2
  210. package/dist/esm/calcite-action-menu.entry.js +2 -2
  211. package/dist/esm/calcite-action-pad.entry.js +3 -3
  212. package/dist/esm/calcite-action.entry.js +2 -2
  213. package/dist/esm/calcite-alert.entry.js +1 -1
  214. package/dist/esm/calcite-avatar.entry.js +1 -1
  215. package/dist/esm/calcite-block_2.entry.js +3 -3
  216. package/dist/esm/calcite-button.entry.js +1 -1
  217. package/dist/esm/calcite-card.entry.js +2 -2
  218. package/dist/esm/calcite-checkbox.entry.js +2 -2
  219. package/dist/esm/calcite-chip.entry.js +2 -2
  220. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  221. package/dist/esm/calcite-combobox_3.entry.js +3 -3
  222. package/dist/esm/calcite-date-picker_4.entry.js +3 -3
  223. package/dist/esm/calcite-dropdown_3.entry.js +1 -1
  224. package/dist/esm/calcite-fab.entry.js +1 -1
  225. package/dist/esm/calcite-filter.entry.js +1 -1
  226. package/dist/esm/calcite-flow.entry.js +1 -1
  227. package/dist/esm/calcite-graph_2.entry.js +2 -2
  228. package/dist/esm/calcite-handle.entry.js +1 -1
  229. package/dist/esm/calcite-icon.entry.js +1 -1
  230. package/dist/esm/calcite-inline-editable.entry.js +1 -1
  231. package/dist/esm/calcite-input-date-picker.entry.js +3 -3
  232. package/dist/esm/calcite-input-message.entry.js +1 -1
  233. package/dist/esm/calcite-input-time-picker_2.entry.js +2 -2
  234. package/dist/esm/calcite-input.entry.js +2 -11
  235. package/dist/esm/calcite-label.entry.js +1 -1
  236. package/dist/esm/calcite-link.entry.js +1 -1
  237. package/dist/esm/calcite-list_3.entry.js +3 -3
  238. package/dist/esm/calcite-loader.entry.js +1 -1
  239. package/dist/esm/calcite-modal.entry.js +2 -2
  240. package/dist/esm/calcite-notice.entry.js +2 -2
  241. package/dist/esm/calcite-option_3.entry.js +2 -2
  242. package/dist/esm/calcite-pagination.entry.js +1 -1
  243. package/dist/esm/calcite-panel.entry.js +3 -3
  244. package/dist/esm/calcite-pick-list_3.entry.js +4 -4
  245. package/dist/esm/calcite-popover_2.entry.js +2 -2
  246. package/dist/esm/calcite-progress.entry.js +1 -1
  247. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  248. package/dist/esm/calcite-radio-button.entry.js +2 -2
  249. package/dist/esm/calcite-radio-group_2.entry.js +2 -2
  250. package/dist/esm/calcite-rating.entry.js +2 -2
  251. package/dist/esm/calcite-scrim.entry.js +1 -1
  252. package/dist/esm/calcite-shell_3.entry.js +2 -2
  253. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  254. package/dist/esm/calcite-split-button.entry.js +1 -1
  255. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  256. package/dist/esm/calcite-switch.entry.js +3 -3
  257. package/dist/esm/calcite-tab_4.entry.js +1 -1
  258. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  259. package/dist/esm/calcite-tile.entry.js +2 -2
  260. package/dist/esm/calcite-tip_3.entry.js +3 -3
  261. package/dist/esm/calcite-tooltip_2.entry.js +1 -1
  262. package/dist/esm/calcite-tree_2.entry.js +2 -2
  263. package/dist/esm/calcite-value-list_2.entry.js +3 -3
  264. package/dist/esm/calcite.js +1 -1
  265. package/dist/esm/{conditionalSlot-9e7d8609.js → conditionalSlot-0e575a09.js} +1 -1
  266. package/dist/esm/{form-f90706b4.js → form-42bda668.js} +1 -1
  267. package/dist/esm/{index-9de00868.js → index-c4b90cce.js} +0 -5
  268. package/dist/esm/loader.js +1 -1
  269. package/dist/esm/{resources-95c5e8a6.js → resources-3c05dd64.js} +1 -1
  270. package/dist/esm/{resources-f02a1ab5.js → resources-704f6b2d.js} +1 -1
  271. package/dist/esm-es5/{CalciteExpandToggle-cff030be.js → CalciteExpandToggle-3ebdb3a6.js} +1 -1
  272. package/dist/esm-es5/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
  273. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  274. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  275. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  276. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  277. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  278. package/dist/esm-es5/calcite-action.entry.js +1 -1
  279. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  280. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  281. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  282. package/dist/esm-es5/calcite-button.entry.js +1 -1
  283. package/dist/esm-es5/calcite-card.entry.js +1 -1
  284. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  285. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  286. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  287. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  288. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  289. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  290. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  291. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  292. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  293. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  294. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  295. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  296. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  297. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  298. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  299. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  300. package/dist/esm-es5/calcite-input.entry.js +1 -1
  301. package/dist/esm-es5/calcite-label.entry.js +1 -1
  302. package/dist/esm-es5/calcite-link.entry.js +1 -1
  303. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  304. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  305. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  306. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  307. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  308. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  309. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  310. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  311. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  312. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  313. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  314. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  315. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  316. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  317. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  318. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  319. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  320. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  321. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  322. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  323. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  324. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  325. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  326. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  327. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  328. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  329. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  330. package/dist/esm-es5/calcite.js +1 -1
  331. package/dist/esm-es5/{conditionalSlot-9e7d8609.js → conditionalSlot-0e575a09.js} +1 -1
  332. package/dist/esm-es5/{form-f90706b4.js → form-42bda668.js} +1 -1
  333. package/dist/esm-es5/{index-9de00868.js → index-c4b90cce.js} +1 -1
  334. package/dist/esm-es5/loader.js +1 -1
  335. package/dist/esm-es5/{resources-95c5e8a6.js → resources-3c05dd64.js} +1 -1
  336. package/dist/esm-es5/{resources-f02a1ab5.js → resources-704f6b2d.js} +1 -1
  337. package/dist/extras/docs-json.json +1 -1
  338. package/dist/types/components/calcite-input/calcite-input.d.ts +0 -1
  339. package/hydrate/index.js +3 -13
  340. package/package.json +1 -1
  341. package/dist/calcite/p-288bc438.system.js +0 -5
  342. package/dist/calcite/p-8340b572.js +0 -5
  343. package/dist/calcite/p-aa535833.entry.js +0 -5
  344. package/dist/calcite/p-ab14b0a2.system.js +0 -5
  345. package/dist/calcite/p-d8e63faf.system.entry.js +0 -5
  346. package/dist/calcite/p-e66c335c.entry.js +0 -5
  347. package/dist/calcite/p-e8e0f3b7.js +0 -5
  348. package/dist/calcite/p-ea510477.js +0 -5
@@ -1,5 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{o(r.next(e))}catch(e){i(e)}}function $(e){try{o(r["throw"](e))}catch(e){i(e)}}function o(e){e.done?n(e.value):a(e.value).then(l,$)}o((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,l;return l={next:$(0),throw:$(1),return:$(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function $(e){return function(t){return o([e,t])}}function o(l){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=t.call(e,n)}catch(e){l=[6,e];a=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};
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([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],i=n[2];var l=p(e,r);var $=h(t,i);var o=m(r);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){Ue(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var x="s-id";var R="sty-id";var N="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var C=new WeakMap;var A=function(e,t,n){var r=Be.get(e);if(v&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}Be.set(e,r)};var E=function(e,t,n,r){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=C.get(e);var $=void 0;if(!l){C.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("["+R+'="'+a+'"]'))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var I=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var U=function(e){return e!=null};var z=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!z(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(n);if(t){if(t.key){i=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}return n};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(D).forEach(t)},map:function(e,t){return e.map(D).map(t).map(F)}};var D=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var F=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=B(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var G=function(e,t,n,r,a,i){if(n!==r){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(n);var c=K(r);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in n){if(!r||r[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in r){if(!n||r[v]!==n[v]){if(v.includes("-")){e.style.setProperty(v,r[v])}else{e.style[v]=r[v]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(n){f.rel(e,t,n,false)}if(r){f.ael(e,t,r,false)}}else{var d=z(r);if((l||d&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var h=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=h){e[t]=h}}else{e[t]=r}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){r=r===true?"":r;if(p){e.setAttributeNS(_,t,r)}else{e.setAttribute(t,r)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(r in i){if(!(r in l)){G(a,r,i[r],undefined,n,t.$flags$)}}}for(r in l){G(a,r,i[r],l[r],n,t.$flags$)}};var X=function(e,t,n,r){var i=t.$children$[n];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(U(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,n,r,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(r[a]){o=X(null,n,a);if(o){r[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;re(r);a.remove()}}};var ee=function(e,t,n,r){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=r.length-1;var c=r[0];var v=r[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=r[++i]}else if(v==null){v=r[--u]}else if(te(s,c)){ne(s,c);s=t[++a];c=r[++i]}else if(te(f,v)){ne(f,v);f=t[--o];v=r[--u]}else if(te(s,v)){ne(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=r[--u]}else if(te(f,c)){ne(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=r[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],n,l)}else{ne(h,c);t[l]=undefined;d=h.$elm$}c=r[++i]}else{d=X(t&&t[i],n,i);c=r[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,r[u+1]==null?null:r[u+1].$elm$,n,r,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var ne=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(r!==null&&a!==null){ee(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}Y(n,null,t,a,0,a.length-1)}else if(r!==null){Z(r,0,r.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){n.data=$}};var re=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(re)}};var ae=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=n.tagName;if(r.$attrsToReflect$){$.$attrs$=$.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return $.$attrs$[r]=n[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}ne(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,n){var r=ie(e);return{emit:function(e){return $e(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var $e=function(e,t,n){var r=f.ce(t,n);e.dispatchEvent(r);return r};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var n=function(){return fe(e,t)};return Je(n)};var fe=function(e,t){var n=k("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return pe(r,t,n)}));e.$queuedListeners$=null}}{a=pe(r,"componentWillLoad")}}{a=me(a,(function(){return pe(r,"componentWillRender")}))}n();return me(a,(function(){return ue(e,r,t)}))};var ue=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,$,o;return __generator(this,(function(s){n=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{$=n["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){Ue(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(n)}{pe(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!i){he()}}}else{{pe(a,"componentDidUpdate")}r()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){se(t,false)}return n}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:r}})}))};var pe=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){Ue(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,n,r){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=r.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[x]=n;e.removeAttribute(x);be(c,l,$,o,e,e,n);l.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=f.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&u&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(n)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,n,r,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(N);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(N);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(r&&f.$depth$==="0"){r[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,n,r,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,n,r,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(r&&f.$depth$==="0"){r[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(r){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){r[f.$index$]=f.$elm$}}n.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(r){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){we(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){we(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===y){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var xe=function(e,t){if(e!=null&&!z(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var Re=function(e,t){return Te(e).$instanceValues$.get(t)};var Ne=function(e,t,n,r){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;n=xe(n,r.$members$[t][0]);if((!($&8)||l===undefined)&&n!==l){a.$instanceValues$.set(t,n);if(o){if(r.$watchers$&&$&128){var s=r.$watchers$[t];if(s){s.map((function(e){try{o[e](n,l,t)}catch(e){Ue(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(n,l,t)===false){return}}se(a,false)}}}};var Se=function(e,t,n){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return Re(this,r)},set:function(e){Ne(this,r,e,t)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=Te(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;f.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var _e=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(r);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{r.$watchers$=i.watchers}Se(i,r,2);i.isProxied=true}n=k("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){Ue(e)}{t.$flags$&=~8}{t.$flags$|=128}n();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(r);if(!Be.has(l)){$=k("registerStyles",r.$tagName$);A(l,a,!!(r.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var n=t.$cmpMeta$;var r=k("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(x);if(a){if(n.$flags$&1){var i=E(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}ye(e,n.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{_e(e,t,n)}}else{d(e,t,n.$listeners$);ke(t.$lazyInstance$)}r()}};var Ce=function(e){if((f.$flags$&1)===0){var t=Te(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(n,"disconnectedCallback")}}};var Ae=e("b",(function(e,t){if(t===void 0){t={}}var n=k();var r=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("["+R+"]");var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){A(v[p].getAttribute(R),T(v[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}{n.$attrsToReflect$=[]}{n.$watchers$={}}var l=n.$tagName$;var $=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;Me(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ce(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){r.push(l);i.define(l,Se($,n,1))}}))}));{u.innerHTML=r+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}n()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,n,t.$listeners$);return je.set(e,n)};var Oe=function(e,t){return t in e};var Ue=function(e,t){return(0,console.error)(e,t)};var ze=new Map;var qe=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=ze.get(i);if(l){return l[a]}return t.import("./"+i+".entry.js"+"").then((function(e){{ze.set(i,e)}return e[a]}),Ue)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(n){e.push(n);if(!$){$=true;if(t&&f.$flags$&4){Ge(Fe)}else{f.raf(Fe)}}}};var De=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Ue(e)}}e.length=0};var Fe=function(){De(Ve);{De(He);if($=Ve.length>0){f.raf(Fe)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
@@ -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{h as t}from"./p-2e29554c.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const c=`h${e.level}`;return delete e.level,t(c,Object.assign({},e),r)};export{r as C,e as 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,H as a,g as n,f as o}from"./p-2e29554c.js";import{c as r}from"./p-0a5d059d.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",(()=>o(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:a,scale:n,el:o,intlLoading:r}=this,c="l"===n?"m":"s",s=i?e("calcite-loader",{active:!0,inline:!0,label:r,scale:c}):null,l=a?e("calcite-icon",{icon:a,scale:c}):null,u=s||l,d=u||(null===(t=o.children)||void 0===t?void 0:t.length),b=e("div",{class:{"slot-container":!0,"slot-container--hidden":i}},e("slot",null));return d?e("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},u,b):null}render(){const{compact:t,disabled:i,loading:n,textEnabled:o,label:r,text:c}=this,s=r||c,l={button:!0,"button--text-visible":o,"button--compact":t};return e(a,{onClick:this.calciteActionClickHandler},e("button",{"aria-busy":n.toString(),"aria-disabled":i.toString(),"aria-label":s,class:l,disabled:i,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()))}get el(){return n(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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]){pointer-events:none}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;width:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);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;font-family:inherit;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color: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{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:1rem;min-height:1rem}.button .text-container{margin:0px;width:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-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-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{width:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}: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:0px;padding-right:0px}.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{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}: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{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}: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:0px;color:var(--calcite-ui-text-3)}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;z-index:10;height:0.5rem;width:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-ui-brand);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
- /*!
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-ac4aec20.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var c;var s={childList:true};function i(e){if(!c){c=n("mutation",a)}c.observe(e.el,s)}function o(e){r.delete(e.el);a(c.takeRecords());c.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];c.observe(i,s)}}function a(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
@@ -1,5 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(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(n.next(t))}catch(t){o(t)}}function c(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?i(t.value):a(t.value).then(r,c)}l((n=n.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:[]},n,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return l([t,e])}}function l(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=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++;a=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];a=0}finally{n=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-ac4aec20.system.js"],(function(t){"use strict";var e,i,n,a,o,r,c;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g;r=t.f},function(t){c=t.c}],execute:function(){var l={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible"};var s={loading:"Loading"};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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]){pointer-events:none}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;width:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);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;font-family:inherit;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color: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{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:1rem;min-height:1rem}.button .text-container{margin:0px;width:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-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-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{width:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}: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:0px;padding-right:0px}.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{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}: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{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}: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:0px;color:var(--calcite-ui-text-3)}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;z-index:10;height:0.5rem;width:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-ui-brand);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)}';var b=t("calcite_action",function(){function t(t){var n=this;e(this,t);this.calciteActionClick=i(this,"calciteActionClick",7);this.active=false;this.appearance="solid";this.compact=false;this.disabled=false;this.indicator=false;this.intlLoading=s.loading;this.loading=false;this.scale="m";this.textEnabled=false;this.mutationObserver=c("mutation",(function(){return r(n)}));this.calciteActionClickHandler=function(){if(!n.disabled){n.calciteActionClick.emit()}}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonEl.focus();return[2]}))}))};t.prototype.renderTextContainer=function(){var t;var e=this,i=e.text,a=e.textEnabled;var o=(t={},t[l.textContainer]=true,t[l.textContainerVisible]=a,t);return i?n("div",{class:o,key:"text-container"},i):null};t.prototype.renderIconContainer=function(){var t;var e;var i=this,a=i.loading,o=i.icon,r=i.scale,c=i.el,s=i.intlLoading;var u=r==="l"?"m":"s";var b=a?n("calcite-loader",{active:true,inline:true,label:s,scale:u}):null;var d=o?n("calcite-icon",{icon:o,scale:u}):null;var f=b||d;var m=f||((e=c.children)===null||e===void 0?void 0:e.length);var p=n("div",{class:(t={},t[l.slotContainer]=true,t[l.slotContainerHidden]=a,t)},n("slot",null));return m?n("div",{"aria-hidden":"true",class:l.iconContainer,key:"icon-container"},f,p):null};t.prototype.render=function(){var t;var e=this;var i=this,o=i.compact,r=i.disabled,c=i.loading,s=i.textEnabled,u=i.label,b=i.text;var d=u||b;var f=(t={},t[l.button]=true,t[l.buttonTextVisible]=s,t[l.buttonCompact]=o,t);return n(a,{onClick:this.calciteActionClickHandler},n("button",{"aria-busy":c.toString(),"aria-disabled":r.toString(),"aria-label":d,class:f,disabled:r,ref:function(t){return e.buttonEl=t}},this.renderIconContainer(),this.renderTextContainer()))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());b.style=u}}}));
@@ -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 a}from"./p-2e29554c.js";import{T as o,g as r,s,d as l,a as c,C as h}from"./p-8f3a3e4e.js";import{c as u,d,g as m}from"./p-9a7c4812.js";import{c as p,d as b,H as f}from"./p-e8e0f3b7.js";import{d as g,g as x,l as v}from"./p-ef6b4184.js";import{i as w,p as y,s as k,n as z}from"./p-dd9f2e61.js";import{d as D}from"./p-2d09cc25.js";import{c as j}from"./p-0a5d059d.js";import"./p-8a63221d.js";const E={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"};let I=class{constructor(e){t(this,e),this.calciteInputFocus=i(this,"calciteInputFocus",7),this.calciteInputBlur=i(this,"calciteInputBlur",7),this.calciteInputInput=i(this,"calciteInputInput",7),this.calciteInputChange=i(this,"calciteInputChange",7),this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.groupSeparator=!1,this.hidden=!1,this.intlLoading=o.loading,this.iconFlipRtl=!1,this.loading=!1,this.locale=document.documentElement.lang||"en",this.localeFormat=!1,this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.editingEnabled=!1,this.type="text",this.value="",this.childElType="input",this.internalValueChange=!1,this.mutationObserver=j("mutation",(()=>this.setDisabledAction())),this.keyDownHandler=t=>{"ArrowUp"===t.key&&t.preventDefault(),this.readOnly||this.disabled||this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault())},this.clearInputValue=t=>{this.setValue({committing:!0,nativeEvent:t,value:""})},this.inputBlurHandler=()=>{"number"===this.type&&this.setValue({value:this.value}),this.calciteInputBlur.emit({element:this.childEl,value:this.value}),this.preFocusValue!==this.value&&this.calciteInputChange.emit()},this.inputFocusHandler=t=>{const i=r(this.el,"action");t.target!==i&&this.setFocus(),this.calciteInputFocus.emit({element:this.childEl,value:this.value}),this.preFocusValue=this.value},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,value:t.target.value})},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.calciteInputChange.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value,e=g(i,this.locale);"insertFromPaste"===t.inputType?(w(e)||t.preventDefault(),this.setValue({nativeEvent:t,value:y(e)}),this.childNumberEl.value=this.localizedValue):this.setValue({nativeEvent:t,value:g(i,this.locale)})},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...z,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)&&(!t.shiftKey||e))return void("Enter"===t.key&&this.calciteInputChange.emit());const n=x(this.locale);if(t.key===n){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(n))return}if(/[eE]/.test(t.key)){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat||"number"!==this.type)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let a=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{a?a=!1:this.incrementOrDecrementNumberValue(t,e,n,i)}),100)},this.numberButtonMouseUpAndMouseOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.numberButtonMouseDownHandler=t=>{t.preventDefault(),this.nudgeNumberValue(t.target.dataset.adjustment,t)},this.setChildElRef=t=>{this.childEl=t},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputValue=t=>{("text"!==this.type||this.childEl)&&("number"!==this.type||this.childNumberEl)&&(this[`child${"number"===this.type?"Number":""}El`].value=t)},this.setPreviousValue=t=>{this.previousValue="number"===this.type?w(t)?t:"":t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e="internal",value:n})=>{const a="number"===this.type?v(this.previousValue,this.locale,this.groupSeparator):"",o="number"===this.type?k(n):n,r="number"===this.type&&n&&!o?w(this.previousValue)?this.previousValue:"":o,s="number"===this.type?v(r,this.locale,this.groupSeparator):"";this.internalValueChange="internal"===e,this.setPreviousValue(this.value),this.value=r,"number"===this.type&&(this.localizedValue=s),"external"===e&&this.setInputValue("number"===this.type?s:r),i&&(this.calciteInputInput.emit({element:this.childEl,nativeEvent:i,value:this.value}).defaultPrevented?(this.value=this.previousValue,this.localizedValue=a):t&&this.calciteInputChange.emit())},this.inputKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)}}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}valueWatcher(t){this.internalValueChange||(this.setValue({origin:"external",value:null==t?"":"number"===this.type?w(t)?t:this.previousValue||"":t}),this.warnAboutInvalidNumberValue(t)),this.internalValueChange=!1}updateRequestedIcon(){this.requestedIcon=s(E,this.icon,this.type)}get isClearable(){return!this.isTextarea&&(this.clearable||"search"===this.type)&&this.value.length>0}get isTextarea(){return"textarea"===this.childElType}connectedCallback(){var t;this.scale=l(this.el,"scale",this.scale),this.status=l(this.el,"status",this.status),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),this.setPreviousValue(this.value),"number"===this.type&&(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"loading",value:w(this.value)?this.value:""})),u(this),p(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction()}disconnectedCallback(){var t;d(this),b(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentWillLoad(){var t,i;this.childElType="textarea"===this.type?"textarea":"input",this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=s(E,this.icon,this.type)}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!w(t)&&(this.setValue({value:i}),1))}async setFocus(){var t,i;"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.focus():null===(i=this.childEl)||void 0===i||i.focus()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:a}=this,o="any"===this.step?1:Math.abs(this.step||1),r=a&&""!==a?parseFloat(a):0,s=r+o*("up"===t?1:-1),l="number"==typeof e&&!isNaN(e)&&s<e||"number"==typeof i&&!isNaN(i)&&s>i?r:s,c=D(r),h=D(o);this.setValue({committing:!0,nativeEvent:n,value:l.toFixed(Math.max(c,h))})}onFormReset(){this.setValue({value:this.defaultValue})}syncHiddenFormInput(t){var i,e,n,a;"number"===this.type?(t.type="number",t.min=null!==(e=null===(i=this.min)||void 0===i?void 0:i.toString(10))&&void 0!==e?e:"",t.max=null!==(a=null===(n=this.max)||void 0===n?void 0:n.toString(10))&&void 0!==a?a:""):"text"===this.type?(t.type="text",null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength)):"password"===this.type&&(t.type="password")}setDisabledAction(){const t=r(this.el,"action");t&&(this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled"))}warnAboutInvalidNumberValue(t){"number"===this.type&&t&&!w(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=c(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.intlLoading,type:"indeterminate"})),a=e("button",{class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:this.disabled?-1:0,type:"button"},e("calcite-icon",{icon:"x",scale:"s"})),o=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"s"}),r="horizontal"===this.numberButtonType,s=e("button",{class:{"number-button-item":!0,"number-button-item--horizontal":r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onMouseDown:this.numberButtonMouseDownHandler,onMouseOut:this.numberButtonMouseUpAndMouseOutHandler,onMouseUp:this.numberButtonMouseUpAndMouseOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:"s"})),l=e("button",{class:{"number-button-item":!0,"number-button-item--horizontal":r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onMouseDown:this.numberButtonMouseDownHandler,onMouseOut:this.numberButtonMouseUpAndMouseOutHandler,onMouseUp:this.numberButtonMouseUpAndMouseOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:"s"})),u=e("div",{class:"number-button-wrapper"},s,l),d=e("div",{class:"prefix"},this.prefixText),p=e("div",{class:"suffix"},this.suffixText),b="number"===this.type?e("input",{"aria-label":m(this),autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildNumberElRef,type:"text",value:this.localizedValue}):null,g="number"!==this.type?[e(this.childElType,{"aria-label":m(this),autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,name:this.name,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildElRef,required:!!this.required||null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value}),this.isTextarea?e("div",{class:"resize-icon-wrapper"},e("calcite-icon",{icon:"chevron-down",scale:"s"})):null]:null;return e(n,{onClick:this.inputFocusHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[h.rtl]:"rtl"===t}},"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:l,this.prefixText?d:null,e("div",{class:"element-wrapper"},b,g,this.isClearable?a:null,this.requestedIcon?o:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"number"!==this.type||"vertical"!==this.numberButtonType||this.readOnly?null:u,this.suffixText?p:null,"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:s,e(f,{component:this})))}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"]}}};I.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{height:auto;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{height:auto;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{height:auto;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .wrapper{pointer-events:none;--tw-text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:var(--calcite-animation-timing), height 0s;transition:var(--calcite-animation-timing), height 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{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 textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;height:0px;width:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-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;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;inset-inline-end:0}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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{I as calcite_input}
@@ -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{c as n}from"./p-8f3a3e4e.js";import{h as t}from"./p-2e29554c.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,c=n(o,"form");if(!c||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(c,o))return;t.formEl=c,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const u=(t.onFormReset||s).bind(t);c.addEventListener("reset",u),i.add(o)}function s(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function c(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function u(n,t){n.defaultValue=t}function l(n,t,o){var i;const{defaultValue:r,disabled:s,name:c,required:u}=n;t.defaultValue=r,t.disabled=s,t.name=c,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const a=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const c=Array.isArray(i)?i:[i],u=[],a=new Set;let f;s.forEach((t=>{const e=c.find((n=>n==t.value));null!=e?(a.add(e),l(n,t,e)):u.push(t)})),c.forEach((t=>{if(a.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),l(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{a as H,u as a,r as c,c as 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{f as t}from"./p-2e29554c.js";import{c as o}from"./p-0a5d059d.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",a)),c.observe(t.el,s)}function i(t){n.delete(t.el),a(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}