@esri/calcite-components 1.0.0-next.479 → 1.0.0-next.481

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 (795) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-e91ae6dd.entry.js → p-00210247.entry.js} +2 -2
  5. package/dist/calcite/{p-c70c43df.system.js → p-021e5c49.system.js} +1 -1
  6. package/dist/calcite/{p-dd4df576.js → p-02e870f7.js} +1 -1
  7. package/dist/calcite/{p-138157e7.system.entry.js → p-03919fe5.system.entry.js} +2 -2
  8. package/dist/calcite/{p-edb51c04.entry.js → p-04a08839.entry.js} +2 -2
  9. package/dist/calcite/{p-0c472b0c.entry.js → p-057c246e.entry.js} +2 -2
  10. package/dist/calcite/{p-c0a00fcd.js → p-075c3e89.js} +1 -1
  11. package/dist/calcite/{p-07ca4185.entry.js → p-084baa42.entry.js} +2 -2
  12. package/dist/calcite/{p-3d2e64a7.entry.js → p-085c4da9.entry.js} +2 -2
  13. package/dist/calcite/{p-0255e148.system.entry.js → p-094add69.system.entry.js} +2 -2
  14. package/dist/calcite/{p-efef481b.system.js → p-0a05b4b9.system.js} +2 -2
  15. package/dist/calcite/{p-72aadb1e.system.entry.js → p-0a0df85a.system.entry.js} +2 -2
  16. package/dist/calcite/{p-b95b059e.js → p-0aae9886.js} +2 -2
  17. package/dist/calcite/{p-001abe45.system.entry.js → p-0c3b6f3e.system.entry.js} +2 -2
  18. package/dist/calcite/{p-9d0dd1ba.entry.js → p-0c669af6.entry.js} +2 -2
  19. package/dist/calcite/{p-28a6d753.entry.js → p-0e1933c7.entry.js} +2 -2
  20. package/dist/calcite/{p-c895d5f2.entry.js → p-0ef98a6e.entry.js} +2 -2
  21. package/dist/calcite/{p-f9b22a5a.system.entry.js → p-0f2bfa75.system.entry.js} +2 -2
  22. package/dist/calcite/p-0f811ac8.system.js +6 -0
  23. package/dist/calcite/{p-955059c7.entry.js → p-11cb1d58.entry.js} +2 -2
  24. package/dist/calcite/{p-f5818d96.system.entry.js → p-11fada16.system.entry.js} +3 -3
  25. package/dist/calcite/{p-31fab9bf.entry.js → p-12222a42.entry.js} +2 -2
  26. package/dist/calcite/{p-17b5840c.entry.js → p-12ca33aa.entry.js} +2 -2
  27. package/dist/calcite/{p-fb1639d5.entry.js → p-1534b3d9.entry.js} +2 -2
  28. package/dist/calcite/{p-b7d449ac.entry.js → p-15ccd67f.entry.js} +2 -2
  29. package/dist/calcite/{p-f5b01e78.entry.js → p-17503fb8.entry.js} +2 -2
  30. package/dist/calcite/{p-60a2b90d.entry.js → p-176d67ac.entry.js} +2 -2
  31. package/dist/calcite/{p-66990e2f.entry.js → p-1b76864b.entry.js} +2 -2
  32. package/dist/calcite/{p-450d94cd.entry.js → p-1c14eda7.entry.js} +2 -2
  33. package/dist/calcite/{p-3fcaf270.system.entry.js → p-1d51a113.system.entry.js} +2 -2
  34. package/dist/calcite/{p-70ed2899.system.entry.js → p-1e206039.system.entry.js} +2 -2
  35. package/dist/calcite/{p-9c71711f.system.entry.js → p-1f5ff7b2.system.entry.js} +2 -2
  36. package/dist/calcite/{p-ff4cfdcd.entry.js → p-2141ee1f.entry.js} +2 -2
  37. package/dist/calcite/{p-796b5da7.js → p-21ce19d3.js} +1 -1
  38. package/dist/calcite/{p-7005c27d.js → p-23ed94c3.js} +2 -2
  39. package/dist/calcite/{p-e7d1d85f.entry.js → p-244af769.entry.js} +2 -2
  40. package/dist/calcite/{p-398640df.entry.js → p-29c31e28.entry.js} +2 -2
  41. package/dist/calcite/{p-01a27b60.entry.js → p-2aa26f43.entry.js} +2 -2
  42. package/dist/calcite/p-2abb11e9.system.js +6 -0
  43. package/dist/calcite/{p-12919896.system.entry.js → p-2bdac8ff.system.entry.js} +3 -3
  44. package/dist/calcite/{p-466d98dc.system.js → p-2ce86ab7.system.js} +1 -1
  45. package/dist/calcite/{p-58e2308d.system.entry.js → p-2d8bbd17.system.entry.js} +3 -3
  46. package/dist/calcite/{p-644e7538.js → p-2da47114.js} +2 -2
  47. package/dist/calcite/{p-010c7083.system.js → p-2f3c8bdd.system.js} +1 -1
  48. package/dist/calcite/{p-4a11d1ba.system.entry.js → p-3073e37d.system.entry.js} +2 -2
  49. package/dist/calcite/{p-d16b63e1.system.js → p-307c99f4.system.js} +3 -3
  50. package/dist/calcite/{p-ab9393f4.system.entry.js → p-310024b0.system.entry.js} +2 -2
  51. package/dist/calcite/{p-4b4c6dd5.js → p-32896b04.js} +2 -2
  52. package/dist/calcite/{p-9b44427d.entry.js → p-36254363.entry.js} +2 -2
  53. package/dist/calcite/{p-40e629ce.js → p-39fa089a.js} +1 -1
  54. package/dist/calcite/{p-f85cee67.system.js → p-3c484018.system.js} +1 -1
  55. package/dist/calcite/{p-a4e180ff.js → p-3f2db91f.js} +1 -1
  56. package/dist/calcite/{p-d6c808d6.system.entry.js → p-3ff019af.system.entry.js} +2 -2
  57. package/dist/calcite/{p-a6a3de6b.system.entry.js → p-41ef0bb5.system.entry.js} +2 -2
  58. package/dist/calcite/{p-22ac2115.system.entry.js → p-423485d1.system.entry.js} +2 -2
  59. package/dist/calcite/{p-f1e8d3f0.system.js → p-42e6b5e8.system.js} +2 -2
  60. package/dist/calcite/{p-0316b59f.system.entry.js → p-46f78a7f.system.entry.js} +2 -2
  61. package/dist/calcite/{p-23af34c3.system.entry.js → p-4d44a55c.system.entry.js} +2 -2
  62. package/dist/calcite/{p-37f4ac6e.system.entry.js → p-4e9b81ae.system.entry.js} +2 -2
  63. package/dist/calcite/{p-82ca3dfe.entry.js → p-4ea68114.entry.js} +2 -2
  64. package/dist/calcite/{p-1259a4a5.js → p-4f40657b.js} +1 -1
  65. package/dist/calcite/{p-8f1e2112.system.entry.js → p-5136fb5f.system.entry.js} +2 -2
  66. package/dist/calcite/{p-4f672d9c.system.entry.js → p-52ede4f6.system.entry.js} +2 -2
  67. package/dist/calcite/{p-8fd3634d.system.entry.js → p-53e0e009.system.entry.js} +2 -2
  68. package/dist/calcite/{p-0c205253.entry.js → p-56a96a90.entry.js} +2 -2
  69. package/dist/calcite/{p-594ceae9.entry.js → p-57b7320f.entry.js} +2 -2
  70. package/dist/calcite/{p-47a95178.system.entry.js → p-596824a6.system.entry.js} +2 -2
  71. package/dist/calcite/{p-d473a5f5.system.entry.js → p-5a429dae.system.entry.js} +2 -2
  72. package/dist/calcite/{p-6626eb80.entry.js → p-5a4569b6.entry.js} +2 -2
  73. package/dist/calcite/{p-2d4f75cc.system.js → p-5b4414e6.system.js} +1 -1
  74. package/dist/calcite/{p-0eedb265.system.js → p-5d94e63b.system.js} +2 -2
  75. package/dist/calcite/p-5f821838.system.js +6 -0
  76. package/dist/calcite/{p-75d39938.system.entry.js → p-60bbe542.system.entry.js} +2 -2
  77. package/dist/calcite/{p-d58e1550.entry.js → p-60e51d49.entry.js} +2 -2
  78. package/dist/calcite/{p-f0de8ef9.system.js → p-627b34fe.system.js} +1 -1
  79. package/dist/calcite/{p-bbe29b83.entry.js → p-689512e6.entry.js} +2 -2
  80. package/dist/calcite/{p-d28096d9.system.entry.js → p-6941063f.system.entry.js} +2 -2
  81. package/dist/calcite/{p-db9bc97e.entry.js → p-6ac1f008.entry.js} +2 -2
  82. package/dist/calcite/{p-7b1ce7f1.entry.js → p-6b302a6e.entry.js} +2 -2
  83. package/dist/calcite/{p-677f82ee.system.js → p-6f9a17d8.system.js} +1 -1
  84. package/dist/calcite/{p-e820870d.entry.js → p-6ffbeee6.entry.js} +2 -2
  85. package/dist/calcite/{p-90c4d477.system.entry.js → p-70b0506d.system.entry.js} +2 -2
  86. package/dist/calcite/{p-eda300dd.system.entry.js → p-72ff6eac.system.entry.js} +2 -2
  87. package/dist/calcite/p-732c5c05.js +6 -0
  88. package/dist/calcite/{p-02b0ed6f.js → p-7487f7b6.js} +1 -1
  89. package/dist/calcite/{p-90b0d736.entry.js → p-75ad8499.entry.js} +2 -2
  90. package/dist/calcite/{p-d2323792.entry.js → p-761e8f5a.entry.js} +2 -2
  91. package/dist/calcite/{p-414f78e6.js → p-7708ae54.js} +2 -2
  92. package/dist/calcite/{p-ee96a07e.entry.js → p-7ea4d323.entry.js} +2 -2
  93. package/dist/calcite/{p-b44066fa.system.js → p-8054b4ba.system.js} +1 -1
  94. package/dist/calcite/{p-bb6550df.entry.js → p-80a5fae8.entry.js} +2 -2
  95. package/dist/calcite/{p-012c233f.system.entry.js → p-822fe732.system.entry.js} +2 -2
  96. package/dist/calcite/{p-cc3716a6.system.entry.js → p-86e0fde8.system.entry.js} +2 -2
  97. package/dist/calcite/{p-b5a70721.system.entry.js → p-87dbc300.system.entry.js} +2 -2
  98. package/dist/calcite/{p-54f85324.entry.js → p-88937c05.entry.js} +2 -2
  99. package/dist/calcite/{p-507da748.system.js → p-8ae8fc2d.system.js} +1 -1
  100. package/dist/calcite/p-8b309663.js +6 -0
  101. package/dist/calcite/{p-9da75a1c.system.js → p-8bc20548.system.js} +1 -1
  102. package/dist/calcite/{p-83f7cfa4.system.entry.js → p-8c1894de.system.entry.js} +2 -2
  103. package/dist/calcite/{p-a951d0ca.system.entry.js → p-8f6c1d1b.system.entry.js} +2 -2
  104. package/dist/calcite/{p-55dde837.system.js → p-9193f8d7.system.js} +2 -2
  105. package/dist/calcite/{p-c189a8f5.system.entry.js → p-960c56da.system.entry.js} +2 -2
  106. package/dist/calcite/{p-a829cfdd.system.entry.js → p-9ac75827.system.entry.js} +2 -2
  107. package/dist/calcite/{p-2ec3abfb.system.entry.js → p-9c5b7628.system.entry.js} +2 -2
  108. package/dist/calcite/p-9d14f987.entry.js +6 -0
  109. package/dist/calcite/{p-53fce7f1.entry.js → p-9d30789c.entry.js} +2 -2
  110. package/dist/calcite/{p-a06e728e.entry.js → p-a2d73c38.entry.js} +2 -2
  111. package/dist/calcite/{p-bd58961a.system.js → p-a3ac7224.system.js} +1 -1
  112. package/dist/calcite/{p-622aa523.js → p-a503fbad.js} +1 -1
  113. package/dist/calcite/{p-c7e647a1.system.entry.js → p-a6407731.system.entry.js} +2 -2
  114. package/dist/calcite/{p-d11c4ce9.system.entry.js → p-a754215f.system.entry.js} +2 -2
  115. package/dist/calcite/{p-f78ba023.system.entry.js → p-a76600a5.system.entry.js} +2 -2
  116. package/dist/calcite/{p-a813a29f.system.entry.js → p-a91cdd02.system.entry.js} +2 -2
  117. package/dist/calcite/{p-7ffe8f06.js → p-aee41a63.js} +1 -1
  118. package/dist/calcite/{p-c1798e47.js → p-b029aea2.js} +1 -1
  119. package/dist/calcite/{p-4eca0e69.entry.js → p-b0f9ec18.entry.js} +2 -2
  120. package/dist/calcite/{p-4179b194.system.entry.js → p-b246c5a5.system.entry.js} +2 -2
  121. package/dist/calcite/{p-913b0ee4.js → p-b271c3ba.js} +2 -2
  122. package/dist/calcite/{p-3ea1034b.entry.js → p-b65a684a.entry.js} +2 -2
  123. package/dist/calcite/{p-9a0ab637.system.js → p-b82ce029.system.js} +1 -1
  124. package/dist/calcite/{p-44e5475a.system.entry.js → p-b94c6329.system.entry.js} +2 -2
  125. package/dist/calcite/{p-076f3589.system.entry.js → p-b9ce85a1.system.entry.js} +2 -2
  126. package/dist/calcite/{p-cb60ff4f.system.entry.js → p-ba37edc8.system.entry.js} +2 -2
  127. package/dist/calcite/{p-567f403a.system.entry.js → p-baa0127c.system.entry.js} +2 -2
  128. package/dist/calcite/{p-c97da14c.system.js → p-bc3fccdd.system.js} +1 -1
  129. package/dist/calcite/{p-af5170a1.entry.js → p-bdd649c5.entry.js} +2 -2
  130. package/dist/calcite/{p-1840ae7f.entry.js → p-c0e6a27b.entry.js} +2 -2
  131. package/dist/calcite/{p-a5a5bdd5.system.entry.js → p-c33831a0.system.entry.js} +2 -2
  132. package/dist/calcite/p-c61a4d26.entry.js +6 -0
  133. package/dist/calcite/p-c6bdc532.entry.js +6 -0
  134. package/dist/calcite/{p-6a3b3caa.system.entry.js → p-c76b4ecb.system.entry.js} +2 -2
  135. package/dist/calcite/{p-d71608be.js → p-ca7803ab.js} +1 -1
  136. package/dist/calcite/{p-40df7c87.system.entry.js → p-ca988d6c.system.entry.js} +2 -2
  137. package/dist/calcite/{p-5a90b3ac.js → p-cca1d65c.js} +1 -1
  138. package/dist/calcite/{p-0552e9a4.system.entry.js → p-d05b70d0.system.entry.js} +2 -2
  139. package/dist/calcite/{p-ed8666c9.system.entry.js → p-d1fbca34.system.entry.js} +2 -2
  140. package/dist/calcite/{p-4a770350.system.js → p-d45cc01d.system.js} +2 -2
  141. package/dist/calcite/{p-79a3b6b9.entry.js → p-d6a30789.entry.js} +2 -2
  142. package/dist/calcite/{p-76c92909.entry.js → p-d6e03ce4.entry.js} +2 -2
  143. package/dist/calcite/{p-2e31a95a.system.js → p-d7690029.system.js} +2 -2
  144. package/dist/calcite/{p-c36cf24c.entry.js → p-d7c1c51f.entry.js} +2 -2
  145. package/dist/calcite/p-d951fdfd.js +6 -0
  146. package/dist/calcite/{p-fb33131c.system.entry.js → p-da364a5f.system.entry.js} +2 -2
  147. package/dist/calcite/{p-fe0b31be.entry.js → p-dae80dee.entry.js} +2 -2
  148. package/dist/calcite/{p-1fc564c7.entry.js → p-dd0865d5.entry.js} +2 -2
  149. package/dist/calcite/{p-55b8c527.system.entry.js → p-de8f770c.system.entry.js} +2 -2
  150. package/dist/calcite/{p-a4380f53.system.entry.js → p-df690784.system.entry.js} +2 -2
  151. package/dist/calcite/{p-282b100d.entry.js → p-e254b2ae.entry.js} +2 -2
  152. package/dist/calcite/{p-296c9d0e.js → p-e27d2fd6.js} +2 -2
  153. package/dist/calcite/p-e43e59c1.js +6 -0
  154. package/dist/calcite/{p-9704f2af.system.entry.js → p-e82aa082.system.entry.js} +2 -2
  155. package/dist/calcite/{p-e184c59f.entry.js → p-eab060e1.entry.js} +2 -2
  156. package/dist/calcite/{p-1583e9a1.entry.js → p-eae1e17d.entry.js} +2 -2
  157. package/dist/calcite/{p-e29fb9cf.system.entry.js → p-edca55cb.system.entry.js} +2 -2
  158. package/dist/calcite/{p-c2618906.entry.js → p-ef09ef0a.entry.js} +2 -2
  159. package/dist/calcite/{p-3d49892d.system.js → p-f31641e0.system.js} +2 -2
  160. package/dist/calcite/{p-c8bb36c5.system.entry.js → p-f75ecb4d.system.entry.js} +2 -2
  161. package/dist/calcite/{p-c23ed287.system.js → p-f775ec5f.system.js} +1 -1
  162. package/dist/calcite/{p-d78d5d1e.js → p-f7dcfe4a.js} +1 -1
  163. package/dist/calcite/{p-8e128810.entry.js → p-fca7b5b8.entry.js} +2 -2
  164. package/dist/calcite/{p-033a20d5.system.entry.js → p-fd4c7930.system.entry.js} +2 -2
  165. package/dist/calcite/{p-0e369b8b.entry.js → p-fd64dacb.entry.js} +2 -2
  166. package/dist/calcite/{p-4c5a51cb.system.js → p-ff3c46e5.system.js} +2 -2
  167. package/dist/calcite/{p-ab31aff6.entry.js → p-ff97f062.entry.js} +2 -2
  168. package/dist/cjs/{ExpandToggle-4215b427.js → ExpandToggle-cec66c17.js} +8 -6
  169. package/dist/cjs/{Heading-19791210.js → Heading-3bcb5762.js} +2 -2
  170. package/dist/cjs/{array-47c77c68.js → array-dfd6954d.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +13 -12
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +3 -3
  229. package/dist/cjs/{conditionalSlot-e207b82c.js → conditionalSlot-e26293f1.js} +3 -3
  230. package/dist/cjs/{debounce-fb614795.js → debounce-6b0e2bda.js} +1 -1
  231. package/dist/cjs/{dom-adb06778.js → dom-87b800db.js} +2 -2
  232. package/dist/cjs/{forIn-e71052b6.js → forIn-c69d9388.js} +2 -2
  233. package/dist/cjs/{form-cb0cbffd.js → form-8fdf60fd.js} +3 -3
  234. package/dist/cjs/{guid-77b29f6c.js → guid-22d04b9f.js} +1 -1
  235. package/dist/cjs/{index-f98e5cf7.js → index-9686deae.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-c087f4c4.js → interactive-983e58b4.js} +1 -1
  238. package/dist/cjs/{interfaces-fe957430.js → interfaces-9b705822.js} +1 -1
  239. package/dist/cjs/{label-7c4adc1f.js → label-7891f596.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +3 -3
  241. package/dist/cjs/{locale-4813aaf7.js → locale-267098f5.js} +8 -6
  242. package/dist/cjs/{math-e47ac5e4.js → math-074daf04.js} +1 -1
  243. package/dist/cjs/{number-a157cea8.js → number-a7ef7519.js} +1 -1
  244. package/dist/cjs/{observers-4dcb4447.js → observers-2cea5986.js} +1 -1
  245. package/dist/cjs/{popper-daaacd0c.js → popper-dbd3167a.js} +2 -2
  246. package/dist/cjs/{resources-85ecd236.js → resources-14bae44b.js} +3 -3
  247. package/dist/cjs/{resources-a562b143.js → resources-6ea0f001.js} +1 -1
  248. package/dist/cjs/{resources-30283b8e.js → resources-af98e271.js} +1 -1
  249. package/dist/cjs/{resources-a14869de.js → resources-c64da694.js} +5 -5
  250. package/dist/cjs/{sortable.esm-89d4b918.js → sortable.esm-7de714d8.js} +1 -1
  251. package/dist/cjs/{utils-a8aa98ca.js → utils-30b8f602.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +1 -1
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +6 -5
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +1 -1
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +1 -1
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +1 -1
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.js +1 -1
  286. package/dist/collection/components/color-picker/interfaces.js +1 -1
  287. package/dist/collection/components/color-picker/resources.js +1 -1
  288. package/dist/collection/components/color-picker/utils.js +1 -1
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  293. package/dist/collection/components/combobox/combobox.js +1 -1
  294. package/dist/collection/components/combobox/interfaces.js +1 -1
  295. package/dist/collection/components/combobox/resources.js +1 -1
  296. package/dist/collection/components/combobox/utils.js +1 -1
  297. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/date-picker.js +1 -1
  302. package/dist/collection/components/date-picker/interfaces.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown.js +1 -1
  309. package/dist/collection/components/dropdown/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown-group/resources.js +1 -1
  314. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  315. package/dist/collection/components/dropdown-item/resources.js +1 -1
  316. package/dist/collection/components/fab/fab.js +1 -1
  317. package/dist/collection/components/fab/resources.js +1 -1
  318. package/dist/collection/components/filter/filter.js +1 -1
  319. package/dist/collection/components/filter/resources.js +1 -1
  320. package/dist/collection/components/flow/flow.js +1 -1
  321. package/dist/collection/components/flow/interfaces.js +1 -1
  322. package/dist/collection/components/flow/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +4 -2
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/interfaces.js +1 -1
  327. package/dist/collection/components/graph/util.js +1 -1
  328. package/dist/collection/components/handle/handle.js +1 -1
  329. package/dist/collection/components/handle/resources.js +1 -1
  330. package/dist/collection/components/icon/icon.js +1 -1
  331. package/dist/collection/components/icon/resources.js +1 -1
  332. package/dist/collection/components/icon/utils.js +1 -1
  333. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  334. package/dist/collection/components/inline-editable/resources.js +1 -1
  335. package/dist/collection/components/input/input.js +21 -4
  336. package/dist/collection/components/input/interfaces.js +1 -1
  337. package/dist/collection/components/input/resources.js +1 -1
  338. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  339. package/dist/collection/components/input-message/input-message.js +1 -1
  340. package/dist/collection/components/input-message/interfaces.js +1 -1
  341. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  342. package/dist/collection/components/interfaces.js +1 -1
  343. package/dist/collection/components/label/label.js +1 -1
  344. package/dist/collection/components/label/resources.js +1 -1
  345. package/dist/collection/components/link/link.js +1 -1
  346. package/dist/collection/components/list/list.js +1 -1
  347. package/dist/collection/components/list/resources.js +1 -1
  348. package/dist/collection/components/list-item/list-item.js +1 -1
  349. package/dist/collection/components/list-item/resources.js +1 -1
  350. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  351. package/dist/collection/components/list-item-group/resources.js +1 -1
  352. package/dist/collection/components/loader/loader.js +1 -1
  353. package/dist/collection/components/modal/interfaces.js +1 -1
  354. package/dist/collection/components/modal/modal.js +1 -1
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.js +1 -1
  357. package/dist/collection/components/notice/resources.js +1 -1
  358. package/dist/collection/components/option/option.js +1 -1
  359. package/dist/collection/components/option-group/option-group.js +1 -1
  360. package/dist/collection/components/pagination/pagination.js +1 -1
  361. package/dist/collection/components/pagination/resources.js +1 -1
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.js +1 -1
  365. package/dist/collection/components/pick-list/resources.js +1 -1
  366. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  368. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  369. package/dist/collection/components/pick-list-group/resources.js +1 -1
  370. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  371. package/dist/collection/components/pick-list-item/resources.js +1 -1
  372. package/dist/collection/components/popover/PopoverManager.js +1 -1
  373. package/dist/collection/components/popover/popover.js +1 -1
  374. package/dist/collection/components/popover/resources.js +1 -1
  375. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  376. package/dist/collection/components/progress/progress.js +1 -1
  377. package/dist/collection/components/radio-button/radio-button.js +1 -1
  378. package/dist/collection/components/radio-button/resources.js +1 -1
  379. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  380. package/dist/collection/components/radio-group/interfaces.js +1 -1
  381. package/dist/collection/components/radio-group/radio-group.js +1 -1
  382. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  383. package/dist/collection/components/radio-group-item/resources.js +1 -1
  384. package/dist/collection/components/rating/rating.js +1 -1
  385. package/dist/collection/components/rating/resources.js +1 -1
  386. package/dist/collection/components/scrim/resources.js +1 -1
  387. package/dist/collection/components/scrim/scrim.js +1 -1
  388. package/dist/collection/components/select/resources.js +1 -1
  389. package/dist/collection/components/select/select.js +1 -1
  390. package/dist/collection/components/shell/resources.js +1 -1
  391. package/dist/collection/components/shell/shell.js +1 -1
  392. package/dist/collection/components/shell-center-row/resources.js +1 -1
  393. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  394. package/dist/collection/components/shell-panel/resources.js +1 -1
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  396. package/dist/collection/components/slider/slider.js +1 -1
  397. package/dist/collection/components/sortable-list/resources.js +1 -1
  398. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  399. package/dist/collection/components/split-button/resources.js +1 -1
  400. package/dist/collection/components/split-button/split-button.js +1 -1
  401. package/dist/collection/components/stepper/interfaces.js +1 -1
  402. package/dist/collection/components/stepper/stepper.js +1 -1
  403. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  404. package/dist/collection/components/switch/switch.js +1 -1
  405. package/dist/collection/components/tab/interfaces.js +1 -1
  406. package/dist/collection/components/tab/tab.js +1 -1
  407. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  408. package/dist/collection/components/tab-title/tab-title.js +1 -1
  409. package/dist/collection/components/tabs/interfaces.js +1 -1
  410. package/dist/collection/components/tabs/resources.js +1 -1
  411. package/dist/collection/components/tabs/tabs.js +1 -1
  412. package/dist/collection/components/tile/resources.js +1 -1
  413. package/dist/collection/components/tile/tile.js +1 -1
  414. package/dist/collection/components/tile-select/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select/resources.js +1 -1
  416. package/dist/collection/components/tile-select/tile-select.js +1 -1
  417. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  418. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  419. package/dist/collection/components/time-picker/resources.js +1 -1
  420. package/dist/collection/components/time-picker/time-picker.js +1 -1
  421. package/dist/collection/components/tip/resources.js +1 -1
  422. package/dist/collection/components/tip/tip.js +1 -1
  423. package/dist/collection/components/tip-group/tip-group.js +1 -1
  424. package/dist/collection/components/tip-manager/resources.js +1 -1
  425. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  426. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  427. package/dist/collection/components/tooltip/resources.js +1 -1
  428. package/dist/collection/components/tooltip/tooltip.js +1 -1
  429. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  430. package/dist/collection/components/tree/interfaces.js +1 -1
  431. package/dist/collection/components/tree/tree.js +1 -1
  432. package/dist/collection/components/tree-item/interfaces.js +1 -1
  433. package/dist/collection/components/tree-item/resources.js +1 -1
  434. package/dist/collection/components/tree-item/tree-item.js +1 -1
  435. package/dist/collection/components/value-list/resources.js +1 -1
  436. package/dist/collection/components/value-list/value-list.js +1 -1
  437. package/dist/collection/components/value-list-item/resources.js +1 -1
  438. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  439. package/dist/collection/utils/array.js +1 -1
  440. package/dist/collection/utils/conditionalSlot.js +1 -1
  441. package/dist/collection/utils/date.js +1 -1
  442. package/dist/collection/utils/dom.js +1 -1
  443. package/dist/collection/utils/filter.js +1 -1
  444. package/dist/collection/utils/form.js +1 -1
  445. package/dist/collection/utils/globalAttributes.js +1 -1
  446. package/dist/collection/utils/guid.js +1 -1
  447. package/dist/collection/utils/interactive.js +1 -1
  448. package/dist/collection/utils/key.js +1 -1
  449. package/dist/collection/utils/label.js +1 -1
  450. package/dist/collection/utils/locale.js +7 -5
  451. package/dist/collection/utils/math.js +1 -1
  452. package/dist/collection/utils/number.js +1 -1
  453. package/dist/collection/utils/observers.js +1 -1
  454. package/dist/collection/utils/popper.js +1 -1
  455. package/dist/collection/utils/resources.js +1 -1
  456. package/dist/collection/utils/time.js +1 -1
  457. package/dist/components/ExpandToggle.js +4 -2
  458. package/dist/components/Heading.js +1 -1
  459. package/dist/components/action-group.js +1 -1
  460. package/dist/components/action-menu.js +6 -5
  461. package/dist/components/action.js +1 -1
  462. package/dist/components/array.js +1 -1
  463. package/dist/components/button.js +1 -1
  464. package/dist/components/calcite-accordion-item.js +1 -1
  465. package/dist/components/calcite-accordion.js +1 -1
  466. package/dist/components/calcite-action-bar.js +1 -1
  467. package/dist/components/calcite-action-group.js +1 -1
  468. package/dist/components/calcite-action-menu.js +1 -1
  469. package/dist/components/calcite-action-pad.js +1 -1
  470. package/dist/components/calcite-action.js +1 -1
  471. package/dist/components/calcite-alert.js +1 -1
  472. package/dist/components/calcite-avatar.js +1 -1
  473. package/dist/components/calcite-block-section.js +1 -1
  474. package/dist/components/calcite-block.js +1 -1
  475. package/dist/components/calcite-button.js +1 -1
  476. package/dist/components/calcite-card.js +1 -1
  477. package/dist/components/calcite-checkbox.js +1 -1
  478. package/dist/components/calcite-chip.js +1 -1
  479. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  480. package/dist/components/calcite-color-picker-swatch.js +1 -1
  481. package/dist/components/calcite-color-picker.js +1 -1
  482. package/dist/components/calcite-combobox-item-group.js +1 -1
  483. package/dist/components/calcite-combobox-item.js +1 -1
  484. package/dist/components/calcite-combobox.js +1 -1
  485. package/dist/components/calcite-date-picker-day.js +1 -1
  486. package/dist/components/calcite-date-picker-month-header.js +1 -1
  487. package/dist/components/calcite-date-picker-month.js +1 -1
  488. package/dist/components/calcite-date-picker.js +1 -1
  489. package/dist/components/calcite-dropdown-group.js +1 -1
  490. package/dist/components/calcite-dropdown-item.js +1 -1
  491. package/dist/components/calcite-dropdown.js +1 -1
  492. package/dist/components/calcite-fab.js +1 -1
  493. package/dist/components/calcite-filter.js +1 -1
  494. package/dist/components/calcite-flow.js +1 -1
  495. package/dist/components/calcite-graph.js +1 -1
  496. package/dist/components/calcite-handle.js +1 -1
  497. package/dist/components/calcite-icon.js +1 -1
  498. package/dist/components/calcite-inline-editable.js +1 -1
  499. package/dist/components/calcite-input-date-picker.js +1 -1
  500. package/dist/components/calcite-input-message.js +1 -1
  501. package/dist/components/calcite-input-time-picker.js +1 -1
  502. package/dist/components/calcite-input.js +1 -1
  503. package/dist/components/calcite-label.js +1 -1
  504. package/dist/components/calcite-link.js +1 -1
  505. package/dist/components/calcite-list-item-group.js +1 -1
  506. package/dist/components/calcite-list-item.js +1 -1
  507. package/dist/components/calcite-list.js +1 -1
  508. package/dist/components/calcite-loader.js +1 -1
  509. package/dist/components/calcite-modal.js +1 -1
  510. package/dist/components/calcite-notice.js +1 -1
  511. package/dist/components/calcite-option-group.js +1 -1
  512. package/dist/components/calcite-option.js +1 -1
  513. package/dist/components/calcite-pagination.js +1 -1
  514. package/dist/components/calcite-panel.js +1 -1
  515. package/dist/components/calcite-pick-list-group.js +1 -1
  516. package/dist/components/calcite-pick-list-item.js +1 -1
  517. package/dist/components/calcite-pick-list.js +1 -1
  518. package/dist/components/calcite-popover-manager.js +1 -1
  519. package/dist/components/calcite-popover.js +1 -1
  520. package/dist/components/calcite-progress.js +1 -1
  521. package/dist/components/calcite-radio-button-group.js +1 -1
  522. package/dist/components/calcite-radio-button.js +1 -1
  523. package/dist/components/calcite-radio-group-item.js +1 -1
  524. package/dist/components/calcite-radio-group.js +1 -1
  525. package/dist/components/calcite-rating.js +1 -1
  526. package/dist/components/calcite-scrim.js +1 -1
  527. package/dist/components/calcite-select.js +1 -1
  528. package/dist/components/calcite-shell-center-row.js +1 -1
  529. package/dist/components/calcite-shell-panel.js +1 -1
  530. package/dist/components/calcite-shell.js +1 -1
  531. package/dist/components/calcite-slider.js +1 -1
  532. package/dist/components/calcite-sortable-list.js +1 -1
  533. package/dist/components/calcite-split-button.js +1 -1
  534. package/dist/components/calcite-stepper-item.js +1 -1
  535. package/dist/components/calcite-stepper.js +1 -1
  536. package/dist/components/calcite-switch.js +1 -1
  537. package/dist/components/calcite-tab-nav.js +1 -1
  538. package/dist/components/calcite-tab-title.js +1 -1
  539. package/dist/components/calcite-tab.js +1 -1
  540. package/dist/components/calcite-tabs.js +1 -1
  541. package/dist/components/calcite-tile-select-group.js +1 -1
  542. package/dist/components/calcite-tile-select.js +1 -1
  543. package/dist/components/calcite-tile.js +1 -1
  544. package/dist/components/calcite-time-picker.js +1 -1
  545. package/dist/components/calcite-tip-group.js +1 -1
  546. package/dist/components/calcite-tip-manager.js +1 -1
  547. package/dist/components/calcite-tip.js +1 -1
  548. package/dist/components/calcite-tooltip-manager.js +1 -1
  549. package/dist/components/calcite-tooltip.js +1 -1
  550. package/dist/components/calcite-tree-item.js +1 -1
  551. package/dist/components/calcite-tree.js +1 -1
  552. package/dist/components/calcite-value-list-item.js +1 -1
  553. package/dist/components/calcite-value-list.js +1 -1
  554. package/dist/components/checkbox.js +1 -1
  555. package/dist/components/chip.js +1 -1
  556. package/dist/components/color-picker-hex-input.js +1 -1
  557. package/dist/components/color-picker-swatch.js +1 -1
  558. package/dist/components/conditionalSlot.js +1 -1
  559. package/dist/components/date-picker-day.js +1 -1
  560. package/dist/components/date-picker-month-header.js +1 -1
  561. package/dist/components/date-picker-month.js +1 -1
  562. package/dist/components/date-picker.js +1 -1
  563. package/dist/components/date.js +1 -1
  564. package/dist/components/debounce.js +1 -1
  565. package/dist/components/dom.js +1 -1
  566. package/dist/components/dropdown.js +1 -1
  567. package/dist/components/filter.js +1 -1
  568. package/dist/components/forIn.js +1 -1
  569. package/dist/components/form.js +1 -1
  570. package/dist/components/graph.js +1 -1
  571. package/dist/components/guid.js +1 -1
  572. package/dist/components/handle.js +1 -1
  573. package/dist/components/icon.js +1 -1
  574. package/dist/components/index.js +1 -1
  575. package/dist/components/input.js +4 -3
  576. package/dist/components/interactive.js +1 -1
  577. package/dist/components/interfaces.js +1 -1
  578. package/dist/components/interfaces2.js +1 -1
  579. package/dist/components/label.js +1 -1
  580. package/dist/components/label2.js +1 -1
  581. package/dist/components/link.js +1 -1
  582. package/dist/components/loader.js +1 -1
  583. package/dist/components/locale.js +7 -5
  584. package/dist/components/math.js +1 -1
  585. package/dist/components/number.js +1 -1
  586. package/dist/components/observers.js +1 -1
  587. package/dist/components/pick-list-item.js +1 -1
  588. package/dist/components/popover.js +1 -1
  589. package/dist/components/popper.js +1 -1
  590. package/dist/components/progress.js +1 -1
  591. package/dist/components/resources.js +1 -1
  592. package/dist/components/resources2.js +1 -1
  593. package/dist/components/resources3.js +1 -1
  594. package/dist/components/scrim.js +1 -1
  595. package/dist/components/shared-list-render.js +1 -1
  596. package/dist/components/sortable.esm.js +1 -1
  597. package/dist/components/switch.js +1 -1
  598. package/dist/components/tab-nav.js +1 -1
  599. package/dist/components/tab-title.js +1 -1
  600. package/dist/components/tab.js +1 -1
  601. package/dist/components/tabs.js +1 -1
  602. package/dist/components/tile.js +1 -1
  603. package/dist/components/time-picker.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +18 -13
  607. package/dist/esm/{ExpandToggle-c7026669.js → ExpandToggle-8513aca8.js} +8 -6
  608. package/dist/esm/{Heading-d7128dad.js → Heading-82d55c30.js} +2 -2
  609. package/dist/esm/{array-1ebb0fbc.js → array-a2ad0336.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +10 -10
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +13 -12
  614. package/dist/esm/calcite-action-pad.entry.js +9 -9
  615. package/dist/esm/calcite-action.entry.js +6 -6
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +8 -8
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  624. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +4 -4
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +13 -13
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +5 -5
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +7 -7
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +6 -6
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +7 -7
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +3 -3
  668. package/dist/esm/{conditionalSlot-503d3769.js → conditionalSlot-4c17a57c.js} +3 -3
  669. package/dist/esm/{debounce-1241cf91.js → debounce-7071c22f.js} +1 -1
  670. package/dist/esm/{dom-1efdede7.js → dom-c54562ef.js} +2 -2
  671. package/dist/esm/{forIn-fb166749.js → forIn-475b6cb1.js} +2 -2
  672. package/dist/esm/{form-d576db9b.js → form-ea9900af.js} +3 -3
  673. package/dist/esm/{guid-601a38fd.js → guid-444e3d9f.js} +1 -1
  674. package/dist/esm/{index-18760ac4.js → index-896255ac.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-839dc37e.js → interactive-a37c900c.js} +1 -1
  677. package/dist/esm/{interfaces-f2cef67b.js → interfaces-766d38c5.js} +1 -1
  678. package/dist/esm/{label-32ae54d2.js → label-2fe6438e.js} +2 -2
  679. package/dist/esm/loader.js +3 -3
  680. package/dist/esm/{locale-73f68a9f.js → locale-9da91909.js} +8 -6
  681. package/dist/esm/{math-fac5d12a.js → math-69e2d6b1.js} +1 -1
  682. package/dist/esm/{number-8d6b0881.js → number-a4312418.js} +1 -1
  683. package/dist/esm/{observers-b37f2c11.js → observers-3be65db8.js} +1 -1
  684. package/dist/esm/{popper-3b7cddd6.js → popper-58504690.js} +2 -2
  685. package/dist/esm/{resources-facbb78a.js → resources-33472ad8.js} +3 -3
  686. package/dist/esm/{resources-caad26c2.js → resources-6b857809.js} +5 -5
  687. package/dist/esm/{resources-d9adf0aa.js → resources-96a22b05.js} +1 -1
  688. package/dist/esm/{resources-d01af4f2.js → resources-c69295c1.js} +1 -1
  689. package/dist/esm/{sortable.esm-36ae3f9c.js → sortable.esm-7a218f4d.js} +1 -1
  690. package/dist/esm/{utils-a03619ce.js → utils-0a19b71b.js} +1 -1
  691. package/dist/esm-es5/{ExpandToggle-c7026669.js → ExpandToggle-8513aca8.js} +2 -2
  692. package/dist/esm-es5/{Heading-d7128dad.js → Heading-82d55c30.js} +2 -2
  693. package/dist/esm-es5/{array-1ebb0fbc.js → array-a2ad0336.js} +1 -1
  694. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action.entry.js +2 -2
  700. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  701. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  703. package/dist/esm-es5/calcite-button.entry.js +2 -2
  704. package/dist/esm-es5/calcite-card.entry.js +2 -2
  705. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  706. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  707. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  709. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  710. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  712. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  713. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  714. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  716. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  717. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input.entry.js +2 -2
  722. package/dist/esm-es5/calcite-label.entry.js +2 -2
  723. package/dist/esm-es5/calcite-link.entry.js +3 -3
  724. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  726. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  727. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  728. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  730. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  731. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  733. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  738. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  739. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  741. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  748. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite.js +2 -2
  752. package/dist/esm-es5/{conditionalSlot-503d3769.js → conditionalSlot-4c17a57c.js} +2 -2
  753. package/dist/esm-es5/{debounce-1241cf91.js → debounce-7071c22f.js} +1 -1
  754. package/dist/esm-es5/{dom-1efdede7.js → dom-c54562ef.js} +2 -2
  755. package/dist/esm-es5/{forIn-fb166749.js → forIn-475b6cb1.js} +2 -2
  756. package/dist/esm-es5/{form-d576db9b.js → form-ea9900af.js} +2 -2
  757. package/dist/esm-es5/{guid-601a38fd.js → guid-444e3d9f.js} +1 -1
  758. package/dist/esm-es5/{index-18760ac4.js → index-896255ac.js} +1 -1
  759. package/dist/esm-es5/index.js +1 -1
  760. package/dist/esm-es5/{interactive-839dc37e.js → interactive-a37c900c.js} +1 -1
  761. package/dist/esm-es5/{interfaces-f2cef67b.js → interfaces-766d38c5.js} +1 -1
  762. package/dist/esm-es5/{label-32ae54d2.js → label-2fe6438e.js} +2 -2
  763. package/dist/esm-es5/loader.js +2 -2
  764. package/dist/esm-es5/locale-9da91909.js +6 -0
  765. package/dist/esm-es5/{math-fac5d12a.js → math-69e2d6b1.js} +1 -1
  766. package/dist/esm-es5/{number-8d6b0881.js → number-a4312418.js} +1 -1
  767. package/dist/esm-es5/{observers-b37f2c11.js → observers-3be65db8.js} +1 -1
  768. package/dist/esm-es5/{popper-3b7cddd6.js → popper-58504690.js} +2 -2
  769. package/dist/esm-es5/{resources-facbb78a.js → resources-33472ad8.js} +2 -2
  770. package/dist/esm-es5/{resources-caad26c2.js → resources-6b857809.js} +2 -2
  771. package/dist/esm-es5/{resources-d9adf0aa.js → resources-96a22b05.js} +1 -1
  772. package/dist/esm-es5/{resources-d01af4f2.js → resources-c69295c1.js} +1 -1
  773. package/dist/esm-es5/{sortable.esm-36ae3f9c.js → sortable.esm-7a218f4d.js} +1 -1
  774. package/dist/esm-es5/{utils-a03619ce.js → utils-0a19b71b.js} +1 -1
  775. package/dist/extras/docs-json.json +18 -2
  776. package/dist/loader/cdn.js +1 -1
  777. package/dist/loader/index.cjs.js +1 -1
  778. package/dist/loader/index.es2017.js +1 -1
  779. package/dist/loader/index.js +1 -1
  780. package/dist/types/components/input/input.d.ts +5 -1
  781. package/dist/types/components.d.ts +9 -1
  782. package/dist/types/utils/locale.d.ts +1 -1
  783. package/hydrate/index.js +18 -12
  784. package/package.json +1 -1
  785. package/dist/calcite/p-02d45b54.js +0 -6
  786. package/dist/calcite/p-0d04b4ab.system.js +0 -6
  787. package/dist/calcite/p-1b6329d5.entry.js +0 -6
  788. package/dist/calcite/p-21128806.js +0 -6
  789. package/dist/calcite/p-25cfcc1b.js +0 -6
  790. package/dist/calcite/p-314feca3.js +0 -6
  791. package/dist/calcite/p-61337c50.system.js +0 -6
  792. package/dist/calcite/p-8f6cb6af.system.js +0 -6
  793. package/dist/calcite/p-a25f1b43.entry.js +0 -6
  794. package/dist/calcite/p-c61f0196.entry.js +0 -6
  795. package/dist/esm-es5/locale-73f68a9f.js +0 -6
@@ -51,7 +51,11 @@ export declare class Input implements LabelableComponent, FormComponent, Interac
51
51
  /** specify if the input is in loading state */
52
52
  loading: boolean;
53
53
  /** BCP 47 language tag for desired language and country format */
54
- locale?: string;
54
+ locale: string;
55
+ /**
56
+ * standard UniCode numeral system tag for localization
57
+ */
58
+ numberingSystem?: string;
55
59
  /**
56
60
  * Toggles locale formatting for numbers.
57
61
  *
@@ -1499,7 +1499,7 @@ export namespace Components {
1499
1499
  /**
1500
1500
  * BCP 47 language tag for desired language and country format
1501
1501
  */
1502
- "locale"?: string;
1502
+ "locale": string;
1503
1503
  /**
1504
1504
  * Toggles locale formatting for numbers.
1505
1505
  */
@@ -1533,6 +1533,10 @@ export namespace Components {
1533
1533
  * specify the placement of the number buttons
1534
1534
  */
1535
1535
  "numberButtonType"?: InputPlacement;
1536
+ /**
1537
+ * standard UniCode numeral system tag for localization
1538
+ */
1539
+ "numberingSystem"?: string;
1536
1540
  /**
1537
1541
  * explicitly whitelist placeholder attribute
1538
1542
  */
@@ -5719,6 +5723,10 @@ declare namespace LocalJSX {
5719
5723
  * specify the placement of the number buttons
5720
5724
  */
5721
5725
  "numberButtonType"?: InputPlacement;
5726
+ /**
5727
+ * standard UniCode numeral system tag for localization
5728
+ */
5729
+ "numberingSystem"?: string;
5722
5730
  /**
5723
5731
  * This event fires each time a new value is typed and committed.
5724
5732
  */
@@ -3,4 +3,4 @@ export declare function delocalizeNumberString(numberString: string, locale: str
3
3
  export declare function getGroupSeparator(locale: string): string;
4
4
  export declare function getDecimalSeparator(locale: string): string;
5
5
  export declare function getMinusSign(locale: string): string;
6
- export declare function localizeNumberString(numberString: string, locale: string, displayGroupSeparator?: boolean): string;
6
+ export declare function localizeNumberString(numberString: string, locale: string, displayGroupSeparator?: boolean, numberingSystem?: string): string;
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
4
+ * v1.0.0-next.481
5
5
  */
6
6
  'use strict';
7
7
 
@@ -6368,7 +6368,9 @@ function toggleChildActionText({ parent, expanded }) {
6368
6368
  queryActions(parent)
6369
6369
  .filter((el) => el.slot !== SLOTS$o.menuActions)
6370
6370
  .forEach((action) => (action.textEnabled = expanded));
6371
- parent.querySelectorAll("calcite-action-group").forEach((group) => (group.expanded = expanded));
6371
+ parent
6372
+ .querySelectorAll("calcite-action-group, calcite-action-menu")
6373
+ .forEach((el) => (el.expanded = expanded));
6372
6374
  }
6373
6375
  const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
6374
6376
  if (tooltip) {
@@ -8100,9 +8102,9 @@ class ActionMenu {
8100
8102
  this.setTooltipReferenceElement();
8101
8103
  };
8102
8104
  this.setTooltipReferenceElement = () => {
8103
- const { tooltipEl, expanded, menuButtonEl } = this;
8105
+ const { tooltipEl, expanded, menuButtonEl, open } = this;
8104
8106
  if (tooltipEl) {
8105
- tooltipEl.referenceElement = !expanded ? menuButtonEl : null;
8107
+ tooltipEl.referenceElement = !expanded && !open ? menuButtonEl : null;
8106
8108
  }
8107
8109
  };
8108
8110
  this.updateAction = (action, index) => {
@@ -8229,6 +8231,7 @@ class ActionMenu {
8229
8231
  this.menuButtonEl.active = open;
8230
8232
  }
8231
8233
  this.calciteActionMenuOpenChange.emit(open);
8234
+ this.setTooltipReferenceElement();
8232
8235
  }
8233
8236
  closeCalciteActionMenuOnClick(event) {
8234
8237
  const composedPath = event.composedPath();
@@ -8250,8 +8253,8 @@ class ActionMenu {
8250
8253
  focusElement(this.open ? this.menuEl : this.menuButtonEl);
8251
8254
  }
8252
8255
  renderMenuButton() {
8253
- const { label, scale } = this;
8254
- const menuButtonSlot = (hAsync("slot", { name: SLOTS$p.trigger }, hAsync("calcite-action", { class: CSS$O.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label })));
8256
+ const { label, scale, expanded } = this;
8257
+ const menuButtonSlot = (hAsync("slot", { name: SLOTS$p.trigger }, hAsync("calcite-action", { class: CSS$O.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8255
8258
  return menuButtonSlot;
8256
8259
  }
8257
8260
  renderMenuItems() {
@@ -16569,10 +16572,12 @@ function stringContainsNumbers(string) {
16569
16572
  const allDecimalsExceptLast = new RegExp(`[.](?=.*[.])`, "g");
16570
16573
  const everythingExceptNumbersDecimalsAndMinusSigns = new RegExp("[^0-9-.]", "g");
16571
16574
  const defaultGroupSeparator = new RegExp(",", "g");
16572
- function createLocaleNumberFormatter(locale) {
16575
+ const defaultNumberingSystem = new Intl.NumberFormat().resolvedOptions().numberingSystem;
16576
+ function createLocaleNumberFormatter(locale, numberingSystem = defaultNumberingSystem) {
16573
16577
  return new Intl.NumberFormat(locale, {
16574
16578
  minimumFractionDigits: 0,
16575
- maximumFractionDigits: 20
16579
+ maximumFractionDigits: 20,
16580
+ numberingSystem
16576
16581
  });
16577
16582
  }
16578
16583
  function delocalizeNumberString(numberString, locale) {
@@ -16603,12 +16608,12 @@ function getMinusSign(locale) {
16603
16608
  const parts = formatter.formatToParts(-9);
16604
16609
  return parts.find((part) => part.type === "minusSign").value;
16605
16610
  }
16606
- function localizeNumberString(numberString, locale, displayGroupSeparator = false) {
16611
+ function localizeNumberString(numberString, locale, displayGroupSeparator = false, numberingSystem) {
16607
16612
  return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
16608
16613
  if (nonExpoNumString) {
16609
16614
  const number = Number(sanitizeDecimalString(nonExpoNumString.replace(defaultGroupSeparator, "")));
16610
16615
  if (!isNaN(number)) {
16611
- const formatter = createLocaleNumberFormatter(locale);
16616
+ const formatter = createLocaleNumberFormatter(locale, numberingSystem);
16612
16617
  const parts = formatter.formatToParts(number);
16613
16618
  const localizedNumberString = parts
16614
16619
  .map(({ type, value }) => {
@@ -19925,7 +19930,7 @@ class Input {
19925
19930
  };
19926
19931
  this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
19927
19932
  const previousLocalizedValue = this.type === "number"
19928
- ? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
19933
+ ? localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem)
19929
19934
  : "";
19930
19935
  const sanitizedValue = this.type === "number" ? sanitizeNumberString(value) : value;
19931
19936
  const newValue = this.type === "number" && value && !sanitizedValue
@@ -19934,7 +19939,7 @@ class Input {
19934
19939
  : ""
19935
19940
  : sanitizedValue;
19936
19941
  const newLocalizedValue = this.type === "number"
19937
- ? localizeNumberString(newValue, this.locale, this.groupSeparator)
19942
+ ? localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem)
19938
19943
  : "";
19939
19944
  this.setPreviousValue(previousValue || this.value);
19940
19945
  this.previousValueOrigin = origin;
@@ -20201,6 +20206,7 @@ class Input {
20201
20206
  "label": [1],
20202
20207
  "loading": [516],
20203
20208
  "locale": [1],
20209
+ "numberingSystem": [1, "numbering-system"],
20204
20210
  "localeFormat": [4, "locale-format"],
20205
20211
  "max": [514],
20206
20212
  "min": [514],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.479",
3
+ "version": "1.0.0-next.481",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{a as n,i as e,b as r}from"./p-d78d5d1e.js";const t=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],i=new RegExp("[.](?=.*[.])","g"),u=new RegExp("[^0-9-.]","g"),s=new RegExp(",","g");function a(n){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20})}function c(r,t){return n(r,(n=>{const r=n.replace(m(t),"-").replace(o(t),"").replace(g(t),".").replace(i,"").replace(u,"");return e(r)?r:n}))}function o(n){const e=a(n).formatToParts(1234567).find((n=>"group"===n.type)).value;return 0===e.trim().length?" ":e}function g(n){return a(n).formatToParts(1.1).find((n=>"decimal"===n.type)).value}function m(n){return a(n).formatToParts(-9).find((n=>"minusSign"===n.type)).value}function f(e,t,i=!1){return n(e,(n=>{if(n){const e=Number(r(n.replace(s,"")));if(!isNaN(e))return a(t).formatToParts(e).map((({type:n,value:e})=>{switch(n){case"group":return i?o(t):"";case"decimal":return g(t);case"minusSign":return m(t);default:return e}})).reduce(((n,e)=>n+e))}return n}))}export{t as a,c as d,g,f as l}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{f(r.next(e))}catch(e){a(e)}}function u(e){try{f(r["throw"](e))}catch(e){a(e)}}function f(e){e.done?n(e.value):i(e.value).then(o,u)}f((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return f([e,t])}}function f(o){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];i=0}finally{r=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.479
6
- */System.register(["./p-677f82ee.system.js","./p-8f6cb6af.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.a},function(e){n=e.a}],execute:function(){e({a:c,b:f,c:y,d:s,e:w,f:h,g:o,h:g,i:u,l:v,n:p,p:d,s:l});function r(e){if(e===void 0){e=""}if(n.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!n.includes(e)){e=e.split("-")[0]}}return n.includes(e)?e:"en"}var i={};var a={};function o(e){return __awaiter(this,void 0,void 0,(function(){var n,u;return __generator(this,(function(f){switch(f.label){case 0:n=r(e);if(i[n]){return[2,i[n]]}if(!a[n]){a[n]=fetch(t("./assets/date-picker/nls/".concat(n,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(n,'" not found or invalid, falling back to english'));return o("en")}))}return[4,a[n]];case 1:u=f.sent();i[n]=u;return[2,u]}}))}))}function u(e,t,n){var r=e.getTime();var i=!(t instanceof Date)||r>=t.getTime();var a=!(n instanceof Date)||r<=n.getTime();return i&&a}function f(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var i=t instanceof Date&&r<t.getTime();var a=n instanceof Date&&r>n.getTime();if(i){return t}if(a){return n}return e}function c(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function s(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function h(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function p(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function v(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function g(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function d(e,t){var n=t.separator,r=t.unitOrder;var i=w(r);var a=m(e).split(n);return{day:parseInt(a[i.indexOf("d")]),month:parseInt(a[i.indexOf("m")])-1,year:parseInt(a[i.indexOf("y")])}}function m(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function w(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function y(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var b=e("H",2);var D=e("T",{nextMonth:"Next month",prevMonth:"Previous month",year:"Year"})}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{r as t,c as i,h as e,F as a,g as n}from"./p-d71608be.js";import{C as s,I as o,S as r}from"./p-5a90b3ac.js";import{g as l,t as c,f as m}from"./p-4b4c6dd5.js";import{g as h}from"./p-02b0ed6f.js";import{g as p}from"./p-1259a4a5.js";import{c as d}from"./p-40e629ce.js";import{c as u,d as f}from"./p-25cfcc1b.js";const b=["ArrowUp","ArrowDown"],x=["ArrowUp","ArrowDown","End","Home"],k=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",7),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.mutationObserver=d("mutation",(()=>this.getActions())),this.guid=`calcite-action-menu-${p()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{el:t,menuButtonId:i,menuId:e,open:a,label:n}=this,s=l(t,r.trigger)||this.defaultMenuButtonEl;this.menuButtonEl!==s&&(this.disconnectMenuButtonEl(),this.menuButtonEl=s,this.setTooltipReferenceElement(),s&&(s.active=a,s.setAttribute("aria-controls",e),s.setAttribute("aria-expanded",c(a)),s.setAttribute("aria-haspopup","true"),s.id||(s.id=i),s.label||(s.label=n),s.text||(s.text=n),s.addEventListener("click",this.menuButtonClick),s.addEventListener("keydown",this.menuButtonKeyDown),s.addEventListener("keyup",this.menuButtonKeyUp)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("click",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown),t.removeEventListener("keyup",this.menuButtonKeyUp))},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:e}=this;t&&(t.referenceElement=i?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.getActions=()=>{const{el:t}=this,i=l(t,{all:!0,matches:"calcite-action"});this.updateActions(i),this.actionElements=i,this.connectMenuButtonEl()},this.menuButtonKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;this.isValidKey(i,b)&&(t.preventDefault(),e.length&&(this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuButtonKeyDown=t=>{const{key:i}=t;this.isValidKey(i,b)&&t.preventDefault()},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(" "!==i&&"Enter"!==i)this.isValidKey(i,x)&&t.preventDefault();else{t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else this.open=!1},this.menuActionsContainerKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;"Escape"!==i?this.isValidKey(i,x)&&(t.preventDefault(),e.length&&this.handleActionNavigation(i,e)):this.toggleOpen(!1)},this.handleActionNavigation=(t,i)=>{const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=h(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=h(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.getActions(),u(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.disconnectMenuButtonEl(),f(this)}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t)}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){m(this.open?this.menuEl:this.menuButtonEl)}renderMenuButton(){const{label:t,scale:i}=this;return e("slot",{name:r.trigger},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:i,text:t}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:r,placement:l,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:r,offsetDistance:0,open:a,overlayPositioning:c,placement:l,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:t=>this.menuEl=t,role:"menu",tabIndex:-1},e("slot",null)))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:r.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};k.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{k as calcite_action_menu}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{h as t}from"./p-d71608be.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=`h${e.level}`;return delete e.level,t(n,Object.assign({},e),r)};export{r as H,e as c}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{f as t}from"./p-d71608be.js";import{c as o}from"./p-40e629ce.js";const n=new Set;let c;const s={childList:!0};function e(t){c||(c=o("mutation",i)),c.observe(t.el,s)}function f(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{e as c,f as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{f as t,h as e}from"./p-d71608be.js";import{a as o}from"./p-4b4c6dd5.js";import{S as n}from"./p-5a90b3ac.js";import{S as a}from"./p-c0a00fcd.js";const c=150,i=({actionCount:t,actionHeight:e,height:o,groupCount:n})=>Math.max(t-(({height:t,actionHeight:e,groupCount:o})=>Math.floor((t-2*o)/e))({height:o,actionHeight:e,groupCount:n}),0),r=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),l=({actionGroups:e,expanded:o,overflowCount:n})=>{let c=n;e.reverse().forEach((e=>{let n=0;const i=r(e).reverse();i.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),c>0&&i.some((t=>(i.filter((t=>!t.slot)).length>1&&i.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&c--),c<1))),t(e)}))};function s({parent:t,expanded:e}){r(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group").forEach((t=>t.expanded=e))}const p=({expanded:t,intlExpand:n,intlCollapse:a,toggle:c,el:i,position:r,tooltip:l,ref:s,scale:p})=>{const d="rtl"===o(i),u=t?a:n,f=["chevrons-left","chevrons-right"];d&&f.reverse();const h="end"===function(t,e){var o;return t||(null===(o=e.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(r,i);return e("calcite-action",{icon:t?h?f[1]:f[0]:h?f[0]:f[1],onClick:c,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:l,referenceElement:e,expanded:t,ref:s}),scale:p,text:u,textEnabled:t})};export{p as E,l as a,i as g,c as o,r as q,s as t}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- System.register(["./p-677f82ee.system.js","./p-55dde837.system.js","./p-c23ed287.system.js","./p-9da75a1c.system.js"],(function(e){"use strict";var t,n,r,o,i;return{setters:[function(e){t=e.f;n=e.h},function(e){r=e.a},function(e){o=e.S},function(e){i=e.S}],execute:function(){e("t",d);var c=e("o",150);var a=2;var u=function(e){var t=e.height,n=e.actionHeight,r=e.groupCount;return Math.floor((t-r*a)/n)};var l=e("g",(function(e){var t=e.actionCount,n=e.actionHeight,r=e.height,o=e.groupCount;return Math.max(t-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=e("q",(function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===o.trigger:true}))}));var s=e("a",(function(e){var n=e.actionGroups,r=e.expanded,o=e.overflowCount;var c=o;n.reverse().forEach((function(e){var n=0;var o=f(e).reverse();o.forEach((function(e){if(e.slot===i.menuActions){e.removeAttribute("slot");e.textEnabled=r}}));if(c>0){o.some((function(e){var t=o.filter((function(e){return!e.slot}));if(t.length>1&&o.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",i.menuActions);n++;if(n>1){c--}}return c<1}))}t(e)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(e,t){var n;return e||((n=t.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function d(e){var t=e.parent,n=e.expanded;f(t).filter((function(e){return e.slot!==i.menuActions})).forEach((function(e){return e.textEnabled=n}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=n}))}var p=function(e){var t=e.tooltip,n=e.referenceElement,r=e.expanded,o=e.ref;if(t){t.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var g=e("E",(function(e){var t=e.expanded,o=e.intlExpand,i=e.intlCollapse,c=e.toggle,a=e.el,u=e.position,l=e.tooltip,f=e.ref,s=e.scale;var d=r(a)==="rtl";var g=t?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(d){m.reverse()}var x=h(u,a)==="end";var E=x?m[1]:m[0];var y=x?m[0]:m[1];var A=n("calcite-action",{icon:t?E:y,onClick:c,ref:function(e){return p({tooltip:l,referenceElement:e,expanded:t,ref:f})},scale:s,text:g,textEnabled:t});return A}))}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- System.register(["./p-9a0ab637.system.js"],(function(r){"use strict";var e,n,t;return{setters:[function(r){e=r.a;n=r.i;t=r.b}],execute:function(){r({d:f,g:v,l:m});var a=r("a",["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]);var u=new RegExp("[.](?=.*[.])","g");var i=new RegExp("[^0-9-.]","g");var c=new RegExp(",","g");function o(r){return new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:20})}function f(r,t){return e(r,(function(r){var e=r.replace(l(t),"-").replace(s(t),"").replace(v(t),".").replace(u,"").replace(i,"");return n(e)?e:r}))}function s(r){var e=o(r);var n=e.formatToParts(1234567);var t=n.find((function(r){return r.type==="group"})).value;return t.trim().length===0?" ":t}function v(r){var e=o(r);var n=e.formatToParts(1.1);return n.find((function(r){return r.type==="decimal"})).value}function l(r){var e=o(r);var n=e.formatToParts(-9);return n.find((function(r){return r.type==="minusSign"})).value}function m(r,n,a){if(a===void 0){a=false}return e(r,(function(r){if(r){var e=Number(t(r.replace(c,"")));if(!isNaN(e)){var u=o(n);var i=u.formatToParts(e);var f=i.map((function(r){var e=r.type,t=r.value;switch(e){case"group":return a?s(n):"";case"decimal":return v(n);case"minusSign":return l(n);default:return t}})).reduce((function(r,e){return r+e}));return f}}return r}))}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{a as t,r as a,h as i,H as n,g as e}from"./p-d71608be.js";import{a as r,t as s}from"./p-4b4c6dd5.js";import{c as o}from"./p-40e629ce.js";import"./p-1259a4a5.js";const c={},l={},m={s:16,m:24,l:32};const h=class{constructor(t){a(this,t),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var t;null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:t,flipRtl:a,pathData:e,scale:o,textLabel:c}=this,l=r(t),h=m[o],f=!!c,p=[].concat(e||"");return i(n,{"aria-hidden":s(!f),"aria-label":f?c:null,role:f?"img":null},i("svg",{class:{"flip-rtl":"rtl"===l&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${h} ${h}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((t=>i("path","string"==typeof t?{d:t}:{d:t.d,opacity:"opacity"in t?t.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:i,visible:n}=this;a&&n&&(this.pathData=await async function({icon:a,scale:i}){const n=m[i],e=function(t){const a=!isNaN(Number(t.charAt(0))),i=t.split("-");return 1===i.length?a?`i${t}`:t:i.map(((t,i)=>0===i?a?`i${t.toUpperCase()}`:t:t.charAt(0).toUpperCase()+t.slice(1))).join("")}(a),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(c[s])return c[s];l[s]||(l[s]=fetch(t(`./assets/icon/${s}.json`)).then((t=>t.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await l[s];return c[s]=o,o}({icon:a,scale:i}))}waitUntilVisible(t){this.intersectionObserver=o("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{h as calcite_icon}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{r as t,c as i,h as e,H as n,g as a}from"./p-d71608be.js";import{T as o,g as r,s,d as l,a as c,C as h}from"./p-4b4c6dd5.js";import{c as u,d,g as m}from"./p-414f78e6.js";import{s as p,c as b,d as f,H as g}from"./p-296c9d0e.js";import{d as x,g as v,l as w}from"./p-02d45b54.js";import{i as y,p as k,s as z,n as D}from"./p-d78d5d1e.js";import{d as j}from"./p-c1798e47.js";import{c as I}from"./p-40e629ce.js";import{u as E}from"./p-a4e180ff.js";import"./p-1259a4a5.js";const F={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"},M=class{constructor(e){t(this,e),this.calciteInternalInputFocus=i(this,"calciteInternalInputFocus",7),this.calciteInternalInputBlur=i(this,"calciteInternalInputBlur",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.previousValueOrigin="initial",this.mutationObserver=I("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||p(this))},this.clearInputValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&this.calciteInputChange.emit(),this.previousEmittedValue=this.value},this.inputBlurHandler=()=>{this.calciteInternalInputBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.inputFocusHandler=t=>{const i=r(this.el,"action");t.target!==i&&this.setFocus(),this.calciteInternalInputFocus.emit({element:this.childEl,value:this.value})},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=x(t.target.value,this.locale);"insertFromPaste"===t.inputType?(y(i)||t.preventDefault(),this.setValue({nativeEvent:t,origin:"user",value:k(i)}),this.childNumberEl.value=this.localizedValue):this.setValue({nativeEvent:t,origin:"user",value:i})},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...D,"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.emitChangeIfUserModified());const n=v(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.setPreviousEmittedValue=t=>{this.previousEmittedValue="number"===this.type?y(t)?t:"":t},this.setPreviousValue=t=>{this.previousValue="number"===this.type?y(t)?t:"":t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:n,value:a})=>{const o="number"===this.type?w(this.previousValue,this.locale,this.groupSeparator):"",r="number"===this.type?z(a):a,s="number"===this.type&&a&&!r?y(this.previousValue)?this.previousValue:"":r,l="number"===this.type?w(s,this.locale,this.groupSeparator):"";this.setPreviousValue(n||this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==s,this.value=s,"number"===this.type&&(this.localizedValue=l),"direct"===e&&this.setInputValue("number"===this.type?l:s),i&&(this.calciteInputInput.emit({element:this.childEl,nativeEvent:i,value:this.value}).defaultPrevented?(this.value=this.previousValue,this.localizedValue=o):t&&this.emitChangeIfUserModified())},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,i){this.userChangedValue||(this.setValue({origin:"direct",previousValue:i,value:null==t||""==t?"":"number"===this.type?y(t)?t:this.previousValue||"":t}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=s(F,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.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),"number"===this.type&&(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"connected",value:y(this.value)?this.value:""})),u(this),b(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction()}disconnectedCallback(){var t;d(this),f(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(F,this.icon,this.type)}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!y(t)&&(this.setValue({origin:"reset",value:i}),1))}componentDidRender(){E(this)}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=j(r),h=j(o);this.setValue({committing:!0,nativeEvent:n,origin:"user",value:l.toFixed(Math.max(c,h))})}onFormReset(){this.setValue({origin:"reset",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&&!y(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",{"aria-label":this.intlClear||"Clear value",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,f="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,f,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(g,{component:this})))}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"]}}};M.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing: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-left:0.5rem;padding-right: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-left:0.75rem;padding-right: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-left:1rem;padding-right: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;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 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-color:transparent}: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:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 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-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 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:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 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:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 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:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 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{M as calcite_input}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.479
5
- */
6
- import{a as sanitizeExponentialNumberString,i as isValidNumber,b as sanitizeDecimalString}from"./number-8d6b0881.js";var locales=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"];var allDecimalsExceptLast=new RegExp("[.](?=.*[.])","g");var everythingExceptNumbersDecimalsAndMinusSigns=new RegExp("[^0-9-.]","g");var defaultGroupSeparator=new RegExp(",","g");function createLocaleNumberFormatter(e){return new Intl.NumberFormat(e,{minimumFractionDigits:0,maximumFractionDigits:20})}function delocalizeNumberString(e,r){return sanitizeExponentialNumberString(e,(function(e){var a=e.replace(getMinusSign(r),"-").replace(getGroupSeparator(r),"").replace(getDecimalSeparator(r),".").replace(allDecimalsExceptLast,"").replace(everythingExceptNumbersDecimalsAndMinusSigns,"");return isValidNumber(a)?a:e}))}function getGroupSeparator(e){var r=createLocaleNumberFormatter(e);var a=r.formatToParts(1234567);var t=a.find((function(e){return e.type==="group"})).value;return t.trim().length===0?" ":t}function getDecimalSeparator(e){var r=createLocaleNumberFormatter(e);var a=r.formatToParts(1.1);return a.find((function(e){return e.type==="decimal"})).value}function getMinusSign(e){var r=createLocaleNumberFormatter(e);var a=r.formatToParts(-9);return a.find((function(e){return e.type==="minusSign"})).value}function localizeNumberString(e,r,a){if(a===void 0){a=false}return sanitizeExponentialNumberString(e,(function(e){if(e){var t=Number(sanitizeDecimalString(e.replace(defaultGroupSeparator,"")));if(!isNaN(t)){var n=createLocaleNumberFormatter(r);var i=n.formatToParts(t);var u=i.map((function(e){var t=e.type,n=e.value;switch(t){case"group":return a?getGroupSeparator(r):"";case"decimal":return getDecimalSeparator(r);case"minusSign":return getMinusSign(r);default:return n}})).reduce((function(e,r){return e+r}));return u}}return e}))}export{locales as a,delocalizeNumberString as d,getDecimalSeparator as g,localizeNumberString as l};