armtek-uikit-react 1.0.267 → 1.0.269

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 (1751) hide show
  1. package/README.md +110 -0
  2. package/lib/assets/styles.min.css +1 -0
  3. package/lib/assets/styles.min.css.map +1 -0
  4. package/lib/cjs/.cjs +2 -0
  5. package/lib/cjs/_virtual/AsymmetricMatcher.cjs +4 -0
  6. package/lib/cjs/_virtual/ConvertAnsi.cjs +4 -0
  7. package/lib/cjs/_virtual/DOMCollection.cjs +4 -0
  8. package/lib/cjs/_virtual/DOMElement.cjs +4 -0
  9. package/lib/cjs/_virtual/Immutable.cjs +4 -0
  10. package/lib/cjs/_virtual/ReactElement.cjs +4 -0
  11. package/lib/cjs/_virtual/ReactTestComponent.cjs +4 -0
  12. package/lib/cjs/_virtual/___vite-browser-external.cjs +6 -0
  13. package/lib/cjs/_virtual/__vite-browser-external.cjs +4 -0
  14. package/lib/cjs/_virtual/_commonjsHelpers.cjs +38 -0
  15. package/lib/cjs/_virtual/alertRole.cjs +4 -0
  16. package/lib/cjs/_virtual/alertdialogRole.cjs +4 -0
  17. package/lib/cjs/_virtual/applicationRole.cjs +4 -0
  18. package/lib/cjs/_virtual/ariaAbstractRoles.cjs +4 -0
  19. package/lib/cjs/_virtual/ariaDpubRoles.cjs +4 -0
  20. package/lib/cjs/_virtual/ariaGraphicsRoles.cjs +4 -0
  21. package/lib/cjs/_virtual/ariaLiteralRoles.cjs +4 -0
  22. package/lib/cjs/_virtual/ariaPropsMap.cjs +4 -0
  23. package/lib/cjs/_virtual/articleRole.cjs +4 -0
  24. package/lib/cjs/_virtual/bannerRole.cjs +4 -0
  25. package/lib/cjs/_virtual/blockquoteRole.cjs +4 -0
  26. package/lib/cjs/_virtual/buttonRole.cjs +4 -0
  27. package/lib/cjs/_virtual/captionRole.cjs +4 -0
  28. package/lib/cjs/_virtual/cellRole.cjs +4 -0
  29. package/lib/cjs/_virtual/checkboxRole.cjs +4 -0
  30. package/lib/cjs/_virtual/codeRole.cjs +4 -0
  31. package/lib/cjs/_virtual/collections.cjs +4 -0
  32. package/lib/cjs/_virtual/columnheaderRole.cjs +4 -0
  33. package/lib/cjs/_virtual/comboboxRole.cjs +4 -0
  34. package/lib/cjs/_virtual/commandRole.cjs +4 -0
  35. package/lib/cjs/_virtual/complementaryRole.cjs +4 -0
  36. package/lib/cjs/_virtual/compositeRole.cjs +4 -0
  37. package/lib/cjs/_virtual/contentinfoRole.cjs +4 -0
  38. package/lib/cjs/_virtual/definitionRole.cjs +4 -0
  39. package/lib/cjs/_virtual/deletionRole.cjs +4 -0
  40. package/lib/cjs/_virtual/dialogRole.cjs +4 -0
  41. package/lib/cjs/_virtual/directoryRole.cjs +4 -0
  42. package/lib/cjs/_virtual/docAbstractRole.cjs +4 -0
  43. package/lib/cjs/_virtual/docAcknowledgmentsRole.cjs +4 -0
  44. package/lib/cjs/_virtual/docAfterwordRole.cjs +4 -0
  45. package/lib/cjs/_virtual/docAppendixRole.cjs +4 -0
  46. package/lib/cjs/_virtual/docBacklinkRole.cjs +4 -0
  47. package/lib/cjs/_virtual/docBiblioentryRole.cjs +4 -0
  48. package/lib/cjs/_virtual/docBibliographyRole.cjs +4 -0
  49. package/lib/cjs/_virtual/docBibliorefRole.cjs +4 -0
  50. package/lib/cjs/_virtual/docChapterRole.cjs +4 -0
  51. package/lib/cjs/_virtual/docColophonRole.cjs +4 -0
  52. package/lib/cjs/_virtual/docConclusionRole.cjs +4 -0
  53. package/lib/cjs/_virtual/docCoverRole.cjs +4 -0
  54. package/lib/cjs/_virtual/docCreditRole.cjs +4 -0
  55. package/lib/cjs/_virtual/docCreditsRole.cjs +4 -0
  56. package/lib/cjs/_virtual/docDedicationRole.cjs +4 -0
  57. package/lib/cjs/_virtual/docEndnoteRole.cjs +4 -0
  58. package/lib/cjs/_virtual/docEndnotesRole.cjs +4 -0
  59. package/lib/cjs/_virtual/docEpigraphRole.cjs +4 -0
  60. package/lib/cjs/_virtual/docEpilogueRole.cjs +4 -0
  61. package/lib/cjs/_virtual/docErrataRole.cjs +4 -0
  62. package/lib/cjs/_virtual/docExampleRole.cjs +4 -0
  63. package/lib/cjs/_virtual/docFootnoteRole.cjs +4 -0
  64. package/lib/cjs/_virtual/docForewordRole.cjs +4 -0
  65. package/lib/cjs/_virtual/docGlossaryRole.cjs +4 -0
  66. package/lib/cjs/_virtual/docGlossrefRole.cjs +4 -0
  67. package/lib/cjs/_virtual/docIndexRole.cjs +4 -0
  68. package/lib/cjs/_virtual/docIntroductionRole.cjs +4 -0
  69. package/lib/cjs/_virtual/docNoterefRole.cjs +4 -0
  70. package/lib/cjs/_virtual/docNoticeRole.cjs +4 -0
  71. package/lib/cjs/_virtual/docPagebreakRole.cjs +4 -0
  72. package/lib/cjs/_virtual/docPagelistRole.cjs +4 -0
  73. package/lib/cjs/_virtual/docPartRole.cjs +4 -0
  74. package/lib/cjs/_virtual/docPrefaceRole.cjs +4 -0
  75. package/lib/cjs/_virtual/docPrologueRole.cjs +4 -0
  76. package/lib/cjs/_virtual/docPullquoteRole.cjs +4 -0
  77. package/lib/cjs/_virtual/docQnaRole.cjs +4 -0
  78. package/lib/cjs/_virtual/docSubtitleRole.cjs +4 -0
  79. package/lib/cjs/_virtual/docTipRole.cjs +4 -0
  80. package/lib/cjs/_virtual/docTocRole.cjs +4 -0
  81. package/lib/cjs/_virtual/documentRole.cjs +4 -0
  82. package/lib/cjs/_virtual/domMap.cjs +4 -0
  83. package/lib/cjs/_virtual/elementRoleMap.cjs +4 -0
  84. package/lib/cjs/_virtual/emphasisRole.cjs +4 -0
  85. package/lib/cjs/_virtual/escapeHTML.cjs +4 -0
  86. package/lib/cjs/_virtual/feedRole.cjs +4 -0
  87. package/lib/cjs/_virtual/figureRole.cjs +4 -0
  88. package/lib/cjs/_virtual/formRole.cjs +4 -0
  89. package/lib/cjs/_virtual/genericRole.cjs +4 -0
  90. package/lib/cjs/_virtual/graphicsDocumentRole.cjs +4 -0
  91. package/lib/cjs/_virtual/graphicsObjectRole.cjs +4 -0
  92. package/lib/cjs/_virtual/graphicsSymbolRole.cjs +4 -0
  93. package/lib/cjs/_virtual/gridRole.cjs +4 -0
  94. package/lib/cjs/_virtual/gridcellRole.cjs +4 -0
  95. package/lib/cjs/_virtual/groupRole.cjs +4 -0
  96. package/lib/cjs/_virtual/headingRole.cjs +4 -0
  97. package/lib/cjs/_virtual/imgRole.cjs +4 -0
  98. package/lib/cjs/_virtual/index.cjs +5 -0
  99. package/lib/cjs/_virtual/index10.cjs +4 -0
  100. package/lib/cjs/_virtual/index11.cjs +4 -0
  101. package/lib/cjs/_virtual/index2.cjs +5 -0
  102. package/lib/cjs/_virtual/index3.cjs +4 -0
  103. package/lib/cjs/_virtual/index4.cjs +4 -0
  104. package/lib/cjs/_virtual/index5.cjs +4 -0
  105. package/lib/cjs/_virtual/index6.cjs +4 -0
  106. package/lib/cjs/_virtual/index7.cjs +4 -0
  107. package/lib/cjs/_virtual/index8.cjs +4 -0
  108. package/lib/cjs/_virtual/index9.cjs +4 -0
  109. package/lib/cjs/_virtual/inputRole.cjs +4 -0
  110. package/lib/cjs/_virtual/insertionRole.cjs +4 -0
  111. package/lib/cjs/_virtual/iterationDecorator.cjs +4 -0
  112. package/lib/cjs/_virtual/iteratorProxy.cjs +4 -0
  113. package/lib/cjs/_virtual/landmarkRole.cjs +4 -0
  114. package/lib/cjs/_virtual/linkRole.cjs +4 -0
  115. package/lib/cjs/_virtual/listRole.cjs +4 -0
  116. package/lib/cjs/_virtual/listboxRole.cjs +4 -0
  117. package/lib/cjs/_virtual/listitemRole.cjs +4 -0
  118. package/lib/cjs/_virtual/logRole.cjs +4 -0
  119. package/lib/cjs/_virtual/lz-string.cjs +7 -0
  120. package/lib/cjs/_virtual/lz-string2.cjs +4 -0
  121. package/lib/cjs/_virtual/mainRole.cjs +4 -0
  122. package/lib/cjs/_virtual/markup.cjs +4 -0
  123. package/lib/cjs/_virtual/marqueeRole.cjs +4 -0
  124. package/lib/cjs/_virtual/mathRole.cjs +4 -0
  125. package/lib/cjs/_virtual/menuRole.cjs +4 -0
  126. package/lib/cjs/_virtual/menubarRole.cjs +4 -0
  127. package/lib/cjs/_virtual/menuitemRole.cjs +4 -0
  128. package/lib/cjs/_virtual/menuitemcheckboxRole.cjs +4 -0
  129. package/lib/cjs/_virtual/menuitemradioRole.cjs +4 -0
  130. package/lib/cjs/_virtual/meterRole.cjs +4 -0
  131. package/lib/cjs/_virtual/navigationRole.cjs +4 -0
  132. package/lib/cjs/_virtual/noneRole.cjs +4 -0
  133. package/lib/cjs/_virtual/noteRole.cjs +4 -0
  134. package/lib/cjs/_virtual/optionRole.cjs +4 -0
  135. package/lib/cjs/_virtual/paragraphRole.cjs +4 -0
  136. package/lib/cjs/_virtual/presentationRole.cjs +4 -0
  137. package/lib/cjs/_virtual/progressbarRole.cjs +4 -0
  138. package/lib/cjs/_virtual/radioRole.cjs +4 -0
  139. package/lib/cjs/_virtual/radiogroupRole.cjs +4 -0
  140. package/lib/cjs/_virtual/rangeRole.cjs +4 -0
  141. package/lib/cjs/_virtual/react-is.development.cjs +4 -0
  142. package/lib/cjs/_virtual/react-is.production.min.cjs +4 -0
  143. package/lib/cjs/_virtual/regionRole.cjs +4 -0
  144. package/lib/cjs/_virtual/roleElementMap.cjs +4 -0
  145. package/lib/cjs/_virtual/rolesMap.cjs +4 -0
  146. package/lib/cjs/_virtual/roletypeRole.cjs +4 -0
  147. package/lib/cjs/_virtual/rowRole.cjs +4 -0
  148. package/lib/cjs/_virtual/rowgroupRole.cjs +4 -0
  149. package/lib/cjs/_virtual/rowheaderRole.cjs +4 -0
  150. package/lib/cjs/_virtual/scrollbarRole.cjs +4 -0
  151. package/lib/cjs/_virtual/searchRole.cjs +4 -0
  152. package/lib/cjs/_virtual/searchboxRole.cjs +4 -0
  153. package/lib/cjs/_virtual/sectionRole.cjs +4 -0
  154. package/lib/cjs/_virtual/sectionheadRole.cjs +4 -0
  155. package/lib/cjs/_virtual/selectRole.cjs +4 -0
  156. package/lib/cjs/_virtual/separatorRole.cjs +4 -0
  157. package/lib/cjs/_virtual/sliderRole.cjs +4 -0
  158. package/lib/cjs/_virtual/spinbuttonRole.cjs +4 -0
  159. package/lib/cjs/_virtual/statusRole.cjs +4 -0
  160. package/lib/cjs/_virtual/strongRole.cjs +4 -0
  161. package/lib/cjs/_virtual/structureRole.cjs +4 -0
  162. package/lib/cjs/_virtual/subscriptRole.cjs +4 -0
  163. package/lib/cjs/_virtual/superscriptRole.cjs +4 -0
  164. package/lib/cjs/_virtual/switchRole.cjs +4 -0
  165. package/lib/cjs/_virtual/tabRole.cjs +4 -0
  166. package/lib/cjs/_virtual/tableRole.cjs +4 -0
  167. package/lib/cjs/_virtual/tablistRole.cjs +4 -0
  168. package/lib/cjs/_virtual/tabpanelRole.cjs +4 -0
  169. package/lib/cjs/_virtual/termRole.cjs +4 -0
  170. package/lib/cjs/_virtual/textboxRole.cjs +4 -0
  171. package/lib/cjs/_virtual/timeRole.cjs +4 -0
  172. package/lib/cjs/_virtual/timerRole.cjs +4 -0
  173. package/lib/cjs/_virtual/toolbarRole.cjs +4 -0
  174. package/lib/cjs/_virtual/tooltipRole.cjs +4 -0
  175. package/lib/cjs/_virtual/treeRole.cjs +4 -0
  176. package/lib/cjs/_virtual/treegridRole.cjs +4 -0
  177. package/lib/cjs/_virtual/treeitemRole.cjs +4 -0
  178. package/lib/cjs/_virtual/widgetRole.cjs +4 -0
  179. package/lib/cjs/_virtual/windowRole.cjs +4 -0
  180. package/lib/cjs/assets/armtek-uikit-react.css +1188 -0
  181. package/lib/cjs/index.cjs +1 -0
  182. package/lib/cjs/lib/const/styles.cjs +4 -0
  183. package/lib/cjs/lib/helpers/genericForwardRef.cjs +7 -0
  184. package/lib/cjs/lib/helpers/getColorClasses.cjs +14 -0
  185. package/lib/cjs/lib/helpers/getSizeClasses.cjs +11 -0
  186. package/lib/cjs/lib/helpers/getVariantClasses.cjs +11 -0
  187. package/lib/cjs/lib/helpers/helpers.cjs +106 -0
  188. package/lib/cjs/lib/helpers/index.cjs +4 -0
  189. package/lib/cjs/lib/helpers/insertChar.cjs +9 -0
  190. package/lib/cjs/lib/helpers.cjs +2 -0
  191. package/lib/cjs/lib/hooks/useClickOutside.cjs +17 -0
  192. package/lib/cjs/lib/hooks/useEnhancedEffect.cjs +22 -0
  193. package/lib/cjs/lib/hooks/useEventCallback.cjs +32 -0
  194. package/lib/cjs/lib/hooks/useLazyRef.cjs +12 -0
  195. package/lib/cjs/lib/hooks/useTimeout.cjs +38 -0
  196. package/lib/cjs/lib/services/DateService.cjs +62 -0
  197. package/lib/cjs/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.cjs +2504 -0
  198. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.cjs +254 -0
  199. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.cjs +403 -0
  200. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.cjs +188 -0
  201. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.cjs +36 -0
  202. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.cjs +34 -0
  203. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.cjs +38 -0
  204. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.cjs +31 -0
  205. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.cjs +35 -0
  206. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.cjs +64 -0
  207. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.cjs +46 -0
  208. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.cjs +31 -0
  209. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.cjs +33 -0
  210. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.cjs +31 -0
  211. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.cjs +31 -0
  212. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.cjs +33 -0
  213. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.cjs +44 -0
  214. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.cjs +98 -0
  215. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.cjs +26 -0
  216. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.cjs +184 -0
  217. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.cjs +42 -0
  218. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.cjs +42 -0
  219. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.cjs +42 -0
  220. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.cjs +42 -0
  221. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.cjs +39 -0
  222. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.cjs +42 -0
  223. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.cjs +42 -0
  224. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.cjs +39 -0
  225. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.cjs +42 -0
  226. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.cjs +42 -0
  227. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.cjs +42 -0
  228. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.cjs +42 -0
  229. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.cjs +42 -0
  230. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.cjs +42 -0
  231. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.cjs +42 -0
  232. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.cjs +42 -0
  233. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.cjs +42 -0
  234. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.cjs +42 -0
  235. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.cjs +42 -0
  236. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.cjs +42 -0
  237. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.cjs +37 -0
  238. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.cjs +42 -0
  239. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.cjs +42 -0
  240. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.cjs +42 -0
  241. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.cjs +39 -0
  242. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.cjs +42 -0
  243. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.cjs +42 -0
  244. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.cjs +39 -0
  245. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.cjs +42 -0
  246. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.cjs +41 -0
  247. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.cjs +42 -0
  248. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.cjs +42 -0
  249. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.cjs +42 -0
  250. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.cjs +42 -0
  251. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.cjs +36 -0
  252. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.cjs +42 -0
  253. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.cjs +42 -0
  254. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.cjs +42 -0
  255. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.cjs +42 -0
  256. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.cjs +52 -0
  257. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.cjs +56 -0
  258. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.cjs +37 -0
  259. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.cjs +39 -0
  260. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.cjs +36 -0
  261. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.cjs +42 -0
  262. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.cjs +39 -0
  263. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.cjs +37 -0
  264. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.cjs +31 -0
  265. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.cjs +113 -0
  266. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.cjs +31 -0
  267. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.cjs +42 -0
  268. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.cjs +54 -0
  269. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.cjs +31 -0
  270. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.cjs +42 -0
  271. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.cjs +144 -0
  272. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.cjs +36 -0
  273. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.cjs +37 -0
  274. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.cjs +36 -0
  275. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.cjs +31 -0
  276. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.cjs +36 -0
  277. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.cjs +33 -0
  278. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.cjs +40 -0
  279. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.cjs +31 -0
  280. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.cjs +31 -0
  281. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.cjs +36 -0
  282. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.cjs +58 -0
  283. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.cjs +41 -0
  284. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.cjs +43 -0
  285. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.cjs +49 -0
  286. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.cjs +49 -0
  287. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.cjs +65 -0
  288. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.cjs +54 -0
  289. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.cjs +31 -0
  290. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.cjs +59 -0
  291. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.cjs +46 -0
  292. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.cjs +82 -0
  293. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.cjs +46 -0
  294. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.cjs +33 -0
  295. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.cjs +36 -0
  296. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.cjs +31 -0
  297. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.cjs +36 -0
  298. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.cjs +53 -0
  299. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.cjs +38 -0
  300. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.cjs +57 -0
  301. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.cjs +38 -0
  302. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.cjs +38 -0
  303. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.cjs +37 -0
  304. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.cjs +36 -0
  305. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.cjs +31 -0
  306. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.cjs +31 -0
  307. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.cjs +53 -0
  308. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.cjs +31 -0
  309. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.cjs +31 -0
  310. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.cjs +43 -0
  311. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.cjs +46 -0
  312. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.cjs +41 -0
  313. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.cjs +58 -0
  314. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.cjs +44 -0
  315. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.cjs +46 -0
  316. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.cjs +51 -0
  317. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.cjs +40 -0
  318. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.cjs +31 -0
  319. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.cjs +43 -0
  320. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.cjs +43 -0
  321. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.cjs +51 -0
  322. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.cjs +47 -0
  323. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.cjs +39 -0
  324. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.cjs +31 -0
  325. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.cjs +31 -0
  326. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.cjs +31 -0
  327. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.cjs +38 -0
  328. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.cjs +38 -0
  329. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.cjs +39 -0
  330. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.cjs +40 -0
  331. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.cjs +31 -0
  332. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.cjs +41 -0
  333. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.cjs +111 -0
  334. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.cjs +31 -0
  335. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.cjs +31 -0
  336. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.cjs +38 -0
  337. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.cjs +31 -0
  338. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.cjs +37 -0
  339. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.cjs +31 -0
  340. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.cjs +36 -0
  341. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/index.cjs +37 -0
  342. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.cjs +177 -0
  343. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.cjs +203 -0
  344. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.cjs +35 -0
  345. package/lib/cjs/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.cjs +40 -0
  346. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-description.cjs +70 -0
  347. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.cjs +371 -0
  348. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name.cjs +15 -0
  349. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/getRole.cjs +185 -0
  350. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.cjs +104 -0
  351. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.cjs +42 -0
  352. package/lib/cjs/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/util.cjs +87 -0
  353. package/lib/cjs/node_modules/@testing-library/react/dist/@testing-library/react.esm.cjs +285 -0
  354. package/lib/cjs/node_modules/ansi-regex/index.cjs +17 -0
  355. package/lib/cjs/node_modules/array-buffer-byte-length/index.cjs +21 -0
  356. package/lib/cjs/node_modules/available-typed-arrays/index.cjs +23 -0
  357. package/lib/cjs/node_modules/call-bind/callBound.cjs +22 -0
  358. package/lib/cjs/node_modules/call-bind/index.cjs +34 -0
  359. package/lib/cjs/node_modules/call-bind-apply-helpers/actualApply.cjs +19 -0
  360. package/lib/cjs/node_modules/call-bind-apply-helpers/applyBind.cjs +19 -0
  361. package/lib/cjs/node_modules/call-bind-apply-helpers/functionApply.cjs +11 -0
  362. package/lib/cjs/node_modules/call-bind-apply-helpers/functionCall.cjs +11 -0
  363. package/lib/cjs/node_modules/call-bind-apply-helpers/index.cjs +24 -0
  364. package/lib/cjs/node_modules/call-bind-apply-helpers/reflectApply.cjs +11 -0
  365. package/lib/cjs/node_modules/call-bound/index.cjs +28 -0
  366. package/lib/cjs/node_modules/deep-equal/index.cjs +397 -0
  367. package/lib/cjs/node_modules/define-data-property/index.cjs +55 -0
  368. package/lib/cjs/node_modules/define-properties/index.cjs +50 -0
  369. package/lib/cjs/node_modules/dunder-proto/get.cjs +36 -0
  370. package/lib/cjs/node_modules/es-define-property/index.cjs +19 -0
  371. package/lib/cjs/node_modules/es-errors/eval.cjs +11 -0
  372. package/lib/cjs/node_modules/es-errors/index.cjs +11 -0
  373. package/lib/cjs/node_modules/es-errors/range.cjs +11 -0
  374. package/lib/cjs/node_modules/es-errors/ref.cjs +11 -0
  375. package/lib/cjs/node_modules/es-errors/syntax.cjs +11 -0
  376. package/lib/cjs/node_modules/es-errors/type.cjs +11 -0
  377. package/lib/cjs/node_modules/es-errors/uri.cjs +11 -0
  378. package/lib/cjs/node_modules/es-get-iterator/index.cjs +150 -0
  379. package/lib/cjs/node_modules/es-object-atoms/index.cjs +11 -0
  380. package/lib/cjs/node_modules/for-each/index.cjs +64 -0
  381. package/lib/cjs/node_modules/function-bind/implementation.cjs +79 -0
  382. package/lib/cjs/node_modules/function-bind/index.cjs +13 -0
  383. package/lib/cjs/node_modules/functions-have-names/index.cjs +36 -0
  384. package/lib/cjs/node_modules/get-intrinsic/index.cjs +358 -0
  385. package/lib/cjs/node_modules/get-proto/Object.getPrototypeOf.cjs +13 -0
  386. package/lib/cjs/node_modules/get-proto/Reflect.getPrototypeOf.cjs +11 -0
  387. package/lib/cjs/node_modules/get-proto/index.cjs +26 -0
  388. package/lib/cjs/node_modules/gopd/gOPD.cjs +11 -0
  389. package/lib/cjs/node_modules/gopd/index.cjs +20 -0
  390. package/lib/cjs/node_modules/has-bigints/index.cjs +14 -0
  391. package/lib/cjs/node_modules/has-property-descriptors/index.cjs +26 -0
  392. package/lib/cjs/node_modules/has-symbols/index.cjs +28 -0
  393. package/lib/cjs/node_modules/has-symbols/shams.cjs +58 -0
  394. package/lib/cjs/node_modules/has-tostringtag/shams.cjs +15 -0
  395. package/lib/cjs/node_modules/hasown/index.cjs +15 -0
  396. package/lib/cjs/node_modules/internal-slot/index.cjs +78 -0
  397. package/lib/cjs/node_modules/is-arguments/index.cjs +32 -0
  398. package/lib/cjs/node_modules/is-array-buffer/index.cjs +40 -0
  399. package/lib/cjs/node_modules/is-bigint/index.cjs +36 -0
  400. package/lib/cjs/node_modules/is-boolean-object/index.cjs +34 -0
  401. package/lib/cjs/node_modules/is-callable/index.cjs +120 -0
  402. package/lib/cjs/node_modules/is-date-object/index.cjs +31 -0
  403. package/lib/cjs/node_modules/is-map/index.cjs +43 -0
  404. package/lib/cjs/node_modules/is-number-object/index.cjs +34 -0
  405. package/lib/cjs/node_modules/is-regex/index.cjs +70 -0
  406. package/lib/cjs/node_modules/is-set/index.cjs +43 -0
  407. package/lib/cjs/node_modules/is-shared-array-buffer/index.cjs +26 -0
  408. package/lib/cjs/node_modules/is-string/index.cjs +34 -0
  409. package/lib/cjs/node_modules/is-symbol/index.cjs +44 -0
  410. package/lib/cjs/node_modules/is-weakmap/index.cjs +43 -0
  411. package/lib/cjs/node_modules/is-weakset/index.cjs +41 -0
  412. package/lib/cjs/node_modules/isarray/index.cjs +14 -0
  413. package/lib/cjs/node_modules/lz-string/libs/lz-string.cjs +458 -0
  414. package/lib/cjs/node_modules/math-intrinsics/abs.cjs +11 -0
  415. package/lib/cjs/node_modules/math-intrinsics/floor.cjs +11 -0
  416. package/lib/cjs/node_modules/math-intrinsics/isNaN.cjs +13 -0
  417. package/lib/cjs/node_modules/math-intrinsics/max.cjs +11 -0
  418. package/lib/cjs/node_modules/math-intrinsics/min.cjs +11 -0
  419. package/lib/cjs/node_modules/math-intrinsics/pow.cjs +11 -0
  420. package/lib/cjs/node_modules/math-intrinsics/round.cjs +11 -0
  421. package/lib/cjs/node_modules/math-intrinsics/sign.cjs +18 -0
  422. package/lib/cjs/node_modules/object-inspect/index.cjs +537 -0
  423. package/lib/cjs/node_modules/object-is/implementation.cjs +25 -0
  424. package/lib/cjs/node_modules/object-is/index.cjs +27 -0
  425. package/lib/cjs/node_modules/object-is/polyfill.cjs +15 -0
  426. package/lib/cjs/node_modules/object-is/shim.cjs +23 -0
  427. package/lib/cjs/node_modules/object-keys/implementation.cjs +125 -0
  428. package/lib/cjs/node_modules/object-keys/index.cjs +39 -0
  429. package/lib/cjs/node_modules/object-keys/isArguments.cjs +19 -0
  430. package/lib/cjs/node_modules/object.assign/implementation.cjs +52 -0
  431. package/lib/cjs/node_modules/object.assign/index.cjs +30 -0
  432. package/lib/cjs/node_modules/object.assign/polyfill.cjs +53 -0
  433. package/lib/cjs/node_modules/object.assign/shim.cjs +25 -0
  434. package/lib/cjs/node_modules/possible-typed-array-names/index.cjs +24 -0
  435. package/lib/cjs/node_modules/pretty-format/build/collections.cjs +121 -0
  436. package/lib/cjs/node_modules/pretty-format/build/index.cjs +386 -0
  437. package/lib/cjs/node_modules/pretty-format/build/plugins/AsymmetricMatcher.cjs +77 -0
  438. package/lib/cjs/node_modules/pretty-format/build/plugins/ConvertAnsi.cjs +76 -0
  439. package/lib/cjs/node_modules/pretty-format/build/plugins/DOMCollection.cjs +54 -0
  440. package/lib/cjs/node_modules/pretty-format/build/plugins/DOMElement.cjs +92 -0
  441. package/lib/cjs/node_modules/pretty-format/build/plugins/Immutable.cjs +161 -0
  442. package/lib/cjs/node_modules/pretty-format/build/plugins/ReactElement.cjs +135 -0
  443. package/lib/cjs/node_modules/pretty-format/build/plugins/ReactTestComponent.cjs +66 -0
  444. package/lib/cjs/node_modules/pretty-format/build/plugins/lib/escapeHTML.cjs +17 -0
  445. package/lib/cjs/node_modules/pretty-format/build/plugins/lib/markup.cjs +59 -0
  446. package/lib/cjs/node_modules/pretty-format/node_modules/ansi-styles/index.cjs +144 -0
  447. package/lib/cjs/node_modules/react-is/cjs/react-is.development.cjs +191 -0
  448. package/lib/cjs/node_modules/react-is/cjs/react-is.production.min.cjs +115 -0
  449. package/lib/cjs/node_modules/react-is/index.cjs +17 -0
  450. package/lib/cjs/node_modules/regexp.prototype.flags/implementation.cjs +46 -0
  451. package/lib/cjs/node_modules/regexp.prototype.flags/index.cjs +27 -0
  452. package/lib/cjs/node_modules/regexp.prototype.flags/polyfill.cjs +39 -0
  453. package/lib/cjs/node_modules/regexp.prototype.flags/shim.cjs +38 -0
  454. package/lib/cjs/node_modules/safe-regex-test/index.cjs +25 -0
  455. package/lib/cjs/node_modules/set-function-length/index.cjs +61 -0
  456. package/lib/cjs/node_modules/set-function-name/index.cjs +44 -0
  457. package/lib/cjs/node_modules/side-channel/index.cjs +47 -0
  458. package/lib/cjs/node_modules/side-channel-list/index.cjs +99 -0
  459. package/lib/cjs/node_modules/side-channel-map/index.cjs +63 -0
  460. package/lib/cjs/node_modules/side-channel-weakmap/index.cjs +81 -0
  461. package/lib/cjs/node_modules/stop-iteration-iterator/index.cjs +54 -0
  462. package/lib/cjs/node_modules/which-boxed-primitive/index.cjs +40 -0
  463. package/lib/cjs/node_modules/which-collection/index.cjs +35 -0
  464. package/lib/cjs/node_modules/which-typed-array/index.cjs +123 -0
  465. package/lib/cjs/types/theme.cjs +1 -0
  466. package/lib/cjs/ui/Accordion/Accordion.cjs +89 -0
  467. package/lib/cjs/ui/Accordion/Accordion.classes.cjs +32 -0
  468. package/lib/cjs/ui/Accordion/AccordionHeading.cjs +27 -0
  469. package/lib/cjs/ui/Accordion/index.cjs +6 -0
  470. package/lib/cjs/ui/Accordion.cjs +2 -0
  471. package/lib/cjs/ui/Adornment/Adornment.cjs +30 -0
  472. package/lib/cjs/ui/Adornment/index.cjs +5 -0
  473. package/lib/cjs/ui/Adornment.cjs +2 -0
  474. package/lib/cjs/ui/Alert/Alert.cjs +33 -0
  475. package/lib/cjs/ui/Alert/index.cjs +4 -0
  476. package/lib/cjs/ui/Alert.cjs +2 -0
  477. package/lib/cjs/ui/Avatar/Avatar.cjs +35 -0
  478. package/lib/cjs/ui/Avatar/index.cjs +4 -0
  479. package/lib/cjs/ui/Avatar.cjs +2 -0
  480. package/lib/cjs/ui/AvatarGroup/AvatarGroup.cjs +23 -0
  481. package/lib/cjs/ui/AvatarGroup/index.cjs +4 -0
  482. package/lib/cjs/ui/AvatarGroup.cjs +2 -0
  483. package/lib/cjs/ui/BackDrop/BackDrop.cjs +17 -0
  484. package/lib/cjs/ui/BackDrop/BackDropBase.cjs +27 -0
  485. package/lib/cjs/ui/BackDrop/index.cjs +4 -0
  486. package/lib/cjs/ui/BackDrop.cjs +2 -0
  487. package/lib/cjs/ui/Badge/Badge.cjs +21 -0
  488. package/lib/cjs/ui/Badge/index.cjs +4 -0
  489. package/lib/cjs/ui/Badge.cjs +2 -0
  490. package/lib/cjs/ui/Button/Button.cjs +45 -0
  491. package/lib/cjs/ui/Button/index.cjs +4 -0
  492. package/lib/cjs/ui/Button.cjs +2 -0
  493. package/lib/cjs/ui/ButtonGroup/ButtonGroup.cjs +23 -0
  494. package/lib/cjs/ui/ButtonGroup/index.cjs +4 -0
  495. package/lib/cjs/ui/ButtonGroup.cjs +2 -0
  496. package/lib/cjs/ui/ButtonIcon/ButtonIcon.cjs +20 -0
  497. package/lib/cjs/ui/ButtonIcon/index.cjs +4 -0
  498. package/lib/cjs/ui/ButtonIcon.cjs +2 -0
  499. package/lib/cjs/ui/Card/Card.cjs +9 -0
  500. package/lib/cjs/ui/Card/index.cjs +4 -0
  501. package/lib/cjs/ui/Card.cjs +2 -0
  502. package/lib/cjs/ui/Chip/Chip.cjs +43 -0
  503. package/lib/cjs/ui/Chip/index.cjs +4 -0
  504. package/lib/cjs/ui/Chip.cjs +2 -0
  505. package/lib/cjs/ui/Dropdown/Dropdown.cjs +33 -0
  506. package/lib/cjs/ui/Dropdown/index.cjs +4 -0
  507. package/lib/cjs/ui/Dropdown.cjs +2 -0
  508. package/lib/cjs/ui/Form/Checkbox/Checkbox.cjs +47 -0
  509. package/lib/cjs/ui/Form/Checkbox/const.cjs +4 -0
  510. package/lib/cjs/ui/Form/Checkbox/index.cjs +4 -0
  511. package/lib/cjs/ui/Form/Checkbox.cjs +2 -0
  512. package/lib/cjs/ui/Form/DateField/DateField.cjs +158 -0
  513. package/lib/cjs/ui/Form/DateField/index.cjs +4 -0
  514. package/lib/cjs/ui/Form/DateField/testUtils.cjs +33 -0
  515. package/lib/cjs/ui/Form/DateField/testUtils.d.ts +1 -0
  516. package/lib/cjs/ui/Form/DateField.cjs +2 -0
  517. package/lib/cjs/ui/Form/DatePicker/DatePicker.cjs +111 -0
  518. package/lib/cjs/ui/Form/DatePicker/index.cjs +4 -0
  519. package/lib/cjs/ui/Form/DatePicker.cjs +2 -0
  520. package/lib/cjs/ui/Form/FormControls/FormControls.cjs +22 -0
  521. package/lib/cjs/ui/Form/FormControls/const.cjs +6 -0
  522. package/lib/cjs/ui/Form/FormControls/index.cjs +4 -0
  523. package/lib/cjs/ui/Form/FormControls.cjs +2 -0
  524. package/lib/cjs/ui/Form/Interval/Interval.cjs +76 -0
  525. package/lib/cjs/ui/Form/Interval/IntervalSlide.cjs +29 -0
  526. package/lib/cjs/ui/Form/Interval/index.cjs +6 -0
  527. package/lib/cjs/ui/Form/Interval.cjs +2 -0
  528. package/lib/cjs/ui/Form/Password/Password.cjs +25 -0
  529. package/lib/cjs/ui/Form/Password/index.cjs +4 -0
  530. package/lib/cjs/ui/Form/Password.cjs +2 -0
  531. package/lib/cjs/ui/Form/Period/Period.cjs +139 -0
  532. package/lib/cjs/ui/Form/Period/index.cjs +4 -0
  533. package/lib/cjs/ui/Form/Period.cjs +2 -0
  534. package/lib/cjs/ui/Form/PeriodSelect/PeriodSelect.cjs +15 -0
  535. package/lib/cjs/ui/Form/PeriodSelect/index.cjs +4 -0
  536. package/lib/cjs/ui/Form/PeriodSelect.cjs +2 -0
  537. package/lib/cjs/ui/Form/Radio/Radio.cjs +9 -0
  538. package/lib/cjs/ui/Form/Radio/index.cjs +4 -0
  539. package/lib/cjs/ui/Form/Radio.cjs +2 -0
  540. package/lib/cjs/ui/Form/Rating/Rating.cjs +50 -0
  541. package/lib/cjs/ui/Form/Rating/const.cjs +7 -0
  542. package/lib/cjs/ui/Form/Rating/index.cjs +4 -0
  543. package/lib/cjs/ui/Form/Rating.cjs +2 -0
  544. package/lib/cjs/ui/Form/Select/Select.cjs +213 -0
  545. package/lib/cjs/ui/Form/Select/SelectOptionList.cjs +25 -0
  546. package/lib/cjs/ui/Form/Select/SelectOptionsContainer.cjs +14 -0
  547. package/lib/cjs/ui/Form/Select/SelectSummary.cjs +56 -0
  548. package/lib/cjs/ui/Form/Select/index.cjs +8 -0
  549. package/lib/cjs/ui/Form/Select.cjs +2 -0
  550. package/lib/cjs/ui/Form/Switch/Switch.cjs +15 -0
  551. package/lib/cjs/ui/Form/Switch/index.cjs +4 -0
  552. package/lib/cjs/ui/Form/Switch.cjs +2 -0
  553. package/lib/cjs/ui/Form/TextArea/TextArea.cjs +34 -0
  554. package/lib/cjs/ui/Form/TextArea/index.cjs +4 -0
  555. package/lib/cjs/ui/Form/TextArea.cjs +2 -0
  556. package/lib/cjs/ui/Form/TextField/TextField.cjs +218 -0
  557. package/lib/cjs/ui/Form/TextField/index.cjs +6 -0
  558. package/lib/cjs/ui/Form/TextField.cjs +2 -0
  559. package/lib/cjs/ui/Form/TimeField/TimeField.cjs +9 -0
  560. package/lib/cjs/ui/Form/TimeField/TimeField.d.ts +28 -0
  561. package/lib/cjs/ui/Form/TimeField/index.cjs +4 -0
  562. package/lib/cjs/ui/Form/TimeField.cjs +2 -0
  563. package/lib/cjs/ui/Form/TimePicker/TimePicker.cjs +13 -0
  564. package/lib/cjs/ui/Form/TimePicker/index.cjs +4 -0
  565. package/lib/cjs/ui/Form/TimePicker.cjs +2 -0
  566. package/lib/cjs/ui/HelperText/HelperText.cjs +18 -0
  567. package/lib/cjs/ui/HelperText/index.cjs +4 -0
  568. package/lib/cjs/ui/HelperText.cjs +2 -0
  569. package/lib/cjs/ui/Icon/Icon.cjs +29 -0
  570. package/lib/cjs/ui/Icon/Mi.cjs +15 -0
  571. package/lib/cjs/ui/Icon/Mis.cjs +9 -0
  572. package/lib/cjs/ui/Icon/index.cjs +8 -0
  573. package/lib/cjs/ui/Icon.cjs +2 -0
  574. package/lib/cjs/ui/Link/Link.cjs +33 -0
  575. package/lib/cjs/ui/Link/index.cjs +4 -0
  576. package/lib/cjs/ui/Link.cjs +2 -0
  577. package/lib/cjs/ui/List/ListItem.cjs +44 -0
  578. package/lib/cjs/ui/List/index.cjs +4 -0
  579. package/lib/cjs/ui/List.cjs +2 -0
  580. package/lib/cjs/ui/Loader/Loader.cjs +19 -0
  581. package/lib/cjs/ui/Loader/index.cjs +4 -0
  582. package/lib/cjs/ui/Loader.cjs +2 -0
  583. package/lib/cjs/ui/Logo/Logo.cjs +46 -0
  584. package/lib/cjs/ui/Logo/index.cjs +4 -0
  585. package/lib/cjs/ui/Logo.cjs +2 -0
  586. package/lib/cjs/ui/Modal/BaseModal.cjs +35 -0
  587. package/lib/cjs/ui/Modal/Modal.cjs +87 -0
  588. package/lib/cjs/ui/Modal/const.cjs +6 -0
  589. package/lib/cjs/ui/Modal/index.cjs +4 -0
  590. package/lib/cjs/ui/Modal.cjs +2 -0
  591. package/lib/cjs/ui/Pagination/Pagination.cjs +81 -0
  592. package/lib/cjs/ui/Pagination/index.cjs +4 -0
  593. package/lib/cjs/ui/Pagination.cjs +2 -0
  594. package/lib/cjs/ui/Paper/Paper.cjs +19 -0
  595. package/lib/cjs/ui/Paper/index.cjs +4 -0
  596. package/lib/cjs/ui/Paper.cjs +2 -0
  597. package/lib/cjs/ui/Popover/Popover.cjs +21 -0
  598. package/lib/cjs/ui/Popover/index.cjs +4 -0
  599. package/lib/cjs/ui/Popover.cjs +2 -0
  600. package/lib/cjs/ui/Popper/Popper.cjs +12 -0
  601. package/lib/cjs/ui/Popper/PopperBase.cjs +50 -0
  602. package/lib/cjs/ui/Popper/index.cjs +6 -0
  603. package/lib/cjs/ui/Popper.cjs +2 -0
  604. package/lib/cjs/ui/Skeleton/Skeleton.cjs +20 -0
  605. package/lib/cjs/ui/Skeleton/index.cjs +4 -0
  606. package/lib/cjs/ui/Skeleton.cjs +2 -0
  607. package/lib/cjs/ui/Slider/RcSlider.cjs +1 -0
  608. package/lib/cjs/ui/Slider/Slider.cjs +24 -0
  609. package/lib/cjs/ui/Slider/index.cjs +4 -0
  610. package/lib/cjs/ui/Slider.cjs +2 -0
  611. package/lib/cjs/ui/Stack/Stack.cjs +38 -0
  612. package/lib/cjs/ui/Stack/index.cjs +4 -0
  613. package/lib/cjs/ui/Stack.cjs +2 -0
  614. package/lib/cjs/ui/Status/Status.cjs +25 -0
  615. package/lib/cjs/ui/Status/index.cjs +4 -0
  616. package/lib/cjs/ui/Status.cjs +2 -0
  617. package/lib/cjs/ui/Stepper/StepItem.cjs +35 -0
  618. package/lib/cjs/ui/Stepper/StepItemIcon.cjs +18 -0
  619. package/lib/cjs/ui/Stepper/Stepper.cjs +29 -0
  620. package/lib/cjs/ui/Stepper/index.cjs +4 -0
  621. package/lib/cjs/ui/Stepper.cjs +2 -0
  622. package/lib/cjs/ui/Table/Table.cjs +38 -0
  623. package/lib/cjs/ui/Table/TableBase.cjs +14 -0
  624. package/lib/cjs/ui/Table/TableCell.cjs +23 -0
  625. package/lib/cjs/ui/Table/TableRow.cjs +15 -0
  626. package/lib/cjs/ui/Table/index.cjs +8 -0
  627. package/lib/cjs/ui/Table.cjs +2 -0
  628. package/lib/cjs/ui/Tooltip/Tooltip.cjs +65 -0
  629. package/lib/cjs/ui/Tooltip/index.cjs +4 -0
  630. package/lib/cjs/ui/Tooltip.cjs +2 -0
  631. package/lib/esm/.d.ts +1 -0
  632. package/lib/esm/.js +1 -0
  633. package/lib/esm/_virtual/AsymmetricMatcher.js +4 -0
  634. package/lib/esm/_virtual/ConvertAnsi.js +4 -0
  635. package/lib/esm/_virtual/DOMCollection.js +4 -0
  636. package/lib/esm/_virtual/DOMElement.js +4 -0
  637. package/lib/esm/_virtual/Immutable.js +4 -0
  638. package/lib/esm/_virtual/ReactElement.js +4 -0
  639. package/lib/esm/_virtual/ReactTestComponent.js +4 -0
  640. package/lib/esm/_virtual/___vite-browser-external.js +6 -0
  641. package/lib/esm/_virtual/__vite-browser-external.js +4 -0
  642. package/lib/esm/_virtual/_commonjsHelpers.js +38 -0
  643. package/lib/esm/_virtual/alertRole.js +4 -0
  644. package/lib/esm/_virtual/alertdialogRole.js +4 -0
  645. package/lib/esm/_virtual/applicationRole.js +4 -0
  646. package/lib/esm/_virtual/ariaAbstractRoles.js +4 -0
  647. package/lib/esm/_virtual/ariaDpubRoles.js +4 -0
  648. package/lib/esm/_virtual/ariaGraphicsRoles.js +4 -0
  649. package/lib/esm/_virtual/ariaLiteralRoles.js +4 -0
  650. package/lib/esm/_virtual/ariaPropsMap.js +4 -0
  651. package/lib/esm/_virtual/articleRole.js +4 -0
  652. package/lib/esm/_virtual/bannerRole.js +4 -0
  653. package/lib/esm/_virtual/blockquoteRole.js +4 -0
  654. package/lib/esm/_virtual/buttonRole.js +4 -0
  655. package/lib/esm/_virtual/captionRole.js +4 -0
  656. package/lib/esm/_virtual/cellRole.js +4 -0
  657. package/lib/esm/_virtual/checkboxRole.js +4 -0
  658. package/lib/esm/_virtual/codeRole.js +4 -0
  659. package/lib/esm/_virtual/collections.js +4 -0
  660. package/lib/esm/_virtual/columnheaderRole.js +4 -0
  661. package/lib/esm/_virtual/comboboxRole.js +4 -0
  662. package/lib/esm/_virtual/commandRole.js +4 -0
  663. package/lib/esm/_virtual/complementaryRole.js +4 -0
  664. package/lib/esm/_virtual/compositeRole.js +4 -0
  665. package/lib/esm/_virtual/contentinfoRole.js +4 -0
  666. package/lib/esm/_virtual/definitionRole.js +4 -0
  667. package/lib/esm/_virtual/deletionRole.js +4 -0
  668. package/lib/esm/_virtual/dialogRole.js +4 -0
  669. package/lib/esm/_virtual/directoryRole.js +4 -0
  670. package/lib/esm/_virtual/docAbstractRole.js +4 -0
  671. package/lib/esm/_virtual/docAcknowledgmentsRole.js +4 -0
  672. package/lib/esm/_virtual/docAfterwordRole.js +4 -0
  673. package/lib/esm/_virtual/docAppendixRole.js +4 -0
  674. package/lib/esm/_virtual/docBacklinkRole.js +4 -0
  675. package/lib/esm/_virtual/docBiblioentryRole.js +4 -0
  676. package/lib/esm/_virtual/docBibliographyRole.js +4 -0
  677. package/lib/esm/_virtual/docBibliorefRole.js +4 -0
  678. package/lib/esm/_virtual/docChapterRole.js +4 -0
  679. package/lib/esm/_virtual/docColophonRole.js +4 -0
  680. package/lib/esm/_virtual/docConclusionRole.js +4 -0
  681. package/lib/esm/_virtual/docCoverRole.js +4 -0
  682. package/lib/esm/_virtual/docCreditRole.js +4 -0
  683. package/lib/esm/_virtual/docCreditsRole.js +4 -0
  684. package/lib/esm/_virtual/docDedicationRole.js +4 -0
  685. package/lib/esm/_virtual/docEndnoteRole.js +4 -0
  686. package/lib/esm/_virtual/docEndnotesRole.js +4 -0
  687. package/lib/esm/_virtual/docEpigraphRole.js +4 -0
  688. package/lib/esm/_virtual/docEpilogueRole.js +4 -0
  689. package/lib/esm/_virtual/docErrataRole.js +4 -0
  690. package/lib/esm/_virtual/docExampleRole.js +4 -0
  691. package/lib/esm/_virtual/docFootnoteRole.js +4 -0
  692. package/lib/esm/_virtual/docForewordRole.js +4 -0
  693. package/lib/esm/_virtual/docGlossaryRole.js +4 -0
  694. package/lib/esm/_virtual/docGlossrefRole.js +4 -0
  695. package/lib/esm/_virtual/docIndexRole.js +4 -0
  696. package/lib/esm/_virtual/docIntroductionRole.js +4 -0
  697. package/lib/esm/_virtual/docNoterefRole.js +4 -0
  698. package/lib/esm/_virtual/docNoticeRole.js +4 -0
  699. package/lib/esm/_virtual/docPagebreakRole.js +4 -0
  700. package/lib/esm/_virtual/docPagelistRole.js +4 -0
  701. package/lib/esm/_virtual/docPartRole.js +4 -0
  702. package/lib/esm/_virtual/docPrefaceRole.js +4 -0
  703. package/lib/esm/_virtual/docPrologueRole.js +4 -0
  704. package/lib/esm/_virtual/docPullquoteRole.js +4 -0
  705. package/lib/esm/_virtual/docQnaRole.js +4 -0
  706. package/lib/esm/_virtual/docSubtitleRole.js +4 -0
  707. package/lib/esm/_virtual/docTipRole.js +4 -0
  708. package/lib/esm/_virtual/docTocRole.js +4 -0
  709. package/lib/esm/_virtual/documentRole.js +4 -0
  710. package/lib/esm/_virtual/domMap.js +4 -0
  711. package/lib/esm/_virtual/elementRoleMap.js +4 -0
  712. package/lib/esm/_virtual/emphasisRole.js +4 -0
  713. package/lib/esm/_virtual/escapeHTML.js +4 -0
  714. package/lib/esm/_virtual/feedRole.js +4 -0
  715. package/lib/esm/_virtual/figureRole.js +4 -0
  716. package/lib/esm/_virtual/formRole.js +4 -0
  717. package/lib/esm/_virtual/genericRole.js +4 -0
  718. package/lib/esm/_virtual/graphicsDocumentRole.js +4 -0
  719. package/lib/esm/_virtual/graphicsObjectRole.js +4 -0
  720. package/lib/esm/_virtual/graphicsSymbolRole.js +4 -0
  721. package/lib/esm/_virtual/gridRole.js +4 -0
  722. package/lib/esm/_virtual/gridcellRole.js +4 -0
  723. package/lib/esm/_virtual/groupRole.js +4 -0
  724. package/lib/esm/_virtual/headingRole.js +4 -0
  725. package/lib/esm/_virtual/imgRole.js +4 -0
  726. package/lib/esm/_virtual/index.js +5 -0
  727. package/lib/esm/_virtual/index10.js +4 -0
  728. package/lib/esm/_virtual/index11.js +4 -0
  729. package/lib/esm/_virtual/index2.js +5 -0
  730. package/lib/esm/_virtual/index3.js +4 -0
  731. package/lib/esm/_virtual/index4.js +4 -0
  732. package/lib/esm/_virtual/index5.js +4 -0
  733. package/lib/esm/_virtual/index6.js +4 -0
  734. package/lib/esm/_virtual/index7.js +4 -0
  735. package/lib/esm/_virtual/index8.js +4 -0
  736. package/lib/esm/_virtual/index9.js +4 -0
  737. package/lib/esm/_virtual/inputRole.js +4 -0
  738. package/lib/esm/_virtual/insertionRole.js +4 -0
  739. package/lib/esm/_virtual/iterationDecorator.js +4 -0
  740. package/lib/esm/_virtual/iteratorProxy.js +4 -0
  741. package/lib/esm/_virtual/landmarkRole.js +4 -0
  742. package/lib/esm/_virtual/linkRole.js +4 -0
  743. package/lib/esm/_virtual/listRole.js +4 -0
  744. package/lib/esm/_virtual/listboxRole.js +4 -0
  745. package/lib/esm/_virtual/listitemRole.js +4 -0
  746. package/lib/esm/_virtual/logRole.js +4 -0
  747. package/lib/esm/_virtual/lz-string.js +7 -0
  748. package/lib/esm/_virtual/lz-string2.js +4 -0
  749. package/lib/esm/_virtual/mainRole.js +4 -0
  750. package/lib/esm/_virtual/markup.js +4 -0
  751. package/lib/esm/_virtual/marqueeRole.js +4 -0
  752. package/lib/esm/_virtual/mathRole.js +4 -0
  753. package/lib/esm/_virtual/menuRole.js +4 -0
  754. package/lib/esm/_virtual/menubarRole.js +4 -0
  755. package/lib/esm/_virtual/menuitemRole.js +4 -0
  756. package/lib/esm/_virtual/menuitemcheckboxRole.js +4 -0
  757. package/lib/esm/_virtual/menuitemradioRole.js +4 -0
  758. package/lib/esm/_virtual/meterRole.js +4 -0
  759. package/lib/esm/_virtual/navigationRole.js +4 -0
  760. package/lib/esm/_virtual/noneRole.js +4 -0
  761. package/lib/esm/_virtual/noteRole.js +4 -0
  762. package/lib/esm/_virtual/optionRole.js +4 -0
  763. package/lib/esm/_virtual/paragraphRole.js +4 -0
  764. package/lib/esm/_virtual/presentationRole.js +4 -0
  765. package/lib/esm/_virtual/progressbarRole.js +4 -0
  766. package/lib/esm/_virtual/radioRole.js +4 -0
  767. package/lib/esm/_virtual/radiogroupRole.js +4 -0
  768. package/lib/esm/_virtual/rangeRole.js +4 -0
  769. package/lib/esm/_virtual/react-is.development.js +4 -0
  770. package/lib/esm/_virtual/react-is.production.min.js +4 -0
  771. package/lib/esm/_virtual/regionRole.js +4 -0
  772. package/lib/esm/_virtual/roleElementMap.js +4 -0
  773. package/lib/esm/_virtual/rolesMap.js +4 -0
  774. package/lib/esm/_virtual/roletypeRole.js +4 -0
  775. package/lib/esm/_virtual/rowRole.js +4 -0
  776. package/lib/esm/_virtual/rowgroupRole.js +4 -0
  777. package/lib/esm/_virtual/rowheaderRole.js +4 -0
  778. package/lib/esm/_virtual/scrollbarRole.js +4 -0
  779. package/lib/esm/_virtual/searchRole.js +4 -0
  780. package/lib/esm/_virtual/searchboxRole.js +4 -0
  781. package/lib/esm/_virtual/sectionRole.js +4 -0
  782. package/lib/esm/_virtual/sectionheadRole.js +4 -0
  783. package/lib/esm/_virtual/selectRole.js +4 -0
  784. package/lib/esm/_virtual/separatorRole.js +4 -0
  785. package/lib/esm/_virtual/sliderRole.js +4 -0
  786. package/lib/esm/_virtual/spinbuttonRole.js +4 -0
  787. package/lib/esm/_virtual/statusRole.js +4 -0
  788. package/lib/esm/_virtual/strongRole.js +4 -0
  789. package/lib/esm/_virtual/structureRole.js +4 -0
  790. package/lib/esm/_virtual/subscriptRole.js +4 -0
  791. package/lib/esm/_virtual/superscriptRole.js +4 -0
  792. package/lib/esm/_virtual/switchRole.js +4 -0
  793. package/lib/esm/_virtual/tabRole.js +4 -0
  794. package/lib/esm/_virtual/tableRole.js +4 -0
  795. package/lib/esm/_virtual/tablistRole.js +4 -0
  796. package/lib/esm/_virtual/tabpanelRole.js +4 -0
  797. package/lib/esm/_virtual/termRole.js +4 -0
  798. package/lib/esm/_virtual/textboxRole.js +4 -0
  799. package/lib/esm/_virtual/timeRole.js +4 -0
  800. package/lib/esm/_virtual/timerRole.js +4 -0
  801. package/lib/esm/_virtual/toolbarRole.js +4 -0
  802. package/lib/esm/_virtual/tooltipRole.js +4 -0
  803. package/lib/esm/_virtual/treeRole.js +4 -0
  804. package/lib/esm/_virtual/treegridRole.js +4 -0
  805. package/lib/esm/_virtual/treeitemRole.js +4 -0
  806. package/lib/esm/_virtual/widgetRole.js +4 -0
  807. package/lib/esm/_virtual/windowRole.js +4 -0
  808. package/lib/esm/assets/armtek-uikit-react.css +1188 -0
  809. package/lib/esm/index.d.ts +0 -0
  810. package/lib/esm/index.js +1 -0
  811. package/lib/esm/lib/const/styles.d.ts +1 -0
  812. package/lib/esm/lib/const/styles.js +4 -0
  813. package/lib/esm/lib/helpers/genericForwardRef.d.ts +2 -0
  814. package/lib/esm/lib/helpers/genericForwardRef.js +7 -0
  815. package/lib/esm/lib/helpers/getColorClasses.d.ts +1 -0
  816. package/lib/esm/lib/helpers/getColorClasses.js +14 -0
  817. package/lib/esm/lib/helpers/getSizeClasses.d.ts +1 -0
  818. package/lib/esm/lib/helpers/getSizeClasses.js +11 -0
  819. package/lib/esm/lib/helpers/getVariantClasses.d.ts +1 -0
  820. package/lib/esm/lib/helpers/getVariantClasses.js +11 -0
  821. package/lib/esm/lib/helpers/helpers.d.ts +21 -0
  822. package/lib/esm/lib/helpers/helpers.js +106 -0
  823. package/lib/esm/lib/helpers/index.d.ts +1 -0
  824. package/lib/esm/lib/helpers/index.js +4 -0
  825. package/lib/esm/lib/helpers/insertChar.d.ts +1 -0
  826. package/lib/esm/lib/helpers/insertChar.js +9 -0
  827. package/lib/esm/lib/helpers.d.ts +1 -0
  828. package/lib/esm/lib/helpers.js +1 -0
  829. package/lib/esm/lib/hooks/useClickOutside.d.ts +3 -0
  830. package/lib/esm/lib/hooks/useClickOutside.js +17 -0
  831. package/lib/esm/lib/hooks/useEnhancedEffect.d.ts +10 -0
  832. package/lib/esm/lib/hooks/useEnhancedEffect.js +5 -0
  833. package/lib/esm/lib/hooks/useEventCallback.d.ts +3 -0
  834. package/lib/esm/lib/hooks/useEventCallback.js +15 -0
  835. package/lib/esm/lib/hooks/useLazyRef.d.ts +1 -0
  836. package/lib/esm/lib/hooks/useLazyRef.js +12 -0
  837. package/lib/esm/lib/hooks/useTimeout.d.ts +11 -0
  838. package/lib/esm/lib/hooks/useTimeout.js +38 -0
  839. package/lib/esm/lib/services/DateService.d.ts +14 -0
  840. package/lib/esm/lib/services/DateService.js +62 -0
  841. package/lib/esm/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js +2504 -0
  842. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js +254 -0
  843. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js +403 -0
  844. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js +188 -0
  845. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js +36 -0
  846. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js +34 -0
  847. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js +38 -0
  848. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js +31 -0
  849. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js +35 -0
  850. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js +64 -0
  851. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js +46 -0
  852. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js +31 -0
  853. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js +33 -0
  854. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js +31 -0
  855. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js +31 -0
  856. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js +33 -0
  857. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js +44 -0
  858. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js +98 -0
  859. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js +26 -0
  860. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js +184 -0
  861. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js +42 -0
  862. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js +42 -0
  863. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js +42 -0
  864. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js +42 -0
  865. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js +39 -0
  866. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js +42 -0
  867. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js +42 -0
  868. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js +39 -0
  869. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js +42 -0
  870. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js +42 -0
  871. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js +42 -0
  872. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js +42 -0
  873. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js +42 -0
  874. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js +42 -0
  875. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js +42 -0
  876. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js +42 -0
  877. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js +42 -0
  878. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js +42 -0
  879. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js +42 -0
  880. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js +42 -0
  881. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js +37 -0
  882. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js +42 -0
  883. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js +42 -0
  884. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js +42 -0
  885. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js +39 -0
  886. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js +42 -0
  887. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js +42 -0
  888. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js +39 -0
  889. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js +42 -0
  890. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js +41 -0
  891. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js +42 -0
  892. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js +42 -0
  893. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js +42 -0
  894. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js +42 -0
  895. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js +36 -0
  896. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js +42 -0
  897. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js +42 -0
  898. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js +42 -0
  899. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js +42 -0
  900. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js +52 -0
  901. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js +56 -0
  902. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js +37 -0
  903. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js +39 -0
  904. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js +36 -0
  905. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js +42 -0
  906. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js +39 -0
  907. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js +37 -0
  908. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js +31 -0
  909. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js +113 -0
  910. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js +31 -0
  911. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js +42 -0
  912. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js +54 -0
  913. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js +31 -0
  914. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js +42 -0
  915. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js +144 -0
  916. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js +36 -0
  917. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js +37 -0
  918. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js +36 -0
  919. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js +31 -0
  920. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js +36 -0
  921. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js +33 -0
  922. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js +40 -0
  923. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js +31 -0
  924. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js +31 -0
  925. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js +36 -0
  926. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js +58 -0
  927. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js +41 -0
  928. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js +43 -0
  929. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js +49 -0
  930. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js +49 -0
  931. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js +65 -0
  932. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js +54 -0
  933. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js +31 -0
  934. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js +59 -0
  935. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js +46 -0
  936. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js +82 -0
  937. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js +46 -0
  938. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js +33 -0
  939. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js +36 -0
  940. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js +31 -0
  941. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js +36 -0
  942. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js +53 -0
  943. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js +38 -0
  944. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js +57 -0
  945. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js +38 -0
  946. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js +38 -0
  947. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js +37 -0
  948. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js +36 -0
  949. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js +31 -0
  950. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js +31 -0
  951. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js +53 -0
  952. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js +31 -0
  953. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js +31 -0
  954. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js +43 -0
  955. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js +46 -0
  956. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js +41 -0
  957. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js +58 -0
  958. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js +44 -0
  959. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js +46 -0
  960. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js +51 -0
  961. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js +40 -0
  962. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js +31 -0
  963. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js +43 -0
  964. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js +43 -0
  965. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js +51 -0
  966. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js +47 -0
  967. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js +39 -0
  968. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js +31 -0
  969. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js +31 -0
  970. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js +31 -0
  971. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js +38 -0
  972. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js +38 -0
  973. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js +39 -0
  974. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js +40 -0
  975. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js +31 -0
  976. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js +41 -0
  977. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js +111 -0
  978. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js +31 -0
  979. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js +31 -0
  980. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js +38 -0
  981. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js +31 -0
  982. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js +37 -0
  983. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js +31 -0
  984. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js +36 -0
  985. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js +37 -0
  986. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js +177 -0
  987. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js +203 -0
  988. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js +35 -0
  989. package/lib/esm/node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js +40 -0
  990. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-description.js +70 -0
  991. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js +371 -0
  992. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/accessible-name.js +15 -0
  993. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/getRole.js +185 -0
  994. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.js +104 -0
  995. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.js +42 -0
  996. package/lib/esm/node_modules/@testing-library/dom/node_modules/dom-accessibility-api/dist/util.js +87 -0
  997. package/lib/esm/node_modules/@testing-library/react/dist/@testing-library/react.esm.js +268 -0
  998. package/lib/esm/node_modules/ansi-regex/index.js +17 -0
  999. package/lib/esm/node_modules/array-buffer-byte-length/index.js +21 -0
  1000. package/lib/esm/node_modules/available-typed-arrays/index.js +23 -0
  1001. package/lib/esm/node_modules/call-bind/callBound.js +22 -0
  1002. package/lib/esm/node_modules/call-bind/index.js +34 -0
  1003. package/lib/esm/node_modules/call-bind-apply-helpers/actualApply.js +19 -0
  1004. package/lib/esm/node_modules/call-bind-apply-helpers/applyBind.js +19 -0
  1005. package/lib/esm/node_modules/call-bind-apply-helpers/functionApply.js +11 -0
  1006. package/lib/esm/node_modules/call-bind-apply-helpers/functionCall.js +11 -0
  1007. package/lib/esm/node_modules/call-bind-apply-helpers/index.js +24 -0
  1008. package/lib/esm/node_modules/call-bind-apply-helpers/reflectApply.js +11 -0
  1009. package/lib/esm/node_modules/call-bound/index.js +28 -0
  1010. package/lib/esm/node_modules/deep-equal/index.js +397 -0
  1011. package/lib/esm/node_modules/define-data-property/index.js +55 -0
  1012. package/lib/esm/node_modules/define-properties/index.js +50 -0
  1013. package/lib/esm/node_modules/dunder-proto/get.js +36 -0
  1014. package/lib/esm/node_modules/es-define-property/index.js +19 -0
  1015. package/lib/esm/node_modules/es-errors/eval.js +11 -0
  1016. package/lib/esm/node_modules/es-errors/index.js +11 -0
  1017. package/lib/esm/node_modules/es-errors/range.js +11 -0
  1018. package/lib/esm/node_modules/es-errors/ref.js +11 -0
  1019. package/lib/esm/node_modules/es-errors/syntax.js +11 -0
  1020. package/lib/esm/node_modules/es-errors/type.js +11 -0
  1021. package/lib/esm/node_modules/es-errors/uri.js +11 -0
  1022. package/lib/esm/node_modules/es-get-iterator/index.js +150 -0
  1023. package/lib/esm/node_modules/es-object-atoms/index.js +11 -0
  1024. package/lib/esm/node_modules/for-each/index.js +64 -0
  1025. package/lib/esm/node_modules/function-bind/implementation.js +79 -0
  1026. package/lib/esm/node_modules/function-bind/index.js +13 -0
  1027. package/lib/esm/node_modules/functions-have-names/index.js +36 -0
  1028. package/lib/esm/node_modules/get-intrinsic/index.js +358 -0
  1029. package/lib/esm/node_modules/get-proto/Object.getPrototypeOf.js +13 -0
  1030. package/lib/esm/node_modules/get-proto/Reflect.getPrototypeOf.js +11 -0
  1031. package/lib/esm/node_modules/get-proto/index.js +26 -0
  1032. package/lib/esm/node_modules/gopd/gOPD.js +11 -0
  1033. package/lib/esm/node_modules/gopd/index.js +20 -0
  1034. package/lib/esm/node_modules/has-bigints/index.js +14 -0
  1035. package/lib/esm/node_modules/has-property-descriptors/index.js +26 -0
  1036. package/lib/esm/node_modules/has-symbols/index.js +28 -0
  1037. package/lib/esm/node_modules/has-symbols/shams.js +58 -0
  1038. package/lib/esm/node_modules/has-tostringtag/shams.js +15 -0
  1039. package/lib/esm/node_modules/hasown/index.js +15 -0
  1040. package/lib/esm/node_modules/internal-slot/index.js +78 -0
  1041. package/lib/esm/node_modules/is-arguments/index.js +32 -0
  1042. package/lib/esm/node_modules/is-array-buffer/index.js +40 -0
  1043. package/lib/esm/node_modules/is-bigint/index.js +36 -0
  1044. package/lib/esm/node_modules/is-boolean-object/index.js +34 -0
  1045. package/lib/esm/node_modules/is-callable/index.js +120 -0
  1046. package/lib/esm/node_modules/is-date-object/index.js +31 -0
  1047. package/lib/esm/node_modules/is-map/index.js +43 -0
  1048. package/lib/esm/node_modules/is-number-object/index.js +34 -0
  1049. package/lib/esm/node_modules/is-regex/index.js +70 -0
  1050. package/lib/esm/node_modules/is-set/index.js +43 -0
  1051. package/lib/esm/node_modules/is-shared-array-buffer/index.js +26 -0
  1052. package/lib/esm/node_modules/is-string/index.js +34 -0
  1053. package/lib/esm/node_modules/is-symbol/index.js +44 -0
  1054. package/lib/esm/node_modules/is-weakmap/index.js +43 -0
  1055. package/lib/esm/node_modules/is-weakset/index.js +41 -0
  1056. package/lib/esm/node_modules/isarray/index.js +14 -0
  1057. package/lib/esm/node_modules/lz-string/libs/lz-string.js +458 -0
  1058. package/lib/esm/node_modules/math-intrinsics/abs.js +11 -0
  1059. package/lib/esm/node_modules/math-intrinsics/floor.js +11 -0
  1060. package/lib/esm/node_modules/math-intrinsics/isNaN.js +13 -0
  1061. package/lib/esm/node_modules/math-intrinsics/max.js +11 -0
  1062. package/lib/esm/node_modules/math-intrinsics/min.js +11 -0
  1063. package/lib/esm/node_modules/math-intrinsics/pow.js +11 -0
  1064. package/lib/esm/node_modules/math-intrinsics/round.js +11 -0
  1065. package/lib/esm/node_modules/math-intrinsics/sign.js +18 -0
  1066. package/lib/esm/node_modules/object-inspect/index.js +537 -0
  1067. package/lib/esm/node_modules/object-is/implementation.js +25 -0
  1068. package/lib/esm/node_modules/object-is/index.js +27 -0
  1069. package/lib/esm/node_modules/object-is/polyfill.js +15 -0
  1070. package/lib/esm/node_modules/object-is/shim.js +23 -0
  1071. package/lib/esm/node_modules/object-keys/implementation.js +125 -0
  1072. package/lib/esm/node_modules/object-keys/index.js +39 -0
  1073. package/lib/esm/node_modules/object-keys/isArguments.js +19 -0
  1074. package/lib/esm/node_modules/object.assign/implementation.js +52 -0
  1075. package/lib/esm/node_modules/object.assign/index.js +30 -0
  1076. package/lib/esm/node_modules/object.assign/polyfill.js +53 -0
  1077. package/lib/esm/node_modules/object.assign/shim.js +25 -0
  1078. package/lib/esm/node_modules/possible-typed-array-names/index.js +24 -0
  1079. package/lib/esm/node_modules/pretty-format/build/collections.js +121 -0
  1080. package/lib/esm/node_modules/pretty-format/build/index.js +386 -0
  1081. package/lib/esm/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +77 -0
  1082. package/lib/esm/node_modules/pretty-format/build/plugins/ConvertAnsi.js +76 -0
  1083. package/lib/esm/node_modules/pretty-format/build/plugins/DOMCollection.js +54 -0
  1084. package/lib/esm/node_modules/pretty-format/build/plugins/DOMElement.js +92 -0
  1085. package/lib/esm/node_modules/pretty-format/build/plugins/Immutable.js +161 -0
  1086. package/lib/esm/node_modules/pretty-format/build/plugins/ReactElement.js +135 -0
  1087. package/lib/esm/node_modules/pretty-format/build/plugins/ReactTestComponent.js +66 -0
  1088. package/lib/esm/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +17 -0
  1089. package/lib/esm/node_modules/pretty-format/build/plugins/lib/markup.js +59 -0
  1090. package/lib/esm/node_modules/pretty-format/node_modules/ansi-styles/index.js +144 -0
  1091. package/lib/esm/node_modules/react-is/cjs/react-is.development.js +191 -0
  1092. package/lib/esm/node_modules/react-is/cjs/react-is.production.min.js +115 -0
  1093. package/lib/esm/node_modules/react-is/index.js +17 -0
  1094. package/lib/esm/node_modules/regexp.prototype.flags/implementation.js +46 -0
  1095. package/lib/esm/node_modules/regexp.prototype.flags/index.js +27 -0
  1096. package/lib/esm/node_modules/regexp.prototype.flags/polyfill.js +39 -0
  1097. package/lib/esm/node_modules/regexp.prototype.flags/shim.js +38 -0
  1098. package/lib/esm/node_modules/safe-regex-test/index.js +25 -0
  1099. package/lib/esm/node_modules/set-function-length/index.js +61 -0
  1100. package/lib/esm/node_modules/set-function-name/index.js +44 -0
  1101. package/lib/esm/node_modules/side-channel/index.js +47 -0
  1102. package/lib/esm/node_modules/side-channel-list/index.js +99 -0
  1103. package/lib/esm/node_modules/side-channel-map/index.js +63 -0
  1104. package/lib/esm/node_modules/side-channel-weakmap/index.js +81 -0
  1105. package/lib/esm/node_modules/stop-iteration-iterator/index.js +54 -0
  1106. package/lib/esm/node_modules/which-boxed-primitive/index.js +40 -0
  1107. package/lib/esm/node_modules/which-collection/index.js +35 -0
  1108. package/lib/esm/node_modules/which-typed-array/index.js +123 -0
  1109. package/lib/esm/types/theme.d.ts +11 -0
  1110. package/lib/esm/types/theme.js +1 -0
  1111. package/lib/esm/ui/Accordion/Accordion.classes.d.ts +5 -0
  1112. package/lib/esm/ui/Accordion/Accordion.classes.js +32 -0
  1113. package/lib/esm/ui/Accordion/Accordion.d.ts +19 -0
  1114. package/lib/esm/ui/Accordion/Accordion.js +89 -0
  1115. package/lib/esm/ui/Accordion/AccordionHeading.d.ts +7 -0
  1116. package/lib/esm/ui/Accordion/AccordionHeading.js +27 -0
  1117. package/lib/esm/ui/Accordion/index.d.ts +3 -0
  1118. package/lib/esm/ui/Accordion/index.js +6 -0
  1119. package/lib/esm/ui/Accordion.d.ts +2 -0
  1120. package/lib/esm/ui/Accordion.js +2 -0
  1121. package/lib/esm/ui/Adornment/Adornment.d.ts +12 -0
  1122. package/lib/esm/ui/Adornment/Adornment.js +30 -0
  1123. package/lib/esm/ui/Adornment/index.d.ts +2 -0
  1124. package/lib/esm/ui/Adornment/index.js +5 -0
  1125. package/lib/esm/ui/Adornment.d.ts +2 -0
  1126. package/lib/esm/ui/Adornment.js +2 -0
  1127. package/lib/esm/ui/Alert/Alert.d.ts +12 -0
  1128. package/lib/esm/ui/Alert/Alert.js +33 -0
  1129. package/lib/esm/ui/Alert/index.d.ts +2 -0
  1130. package/lib/esm/ui/Alert/index.js +4 -0
  1131. package/lib/esm/ui/Alert.d.ts +2 -0
  1132. package/lib/esm/ui/Alert.js +2 -0
  1133. package/lib/esm/ui/Avatar/Avatar.d.ts +24 -0
  1134. package/lib/esm/ui/Avatar/Avatar.js +35 -0
  1135. package/lib/esm/ui/Avatar/index.d.ts +2 -0
  1136. package/lib/esm/ui/Avatar/index.js +4 -0
  1137. package/lib/esm/ui/Avatar.d.ts +2 -0
  1138. package/lib/esm/ui/Avatar.js +2 -0
  1139. package/lib/esm/ui/AvatarGroup/AvatarGroup.d.ts +8 -0
  1140. package/lib/esm/ui/AvatarGroup/AvatarGroup.js +23 -0
  1141. package/lib/esm/ui/AvatarGroup/index.d.ts +2 -0
  1142. package/lib/esm/ui/AvatarGroup/index.js +4 -0
  1143. package/lib/esm/ui/AvatarGroup.d.ts +2 -0
  1144. package/lib/esm/ui/AvatarGroup.js +2 -0
  1145. package/lib/esm/ui/BackDrop/BackDrop.d.ts +4 -0
  1146. package/lib/esm/ui/BackDrop/BackDrop.js +17 -0
  1147. package/lib/esm/ui/BackDrop/BackDropBase.d.ts +7 -0
  1148. package/lib/esm/ui/BackDrop/BackDropBase.js +27 -0
  1149. package/lib/esm/ui/BackDrop/index.d.ts +2 -0
  1150. package/lib/esm/ui/BackDrop/index.js +4 -0
  1151. package/lib/esm/ui/BackDrop.d.ts +2 -0
  1152. package/lib/esm/ui/BackDrop.js +2 -0
  1153. package/lib/esm/ui/Badge/Badge.d.ts +12 -0
  1154. package/lib/esm/ui/Badge/Badge.js +21 -0
  1155. package/lib/esm/ui/Badge/index.d.ts +1 -0
  1156. package/lib/esm/ui/Badge/index.js +4 -0
  1157. package/lib/esm/ui/Badge.d.ts +1 -0
  1158. package/lib/esm/ui/Badge.js +1 -0
  1159. package/lib/esm/ui/Button/Button.d.ts +39 -0
  1160. package/lib/esm/ui/Button/Button.js +45 -0
  1161. package/lib/esm/ui/Button/index.d.ts +2 -0
  1162. package/lib/esm/ui/Button/index.js +4 -0
  1163. package/lib/esm/ui/Button.d.ts +2 -0
  1164. package/lib/esm/ui/Button.js +2 -0
  1165. package/lib/esm/ui/ButtonGroup/ButtonGroup.d.ts +6 -0
  1166. package/lib/esm/ui/ButtonGroup/ButtonGroup.js +23 -0
  1167. package/lib/esm/ui/ButtonGroup/index.d.ts +2 -0
  1168. package/lib/esm/ui/ButtonGroup/index.js +4 -0
  1169. package/lib/esm/ui/ButtonGroup.d.ts +2 -0
  1170. package/lib/esm/ui/ButtonGroup.js +2 -0
  1171. package/lib/esm/ui/ButtonIcon/ButtonIcon.d.ts +25 -0
  1172. package/lib/esm/ui/ButtonIcon/ButtonIcon.js +20 -0
  1173. package/lib/esm/ui/ButtonIcon/index.d.ts +2 -0
  1174. package/lib/esm/ui/ButtonIcon/index.js +4 -0
  1175. package/lib/esm/ui/ButtonIcon.d.ts +2 -0
  1176. package/lib/esm/ui/ButtonIcon.js +2 -0
  1177. package/lib/esm/ui/Card/Card.d.ts +4 -0
  1178. package/lib/esm/ui/Card/Card.js +9 -0
  1179. package/lib/esm/ui/Card/index.d.ts +2 -0
  1180. package/lib/esm/ui/Card/index.js +4 -0
  1181. package/lib/esm/ui/Card.d.ts +2 -0
  1182. package/lib/esm/ui/Card.js +2 -0
  1183. package/lib/esm/ui/Chip/Chip.d.ts +18 -0
  1184. package/lib/esm/ui/Chip/Chip.js +43 -0
  1185. package/lib/esm/ui/Chip/index.d.ts +2 -0
  1186. package/lib/esm/ui/Chip/index.js +4 -0
  1187. package/lib/esm/ui/Chip.d.ts +2 -0
  1188. package/lib/esm/ui/Chip.js +2 -0
  1189. package/lib/esm/ui/Dropdown/Dropdown.d.ts +8 -0
  1190. package/lib/esm/ui/Dropdown/Dropdown.js +33 -0
  1191. package/lib/esm/ui/Dropdown/index.d.ts +2 -0
  1192. package/lib/esm/ui/Dropdown/index.js +4 -0
  1193. package/lib/esm/ui/Dropdown.d.ts +2 -0
  1194. package/lib/esm/ui/Dropdown.js +2 -0
  1195. package/lib/esm/ui/Form/Checkbox/Checkbox.d.ts +14 -0
  1196. package/lib/esm/ui/Form/Checkbox/Checkbox.js +47 -0
  1197. package/lib/esm/ui/Form/Checkbox/const.d.ts +1 -0
  1198. package/lib/esm/ui/Form/Checkbox/const.js +4 -0
  1199. package/lib/esm/ui/Form/Checkbox/index.d.ts +2 -0
  1200. package/lib/esm/ui/Form/Checkbox/index.js +4 -0
  1201. package/lib/esm/ui/Form/Checkbox.d.ts +2 -0
  1202. package/lib/esm/ui/Form/Checkbox.js +2 -0
  1203. package/lib/esm/ui/Form/DateField/DateField.d.ts +25 -0
  1204. package/lib/esm/ui/Form/DateField/DateField.js +158 -0
  1205. package/lib/esm/ui/Form/DateField/index.d.ts +2 -0
  1206. package/lib/esm/ui/Form/DateField/index.js +4 -0
  1207. package/lib/esm/ui/Form/DateField/testUtils.d.ts +1 -0
  1208. package/lib/esm/ui/Form/DateField/testUtils.js +33 -0
  1209. package/lib/esm/ui/Form/DateField.d.ts +2 -0
  1210. package/lib/esm/ui/Form/DateField.js +2 -0
  1211. package/lib/esm/ui/Form/DatePicker/DatePicker.d.ts +5 -0
  1212. package/lib/esm/ui/Form/DatePicker/DatePicker.js +111 -0
  1213. package/lib/esm/ui/Form/DatePicker/index.d.ts +2 -0
  1214. package/lib/esm/ui/Form/DatePicker/index.js +4 -0
  1215. package/lib/esm/ui/Form/DatePicker.d.ts +2 -0
  1216. package/lib/esm/ui/Form/DatePicker.js +2 -0
  1217. package/lib/esm/ui/Form/FormControls/FormControls.d.ts +19 -0
  1218. package/lib/esm/ui/Form/FormControls/FormControls.js +22 -0
  1219. package/lib/esm/ui/Form/FormControls/const.d.ts +2 -0
  1220. package/lib/esm/ui/Form/FormControls/const.js +6 -0
  1221. package/lib/esm/ui/Form/FormControls/index.d.ts +2 -0
  1222. package/lib/esm/ui/Form/FormControls/index.js +4 -0
  1223. package/lib/esm/ui/Form/FormControls.d.ts +2 -0
  1224. package/lib/esm/ui/Form/FormControls.js +2 -0
  1225. package/lib/esm/ui/Form/Interval/Interval.d.ts +14 -0
  1226. package/lib/esm/ui/Form/Interval/Interval.js +76 -0
  1227. package/lib/esm/ui/Form/Interval/IntervalSlide.d.ts +5 -0
  1228. package/lib/esm/ui/Form/Interval/IntervalSlide.js +29 -0
  1229. package/lib/esm/ui/Form/Interval/index.d.ts +3 -0
  1230. package/lib/esm/ui/Form/Interval/index.js +6 -0
  1231. package/lib/esm/ui/Form/Interval.d.ts +2 -0
  1232. package/lib/esm/ui/Form/Interval.js +2 -0
  1233. package/lib/esm/ui/Form/Password/Password.d.ts +24 -0
  1234. package/lib/esm/ui/Form/Password/Password.js +25 -0
  1235. package/lib/esm/ui/Form/Password/index.d.ts +1 -0
  1236. package/lib/esm/ui/Form/Password/index.js +4 -0
  1237. package/lib/esm/ui/Form/Password.d.ts +2 -0
  1238. package/lib/esm/ui/Form/Password.js +2 -0
  1239. package/lib/esm/ui/Form/Period/Period.d.ts +32 -0
  1240. package/lib/esm/ui/Form/Period/Period.js +139 -0
  1241. package/lib/esm/ui/Form/Period/index.d.ts +2 -0
  1242. package/lib/esm/ui/Form/Period/index.js +4 -0
  1243. package/lib/esm/ui/Form/Period.d.ts +2 -0
  1244. package/lib/esm/ui/Form/Period.js +2 -0
  1245. package/lib/esm/ui/Form/PeriodSelect/PeriodSelect.d.ts +2 -0
  1246. package/lib/esm/ui/Form/PeriodSelect/PeriodSelect.js +15 -0
  1247. package/lib/esm/ui/Form/PeriodSelect/index.d.ts +1 -0
  1248. package/lib/esm/ui/Form/PeriodSelect/index.js +4 -0
  1249. package/lib/esm/ui/Form/PeriodSelect.d.ts +2 -0
  1250. package/lib/esm/ui/Form/PeriodSelect.js +2 -0
  1251. package/lib/esm/ui/Form/Radio/Radio.d.ts +3 -0
  1252. package/lib/esm/ui/Form/Radio/Radio.js +9 -0
  1253. package/lib/esm/ui/Form/Radio/index.d.ts +1 -0
  1254. package/lib/esm/ui/Form/Radio/index.js +4 -0
  1255. package/lib/esm/ui/Form/Radio.d.ts +2 -0
  1256. package/lib/esm/ui/Form/Radio.js +2 -0
  1257. package/lib/esm/ui/Form/Rating/Rating.d.ts +23 -0
  1258. package/lib/esm/ui/Form/Rating/Rating.js +50 -0
  1259. package/lib/esm/ui/Form/Rating/const.d.ts +4 -0
  1260. package/lib/esm/ui/Form/Rating/const.js +7 -0
  1261. package/lib/esm/ui/Form/Rating/index.d.ts +2 -0
  1262. package/lib/esm/ui/Form/Rating/index.js +4 -0
  1263. package/lib/esm/ui/Form/Rating.d.ts +2 -0
  1264. package/lib/esm/ui/Form/Rating.js +2 -0
  1265. package/lib/esm/ui/Form/Select/Select.d.ts +58 -0
  1266. package/lib/esm/ui/Form/Select/Select.js +213 -0
  1267. package/lib/esm/ui/Form/Select/SelectOptionList.d.ts +13 -0
  1268. package/lib/esm/ui/Form/Select/SelectOptionList.js +25 -0
  1269. package/lib/esm/ui/Form/Select/SelectOptionsContainer.d.ts +7 -0
  1270. package/lib/esm/ui/Form/Select/SelectOptionsContainer.js +14 -0
  1271. package/lib/esm/ui/Form/Select/SelectSummary.d.ts +27 -0
  1272. package/lib/esm/ui/Form/Select/SelectSummary.js +56 -0
  1273. package/lib/esm/ui/Form/Select/index.d.ts +3 -0
  1274. package/lib/esm/ui/Form/Select/index.js +8 -0
  1275. package/lib/esm/ui/Form/Select.d.ts +2 -0
  1276. package/lib/esm/ui/Form/Select.js +2 -0
  1277. package/lib/esm/ui/Form/Switch/Switch.d.ts +7 -0
  1278. package/lib/esm/ui/Form/Switch/Switch.js +15 -0
  1279. package/lib/esm/ui/Form/Switch/index.d.ts +2 -0
  1280. package/lib/esm/ui/Form/Switch/index.js +4 -0
  1281. package/lib/esm/ui/Form/Switch.d.ts +2 -0
  1282. package/lib/esm/ui/Form/Switch.js +2 -0
  1283. package/lib/esm/ui/Form/TextArea/TextArea.d.ts +32 -0
  1284. package/lib/esm/ui/Form/TextArea/TextArea.js +34 -0
  1285. package/lib/esm/ui/Form/TextArea/index.d.ts +2 -0
  1286. package/lib/esm/ui/Form/TextArea/index.js +4 -0
  1287. package/lib/esm/ui/Form/TextArea.d.ts +2 -0
  1288. package/lib/esm/ui/Form/TextArea.js +2 -0
  1289. package/lib/esm/ui/Form/TextField/TextField.d.ts +66 -0
  1290. package/lib/esm/ui/Form/TextField/TextField.js +218 -0
  1291. package/lib/esm/ui/Form/TextField/index.d.ts +2 -0
  1292. package/lib/esm/ui/Form/TextField/index.js +6 -0
  1293. package/lib/esm/ui/Form/TextField.d.ts +2 -0
  1294. package/lib/esm/ui/Form/TextField.js +2 -0
  1295. package/lib/esm/ui/Form/TimeField/TimeField.d.ts +28 -0
  1296. package/lib/esm/ui/Form/TimeField/TimeField.js +9 -0
  1297. package/lib/esm/ui/Form/TimeField/index.d.ts +1 -0
  1298. package/lib/esm/ui/Form/TimeField/index.js +4 -0
  1299. package/lib/esm/ui/Form/TimeField.d.ts +2 -0
  1300. package/lib/esm/ui/Form/TimeField.js +2 -0
  1301. package/lib/esm/ui/Form/TimePicker/TimePicker.d.ts +2 -0
  1302. package/lib/esm/ui/Form/TimePicker/TimePicker.js +13 -0
  1303. package/lib/esm/ui/Form/TimePicker/index.d.ts +1 -0
  1304. package/lib/esm/ui/Form/TimePicker/index.js +4 -0
  1305. package/lib/esm/ui/Form/TimePicker.d.ts +2 -0
  1306. package/lib/esm/ui/Form/TimePicker.js +2 -0
  1307. package/lib/esm/ui/HelperText/HelperText.d.ts +7 -0
  1308. package/lib/esm/ui/HelperText/HelperText.js +18 -0
  1309. package/lib/esm/ui/HelperText/index.d.ts +1 -0
  1310. package/lib/esm/ui/HelperText/index.js +4 -0
  1311. package/lib/esm/ui/HelperText.d.ts +2 -0
  1312. package/lib/esm/ui/HelperText.js +2 -0
  1313. package/lib/esm/ui/Icon/Icon.d.ts +13 -0
  1314. package/lib/esm/ui/Icon/Icon.js +29 -0
  1315. package/lib/esm/ui/Icon/Mi.d.ts +22 -0
  1316. package/lib/esm/ui/Icon/Mi.js +15 -0
  1317. package/lib/esm/ui/Icon/Mis.d.ts +2 -0
  1318. package/lib/esm/ui/Icon/Mis.js +9 -0
  1319. package/lib/esm/ui/Icon/index.d.ts +4 -0
  1320. package/lib/esm/ui/Icon/index.js +8 -0
  1321. package/lib/esm/ui/Icon.d.ts +2 -0
  1322. package/lib/esm/ui/Icon.js +2 -0
  1323. package/lib/esm/ui/Link/Link.d.ts +16 -0
  1324. package/lib/esm/ui/Link/Link.js +33 -0
  1325. package/lib/esm/ui/Link/index.d.ts +2 -0
  1326. package/lib/esm/ui/Link/index.js +4 -0
  1327. package/lib/esm/ui/Link.d.ts +2 -0
  1328. package/lib/esm/ui/Link.js +2 -0
  1329. package/lib/esm/ui/List/ListItem.d.ts +14 -0
  1330. package/lib/esm/ui/List/ListItem.js +44 -0
  1331. package/lib/esm/ui/List/index.d.ts +2 -0
  1332. package/lib/esm/ui/List/index.js +4 -0
  1333. package/lib/esm/ui/List.d.ts +2 -0
  1334. package/lib/esm/ui/List.js +2 -0
  1335. package/lib/esm/ui/Loader/Loader.d.ts +9 -0
  1336. package/lib/esm/ui/Loader/Loader.js +19 -0
  1337. package/lib/esm/ui/Loader/index.d.ts +2 -0
  1338. package/lib/esm/ui/Loader/index.js +4 -0
  1339. package/lib/esm/ui/Loader.d.ts +2 -0
  1340. package/lib/esm/ui/Loader.js +2 -0
  1341. package/lib/esm/ui/Logo/Logo.d.ts +14 -0
  1342. package/lib/esm/ui/Logo/Logo.js +46 -0
  1343. package/lib/esm/ui/Logo/index.d.ts +2 -0
  1344. package/lib/esm/ui/Logo/index.js +4 -0
  1345. package/lib/esm/ui/Logo.d.ts +2 -0
  1346. package/lib/esm/ui/Logo.js +2 -0
  1347. package/lib/esm/ui/Modal/BaseModal.d.ts +17 -0
  1348. package/lib/esm/ui/Modal/BaseModal.js +35 -0
  1349. package/lib/esm/ui/Modal/Modal.d.ts +9 -0
  1350. package/lib/esm/ui/Modal/Modal.js +87 -0
  1351. package/lib/esm/ui/Modal/const.d.ts +2 -0
  1352. package/lib/esm/ui/Modal/const.js +6 -0
  1353. package/lib/esm/ui/Modal/index.d.ts +2 -0
  1354. package/lib/esm/ui/Modal/index.js +4 -0
  1355. package/lib/esm/ui/Modal.d.ts +2 -0
  1356. package/lib/esm/ui/Modal.js +2 -0
  1357. package/lib/esm/ui/Pagination/Pagination.d.ts +15 -0
  1358. package/lib/esm/ui/Pagination/Pagination.js +81 -0
  1359. package/lib/esm/ui/Pagination/index.d.ts +2 -0
  1360. package/lib/esm/ui/Pagination/index.js +4 -0
  1361. package/lib/esm/ui/Pagination.d.ts +2 -0
  1362. package/lib/esm/ui/Pagination.js +2 -0
  1363. package/lib/esm/ui/Paper/Paper.d.ts +9 -0
  1364. package/lib/esm/ui/Paper/Paper.js +19 -0
  1365. package/lib/esm/ui/Paper/index.d.ts +2 -0
  1366. package/lib/esm/ui/Paper/index.js +4 -0
  1367. package/lib/esm/ui/Paper.d.ts +2 -0
  1368. package/lib/esm/ui/Paper.js +2 -0
  1369. package/lib/esm/ui/Popover/Popover.d.ts +12 -0
  1370. package/lib/esm/ui/Popover/Popover.js +21 -0
  1371. package/lib/esm/ui/Popover/index.d.ts +2 -0
  1372. package/lib/esm/ui/Popover/index.js +4 -0
  1373. package/lib/esm/ui/Popover.d.ts +2 -0
  1374. package/lib/esm/ui/Popover.js +2 -0
  1375. package/lib/esm/ui/Popper/Popper.d.ts +4 -0
  1376. package/lib/esm/ui/Popper/Popper.js +12 -0
  1377. package/lib/esm/ui/Popper/PopperBase.d.ts +14 -0
  1378. package/lib/esm/ui/Popper/PopperBase.js +50 -0
  1379. package/lib/esm/ui/Popper/index.d.ts +2 -0
  1380. package/lib/esm/ui/Popper/index.js +6 -0
  1381. package/lib/esm/ui/Popper.d.ts +2 -0
  1382. package/lib/esm/ui/Popper.js +2 -0
  1383. package/lib/esm/ui/Skeleton/Skeleton.d.ts +8 -0
  1384. package/lib/esm/ui/Skeleton/Skeleton.js +20 -0
  1385. package/lib/esm/ui/Skeleton/index.d.ts +1 -0
  1386. package/lib/esm/ui/Skeleton/index.js +4 -0
  1387. package/lib/esm/ui/Skeleton.d.ts +2 -0
  1388. package/lib/esm/ui/Skeleton.js +2 -0
  1389. package/lib/esm/ui/Slider/RcSlider.d.ts +0 -0
  1390. package/lib/esm/ui/Slider/RcSlider.js +1 -0
  1391. package/lib/esm/ui/Slider/Slider.d.ts +9 -0
  1392. package/lib/esm/ui/Slider/Slider.js +24 -0
  1393. package/lib/esm/ui/Slider/index.d.ts +2 -0
  1394. package/lib/esm/ui/Slider/index.js +4 -0
  1395. package/lib/esm/ui/Slider.d.ts +2 -0
  1396. package/lib/esm/ui/Slider.js +2 -0
  1397. package/lib/esm/ui/Stack/Stack.d.ts +10 -0
  1398. package/lib/esm/ui/Stack/Stack.js +38 -0
  1399. package/lib/esm/ui/Stack/index.d.ts +2 -0
  1400. package/lib/esm/ui/Stack/index.js +4 -0
  1401. package/lib/esm/ui/Stack.d.ts +2 -0
  1402. package/lib/esm/ui/Stack.js +2 -0
  1403. package/lib/esm/ui/Status/Status.d.ts +14 -0
  1404. package/lib/esm/ui/Status/Status.js +25 -0
  1405. package/lib/esm/ui/Status/index.d.ts +1 -0
  1406. package/lib/esm/ui/Status/index.js +4 -0
  1407. package/lib/esm/ui/Status.d.ts +2 -0
  1408. package/lib/esm/ui/Status.js +2 -0
  1409. package/lib/esm/ui/Stepper/StepItem.d.ts +14 -0
  1410. package/lib/esm/ui/Stepper/StepItem.js +35 -0
  1411. package/lib/esm/ui/Stepper/StepItemIcon.d.ts +11 -0
  1412. package/lib/esm/ui/Stepper/StepItemIcon.js +18 -0
  1413. package/lib/esm/ui/Stepper/Stepper.d.ts +12 -0
  1414. package/lib/esm/ui/Stepper/Stepper.js +29 -0
  1415. package/lib/esm/ui/Stepper/index.d.ts +2 -0
  1416. package/lib/esm/ui/Stepper/index.js +4 -0
  1417. package/lib/esm/ui/Stepper.d.ts +2 -0
  1418. package/lib/esm/ui/Stepper.js +2 -0
  1419. package/lib/esm/ui/Table/Table.d.ts +37 -0
  1420. package/lib/esm/ui/Table/Table.js +38 -0
  1421. package/lib/esm/ui/Table/TableBase.d.ts +3 -0
  1422. package/lib/esm/ui/Table/TableBase.js +14 -0
  1423. package/lib/esm/ui/Table/TableCell.d.ts +10 -0
  1424. package/lib/esm/ui/Table/TableCell.js +23 -0
  1425. package/lib/esm/ui/Table/TableRow.d.ts +4 -0
  1426. package/lib/esm/ui/Table/TableRow.js +15 -0
  1427. package/lib/esm/ui/Table/index.d.ts +3 -0
  1428. package/lib/esm/ui/Table/index.js +8 -0
  1429. package/lib/esm/ui/Table.d.ts +1 -0
  1430. package/lib/esm/ui/Table.js +1 -0
  1431. package/lib/esm/ui/Tooltip/Tooltip.d.ts +14 -0
  1432. package/lib/esm/ui/Tooltip/Tooltip.js +65 -0
  1433. package/lib/esm/ui/Tooltip/index.d.ts +2 -0
  1434. package/lib/esm/ui/Tooltip/index.js +4 -0
  1435. package/lib/esm/ui/Tooltip.d.ts +2 -0
  1436. package/lib/esm/ui/Tooltip.js +2 -0
  1437. package/package.json +97 -1
  1438. package/assets/Accordion.scss +0 -123
  1439. package/assets/Adornment.scss +0 -23
  1440. package/assets/Alert.scss +0 -57
  1441. package/assets/Avatar.scss +0 -111
  1442. package/assets/AvatarGroup.scss +0 -48
  1443. package/assets/BackDrop.scss +0 -39
  1444. package/assets/Badge.scss +0 -97
  1445. package/assets/Button.scss +0 -751
  1446. package/assets/ButtonGroup.scss +0 -38
  1447. package/assets/ButtonIcon.scss +0 -59
  1448. package/assets/Card.scss +0 -14
  1449. package/assets/Checkbox.scss +0 -313
  1450. package/assets/Chip.scss +0 -327
  1451. package/assets/DateField.scss +0 -3
  1452. package/assets/DatePicker.scss +0 -73
  1453. package/assets/Dropdown.scss +0 -43
  1454. package/assets/FormControls.scss +0 -15
  1455. package/assets/HelperText.scss +0 -12
  1456. package/assets/Icon.scss +0 -31
  1457. package/assets/Interval.scss +0 -35
  1458. package/assets/Link.scss +0 -97
  1459. package/assets/ListItem.scss +0 -77
  1460. package/assets/Loader.scss +0 -57
  1461. package/assets/Logo.scss +0 -29
  1462. package/assets/Modal.scss +0 -103
  1463. package/assets/Pagination.scss +0 -3
  1464. package/assets/Paper.scss +0 -23
  1465. package/assets/Period.scss +0 -9
  1466. package/assets/Popper.scss +0 -3
  1467. package/assets/Rating.scss +0 -27
  1468. package/assets/Select.scss +0 -86
  1469. package/assets/Skeleton.scss +0 -26
  1470. package/assets/Slider.scss +0 -6
  1471. package/assets/Stack.scss +0 -28
  1472. package/assets/Status.scss +0 -69
  1473. package/assets/StepItem.scss +0 -90
  1474. package/assets/StepItemIcon.scss +0 -48
  1475. package/assets/Stepper.scss +0 -31
  1476. package/assets/Switch.scss +0 -68
  1477. package/assets/Table.scss +0 -53
  1478. package/assets/TextArea.scss +0 -23
  1479. package/assets/TextField.scss +0 -209
  1480. package/assets/Tooltip.scss +0 -18
  1481. package/assets/classes.scss +0 -422
  1482. package/assets/fonts.scss +0 -24
  1483. package/assets/global.scss +0 -222
  1484. package/assets/styles.min.css +0 -1
  1485. package/assets/styles.min.css.map +0 -1
  1486. package/assets/styles.scss +0 -47
  1487. package/assets/variables.scss +0 -13
  1488. package/index.js +0 -43
  1489. package/lib/const/styles.js +0 -5
  1490. package/lib/helpers/genericForwardRef.js +0 -8
  1491. package/lib/helpers/getColorClasses.js +0 -15
  1492. package/lib/helpers/getSizeClasses.js +0 -12
  1493. package/lib/helpers/getVariantClasses.js +0 -12
  1494. package/lib/helpers/helpers.js +0 -73
  1495. package/lib/helpers/index.js +0 -6
  1496. package/lib/helpers/insertChar.js +0 -11
  1497. package/lib/hooks/useClickOutside.js +0 -21
  1498. package/lib/hooks/useEnhancedEffect.js +0 -17
  1499. package/lib/hooks/useEventCallback.js +0 -20
  1500. package/lib/hooks/useLazyRef.js +0 -15
  1501. package/lib/hooks/useTimeout.js +0 -42
  1502. package/lib/services/DateService.js +0 -64
  1503. package/types/theme.js +0 -3
  1504. package/ui/Accordion/Accordion.classes.js +0 -35
  1505. package/ui/Accordion/Accordion.js +0 -137
  1506. package/ui/Accordion/AccordionHeading.js +0 -37
  1507. package/ui/Accordion/index.js +0 -9
  1508. package/ui/Adornment/Adornment.js +0 -46
  1509. package/ui/Adornment/index.js +0 -8
  1510. package/ui/Alert/Alert.js +0 -59
  1511. package/ui/Alert/index.js +0 -8
  1512. package/ui/Avatar/Avatar.js +0 -66
  1513. package/ui/Avatar/index.js +0 -8
  1514. package/ui/AvatarGroup/AvatarGroup.js +0 -32
  1515. package/ui/AvatarGroup/index.js +0 -8
  1516. package/ui/BackDrop/BackDrop.js +0 -27
  1517. package/ui/BackDrop/BackDropBase.js +0 -39
  1518. package/ui/BackDrop/index.js +0 -8
  1519. package/ui/Badge/Badge.js +0 -33
  1520. package/ui/Badge/index.js +0 -8
  1521. package/ui/Button/Button.js +0 -62
  1522. package/ui/Button/index.js +0 -8
  1523. package/ui/ButtonGroup/ButtonGroup.js +0 -32
  1524. package/ui/ButtonGroup/index.js +0 -8
  1525. package/ui/ButtonIcon/ButtonIcon.js +0 -35
  1526. package/ui/ButtonIcon/index.js +0 -8
  1527. package/ui/Card/Card.js +0 -19
  1528. package/ui/Card/index.js +0 -8
  1529. package/ui/Chip/Chip.js +0 -74
  1530. package/ui/Chip/index.js +0 -8
  1531. package/ui/Dropdown/Dropdown.js +0 -62
  1532. package/ui/Dropdown/index.js +0 -8
  1533. package/ui/Form/Checkbox/Checkbox.js +0 -68
  1534. package/ui/Form/Checkbox/const.js +0 -5
  1535. package/ui/Form/Checkbox/index.js +0 -8
  1536. package/ui/Form/DateField/DateField.js +0 -231
  1537. package/ui/Form/DateField/index.js +0 -8
  1538. package/ui/Form/DatePicker/DatePicker.js +0 -169
  1539. package/ui/Form/DatePicker/index.js +0 -8
  1540. package/ui/Form/DatePicker/styles.css +0 -803
  1541. package/ui/Form/FormControls/FormControls.js +0 -50
  1542. package/ui/Form/FormControls/const.js +0 -6
  1543. package/ui/Form/FormControls/index.js +0 -8
  1544. package/ui/Form/Interval/Interval.js +0 -118
  1545. package/ui/Form/Interval/IntervalSlide.js +0 -55
  1546. package/ui/Form/Interval/index.js +0 -9
  1547. package/ui/Form/Password/Password.js +0 -46
  1548. package/ui/Form/Password/index.js +0 -8
  1549. package/ui/Form/Period/Period.js +0 -193
  1550. package/ui/Form/Period/index.js +0 -8
  1551. package/ui/Form/PeriodSelect/PeriodSelect.js +0 -28
  1552. package/ui/Form/PeriodSelect/index.js +0 -8
  1553. package/ui/Form/Radio/Radio.js +0 -19
  1554. package/ui/Form/Radio/index.js +0 -8
  1555. package/ui/Form/Rating/Rating.js +0 -74
  1556. package/ui/Form/Rating/const.js +0 -8
  1557. package/ui/Form/Rating/index.js +0 -8
  1558. package/ui/Form/Select/Select.js +0 -330
  1559. package/ui/Form/Select/SelectOptionList.js +0 -38
  1560. package/ui/Form/Select/SelectOptionsContainer.js +0 -20
  1561. package/ui/Form/Select/SelectSummary.js +0 -114
  1562. package/ui/Form/Select/index.js +0 -11
  1563. package/ui/Form/Switch/Switch.js +0 -27
  1564. package/ui/Form/Switch/index.js +0 -8
  1565. package/ui/Form/TextArea/TextArea.js +0 -51
  1566. package/ui/Form/TextArea/index.js +0 -8
  1567. package/ui/Form/TextField/TextField.js +0 -292
  1568. package/ui/Form/TextField/index.js +0 -9
  1569. package/ui/Form/TimeField/TimeField.d.ts +0 -28
  1570. package/ui/Form/TimeField/TimeField.js +0 -20
  1571. package/ui/Form/TimeField/index.js +0 -8
  1572. package/ui/Form/TimePicker/TimePicker.js +0 -27
  1573. package/ui/Form/TimePicker/index.js +0 -8
  1574. package/ui/HelperText/HelperText.js +0 -28
  1575. package/ui/HelperText/index.js +0 -8
  1576. package/ui/Icon/Icon.js +0 -41
  1577. package/ui/Icon/Mi.js +0 -31
  1578. package/ui/Icon/Mis.js +0 -16
  1579. package/ui/Icon/index.js +0 -11
  1580. package/ui/Link/Link.js +0 -45
  1581. package/ui/Link/index.js +0 -8
  1582. package/ui/List/ListItem.js +0 -76
  1583. package/ui/List/index.js +0 -8
  1584. package/ui/Loader/Loader.js +0 -28
  1585. package/ui/Loader/index.js +0 -8
  1586. package/ui/Logo/Logo.js +0 -110
  1587. package/ui/Logo/index.js +0 -8
  1588. package/ui/Modal/BaseModal.js +0 -84
  1589. package/ui/Modal/Modal.js +0 -110
  1590. package/ui/Modal/const.js +0 -6
  1591. package/ui/Modal/index.js +0 -8
  1592. package/ui/Pagination/Pagination.js +0 -158
  1593. package/ui/Pagination/index.js +0 -8
  1594. package/ui/Paper/Paper.js +0 -29
  1595. package/ui/Paper/index.js +0 -8
  1596. package/ui/Popover/Popover.js +0 -37
  1597. package/ui/Popover/index.js +0 -8
  1598. package/ui/Popper/Popper.js +0 -21
  1599. package/ui/Popper/PopperBase.js +0 -60
  1600. package/ui/Popper/index.js +0 -9
  1601. package/ui/Skeleton/Skeleton.js +0 -28
  1602. package/ui/Skeleton/index.js +0 -8
  1603. package/ui/Slider/RcSlider.js +0 -1
  1604. package/ui/Slider/Slider.js +0 -40
  1605. package/ui/Slider/index.js +0 -8
  1606. package/ui/Slider/style.scss +0 -347
  1607. package/ui/Stack/Stack.js +0 -62
  1608. package/ui/Stack/index.js +0 -8
  1609. package/ui/Status/Status.js +0 -39
  1610. package/ui/Status/index.js +0 -8
  1611. package/ui/Stepper/StepItem.js +0 -55
  1612. package/ui/Stepper/StepItemIcon.js +0 -38
  1613. package/ui/Stepper/Stepper.js +0 -49
  1614. package/ui/Stepper/index.js +0 -8
  1615. package/ui/Table/Table.js +0 -64
  1616. package/ui/Table/TableBase.js +0 -21
  1617. package/ui/Table/TableCell.js +0 -35
  1618. package/ui/Table/TableRow.js +0 -24
  1619. package/ui/Table/index.js +0 -10
  1620. package/ui/Tooltip/Tooltip.js +0 -88
  1621. package/ui/Tooltip/index.js +0 -8
  1622. /package/{index.d.ts → lib/cjs/index.d.ts} +0 -0
  1623. /package/lib/{const → cjs/lib/const}/styles.d.ts +0 -0
  1624. /package/lib/{helpers → cjs/lib/helpers}/genericForwardRef.d.ts +0 -0
  1625. /package/lib/{helpers → cjs/lib/helpers}/getColorClasses.d.ts +0 -0
  1626. /package/lib/{helpers → cjs/lib/helpers}/getSizeClasses.d.ts +0 -0
  1627. /package/lib/{helpers → cjs/lib/helpers}/getVariantClasses.d.ts +0 -0
  1628. /package/lib/{helpers → cjs/lib/helpers}/helpers.d.ts +0 -0
  1629. /package/lib/{helpers → cjs/lib/helpers}/index.d.ts +0 -0
  1630. /package/lib/{helpers → cjs/lib/helpers}/insertChar.d.ts +0 -0
  1631. /package/lib/{hooks → cjs/lib/hooks}/useClickOutside.d.ts +0 -0
  1632. /package/lib/{hooks → cjs/lib/hooks}/useEnhancedEffect.d.ts +0 -0
  1633. /package/lib/{hooks → cjs/lib/hooks}/useEventCallback.d.ts +0 -0
  1634. /package/lib/{hooks → cjs/lib/hooks}/useLazyRef.d.ts +0 -0
  1635. /package/lib/{hooks → cjs/lib/hooks}/useTimeout.d.ts +0 -0
  1636. /package/lib/{services → cjs/lib/services}/DateService.d.ts +0 -0
  1637. /package/{types → lib/cjs/types}/theme.d.ts +0 -0
  1638. /package/{ui → lib/cjs/ui}/Accordion/Accordion.classes.d.ts +0 -0
  1639. /package/{ui → lib/cjs/ui}/Accordion/Accordion.d.ts +0 -0
  1640. /package/{ui → lib/cjs/ui}/Accordion/AccordionHeading.d.ts +0 -0
  1641. /package/{ui → lib/cjs/ui}/Accordion/index.d.ts +0 -0
  1642. /package/{ui → lib/cjs/ui}/Adornment/Adornment.d.ts +0 -0
  1643. /package/{ui → lib/cjs/ui}/Adornment/index.d.ts +0 -0
  1644. /package/{ui → lib/cjs/ui}/Alert/Alert.d.ts +0 -0
  1645. /package/{ui → lib/cjs/ui}/Alert/index.d.ts +0 -0
  1646. /package/{ui → lib/cjs/ui}/Avatar/Avatar.d.ts +0 -0
  1647. /package/{ui → lib/cjs/ui}/Avatar/index.d.ts +0 -0
  1648. /package/{ui → lib/cjs/ui}/AvatarGroup/AvatarGroup.d.ts +0 -0
  1649. /package/{ui → lib/cjs/ui}/AvatarGroup/index.d.ts +0 -0
  1650. /package/{ui → lib/cjs/ui}/BackDrop/BackDrop.d.ts +0 -0
  1651. /package/{ui → lib/cjs/ui}/BackDrop/BackDropBase.d.ts +0 -0
  1652. /package/{ui → lib/cjs/ui}/BackDrop/index.d.ts +0 -0
  1653. /package/{ui → lib/cjs/ui}/Badge/Badge.d.ts +0 -0
  1654. /package/{ui → lib/cjs/ui}/Badge/index.d.ts +0 -0
  1655. /package/{ui → lib/cjs/ui}/Button/Button.d.ts +0 -0
  1656. /package/{ui → lib/cjs/ui}/Button/index.d.ts +0 -0
  1657. /package/{ui → lib/cjs/ui}/ButtonGroup/ButtonGroup.d.ts +0 -0
  1658. /package/{ui → lib/cjs/ui}/ButtonGroup/index.d.ts +0 -0
  1659. /package/{ui → lib/cjs/ui}/ButtonIcon/ButtonIcon.d.ts +0 -0
  1660. /package/{ui → lib/cjs/ui}/ButtonIcon/index.d.ts +0 -0
  1661. /package/{ui → lib/cjs/ui}/Card/Card.d.ts +0 -0
  1662. /package/{ui → lib/cjs/ui}/Card/index.d.ts +0 -0
  1663. /package/{ui → lib/cjs/ui}/Chip/Chip.d.ts +0 -0
  1664. /package/{ui → lib/cjs/ui}/Chip/index.d.ts +0 -0
  1665. /package/{ui → lib/cjs/ui}/Dropdown/Dropdown.d.ts +0 -0
  1666. /package/{ui → lib/cjs/ui}/Dropdown/index.d.ts +0 -0
  1667. /package/{ui → lib/cjs/ui}/Form/Checkbox/Checkbox.d.ts +0 -0
  1668. /package/{ui → lib/cjs/ui}/Form/Checkbox/const.d.ts +0 -0
  1669. /package/{ui → lib/cjs/ui}/Form/Checkbox/index.d.ts +0 -0
  1670. /package/{ui → lib/cjs/ui}/Form/DateField/DateField.d.ts +0 -0
  1671. /package/{ui → lib/cjs/ui}/Form/DateField/index.d.ts +0 -0
  1672. /package/{ui → lib/cjs/ui}/Form/DatePicker/DatePicker.d.ts +0 -0
  1673. /package/{ui → lib/cjs/ui}/Form/DatePicker/index.d.ts +0 -0
  1674. /package/{ui → lib/cjs/ui}/Form/FormControls/FormControls.d.ts +0 -0
  1675. /package/{ui → lib/cjs/ui}/Form/FormControls/const.d.ts +0 -0
  1676. /package/{ui → lib/cjs/ui}/Form/FormControls/index.d.ts +0 -0
  1677. /package/{ui → lib/cjs/ui}/Form/Interval/Interval.d.ts +0 -0
  1678. /package/{ui → lib/cjs/ui}/Form/Interval/IntervalSlide.d.ts +0 -0
  1679. /package/{ui → lib/cjs/ui}/Form/Interval/index.d.ts +0 -0
  1680. /package/{ui → lib/cjs/ui}/Form/Password/Password.d.ts +0 -0
  1681. /package/{ui → lib/cjs/ui}/Form/Password/index.d.ts +0 -0
  1682. /package/{ui → lib/cjs/ui}/Form/Period/Period.d.ts +0 -0
  1683. /package/{ui → lib/cjs/ui}/Form/Period/index.d.ts +0 -0
  1684. /package/{ui → lib/cjs/ui}/Form/PeriodSelect/PeriodSelect.d.ts +0 -0
  1685. /package/{ui → lib/cjs/ui}/Form/PeriodSelect/index.d.ts +0 -0
  1686. /package/{ui → lib/cjs/ui}/Form/Radio/Radio.d.ts +0 -0
  1687. /package/{ui → lib/cjs/ui}/Form/Radio/index.d.ts +0 -0
  1688. /package/{ui → lib/cjs/ui}/Form/Rating/Rating.d.ts +0 -0
  1689. /package/{ui → lib/cjs/ui}/Form/Rating/const.d.ts +0 -0
  1690. /package/{ui → lib/cjs/ui}/Form/Rating/index.d.ts +0 -0
  1691. /package/{ui → lib/cjs/ui}/Form/Select/Select.d.ts +0 -0
  1692. /package/{ui → lib/cjs/ui}/Form/Select/SelectOptionList.d.ts +0 -0
  1693. /package/{ui → lib/cjs/ui}/Form/Select/SelectOptionsContainer.d.ts +0 -0
  1694. /package/{ui → lib/cjs/ui}/Form/Select/SelectSummary.d.ts +0 -0
  1695. /package/{ui → lib/cjs/ui}/Form/Select/index.d.ts +0 -0
  1696. /package/{ui → lib/cjs/ui}/Form/Switch/Switch.d.ts +0 -0
  1697. /package/{ui → lib/cjs/ui}/Form/Switch/index.d.ts +0 -0
  1698. /package/{ui → lib/cjs/ui}/Form/TextArea/TextArea.d.ts +0 -0
  1699. /package/{ui → lib/cjs/ui}/Form/TextArea/index.d.ts +0 -0
  1700. /package/{ui → lib/cjs/ui}/Form/TextField/TextField.d.ts +0 -0
  1701. /package/{ui → lib/cjs/ui}/Form/TextField/index.d.ts +0 -0
  1702. /package/{ui → lib/cjs/ui}/Form/TimeField/index.d.ts +0 -0
  1703. /package/{ui → lib/cjs/ui}/Form/TimePicker/TimePicker.d.ts +0 -0
  1704. /package/{ui → lib/cjs/ui}/Form/TimePicker/index.d.ts +0 -0
  1705. /package/{ui → lib/cjs/ui}/HelperText/HelperText.d.ts +0 -0
  1706. /package/{ui → lib/cjs/ui}/HelperText/index.d.ts +0 -0
  1707. /package/{ui → lib/cjs/ui}/Icon/Icon.d.ts +0 -0
  1708. /package/{ui → lib/cjs/ui}/Icon/Mi.d.ts +0 -0
  1709. /package/{ui → lib/cjs/ui}/Icon/Mis.d.ts +0 -0
  1710. /package/{ui → lib/cjs/ui}/Icon/index.d.ts +0 -0
  1711. /package/{ui → lib/cjs/ui}/Link/Link.d.ts +0 -0
  1712. /package/{ui → lib/cjs/ui}/Link/index.d.ts +0 -0
  1713. /package/{ui → lib/cjs/ui}/List/ListItem.d.ts +0 -0
  1714. /package/{ui → lib/cjs/ui}/List/index.d.ts +0 -0
  1715. /package/{ui → lib/cjs/ui}/Loader/Loader.d.ts +0 -0
  1716. /package/{ui → lib/cjs/ui}/Loader/index.d.ts +0 -0
  1717. /package/{ui → lib/cjs/ui}/Logo/Logo.d.ts +0 -0
  1718. /package/{ui → lib/cjs/ui}/Logo/index.d.ts +0 -0
  1719. /package/{ui → lib/cjs/ui}/Modal/BaseModal.d.ts +0 -0
  1720. /package/{ui → lib/cjs/ui}/Modal/Modal.d.ts +0 -0
  1721. /package/{ui → lib/cjs/ui}/Modal/const.d.ts +0 -0
  1722. /package/{ui → lib/cjs/ui}/Modal/index.d.ts +0 -0
  1723. /package/{ui → lib/cjs/ui}/Pagination/Pagination.d.ts +0 -0
  1724. /package/{ui → lib/cjs/ui}/Pagination/index.d.ts +0 -0
  1725. /package/{ui → lib/cjs/ui}/Paper/Paper.d.ts +0 -0
  1726. /package/{ui → lib/cjs/ui}/Paper/index.d.ts +0 -0
  1727. /package/{ui → lib/cjs/ui}/Popover/Popover.d.ts +0 -0
  1728. /package/{ui → lib/cjs/ui}/Popover/index.d.ts +0 -0
  1729. /package/{ui → lib/cjs/ui}/Popper/Popper.d.ts +0 -0
  1730. /package/{ui → lib/cjs/ui}/Popper/PopperBase.d.ts +0 -0
  1731. /package/{ui → lib/cjs/ui}/Popper/index.d.ts +0 -0
  1732. /package/{ui → lib/cjs/ui}/Skeleton/Skeleton.d.ts +0 -0
  1733. /package/{ui → lib/cjs/ui}/Skeleton/index.d.ts +0 -0
  1734. /package/{ui → lib/cjs/ui}/Slider/RcSlider.d.ts +0 -0
  1735. /package/{ui → lib/cjs/ui}/Slider/Slider.d.ts +0 -0
  1736. /package/{ui → lib/cjs/ui}/Slider/index.d.ts +0 -0
  1737. /package/{ui → lib/cjs/ui}/Stack/Stack.d.ts +0 -0
  1738. /package/{ui → lib/cjs/ui}/Stack/index.d.ts +0 -0
  1739. /package/{ui → lib/cjs/ui}/Status/Status.d.ts +0 -0
  1740. /package/{ui → lib/cjs/ui}/Status/index.d.ts +0 -0
  1741. /package/{ui → lib/cjs/ui}/Stepper/StepItem.d.ts +0 -0
  1742. /package/{ui → lib/cjs/ui}/Stepper/StepItemIcon.d.ts +0 -0
  1743. /package/{ui → lib/cjs/ui}/Stepper/Stepper.d.ts +0 -0
  1744. /package/{ui → lib/cjs/ui}/Stepper/index.d.ts +0 -0
  1745. /package/{ui → lib/cjs/ui}/Table/Table.d.ts +0 -0
  1746. /package/{ui → lib/cjs/ui}/Table/TableBase.d.ts +0 -0
  1747. /package/{ui → lib/cjs/ui}/Table/TableCell.d.ts +0 -0
  1748. /package/{ui → lib/cjs/ui}/Table/TableRow.d.ts +0 -0
  1749. /package/{ui → lib/cjs/ui}/Table/index.d.ts +0 -0
  1750. /package/{ui → lib/cjs/ui}/Tooltip/Tooltip.d.ts +0 -0
  1751. /package/{ui → lib/cjs/ui}/Tooltip/index.d.ts +0 -0
@@ -0,0 +1,2504 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index = require("../../../../../_virtual/index.cjs");
4
+ const accessibleDescription = require("../../node_modules/dom-accessibility-api/dist/accessible-description.cjs");
5
+ const accessibleName = require("../../node_modules/dom-accessibility-api/dist/accessible-name.cjs");
6
+ const index$1 = require("../../../../../_virtual/index2.cjs");
7
+ const lzString = require("../../../../../_virtual/lz-string.cjs");
8
+ function escapeHTML(str) {
9
+ return str.replace(/</g, "&lt;").replace(/>/g, "&gt;");
10
+ }
11
+ const printProps = (keys, props, config2, indentation, depth, refs, printer) => {
12
+ const indentationNext = indentation + config2.indent;
13
+ const colors = config2.colors;
14
+ return keys.map((key) => {
15
+ const value = props[key];
16
+ let printed = printer(value, config2, indentationNext, depth, refs);
17
+ if (typeof value !== "string") {
18
+ if (printed.indexOf("\n") !== -1) {
19
+ printed = config2.spacingOuter + indentationNext + printed + config2.spacingOuter + indentation;
20
+ }
21
+ printed = "{" + printed + "}";
22
+ }
23
+ return config2.spacingInner + indentation + colors.prop.open + key + colors.prop.close + "=" + colors.value.open + printed + colors.value.close;
24
+ }).join("");
25
+ };
26
+ const NodeTypeTextNode = 3;
27
+ const printChildren = (children, config2, indentation, depth, refs, printer) => children.map((child) => {
28
+ const printedChild = typeof child === "string" ? printText(child, config2) : printer(child, config2, indentation, depth, refs);
29
+ if (printedChild === "" && typeof child === "object" && child !== null && child.nodeType !== NodeTypeTextNode) {
30
+ return "";
31
+ }
32
+ return config2.spacingOuter + indentation + printedChild;
33
+ }).join("");
34
+ const printText = (text, config2) => {
35
+ const contentColor = config2.colors.content;
36
+ return contentColor.open + escapeHTML(text) + contentColor.close;
37
+ };
38
+ const printComment = (comment, config2) => {
39
+ const commentColor = config2.colors.comment;
40
+ return commentColor.open + "<!--" + escapeHTML(comment) + "-->" + commentColor.close;
41
+ };
42
+ const printElement = (type, printedProps, printedChildren, config2, indentation) => {
43
+ const tagColor = config2.colors.tag;
44
+ return tagColor.open + "<" + type + (printedProps && tagColor.close + printedProps + config2.spacingOuter + indentation + tagColor.open) + (printedChildren ? ">" + tagColor.close + printedChildren + config2.spacingOuter + indentation + tagColor.open + "</" + type : (printedProps && !config2.min ? "" : " ") + "/") + ">" + tagColor.close;
45
+ };
46
+ const printElementAsLeaf = (type, config2) => {
47
+ const tagColor = config2.colors.tag;
48
+ return tagColor.open + "<" + type + tagColor.close + " …" + tagColor.open + " />" + tagColor.close;
49
+ };
50
+ const ELEMENT_NODE$1 = 1;
51
+ const TEXT_NODE$1 = 3;
52
+ const COMMENT_NODE$1 = 8;
53
+ const FRAGMENT_NODE = 11;
54
+ const ELEMENT_REGEXP = /^((HTML|SVG)\w*)?Element$/;
55
+ const testNode = (val) => {
56
+ const constructorName = val.constructor.name;
57
+ const {
58
+ nodeType,
59
+ tagName
60
+ } = val;
61
+ const isCustomElement = typeof tagName === "string" && tagName.includes("-") || typeof val.hasAttribute === "function" && val.hasAttribute("is");
62
+ return nodeType === ELEMENT_NODE$1 && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE$1 && constructorName === "Text" || nodeType === COMMENT_NODE$1 && constructorName === "Comment" || nodeType === FRAGMENT_NODE && constructorName === "DocumentFragment";
63
+ };
64
+ function nodeIsText(node) {
65
+ return node.nodeType === TEXT_NODE$1;
66
+ }
67
+ function nodeIsComment(node) {
68
+ return node.nodeType === COMMENT_NODE$1;
69
+ }
70
+ function nodeIsFragment(node) {
71
+ return node.nodeType === FRAGMENT_NODE;
72
+ }
73
+ function createDOMElementFilter(filterNode) {
74
+ return {
75
+ test: (val) => {
76
+ var _val$constructor2;
77
+ return (val == null || (_val$constructor2 = val.constructor) == null ? void 0 : _val$constructor2.name) && testNode(val);
78
+ },
79
+ serialize: (node, config2, indentation, depth, refs, printer) => {
80
+ if (nodeIsText(node)) {
81
+ return printText(node.data, config2);
82
+ }
83
+ if (nodeIsComment(node)) {
84
+ return printComment(node.data, config2);
85
+ }
86
+ const type = nodeIsFragment(node) ? "DocumentFragment" : node.tagName.toLowerCase();
87
+ if (++depth > config2.maxDepth) {
88
+ return printElementAsLeaf(type, config2);
89
+ }
90
+ return printElement(type, printProps(nodeIsFragment(node) ? [] : Array.from(node.attributes).map((attr) => attr.name).sort(), nodeIsFragment(node) ? {} : Array.from(node.attributes).reduce((props, attribute) => {
91
+ props[attribute.name] = attribute.value;
92
+ return props;
93
+ }, {}), config2, indentation + config2.indent, depth, refs, printer), printChildren(Array.prototype.slice.call(node.childNodes || node.children).filter(filterNode), config2, indentation + config2.indent, depth, refs, printer), config2, indentation);
94
+ }
95
+ };
96
+ }
97
+ let chalk = null;
98
+ let readFileSync = null;
99
+ let codeFrameColumns = null;
100
+ try {
101
+ const nodeRequire = module && module.require;
102
+ readFileSync = nodeRequire.call(module, "fs").readFileSync;
103
+ codeFrameColumns = nodeRequire.call(module, "@babel/code-frame").codeFrameColumns;
104
+ chalk = nodeRequire.call(module, "chalk");
105
+ } catch (e) {
106
+ }
107
+ function getCodeFrame(frame) {
108
+ const locationStart = frame.indexOf("(") + 1;
109
+ const locationEnd = frame.indexOf(")");
110
+ const frameLocation = frame.slice(locationStart, locationEnd);
111
+ const frameLocationElements = frameLocation.split(":");
112
+ const [filename, line, column] = [frameLocationElements[0], parseInt(frameLocationElements[1], 10), parseInt(frameLocationElements[2], 10)];
113
+ let rawFileContents = "";
114
+ try {
115
+ rawFileContents = readFileSync(filename, "utf-8");
116
+ } catch (e) {
117
+ return "";
118
+ }
119
+ const codeFrame = codeFrameColumns(rawFileContents, {
120
+ start: {
121
+ line,
122
+ column
123
+ }
124
+ }, {
125
+ highlightCode: true,
126
+ linesBelow: 0
127
+ });
128
+ return chalk.dim(frameLocation) + "\n" + codeFrame + "\n";
129
+ }
130
+ function getUserCodeFrame() {
131
+ if (!readFileSync || !codeFrameColumns) {
132
+ return "";
133
+ }
134
+ const err = new Error();
135
+ const firstClientCodeFrame = err.stack.split("\n").slice(1).find((frame) => !frame.includes("node_modules/"));
136
+ return getCodeFrame(firstClientCodeFrame);
137
+ }
138
+ const TEXT_NODE = 3;
139
+ function jestFakeTimersAreEnabled() {
140
+ if (typeof jest !== "undefined" && jest !== null) {
141
+ return (
142
+ // legacy timers
143
+ setTimeout._isMockFunction === true || // modern timers
144
+ // eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix
145
+ Object.prototype.hasOwnProperty.call(setTimeout, "clock")
146
+ );
147
+ }
148
+ return false;
149
+ }
150
+ function getDocument() {
151
+ if (typeof window === "undefined") {
152
+ throw new Error("Could not find default container");
153
+ }
154
+ return window.document;
155
+ }
156
+ function getWindowFromNode(node) {
157
+ if (node.defaultView) {
158
+ return node.defaultView;
159
+ } else if (node.ownerDocument && node.ownerDocument.defaultView) {
160
+ return node.ownerDocument.defaultView;
161
+ } else if (node.window) {
162
+ return node.window;
163
+ } else if (node.ownerDocument && node.ownerDocument.defaultView === null) {
164
+ throw new Error("It looks like the window object is not available for the provided node.");
165
+ } else if (node.then instanceof Function) {
166
+ throw new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?");
167
+ } else if (Array.isArray(node)) {
168
+ throw new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?");
169
+ } else if (typeof node.debug === "function" && typeof node.logTestingPlaygroundURL === "function") {
170
+ throw new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?");
171
+ } else {
172
+ throw new Error("The given node is not an Element, the node type is: " + typeof node + ".");
173
+ }
174
+ }
175
+ function checkContainerType(container) {
176
+ if (!container || !(typeof container.querySelector === "function") || !(typeof container.querySelectorAll === "function")) {
177
+ throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got " + getTypeName(container) + ".");
178
+ }
179
+ function getTypeName(object) {
180
+ if (typeof object === "object") {
181
+ return object === null ? "null" : object.constructor.name;
182
+ }
183
+ return typeof object;
184
+ }
185
+ }
186
+ const shouldHighlight = () => {
187
+ let colors;
188
+ try {
189
+ var _process;
190
+ colors = JSON.parse((_process = process) == null || (_process = _process.env) == null ? void 0 : _process.COLORS);
191
+ } catch (e) {
192
+ }
193
+ if (typeof colors === "boolean") {
194
+ return colors;
195
+ } else {
196
+ return typeof process !== "undefined" && process.versions !== void 0 && process.versions.node !== void 0;
197
+ }
198
+ };
199
+ const {
200
+ DOMCollection
201
+ } = index.buildExports.plugins;
202
+ const ELEMENT_NODE = 1;
203
+ const COMMENT_NODE = 8;
204
+ function filterCommentsAndDefaultIgnoreTagsTags(value) {
205
+ return value.nodeType !== COMMENT_NODE && (value.nodeType !== ELEMENT_NODE || !value.matches(getConfig().defaultIgnore));
206
+ }
207
+ function prettyDOM(dom, maxLength, options) {
208
+ if (options === void 0) {
209
+ options = {};
210
+ }
211
+ if (!dom) {
212
+ dom = getDocument().body;
213
+ }
214
+ if (typeof maxLength !== "number") {
215
+ maxLength = typeof process !== "undefined" && process.env.DEBUG_PRINT_LIMIT || 7e3;
216
+ }
217
+ if (maxLength === 0) {
218
+ return "";
219
+ }
220
+ if (dom.documentElement) {
221
+ dom = dom.documentElement;
222
+ }
223
+ let domTypeName = typeof dom;
224
+ if (domTypeName === "object") {
225
+ domTypeName = dom.constructor.name;
226
+ } else {
227
+ dom = {};
228
+ }
229
+ if (!("outerHTML" in dom)) {
230
+ throw new TypeError("Expected an element or document but got " + domTypeName);
231
+ }
232
+ const {
233
+ filterNode = filterCommentsAndDefaultIgnoreTagsTags,
234
+ ...prettyFormatOptions
235
+ } = options;
236
+ const debugContent = index.buildExports.format(dom, {
237
+ plugins: [createDOMElementFilter(filterNode), DOMCollection],
238
+ printFunctionName: false,
239
+ highlight: shouldHighlight(),
240
+ ...prettyFormatOptions
241
+ });
242
+ return maxLength !== void 0 && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + "..." : debugContent;
243
+ }
244
+ const logDOM = function() {
245
+ const userCodeFrame = getUserCodeFrame();
246
+ if (userCodeFrame) {
247
+ console.log(prettyDOM(...arguments) + "\n\n" + userCodeFrame);
248
+ } else {
249
+ console.log(prettyDOM(...arguments));
250
+ }
251
+ };
252
+ let config = {
253
+ testIdAttribute: "data-testid",
254
+ asyncUtilTimeout: 1e3,
255
+ // asyncWrapper and advanceTimersWrapper is to support React's async `act` function.
256
+ // forcing react-testing-library to wrap all async functions would've been
257
+ // a total nightmare (consider wrapping every findBy* query and then also
258
+ // updating `within` so those would be wrapped too. Total nightmare).
259
+ // so we have this config option that's really only intended for
260
+ // react-testing-library to use. For that reason, this feature will remain
261
+ // undocumented.
262
+ asyncWrapper: (cb) => cb(),
263
+ unstable_advanceTimersWrapper: (cb) => cb(),
264
+ eventWrapper: (cb) => cb(),
265
+ // default value for the `hidden` option in `ByRole` queries
266
+ defaultHidden: false,
267
+ // default value for the `ignore` option in `ByText` queries
268
+ defaultIgnore: "script, style",
269
+ // showOriginalStackTrace flag to show the full error stack traces for async errors
270
+ showOriginalStackTrace: false,
271
+ // throw errors w/ suggestions for better queries. Opt in so off by default.
272
+ throwSuggestions: false,
273
+ // called when getBy* queries fail. (message, container) => Error
274
+ getElementError(message, container) {
275
+ const prettifiedDOM = prettyDOM(container);
276
+ const error = new Error([message, "Ignored nodes: comments, " + config.defaultIgnore + "\n" + prettifiedDOM].filter(Boolean).join("\n\n"));
277
+ error.name = "TestingLibraryElementError";
278
+ return error;
279
+ },
280
+ _disableExpensiveErrorDiagnostics: false,
281
+ computedStyleSupportsPseudoElements: false
282
+ };
283
+ function runWithExpensiveErrorDiagnosticsDisabled(callback) {
284
+ try {
285
+ config._disableExpensiveErrorDiagnostics = true;
286
+ return callback();
287
+ } finally {
288
+ config._disableExpensiveErrorDiagnostics = false;
289
+ }
290
+ }
291
+ function configure(newConfig) {
292
+ if (typeof newConfig === "function") {
293
+ newConfig = newConfig(config);
294
+ }
295
+ config = {
296
+ ...config,
297
+ ...newConfig
298
+ };
299
+ }
300
+ function getConfig() {
301
+ return config;
302
+ }
303
+ const labelledNodeNames = ["button", "meter", "output", "progress", "select", "textarea", "input"];
304
+ function getTextContent(node) {
305
+ if (labelledNodeNames.includes(node.nodeName.toLowerCase())) {
306
+ return "";
307
+ }
308
+ if (node.nodeType === TEXT_NODE) return node.textContent;
309
+ return Array.from(node.childNodes).map((childNode) => getTextContent(childNode)).join("");
310
+ }
311
+ function getLabelContent(element) {
312
+ let textContent;
313
+ if (element.tagName.toLowerCase() === "label") {
314
+ textContent = getTextContent(element);
315
+ } else {
316
+ textContent = element.value || element.textContent;
317
+ }
318
+ return textContent;
319
+ }
320
+ function getRealLabels(element) {
321
+ if (element.labels !== void 0) {
322
+ var _labels;
323
+ return (_labels = element.labels) != null ? _labels : [];
324
+ }
325
+ if (!isLabelable(element)) return [];
326
+ const labels = element.ownerDocument.querySelectorAll("label");
327
+ return Array.from(labels).filter((label) => label.control === element);
328
+ }
329
+ function isLabelable(element) {
330
+ return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName) || element.tagName === "INPUT" && element.getAttribute("type") !== "hidden";
331
+ }
332
+ function getLabels(container, element, _temp) {
333
+ let {
334
+ selector = "*"
335
+ } = _temp === void 0 ? {} : _temp;
336
+ const ariaLabelledBy = element.getAttribute("aria-labelledby");
337
+ const labelsId = ariaLabelledBy ? ariaLabelledBy.split(" ") : [];
338
+ return labelsId.length ? labelsId.map((labelId) => {
339
+ const labellingElement = container.querySelector('[id="' + labelId + '"]');
340
+ return labellingElement ? {
341
+ content: getLabelContent(labellingElement),
342
+ formControl: null
343
+ } : {
344
+ content: "",
345
+ formControl: null
346
+ };
347
+ }) : Array.from(getRealLabels(element)).map((label) => {
348
+ const textToMatch = getLabelContent(label);
349
+ const formControlSelector = "button, input, meter, output, progress, select, textarea";
350
+ const labelledFormControl = Array.from(label.querySelectorAll(formControlSelector)).filter((formControlElement) => formControlElement.matches(selector))[0];
351
+ return {
352
+ content: textToMatch,
353
+ formControl: labelledFormControl
354
+ };
355
+ });
356
+ }
357
+ function assertNotNullOrUndefined(matcher) {
358
+ if (matcher === null || matcher === void 0) {
359
+ throw new Error(
360
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
361
+ "It looks like " + matcher + " was passed instead of a matcher. Did you do something like getByText(" + matcher + ")?"
362
+ );
363
+ }
364
+ }
365
+ function fuzzyMatches(textToMatch, node, matcher, normalizer) {
366
+ if (typeof textToMatch !== "string") {
367
+ return false;
368
+ }
369
+ assertNotNullOrUndefined(matcher);
370
+ const normalizedText = normalizer(textToMatch);
371
+ if (typeof matcher === "string" || typeof matcher === "number") {
372
+ return normalizedText.toLowerCase().includes(matcher.toString().toLowerCase());
373
+ } else if (typeof matcher === "function") {
374
+ return matcher(normalizedText, node);
375
+ } else {
376
+ return matchRegExp(matcher, normalizedText);
377
+ }
378
+ }
379
+ function matches(textToMatch, node, matcher, normalizer) {
380
+ if (typeof textToMatch !== "string") {
381
+ return false;
382
+ }
383
+ assertNotNullOrUndefined(matcher);
384
+ const normalizedText = normalizer(textToMatch);
385
+ if (matcher instanceof Function) {
386
+ return matcher(normalizedText, node);
387
+ } else if (matcher instanceof RegExp) {
388
+ return matchRegExp(matcher, normalizedText);
389
+ } else {
390
+ return normalizedText === String(matcher);
391
+ }
392
+ }
393
+ function getDefaultNormalizer(_temp) {
394
+ let {
395
+ trim = true,
396
+ collapseWhitespace = true
397
+ } = _temp === void 0 ? {} : _temp;
398
+ return (text) => {
399
+ let normalizedText = text;
400
+ normalizedText = trim ? normalizedText.trim() : normalizedText;
401
+ normalizedText = collapseWhitespace ? normalizedText.replace(/\s+/g, " ") : normalizedText;
402
+ return normalizedText;
403
+ };
404
+ }
405
+ function makeNormalizer(_ref) {
406
+ let {
407
+ trim,
408
+ collapseWhitespace,
409
+ normalizer
410
+ } = _ref;
411
+ if (!normalizer) {
412
+ return getDefaultNormalizer({
413
+ trim,
414
+ collapseWhitespace
415
+ });
416
+ }
417
+ if (typeof trim !== "undefined" || typeof collapseWhitespace !== "undefined") {
418
+ throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
419
+ }
420
+ return normalizer;
421
+ }
422
+ function matchRegExp(matcher, text) {
423
+ const match = matcher.test(text);
424
+ if (matcher.global && matcher.lastIndex !== 0) {
425
+ console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.");
426
+ matcher.lastIndex = 0;
427
+ }
428
+ return match;
429
+ }
430
+ function getNodeText(node) {
431
+ if (node.matches("input[type=submit], input[type=button], input[type=reset]")) {
432
+ return node.value;
433
+ }
434
+ return Array.from(node.childNodes).filter((child) => child.nodeType === TEXT_NODE && Boolean(child.textContent)).map((c) => c.textContent).join("");
435
+ }
436
+ const elementRoleList = buildElementRoleList(index$1.libExports.elementRoles);
437
+ function isSubtreeInaccessible(element) {
438
+ if (element.hidden === true) {
439
+ return true;
440
+ }
441
+ if (element.getAttribute("aria-hidden") === "true") {
442
+ return true;
443
+ }
444
+ const window2 = element.ownerDocument.defaultView;
445
+ if (window2.getComputedStyle(element).display === "none") {
446
+ return true;
447
+ }
448
+ return false;
449
+ }
450
+ function isInaccessible(element, options) {
451
+ if (options === void 0) {
452
+ options = {};
453
+ }
454
+ const {
455
+ isSubtreeInaccessible: isSubtreeInaccessibleImpl = isSubtreeInaccessible
456
+ } = options;
457
+ const window2 = element.ownerDocument.defaultView;
458
+ if (window2.getComputedStyle(element).visibility === "hidden") {
459
+ return true;
460
+ }
461
+ let currentElement = element;
462
+ while (currentElement) {
463
+ if (isSubtreeInaccessibleImpl(currentElement)) {
464
+ return true;
465
+ }
466
+ currentElement = currentElement.parentElement;
467
+ }
468
+ return false;
469
+ }
470
+ function getImplicitAriaRoles(currentNode) {
471
+ for (const {
472
+ match,
473
+ roles
474
+ } of elementRoleList) {
475
+ if (match(currentNode)) {
476
+ return [...roles];
477
+ }
478
+ }
479
+ return [];
480
+ }
481
+ function buildElementRoleList(elementRolesMap) {
482
+ function makeElementSelector(_ref) {
483
+ let {
484
+ name,
485
+ attributes
486
+ } = _ref;
487
+ return "" + name + attributes.map((_ref2) => {
488
+ let {
489
+ name: attributeName,
490
+ value,
491
+ constraints = []
492
+ } = _ref2;
493
+ const shouldNotExist = constraints.indexOf("undefined") !== -1;
494
+ if (shouldNotExist) {
495
+ return ":not([" + attributeName + "])";
496
+ } else if (value) {
497
+ return "[" + attributeName + '="' + value + '"]';
498
+ } else {
499
+ return "[" + attributeName + "]";
500
+ }
501
+ }).join("");
502
+ }
503
+ function getSelectorSpecificity(_ref3) {
504
+ let {
505
+ attributes = []
506
+ } = _ref3;
507
+ return attributes.length;
508
+ }
509
+ function bySelectorSpecificity(_ref4, _ref5) {
510
+ let {
511
+ specificity: leftSpecificity
512
+ } = _ref4;
513
+ let {
514
+ specificity: rightSpecificity
515
+ } = _ref5;
516
+ return rightSpecificity - leftSpecificity;
517
+ }
518
+ function match(element) {
519
+ let {
520
+ attributes = []
521
+ } = element;
522
+ const typeTextIndex = attributes.findIndex((attribute) => attribute.value && attribute.name === "type" && attribute.value === "text");
523
+ if (typeTextIndex >= 0) {
524
+ attributes = [...attributes.slice(0, typeTextIndex), ...attributes.slice(typeTextIndex + 1)];
525
+ }
526
+ const selector = makeElementSelector({
527
+ ...element,
528
+ attributes
529
+ });
530
+ return (node) => {
531
+ if (typeTextIndex >= 0 && node.type !== "text") {
532
+ return false;
533
+ }
534
+ return node.matches(selector);
535
+ };
536
+ }
537
+ let result = [];
538
+ for (const [element, roles] of elementRolesMap.entries()) {
539
+ result = [...result, {
540
+ match: match(element),
541
+ roles: Array.from(roles),
542
+ specificity: getSelectorSpecificity(element)
543
+ }];
544
+ }
545
+ return result.sort(bySelectorSpecificity);
546
+ }
547
+ function getRoles(container, _temp) {
548
+ let {
549
+ hidden = false
550
+ } = _temp === void 0 ? {} : _temp;
551
+ function flattenDOM(node) {
552
+ return [node, ...Array.from(node.children).reduce((acc, child) => [...acc, ...flattenDOM(child)], [])];
553
+ }
554
+ return flattenDOM(container).filter((element) => {
555
+ return hidden === false ? isInaccessible(element) === false : true;
556
+ }).reduce((acc, node) => {
557
+ let roles = [];
558
+ if (node.hasAttribute("role")) {
559
+ roles = node.getAttribute("role").split(" ").slice(0, 1);
560
+ } else {
561
+ roles = getImplicitAriaRoles(node);
562
+ }
563
+ return roles.reduce((rolesAcc, role) => Array.isArray(rolesAcc[role]) ? {
564
+ ...rolesAcc,
565
+ [role]: [...rolesAcc[role], node]
566
+ } : {
567
+ ...rolesAcc,
568
+ [role]: [node]
569
+ }, acc);
570
+ }, {});
571
+ }
572
+ function prettyRoles(dom, _ref6) {
573
+ let {
574
+ hidden,
575
+ includeDescription
576
+ } = _ref6;
577
+ const roles = getRoles(dom, {
578
+ hidden
579
+ });
580
+ return Object.entries(roles).filter((_ref7) => {
581
+ let [role] = _ref7;
582
+ return role !== "generic";
583
+ }).map((_ref8) => {
584
+ let [role, elements] = _ref8;
585
+ const delimiterBar = "-".repeat(50);
586
+ const elementsString = elements.map((el) => {
587
+ const nameString = 'Name "' + accessibleName.computeAccessibleName(el, {
588
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
589
+ }) + '":\n';
590
+ const domString = prettyDOM(el.cloneNode(false));
591
+ if (includeDescription) {
592
+ const descriptionString = 'Description "' + accessibleDescription.computeAccessibleDescription(el, {
593
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
594
+ }) + '":\n';
595
+ return "" + nameString + descriptionString + domString;
596
+ }
597
+ return "" + nameString + domString;
598
+ }).join("\n\n");
599
+ return role + ":\n\n" + elementsString + "\n\n" + delimiterBar;
600
+ }).join("\n");
601
+ }
602
+ function computeAriaSelected(element) {
603
+ if (element.tagName === "OPTION") {
604
+ return element.selected;
605
+ }
606
+ return checkBooleanAttribute(element, "aria-selected");
607
+ }
608
+ function computeAriaBusy(element) {
609
+ return element.getAttribute("aria-busy") === "true";
610
+ }
611
+ function computeAriaChecked(element) {
612
+ if ("indeterminate" in element && element.indeterminate) {
613
+ return void 0;
614
+ }
615
+ if ("checked" in element) {
616
+ return element.checked;
617
+ }
618
+ return checkBooleanAttribute(element, "aria-checked");
619
+ }
620
+ function computeAriaPressed(element) {
621
+ return checkBooleanAttribute(element, "aria-pressed");
622
+ }
623
+ function computeAriaCurrent(element) {
624
+ var _ref9, _checkBooleanAttribut;
625
+ return (_ref9 = (_checkBooleanAttribut = checkBooleanAttribute(element, "aria-current")) != null ? _checkBooleanAttribut : element.getAttribute("aria-current")) != null ? _ref9 : false;
626
+ }
627
+ function computeAriaExpanded(element) {
628
+ return checkBooleanAttribute(element, "aria-expanded");
629
+ }
630
+ function checkBooleanAttribute(element, attribute) {
631
+ const attributeValue = element.getAttribute(attribute);
632
+ if (attributeValue === "true") {
633
+ return true;
634
+ }
635
+ if (attributeValue === "false") {
636
+ return false;
637
+ }
638
+ return void 0;
639
+ }
640
+ function computeHeadingLevel(element) {
641
+ const implicitHeadingLevels = {
642
+ H1: 1,
643
+ H2: 2,
644
+ H3: 3,
645
+ H4: 4,
646
+ H5: 5,
647
+ H6: 6
648
+ };
649
+ const ariaLevelAttribute = element.getAttribute("aria-level") && Number(element.getAttribute("aria-level"));
650
+ return ariaLevelAttribute || implicitHeadingLevels[element.tagName];
651
+ }
652
+ function computeAriaValueNow(element) {
653
+ const valueNow = element.getAttribute("aria-valuenow");
654
+ return valueNow === null ? void 0 : +valueNow;
655
+ }
656
+ function computeAriaValueMax(element) {
657
+ const valueMax = element.getAttribute("aria-valuemax");
658
+ return valueMax === null ? void 0 : +valueMax;
659
+ }
660
+ function computeAriaValueMin(element) {
661
+ const valueMin = element.getAttribute("aria-valuemin");
662
+ return valueMin === null ? void 0 : +valueMin;
663
+ }
664
+ function computeAriaValueText(element) {
665
+ const valueText = element.getAttribute("aria-valuetext");
666
+ return valueText === null ? void 0 : valueText;
667
+ }
668
+ const normalize = getDefaultNormalizer();
669
+ function escapeRegExp(string) {
670
+ return string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
671
+ }
672
+ function getRegExpMatcher(string) {
673
+ return new RegExp(escapeRegExp(string.toLowerCase()), "i");
674
+ }
675
+ function makeSuggestion(queryName, element, content, _ref) {
676
+ let {
677
+ variant,
678
+ name
679
+ } = _ref;
680
+ let warning = "";
681
+ const queryOptions = {};
682
+ const queryArgs = [["Role", "TestId"].includes(queryName) ? content : getRegExpMatcher(content)];
683
+ if (name) {
684
+ queryOptions.name = getRegExpMatcher(name);
685
+ }
686
+ if (queryName === "Role" && isInaccessible(element)) {
687
+ queryOptions.hidden = true;
688
+ warning = "Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n ";
689
+ }
690
+ if (Object.keys(queryOptions).length > 0) {
691
+ queryArgs.push(queryOptions);
692
+ }
693
+ const queryMethod = variant + "By" + queryName;
694
+ return {
695
+ queryName,
696
+ queryMethod,
697
+ queryArgs,
698
+ variant,
699
+ warning,
700
+ toString() {
701
+ if (warning) {
702
+ console.warn(warning);
703
+ }
704
+ let [text, options] = queryArgs;
705
+ text = typeof text === "string" ? "'" + text + "'" : text;
706
+ options = options ? ", { " + Object.entries(options).map((_ref2) => {
707
+ let [k, v] = _ref2;
708
+ return k + ": " + v;
709
+ }).join(", ") + " }" : "";
710
+ return queryMethod + "(" + text + options + ")";
711
+ }
712
+ };
713
+ }
714
+ function canSuggest(currentMethod, requestedMethod, data) {
715
+ return data && true;
716
+ }
717
+ function getSuggestedQuery(element, variant, method) {
718
+ var _element$getAttribute, _getImplicitAriaRoles;
719
+ if (variant === void 0) {
720
+ variant = "get";
721
+ }
722
+ if (element.matches(getConfig().defaultIgnore)) {
723
+ return void 0;
724
+ }
725
+ const role = (_element$getAttribute = element.getAttribute("role")) != null ? _element$getAttribute : (_getImplicitAriaRoles = getImplicitAriaRoles(element)) == null ? void 0 : _getImplicitAriaRoles[0];
726
+ if (role !== "generic" && canSuggest("Role", method, role)) {
727
+ return makeSuggestion("Role", element, role, {
728
+ variant,
729
+ name: accessibleName.computeAccessibleName(element, {
730
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
731
+ })
732
+ });
733
+ }
734
+ const labelText = getLabels(document, element).map((label) => label.content).join(" ");
735
+ if (canSuggest("LabelText", method, labelText)) {
736
+ return makeSuggestion("LabelText", element, labelText, {
737
+ variant
738
+ });
739
+ }
740
+ const placeholderText = element.getAttribute("placeholder");
741
+ if (canSuggest("PlaceholderText", method, placeholderText)) {
742
+ return makeSuggestion("PlaceholderText", element, placeholderText, {
743
+ variant
744
+ });
745
+ }
746
+ const textContent = normalize(getNodeText(element));
747
+ if (canSuggest("Text", method, textContent)) {
748
+ return makeSuggestion("Text", element, textContent, {
749
+ variant
750
+ });
751
+ }
752
+ if (canSuggest("DisplayValue", method, element.value)) {
753
+ return makeSuggestion("DisplayValue", element, normalize(element.value), {
754
+ variant
755
+ });
756
+ }
757
+ const alt = element.getAttribute("alt");
758
+ if (canSuggest("AltText", method, alt)) {
759
+ return makeSuggestion("AltText", element, alt, {
760
+ variant
761
+ });
762
+ }
763
+ const title = element.getAttribute("title");
764
+ if (canSuggest("Title", method, title)) {
765
+ return makeSuggestion("Title", element, title, {
766
+ variant
767
+ });
768
+ }
769
+ const testId = element.getAttribute(getConfig().testIdAttribute);
770
+ if (canSuggest("TestId", method, testId)) {
771
+ return makeSuggestion("TestId", element, testId, {
772
+ variant
773
+ });
774
+ }
775
+ return void 0;
776
+ }
777
+ function copyStackTrace(target, source) {
778
+ target.stack = source.stack.replace(source.message, target.message);
779
+ }
780
+ function waitFor(callback, _ref) {
781
+ let {
782
+ container = getDocument(),
783
+ timeout = getConfig().asyncUtilTimeout,
784
+ showOriginalStackTrace = getConfig().showOriginalStackTrace,
785
+ stackTraceError,
786
+ interval = 50,
787
+ onTimeout = (error) => {
788
+ Object.defineProperty(error, "message", {
789
+ value: getConfig().getElementError(error.message, container).message
790
+ });
791
+ return error;
792
+ },
793
+ mutationObserverOptions = {
794
+ subtree: true,
795
+ childList: true,
796
+ attributes: true,
797
+ characterData: true
798
+ }
799
+ } = _ref;
800
+ if (typeof callback !== "function") {
801
+ throw new TypeError("Received `callback` arg must be a function");
802
+ }
803
+ return new Promise(async (resolve, reject) => {
804
+ let lastError, intervalId, observer;
805
+ let finished = false;
806
+ let promiseStatus = "idle";
807
+ const overallTimeoutTimer = setTimeout(handleTimeout, timeout);
808
+ const usingJestFakeTimers = jestFakeTimersAreEnabled();
809
+ if (usingJestFakeTimers) {
810
+ const {
811
+ unstable_advanceTimersWrapper: advanceTimersWrapper
812
+ } = getConfig();
813
+ checkCallback();
814
+ while (!finished) {
815
+ if (!jestFakeTimersAreEnabled()) {
816
+ const error = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
817
+ if (!showOriginalStackTrace) copyStackTrace(error, stackTraceError);
818
+ reject(error);
819
+ return;
820
+ }
821
+ await advanceTimersWrapper(async () => {
822
+ jest.advanceTimersByTime(interval);
823
+ });
824
+ if (finished) {
825
+ break;
826
+ }
827
+ checkCallback();
828
+ }
829
+ } else {
830
+ try {
831
+ checkContainerType(container);
832
+ } catch (e) {
833
+ reject(e);
834
+ return;
835
+ }
836
+ intervalId = setInterval(checkRealTimersCallback, interval);
837
+ const {
838
+ MutationObserver
839
+ } = getWindowFromNode(container);
840
+ observer = new MutationObserver(checkRealTimersCallback);
841
+ observer.observe(container, mutationObserverOptions);
842
+ checkCallback();
843
+ }
844
+ function onDone(error, result) {
845
+ finished = true;
846
+ clearTimeout(overallTimeoutTimer);
847
+ if (!usingJestFakeTimers) {
848
+ clearInterval(intervalId);
849
+ observer.disconnect();
850
+ }
851
+ if (error) {
852
+ reject(error);
853
+ } else {
854
+ resolve(result);
855
+ }
856
+ }
857
+ function checkRealTimersCallback() {
858
+ if (jestFakeTimersAreEnabled()) {
859
+ const error = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");
860
+ if (!showOriginalStackTrace) copyStackTrace(error, stackTraceError);
861
+ return reject(error);
862
+ } else {
863
+ return checkCallback();
864
+ }
865
+ }
866
+ function checkCallback() {
867
+ if (promiseStatus === "pending") return;
868
+ try {
869
+ const result = runWithExpensiveErrorDiagnosticsDisabled(callback);
870
+ if (typeof (result == null ? void 0 : result.then) === "function") {
871
+ promiseStatus = "pending";
872
+ result.then((resolvedValue) => {
873
+ promiseStatus = "resolved";
874
+ onDone(null, resolvedValue);
875
+ }, (rejectedValue) => {
876
+ promiseStatus = "rejected";
877
+ lastError = rejectedValue;
878
+ });
879
+ } else {
880
+ onDone(null, result);
881
+ }
882
+ } catch (error) {
883
+ lastError = error;
884
+ }
885
+ }
886
+ function handleTimeout() {
887
+ let error;
888
+ if (lastError) {
889
+ error = lastError;
890
+ if (!showOriginalStackTrace && error.name === "TestingLibraryElementError") {
891
+ copyStackTrace(error, stackTraceError);
892
+ }
893
+ } else {
894
+ error = new Error("Timed out in waitFor.");
895
+ if (!showOriginalStackTrace) {
896
+ copyStackTrace(error, stackTraceError);
897
+ }
898
+ }
899
+ onDone(onTimeout(error), null);
900
+ }
901
+ });
902
+ }
903
+ function waitForWrapper(callback, options) {
904
+ const stackTraceError = new Error("STACK_TRACE_MESSAGE");
905
+ return getConfig().asyncWrapper(() => waitFor(callback, {
906
+ stackTraceError,
907
+ ...options
908
+ }));
909
+ }
910
+ function getElementError(message, container) {
911
+ return getConfig().getElementError(message, container);
912
+ }
913
+ function getMultipleElementsFoundError(message, container) {
914
+ return getElementError(message + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).", container);
915
+ }
916
+ function queryAllByAttribute(attribute, container, text, _temp) {
917
+ let {
918
+ exact = true,
919
+ collapseWhitespace,
920
+ trim,
921
+ normalizer
922
+ } = _temp === void 0 ? {} : _temp;
923
+ const matcher = exact ? matches : fuzzyMatches;
924
+ const matchNormalizer = makeNormalizer({
925
+ collapseWhitespace,
926
+ trim,
927
+ normalizer
928
+ });
929
+ return Array.from(container.querySelectorAll("[" + attribute + "]")).filter((node) => matcher(node.getAttribute(attribute), node, text, matchNormalizer));
930
+ }
931
+ function makeSingleQuery(allQuery, getMultipleError2) {
932
+ return function(container) {
933
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
934
+ args[_key - 1] = arguments[_key];
935
+ }
936
+ const els = allQuery(container, ...args);
937
+ if (els.length > 1) {
938
+ const elementStrings = els.map((element) => getElementError(null, element).message).join("\n\n");
939
+ throw getMultipleElementsFoundError(getMultipleError2(container, ...args) + "\n\nHere are the matching elements:\n\n" + elementStrings, container);
940
+ }
941
+ return els[0] || null;
942
+ };
943
+ }
944
+ function getSuggestionError(suggestion, container) {
945
+ return getConfig().getElementError("A better query is available, try this:\n" + suggestion.toString() + "\n", container);
946
+ }
947
+ function makeGetAllQuery(allQuery, getMissingError2) {
948
+ return function(container) {
949
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
950
+ args[_key2 - 1] = arguments[_key2];
951
+ }
952
+ const els = allQuery(container, ...args);
953
+ if (!els.length) {
954
+ throw getConfig().getElementError(getMissingError2(container, ...args), container);
955
+ }
956
+ return els;
957
+ };
958
+ }
959
+ function makeFindQuery(getter) {
960
+ return (container, text, options, waitForOptions) => {
961
+ return waitForWrapper(() => {
962
+ return getter(container, text, options);
963
+ }, {
964
+ container,
965
+ ...waitForOptions
966
+ });
967
+ };
968
+ }
969
+ const wrapSingleQueryWithSuggestion = (query, queryAllByName, variant) => function(container) {
970
+ for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
971
+ args[_key3 - 1] = arguments[_key3];
972
+ }
973
+ const element = query(container, ...args);
974
+ const [{
975
+ suggest = getConfig().throwSuggestions
976
+ } = {}] = args.slice(-1);
977
+ if (element && suggest) {
978
+ const suggestion = getSuggestedQuery(element, variant);
979
+ if (suggestion && !queryAllByName.endsWith(suggestion.queryName)) {
980
+ throw getSuggestionError(suggestion.toString(), container);
981
+ }
982
+ }
983
+ return element;
984
+ };
985
+ const wrapAllByQueryWithSuggestion = (query, queryAllByName, variant) => function(container) {
986
+ for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
987
+ args[_key4 - 1] = arguments[_key4];
988
+ }
989
+ const els = query(container, ...args);
990
+ const [{
991
+ suggest = getConfig().throwSuggestions
992
+ } = {}] = args.slice(-1);
993
+ if (els.length && suggest) {
994
+ const uniqueSuggestionMessages = [...new Set(els.map((element) => {
995
+ var _getSuggestedQuery;
996
+ return (_getSuggestedQuery = getSuggestedQuery(element, variant)) == null ? void 0 : _getSuggestedQuery.toString();
997
+ }))];
998
+ if (
999
+ // only want to suggest if all the els have the same suggestion.
1000
+ uniqueSuggestionMessages.length === 1 && !queryAllByName.endsWith(
1001
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
1002
+ getSuggestedQuery(els[0], variant).queryName
1003
+ )
1004
+ ) {
1005
+ throw getSuggestionError(uniqueSuggestionMessages[0], container);
1006
+ }
1007
+ }
1008
+ return els;
1009
+ };
1010
+ function buildQueries(queryAllBy, getMultipleError2, getMissingError2) {
1011
+ const queryBy = wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy, getMultipleError2), queryAllBy.name, "query");
1012
+ const getAllBy = makeGetAllQuery(queryAllBy, getMissingError2);
1013
+ const getBy = makeSingleQuery(getAllBy, getMultipleError2);
1014
+ const getByWithSuggestions = wrapSingleQueryWithSuggestion(getBy, queryAllBy.name, "get");
1015
+ const getAllWithSuggestions = wrapAllByQueryWithSuggestion(getAllBy, queryAllBy.name.replace("query", "get"), "getAll");
1016
+ const findAllBy = makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy, queryAllBy.name, "findAll"));
1017
+ const findBy = makeFindQuery(wrapSingleQueryWithSuggestion(getBy, queryAllBy.name, "find"));
1018
+ return [queryBy, getAllWithSuggestions, getByWithSuggestions, findAllBy, findBy];
1019
+ }
1020
+ function queryAllLabels(container) {
1021
+ return Array.from(container.querySelectorAll("label,input")).map((node) => {
1022
+ return {
1023
+ node,
1024
+ textToMatch: getLabelContent(node)
1025
+ };
1026
+ }).filter((_ref) => {
1027
+ let {
1028
+ textToMatch
1029
+ } = _ref;
1030
+ return textToMatch !== null;
1031
+ });
1032
+ }
1033
+ const queryAllLabelsByText = function(container, text, _temp) {
1034
+ let {
1035
+ exact = true,
1036
+ trim,
1037
+ collapseWhitespace,
1038
+ normalizer
1039
+ } = _temp === void 0 ? {} : _temp;
1040
+ const matcher = exact ? matches : fuzzyMatches;
1041
+ const matchNormalizer = makeNormalizer({
1042
+ collapseWhitespace,
1043
+ trim,
1044
+ normalizer
1045
+ });
1046
+ const textToMatchByLabels = queryAllLabels(container);
1047
+ return textToMatchByLabels.filter((_ref2) => {
1048
+ let {
1049
+ node,
1050
+ textToMatch
1051
+ } = _ref2;
1052
+ return matcher(textToMatch, node, text, matchNormalizer);
1053
+ }).map((_ref3) => {
1054
+ let {
1055
+ node
1056
+ } = _ref3;
1057
+ return node;
1058
+ });
1059
+ };
1060
+ const queryAllByLabelText = function(container, text, _temp2) {
1061
+ let {
1062
+ selector = "*",
1063
+ exact = true,
1064
+ collapseWhitespace,
1065
+ trim,
1066
+ normalizer
1067
+ } = _temp2 === void 0 ? {} : _temp2;
1068
+ checkContainerType(container);
1069
+ const matcher = exact ? matches : fuzzyMatches;
1070
+ const matchNormalizer = makeNormalizer({
1071
+ collapseWhitespace,
1072
+ trim,
1073
+ normalizer
1074
+ });
1075
+ const matchingLabelledElements = Array.from(container.querySelectorAll("*")).filter((element) => {
1076
+ return getRealLabels(element).length || element.hasAttribute("aria-labelledby");
1077
+ }).reduce((labelledElements, labelledElement) => {
1078
+ const labelList = getLabels(container, labelledElement, {
1079
+ selector
1080
+ });
1081
+ labelList.filter((label) => Boolean(label.formControl)).forEach((label) => {
1082
+ if (matcher(label.content, label.formControl, text, matchNormalizer) && label.formControl) {
1083
+ labelledElements.push(label.formControl);
1084
+ }
1085
+ });
1086
+ const labelsValue = labelList.filter((label) => Boolean(label.content)).map((label) => label.content);
1087
+ if (matcher(labelsValue.join(" "), labelledElement, text, matchNormalizer)) {
1088
+ labelledElements.push(labelledElement);
1089
+ }
1090
+ if (labelsValue.length > 1) {
1091
+ labelsValue.forEach((labelValue, index2) => {
1092
+ if (matcher(labelValue, labelledElement, text, matchNormalizer)) {
1093
+ labelledElements.push(labelledElement);
1094
+ }
1095
+ const labelsFiltered = [...labelsValue];
1096
+ labelsFiltered.splice(index2, 1);
1097
+ if (labelsFiltered.length > 1) {
1098
+ if (matcher(labelsFiltered.join(" "), labelledElement, text, matchNormalizer)) {
1099
+ labelledElements.push(labelledElement);
1100
+ }
1101
+ }
1102
+ });
1103
+ }
1104
+ return labelledElements;
1105
+ }, []).concat(queryAllByAttribute("aria-label", container, text, {
1106
+ exact,
1107
+ normalizer: matchNormalizer
1108
+ }));
1109
+ return Array.from(new Set(matchingLabelledElements)).filter((element) => element.matches(selector));
1110
+ };
1111
+ const getAllByLabelText = function(container, text) {
1112
+ for (var _len = arguments.length, rest = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
1113
+ rest[_key - 2] = arguments[_key];
1114
+ }
1115
+ const els = queryAllByLabelText(container, text, ...rest);
1116
+ if (!els.length) {
1117
+ const labels = queryAllLabelsByText(container, text, ...rest);
1118
+ if (labels.length) {
1119
+ const tagNames = labels.map((label) => getTagNameOfElementAssociatedWithLabelViaFor(container, label)).filter((tagName) => !!tagName);
1120
+ if (tagNames.length) {
1121
+ throw getConfig().getElementError(tagNames.map((tagName) => "Found a label with the text of: " + text + ", however the element associated with this label (<" + tagName + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" + tagName + " />, you can use aria-label or aria-labelledby instead.").join("\n\n"), container);
1122
+ } else {
1123
+ throw getConfig().getElementError("Found a label with the text of: " + text + `, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, container);
1124
+ }
1125
+ } else {
1126
+ throw getConfig().getElementError("Unable to find a label with the text of: " + text, container);
1127
+ }
1128
+ }
1129
+ return els;
1130
+ };
1131
+ function getTagNameOfElementAssociatedWithLabelViaFor(container, label) {
1132
+ const htmlFor = label.getAttribute("for");
1133
+ if (!htmlFor) {
1134
+ return null;
1135
+ }
1136
+ const element = container.querySelector('[id="' + htmlFor + '"]');
1137
+ return element ? element.tagName.toLowerCase() : null;
1138
+ }
1139
+ const getMultipleError$7 = (c, text) => "Found multiple elements with the text of: " + text;
1140
+ const queryByLabelText = wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText, getMultipleError$7), queryAllByLabelText.name, "query");
1141
+ const getByLabelText = makeSingleQuery(getAllByLabelText, getMultipleError$7);
1142
+ const findAllByLabelText = makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText, getAllByLabelText.name, "findAll"));
1143
+ const findByLabelText = makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText, getAllByLabelText.name, "find"));
1144
+ const getAllByLabelTextWithSuggestions = wrapAllByQueryWithSuggestion(getAllByLabelText, getAllByLabelText.name, "getAll");
1145
+ const getByLabelTextWithSuggestions = wrapSingleQueryWithSuggestion(getByLabelText, getAllByLabelText.name, "get");
1146
+ const queryAllByLabelTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByLabelText, queryAllByLabelText.name, "queryAll");
1147
+ const queryAllByPlaceholderText = function() {
1148
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1149
+ args[_key] = arguments[_key];
1150
+ }
1151
+ checkContainerType(args[0]);
1152
+ return queryAllByAttribute("placeholder", ...args);
1153
+ };
1154
+ const getMultipleError$6 = (c, text) => "Found multiple elements with the placeholder text of: " + text;
1155
+ const getMissingError$6 = (c, text) => "Unable to find an element with the placeholder text of: " + text;
1156
+ const queryAllByPlaceholderTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByPlaceholderText, queryAllByPlaceholderText.name, "queryAll");
1157
+ const [queryByPlaceholderText, getAllByPlaceholderText, getByPlaceholderText, findAllByPlaceholderText, findByPlaceholderText] = buildQueries(queryAllByPlaceholderText, getMultipleError$6, getMissingError$6);
1158
+ const queryAllByText = function(container, text, _temp) {
1159
+ let {
1160
+ selector = "*",
1161
+ exact = true,
1162
+ collapseWhitespace,
1163
+ trim,
1164
+ ignore = getConfig().defaultIgnore,
1165
+ normalizer
1166
+ } = _temp === void 0 ? {} : _temp;
1167
+ checkContainerType(container);
1168
+ const matcher = exact ? matches : fuzzyMatches;
1169
+ const matchNormalizer = makeNormalizer({
1170
+ collapseWhitespace,
1171
+ trim,
1172
+ normalizer
1173
+ });
1174
+ let baseArray = [];
1175
+ if (typeof container.matches === "function" && container.matches(selector)) {
1176
+ baseArray = [container];
1177
+ }
1178
+ return [...baseArray, ...Array.from(container.querySelectorAll(selector))].filter((node) => !ignore || !node.matches(ignore)).filter((node) => matcher(getNodeText(node), node, text, matchNormalizer));
1179
+ };
1180
+ const getMultipleError$5 = (c, text) => "Found multiple elements with the text: " + text;
1181
+ const getMissingError$5 = function(c, text, options) {
1182
+ if (options === void 0) {
1183
+ options = {};
1184
+ }
1185
+ const {
1186
+ collapseWhitespace,
1187
+ trim,
1188
+ normalizer,
1189
+ selector
1190
+ } = options;
1191
+ const matchNormalizer = makeNormalizer({
1192
+ collapseWhitespace,
1193
+ trim,
1194
+ normalizer
1195
+ });
1196
+ const normalizedText = matchNormalizer(text.toString());
1197
+ const isNormalizedDifferent = normalizedText !== text.toString();
1198
+ const isCustomSelector = (selector != null ? selector : "*") !== "*";
1199
+ return "Unable to find an element with the text: " + (isNormalizedDifferent ? normalizedText + " (normalized from '" + text + "')" : text) + (isCustomSelector ? ", which matches selector '" + selector + "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.";
1200
+ };
1201
+ const queryAllByTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByText, queryAllByText.name, "queryAll");
1202
+ const [queryByText, getAllByText, getByText, findAllByText, findByText] = buildQueries(queryAllByText, getMultipleError$5, getMissingError$5);
1203
+ const queryAllByDisplayValue = function(container, value, _temp) {
1204
+ let {
1205
+ exact = true,
1206
+ collapseWhitespace,
1207
+ trim,
1208
+ normalizer
1209
+ } = _temp === void 0 ? {} : _temp;
1210
+ checkContainerType(container);
1211
+ const matcher = exact ? matches : fuzzyMatches;
1212
+ const matchNormalizer = makeNormalizer({
1213
+ collapseWhitespace,
1214
+ trim,
1215
+ normalizer
1216
+ });
1217
+ return Array.from(container.querySelectorAll("input,textarea,select")).filter((node) => {
1218
+ if (node.tagName === "SELECT") {
1219
+ const selectedOptions = Array.from(node.options).filter((option) => option.selected);
1220
+ return selectedOptions.some((optionNode) => matcher(getNodeText(optionNode), optionNode, value, matchNormalizer));
1221
+ } else {
1222
+ return matcher(node.value, node, value, matchNormalizer);
1223
+ }
1224
+ });
1225
+ };
1226
+ const getMultipleError$4 = (c, value) => "Found multiple elements with the display value: " + value + ".";
1227
+ const getMissingError$4 = (c, value) => "Unable to find an element with the display value: " + value + ".";
1228
+ const queryAllByDisplayValueWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByDisplayValue, queryAllByDisplayValue.name, "queryAll");
1229
+ const [queryByDisplayValue, getAllByDisplayValue, getByDisplayValue, findAllByDisplayValue, findByDisplayValue] = buildQueries(queryAllByDisplayValue, getMultipleError$4, getMissingError$4);
1230
+ const VALID_TAG_REGEXP = /^(img|input|area|.+-.+)$/i;
1231
+ const queryAllByAltText = function(container, alt, options) {
1232
+ if (options === void 0) {
1233
+ options = {};
1234
+ }
1235
+ checkContainerType(container);
1236
+ return queryAllByAttribute("alt", container, alt, options).filter((node) => VALID_TAG_REGEXP.test(node.tagName));
1237
+ };
1238
+ const getMultipleError$3 = (c, alt) => "Found multiple elements with the alt text: " + alt;
1239
+ const getMissingError$3 = (c, alt) => "Unable to find an element with the alt text: " + alt;
1240
+ const queryAllByAltTextWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByAltText, queryAllByAltText.name, "queryAll");
1241
+ const [queryByAltText, getAllByAltText, getByAltText, findAllByAltText, findByAltText] = buildQueries(queryAllByAltText, getMultipleError$3, getMissingError$3);
1242
+ const isSvgTitle = (node) => {
1243
+ var _node$parentElement;
1244
+ return node.tagName.toLowerCase() === "title" && ((_node$parentElement = node.parentElement) == null ? void 0 : _node$parentElement.tagName.toLowerCase()) === "svg";
1245
+ };
1246
+ const queryAllByTitle = function(container, text, _temp) {
1247
+ let {
1248
+ exact = true,
1249
+ collapseWhitespace,
1250
+ trim,
1251
+ normalizer
1252
+ } = _temp === void 0 ? {} : _temp;
1253
+ checkContainerType(container);
1254
+ const matcher = exact ? matches : fuzzyMatches;
1255
+ const matchNormalizer = makeNormalizer({
1256
+ collapseWhitespace,
1257
+ trim,
1258
+ normalizer
1259
+ });
1260
+ return Array.from(container.querySelectorAll("[title], svg > title")).filter((node) => matcher(node.getAttribute("title"), node, text, matchNormalizer) || isSvgTitle(node) && matcher(getNodeText(node), node, text, matchNormalizer));
1261
+ };
1262
+ const getMultipleError$2 = (c, title) => "Found multiple elements with the title: " + title + ".";
1263
+ const getMissingError$2 = (c, title) => "Unable to find an element with the title: " + title + ".";
1264
+ const queryAllByTitleWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByTitle, queryAllByTitle.name, "queryAll");
1265
+ const [queryByTitle, getAllByTitle, getByTitle, findAllByTitle, findByTitle] = buildQueries(queryAllByTitle, getMultipleError$2, getMissingError$2);
1266
+ const queryAllByRole = function(container, role, _temp) {
1267
+ let {
1268
+ hidden = getConfig().defaultHidden,
1269
+ name,
1270
+ description,
1271
+ queryFallbacks = false,
1272
+ selected,
1273
+ busy,
1274
+ checked,
1275
+ pressed,
1276
+ current,
1277
+ level,
1278
+ expanded,
1279
+ value: {
1280
+ now: valueNow,
1281
+ min: valueMin,
1282
+ max: valueMax,
1283
+ text: valueText
1284
+ } = {}
1285
+ } = _temp === void 0 ? {} : _temp;
1286
+ checkContainerType(container);
1287
+ if (selected !== void 0) {
1288
+ var _allRoles$get;
1289
+ if (((_allRoles$get = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get.props["aria-selected"]) === void 0) {
1290
+ throw new Error('"aria-selected" is not supported on role "' + role + '".');
1291
+ }
1292
+ }
1293
+ if (busy !== void 0) {
1294
+ var _allRoles$get2;
1295
+ if (((_allRoles$get2 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get2.props["aria-busy"]) === void 0) {
1296
+ throw new Error('"aria-busy" is not supported on role "' + role + '".');
1297
+ }
1298
+ }
1299
+ if (checked !== void 0) {
1300
+ var _allRoles$get3;
1301
+ if (((_allRoles$get3 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get3.props["aria-checked"]) === void 0) {
1302
+ throw new Error('"aria-checked" is not supported on role "' + role + '".');
1303
+ }
1304
+ }
1305
+ if (pressed !== void 0) {
1306
+ var _allRoles$get4;
1307
+ if (((_allRoles$get4 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get4.props["aria-pressed"]) === void 0) {
1308
+ throw new Error('"aria-pressed" is not supported on role "' + role + '".');
1309
+ }
1310
+ }
1311
+ if (current !== void 0) {
1312
+ var _allRoles$get5;
1313
+ if (((_allRoles$get5 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get5.props["aria-current"]) === void 0) {
1314
+ throw new Error('"aria-current" is not supported on role "' + role + '".');
1315
+ }
1316
+ }
1317
+ if (level !== void 0) {
1318
+ if (role !== "heading") {
1319
+ throw new Error('Role "' + role + '" cannot have "level" property.');
1320
+ }
1321
+ }
1322
+ if (valueNow !== void 0) {
1323
+ var _allRoles$get6;
1324
+ if (((_allRoles$get6 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get6.props["aria-valuenow"]) === void 0) {
1325
+ throw new Error('"aria-valuenow" is not supported on role "' + role + '".');
1326
+ }
1327
+ }
1328
+ if (valueMax !== void 0) {
1329
+ var _allRoles$get7;
1330
+ if (((_allRoles$get7 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get7.props["aria-valuemax"]) === void 0) {
1331
+ throw new Error('"aria-valuemax" is not supported on role "' + role + '".');
1332
+ }
1333
+ }
1334
+ if (valueMin !== void 0) {
1335
+ var _allRoles$get8;
1336
+ if (((_allRoles$get8 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get8.props["aria-valuemin"]) === void 0) {
1337
+ throw new Error('"aria-valuemin" is not supported on role "' + role + '".');
1338
+ }
1339
+ }
1340
+ if (valueText !== void 0) {
1341
+ var _allRoles$get9;
1342
+ if (((_allRoles$get9 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get9.props["aria-valuetext"]) === void 0) {
1343
+ throw new Error('"aria-valuetext" is not supported on role "' + role + '".');
1344
+ }
1345
+ }
1346
+ if (expanded !== void 0) {
1347
+ var _allRoles$get10;
1348
+ if (((_allRoles$get10 = index$1.libExports.roles.get(role)) == null ? void 0 : _allRoles$get10.props["aria-expanded"]) === void 0) {
1349
+ throw new Error('"aria-expanded" is not supported on role "' + role + '".');
1350
+ }
1351
+ }
1352
+ const subtreeIsInaccessibleCache = /* @__PURE__ */ new WeakMap();
1353
+ function cachedIsSubtreeInaccessible(element) {
1354
+ if (!subtreeIsInaccessibleCache.has(element)) {
1355
+ subtreeIsInaccessibleCache.set(element, isSubtreeInaccessible(element));
1356
+ }
1357
+ return subtreeIsInaccessibleCache.get(element);
1358
+ }
1359
+ return Array.from(container.querySelectorAll(
1360
+ // Only query elements that can be matched by the following filters
1361
+ makeRoleSelector(role)
1362
+ )).filter((node) => {
1363
+ const isRoleSpecifiedExplicitly = node.hasAttribute("role");
1364
+ if (isRoleSpecifiedExplicitly) {
1365
+ const roleValue = node.getAttribute("role");
1366
+ if (queryFallbacks) {
1367
+ return roleValue.split(" ").filter(Boolean).some((roleAttributeToken) => roleAttributeToken === role);
1368
+ }
1369
+ const [firstRoleAttributeToken] = roleValue.split(" ");
1370
+ return firstRoleAttributeToken === role;
1371
+ }
1372
+ const implicitRoles = getImplicitAriaRoles(node);
1373
+ return implicitRoles.some((implicitRole) => {
1374
+ return implicitRole === role;
1375
+ });
1376
+ }).filter((element) => {
1377
+ if (selected !== void 0) {
1378
+ return selected === computeAriaSelected(element);
1379
+ }
1380
+ if (busy !== void 0) {
1381
+ return busy === computeAriaBusy(element);
1382
+ }
1383
+ if (checked !== void 0) {
1384
+ return checked === computeAriaChecked(element);
1385
+ }
1386
+ if (pressed !== void 0) {
1387
+ return pressed === computeAriaPressed(element);
1388
+ }
1389
+ if (current !== void 0) {
1390
+ return current === computeAriaCurrent(element);
1391
+ }
1392
+ if (expanded !== void 0) {
1393
+ return expanded === computeAriaExpanded(element);
1394
+ }
1395
+ if (level !== void 0) {
1396
+ return level === computeHeadingLevel(element);
1397
+ }
1398
+ if (valueNow !== void 0 || valueMax !== void 0 || valueMin !== void 0 || valueText !== void 0) {
1399
+ let valueMatches = true;
1400
+ if (valueNow !== void 0) {
1401
+ valueMatches && (valueMatches = valueNow === computeAriaValueNow(element));
1402
+ }
1403
+ if (valueMax !== void 0) {
1404
+ valueMatches && (valueMatches = valueMax === computeAriaValueMax(element));
1405
+ }
1406
+ if (valueMin !== void 0) {
1407
+ valueMatches && (valueMatches = valueMin === computeAriaValueMin(element));
1408
+ }
1409
+ if (valueText !== void 0) {
1410
+ var _computeAriaValueText;
1411
+ valueMatches && (valueMatches = matches((_computeAriaValueText = computeAriaValueText(element)) != null ? _computeAriaValueText : null, element, valueText, (text) => text));
1412
+ }
1413
+ return valueMatches;
1414
+ }
1415
+ return true;
1416
+ }).filter((element) => {
1417
+ if (name === void 0) {
1418
+ return true;
1419
+ }
1420
+ return matches(accessibleName.computeAccessibleName(element, {
1421
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
1422
+ }), element, name, (text) => text);
1423
+ }).filter((element) => {
1424
+ if (description === void 0) {
1425
+ return true;
1426
+ }
1427
+ return matches(accessibleDescription.computeAccessibleDescription(element, {
1428
+ computedStyleSupportsPseudoElements: getConfig().computedStyleSupportsPseudoElements
1429
+ }), element, description, (text) => text);
1430
+ }).filter((element) => {
1431
+ return hidden === false ? isInaccessible(element, {
1432
+ isSubtreeInaccessible: cachedIsSubtreeInaccessible
1433
+ }) === false : true;
1434
+ });
1435
+ };
1436
+ function makeRoleSelector(role) {
1437
+ var _roleElements$get;
1438
+ const explicitRoleSelector = '*[role~="' + role + '"]';
1439
+ const roleRelations = (_roleElements$get = index$1.libExports.roleElements.get(role)) != null ? _roleElements$get : /* @__PURE__ */ new Set();
1440
+ const implicitRoleSelectors = new Set(Array.from(roleRelations).map((_ref) => {
1441
+ let {
1442
+ name
1443
+ } = _ref;
1444
+ return name;
1445
+ }));
1446
+ return [explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(",");
1447
+ }
1448
+ const getNameHint = (name) => {
1449
+ let nameHint = "";
1450
+ if (name === void 0) {
1451
+ nameHint = "";
1452
+ } else if (typeof name === "string") {
1453
+ nameHint = ' and name "' + name + '"';
1454
+ } else {
1455
+ nameHint = " and name `" + name + "`";
1456
+ }
1457
+ return nameHint;
1458
+ };
1459
+ const getMultipleError$1 = function(c, role, _temp2) {
1460
+ let {
1461
+ name
1462
+ } = _temp2 === void 0 ? {} : _temp2;
1463
+ return 'Found multiple elements with the role "' + role + '"' + getNameHint(name);
1464
+ };
1465
+ const getMissingError$1 = function(container, role, _temp3) {
1466
+ let {
1467
+ hidden = getConfig().defaultHidden,
1468
+ name,
1469
+ description
1470
+ } = _temp3 === void 0 ? {} : _temp3;
1471
+ if (getConfig()._disableExpensiveErrorDiagnostics) {
1472
+ return 'Unable to find role="' + role + '"' + getNameHint(name);
1473
+ }
1474
+ let roles = "";
1475
+ Array.from(container.children).forEach((childElement) => {
1476
+ roles += prettyRoles(childElement, {
1477
+ hidden,
1478
+ includeDescription: description !== void 0
1479
+ });
1480
+ });
1481
+ let roleMessage;
1482
+ if (roles.length === 0) {
1483
+ if (hidden === false) {
1484
+ roleMessage = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole";
1485
+ } else {
1486
+ roleMessage = "There are no available roles.";
1487
+ }
1488
+ } else {
1489
+ roleMessage = ("\nHere are the " + (hidden === false ? "accessible" : "available") + " roles:\n\n " + roles.replace(/\n/g, "\n ").replace(/\n\s\s\n/g, "\n\n") + "\n").trim();
1490
+ }
1491
+ let nameHint = "";
1492
+ if (name === void 0) {
1493
+ nameHint = "";
1494
+ } else if (typeof name === "string") {
1495
+ nameHint = ' and name "' + name + '"';
1496
+ } else {
1497
+ nameHint = " and name `" + name + "`";
1498
+ }
1499
+ let descriptionHint = "";
1500
+ if (description === void 0) {
1501
+ descriptionHint = "";
1502
+ } else if (typeof description === "string") {
1503
+ descriptionHint = ' and description "' + description + '"';
1504
+ } else {
1505
+ descriptionHint = " and description `" + description + "`";
1506
+ }
1507
+ return ("\nUnable to find an " + (hidden === false ? "accessible " : "") + 'element with the role "' + role + '"' + nameHint + descriptionHint + "\n\n" + roleMessage).trim();
1508
+ };
1509
+ const queryAllByRoleWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByRole, queryAllByRole.name, "queryAll");
1510
+ const [queryByRole, getAllByRole, getByRole, findAllByRole, findByRole] = buildQueries(queryAllByRole, getMultipleError$1, getMissingError$1);
1511
+ const getTestIdAttribute = () => getConfig().testIdAttribute;
1512
+ const queryAllByTestId = function() {
1513
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1514
+ args[_key] = arguments[_key];
1515
+ }
1516
+ checkContainerType(args[0]);
1517
+ return queryAllByAttribute(getTestIdAttribute(), ...args);
1518
+ };
1519
+ const getMultipleError = (c, id) => "Found multiple elements by: [" + getTestIdAttribute() + '="' + id + '"]';
1520
+ const getMissingError = (c, id) => "Unable to find an element by: [" + getTestIdAttribute() + '="' + id + '"]';
1521
+ const queryAllByTestIdWithSuggestions = wrapAllByQueryWithSuggestion(queryAllByTestId, queryAllByTestId.name, "queryAll");
1522
+ const [queryByTestId, getAllByTestId, getByTestId, findAllByTestId, findByTestId] = buildQueries(queryAllByTestId, getMultipleError, getMissingError);
1523
+ var queries = /* @__PURE__ */ Object.freeze({
1524
+ __proto__: null,
1525
+ queryAllByLabelText: queryAllByLabelTextWithSuggestions,
1526
+ queryByLabelText,
1527
+ getAllByLabelText: getAllByLabelTextWithSuggestions,
1528
+ getByLabelText: getByLabelTextWithSuggestions,
1529
+ findAllByLabelText,
1530
+ findByLabelText,
1531
+ queryByPlaceholderText,
1532
+ queryAllByPlaceholderText: queryAllByPlaceholderTextWithSuggestions,
1533
+ getByPlaceholderText,
1534
+ getAllByPlaceholderText,
1535
+ findAllByPlaceholderText,
1536
+ findByPlaceholderText,
1537
+ queryByText,
1538
+ queryAllByText: queryAllByTextWithSuggestions,
1539
+ getByText,
1540
+ getAllByText,
1541
+ findAllByText,
1542
+ findByText,
1543
+ queryByDisplayValue,
1544
+ queryAllByDisplayValue: queryAllByDisplayValueWithSuggestions,
1545
+ getByDisplayValue,
1546
+ getAllByDisplayValue,
1547
+ findAllByDisplayValue,
1548
+ findByDisplayValue,
1549
+ queryByAltText,
1550
+ queryAllByAltText: queryAllByAltTextWithSuggestions,
1551
+ getByAltText,
1552
+ getAllByAltText,
1553
+ findAllByAltText,
1554
+ findByAltText,
1555
+ queryByTitle,
1556
+ queryAllByTitle: queryAllByTitleWithSuggestions,
1557
+ getByTitle,
1558
+ getAllByTitle,
1559
+ findAllByTitle,
1560
+ findByTitle,
1561
+ queryByRole,
1562
+ queryAllByRole: queryAllByRoleWithSuggestions,
1563
+ getAllByRole,
1564
+ getByRole,
1565
+ findAllByRole,
1566
+ findByRole,
1567
+ queryByTestId,
1568
+ queryAllByTestId: queryAllByTestIdWithSuggestions,
1569
+ getByTestId,
1570
+ getAllByTestId,
1571
+ findAllByTestId,
1572
+ findByTestId
1573
+ });
1574
+ function getQueriesForElement(element, queries$1, initialValue2) {
1575
+ if (queries$1 === void 0) {
1576
+ queries$1 = queries;
1577
+ }
1578
+ if (initialValue2 === void 0) {
1579
+ initialValue2 = {};
1580
+ }
1581
+ return Object.keys(queries$1).reduce((helpers, key) => {
1582
+ const fn = queries$1[key];
1583
+ helpers[key] = fn.bind(null, element);
1584
+ return helpers;
1585
+ }, initialValue2);
1586
+ }
1587
+ const eventMap = {
1588
+ // Clipboard Events
1589
+ copy: {
1590
+ EventType: "ClipboardEvent",
1591
+ defaultInit: {
1592
+ bubbles: true,
1593
+ cancelable: true,
1594
+ composed: true
1595
+ }
1596
+ },
1597
+ cut: {
1598
+ EventType: "ClipboardEvent",
1599
+ defaultInit: {
1600
+ bubbles: true,
1601
+ cancelable: true,
1602
+ composed: true
1603
+ }
1604
+ },
1605
+ paste: {
1606
+ EventType: "ClipboardEvent",
1607
+ defaultInit: {
1608
+ bubbles: true,
1609
+ cancelable: true,
1610
+ composed: true
1611
+ }
1612
+ },
1613
+ // Composition Events
1614
+ compositionEnd: {
1615
+ EventType: "CompositionEvent",
1616
+ defaultInit: {
1617
+ bubbles: true,
1618
+ cancelable: true,
1619
+ composed: true
1620
+ }
1621
+ },
1622
+ compositionStart: {
1623
+ EventType: "CompositionEvent",
1624
+ defaultInit: {
1625
+ bubbles: true,
1626
+ cancelable: true,
1627
+ composed: true
1628
+ }
1629
+ },
1630
+ compositionUpdate: {
1631
+ EventType: "CompositionEvent",
1632
+ defaultInit: {
1633
+ bubbles: true,
1634
+ cancelable: true,
1635
+ composed: true
1636
+ }
1637
+ },
1638
+ // Keyboard Events
1639
+ keyDown: {
1640
+ EventType: "KeyboardEvent",
1641
+ defaultInit: {
1642
+ bubbles: true,
1643
+ cancelable: true,
1644
+ charCode: 0,
1645
+ composed: true
1646
+ }
1647
+ },
1648
+ keyPress: {
1649
+ EventType: "KeyboardEvent",
1650
+ defaultInit: {
1651
+ bubbles: true,
1652
+ cancelable: true,
1653
+ charCode: 0,
1654
+ composed: true
1655
+ }
1656
+ },
1657
+ keyUp: {
1658
+ EventType: "KeyboardEvent",
1659
+ defaultInit: {
1660
+ bubbles: true,
1661
+ cancelable: true,
1662
+ charCode: 0,
1663
+ composed: true
1664
+ }
1665
+ },
1666
+ // Focus Events
1667
+ focus: {
1668
+ EventType: "FocusEvent",
1669
+ defaultInit: {
1670
+ bubbles: false,
1671
+ cancelable: false,
1672
+ composed: true
1673
+ }
1674
+ },
1675
+ blur: {
1676
+ EventType: "FocusEvent",
1677
+ defaultInit: {
1678
+ bubbles: false,
1679
+ cancelable: false,
1680
+ composed: true
1681
+ }
1682
+ },
1683
+ focusIn: {
1684
+ EventType: "FocusEvent",
1685
+ defaultInit: {
1686
+ bubbles: true,
1687
+ cancelable: false,
1688
+ composed: true
1689
+ }
1690
+ },
1691
+ focusOut: {
1692
+ EventType: "FocusEvent",
1693
+ defaultInit: {
1694
+ bubbles: true,
1695
+ cancelable: false,
1696
+ composed: true
1697
+ }
1698
+ },
1699
+ // Form Events
1700
+ change: {
1701
+ EventType: "Event",
1702
+ defaultInit: {
1703
+ bubbles: true,
1704
+ cancelable: false
1705
+ }
1706
+ },
1707
+ input: {
1708
+ EventType: "InputEvent",
1709
+ defaultInit: {
1710
+ bubbles: true,
1711
+ cancelable: false,
1712
+ composed: true
1713
+ }
1714
+ },
1715
+ invalid: {
1716
+ EventType: "Event",
1717
+ defaultInit: {
1718
+ bubbles: false,
1719
+ cancelable: true
1720
+ }
1721
+ },
1722
+ submit: {
1723
+ EventType: "Event",
1724
+ defaultInit: {
1725
+ bubbles: true,
1726
+ cancelable: true
1727
+ }
1728
+ },
1729
+ reset: {
1730
+ EventType: "Event",
1731
+ defaultInit: {
1732
+ bubbles: true,
1733
+ cancelable: true
1734
+ }
1735
+ },
1736
+ // Mouse Events
1737
+ click: {
1738
+ EventType: "MouseEvent",
1739
+ defaultInit: {
1740
+ bubbles: true,
1741
+ cancelable: true,
1742
+ button: 0,
1743
+ composed: true
1744
+ }
1745
+ },
1746
+ contextMenu: {
1747
+ EventType: "MouseEvent",
1748
+ defaultInit: {
1749
+ bubbles: true,
1750
+ cancelable: true,
1751
+ composed: true
1752
+ }
1753
+ },
1754
+ dblClick: {
1755
+ EventType: "MouseEvent",
1756
+ defaultInit: {
1757
+ bubbles: true,
1758
+ cancelable: true,
1759
+ composed: true
1760
+ }
1761
+ },
1762
+ drag: {
1763
+ EventType: "DragEvent",
1764
+ defaultInit: {
1765
+ bubbles: true,
1766
+ cancelable: true,
1767
+ composed: true
1768
+ }
1769
+ },
1770
+ dragEnd: {
1771
+ EventType: "DragEvent",
1772
+ defaultInit: {
1773
+ bubbles: true,
1774
+ cancelable: false,
1775
+ composed: true
1776
+ }
1777
+ },
1778
+ dragEnter: {
1779
+ EventType: "DragEvent",
1780
+ defaultInit: {
1781
+ bubbles: true,
1782
+ cancelable: true,
1783
+ composed: true
1784
+ }
1785
+ },
1786
+ dragExit: {
1787
+ EventType: "DragEvent",
1788
+ defaultInit: {
1789
+ bubbles: true,
1790
+ cancelable: false,
1791
+ composed: true
1792
+ }
1793
+ },
1794
+ dragLeave: {
1795
+ EventType: "DragEvent",
1796
+ defaultInit: {
1797
+ bubbles: true,
1798
+ cancelable: false,
1799
+ composed: true
1800
+ }
1801
+ },
1802
+ dragOver: {
1803
+ EventType: "DragEvent",
1804
+ defaultInit: {
1805
+ bubbles: true,
1806
+ cancelable: true,
1807
+ composed: true
1808
+ }
1809
+ },
1810
+ dragStart: {
1811
+ EventType: "DragEvent",
1812
+ defaultInit: {
1813
+ bubbles: true,
1814
+ cancelable: true,
1815
+ composed: true
1816
+ }
1817
+ },
1818
+ drop: {
1819
+ EventType: "DragEvent",
1820
+ defaultInit: {
1821
+ bubbles: true,
1822
+ cancelable: true,
1823
+ composed: true
1824
+ }
1825
+ },
1826
+ mouseDown: {
1827
+ EventType: "MouseEvent",
1828
+ defaultInit: {
1829
+ bubbles: true,
1830
+ cancelable: true,
1831
+ composed: true
1832
+ }
1833
+ },
1834
+ mouseEnter: {
1835
+ EventType: "MouseEvent",
1836
+ defaultInit: {
1837
+ bubbles: false,
1838
+ cancelable: false,
1839
+ composed: true
1840
+ }
1841
+ },
1842
+ mouseLeave: {
1843
+ EventType: "MouseEvent",
1844
+ defaultInit: {
1845
+ bubbles: false,
1846
+ cancelable: false,
1847
+ composed: true
1848
+ }
1849
+ },
1850
+ mouseMove: {
1851
+ EventType: "MouseEvent",
1852
+ defaultInit: {
1853
+ bubbles: true,
1854
+ cancelable: true,
1855
+ composed: true
1856
+ }
1857
+ },
1858
+ mouseOut: {
1859
+ EventType: "MouseEvent",
1860
+ defaultInit: {
1861
+ bubbles: true,
1862
+ cancelable: true,
1863
+ composed: true
1864
+ }
1865
+ },
1866
+ mouseOver: {
1867
+ EventType: "MouseEvent",
1868
+ defaultInit: {
1869
+ bubbles: true,
1870
+ cancelable: true,
1871
+ composed: true
1872
+ }
1873
+ },
1874
+ mouseUp: {
1875
+ EventType: "MouseEvent",
1876
+ defaultInit: {
1877
+ bubbles: true,
1878
+ cancelable: true,
1879
+ composed: true
1880
+ }
1881
+ },
1882
+ // Selection Events
1883
+ select: {
1884
+ EventType: "Event",
1885
+ defaultInit: {
1886
+ bubbles: true,
1887
+ cancelable: false
1888
+ }
1889
+ },
1890
+ // Touch Events
1891
+ touchCancel: {
1892
+ EventType: "TouchEvent",
1893
+ defaultInit: {
1894
+ bubbles: true,
1895
+ cancelable: false,
1896
+ composed: true
1897
+ }
1898
+ },
1899
+ touchEnd: {
1900
+ EventType: "TouchEvent",
1901
+ defaultInit: {
1902
+ bubbles: true,
1903
+ cancelable: true,
1904
+ composed: true
1905
+ }
1906
+ },
1907
+ touchMove: {
1908
+ EventType: "TouchEvent",
1909
+ defaultInit: {
1910
+ bubbles: true,
1911
+ cancelable: true,
1912
+ composed: true
1913
+ }
1914
+ },
1915
+ touchStart: {
1916
+ EventType: "TouchEvent",
1917
+ defaultInit: {
1918
+ bubbles: true,
1919
+ cancelable: true,
1920
+ composed: true
1921
+ }
1922
+ },
1923
+ // UI Events
1924
+ resize: {
1925
+ EventType: "UIEvent",
1926
+ defaultInit: {
1927
+ bubbles: false,
1928
+ cancelable: false
1929
+ }
1930
+ },
1931
+ scroll: {
1932
+ EventType: "UIEvent",
1933
+ defaultInit: {
1934
+ bubbles: false,
1935
+ cancelable: false
1936
+ }
1937
+ },
1938
+ // Wheel Events
1939
+ wheel: {
1940
+ EventType: "WheelEvent",
1941
+ defaultInit: {
1942
+ bubbles: true,
1943
+ cancelable: true,
1944
+ composed: true
1945
+ }
1946
+ },
1947
+ // Media Events
1948
+ abort: {
1949
+ EventType: "Event",
1950
+ defaultInit: {
1951
+ bubbles: false,
1952
+ cancelable: false
1953
+ }
1954
+ },
1955
+ canPlay: {
1956
+ EventType: "Event",
1957
+ defaultInit: {
1958
+ bubbles: false,
1959
+ cancelable: false
1960
+ }
1961
+ },
1962
+ canPlayThrough: {
1963
+ EventType: "Event",
1964
+ defaultInit: {
1965
+ bubbles: false,
1966
+ cancelable: false
1967
+ }
1968
+ },
1969
+ durationChange: {
1970
+ EventType: "Event",
1971
+ defaultInit: {
1972
+ bubbles: false,
1973
+ cancelable: false
1974
+ }
1975
+ },
1976
+ emptied: {
1977
+ EventType: "Event",
1978
+ defaultInit: {
1979
+ bubbles: false,
1980
+ cancelable: false
1981
+ }
1982
+ },
1983
+ encrypted: {
1984
+ EventType: "Event",
1985
+ defaultInit: {
1986
+ bubbles: false,
1987
+ cancelable: false
1988
+ }
1989
+ },
1990
+ ended: {
1991
+ EventType: "Event",
1992
+ defaultInit: {
1993
+ bubbles: false,
1994
+ cancelable: false
1995
+ }
1996
+ },
1997
+ loadedData: {
1998
+ EventType: "Event",
1999
+ defaultInit: {
2000
+ bubbles: false,
2001
+ cancelable: false
2002
+ }
2003
+ },
2004
+ loadedMetadata: {
2005
+ EventType: "Event",
2006
+ defaultInit: {
2007
+ bubbles: false,
2008
+ cancelable: false
2009
+ }
2010
+ },
2011
+ loadStart: {
2012
+ EventType: "ProgressEvent",
2013
+ defaultInit: {
2014
+ bubbles: false,
2015
+ cancelable: false
2016
+ }
2017
+ },
2018
+ pause: {
2019
+ EventType: "Event",
2020
+ defaultInit: {
2021
+ bubbles: false,
2022
+ cancelable: false
2023
+ }
2024
+ },
2025
+ play: {
2026
+ EventType: "Event",
2027
+ defaultInit: {
2028
+ bubbles: false,
2029
+ cancelable: false
2030
+ }
2031
+ },
2032
+ playing: {
2033
+ EventType: "Event",
2034
+ defaultInit: {
2035
+ bubbles: false,
2036
+ cancelable: false
2037
+ }
2038
+ },
2039
+ progress: {
2040
+ EventType: "ProgressEvent",
2041
+ defaultInit: {
2042
+ bubbles: false,
2043
+ cancelable: false
2044
+ }
2045
+ },
2046
+ rateChange: {
2047
+ EventType: "Event",
2048
+ defaultInit: {
2049
+ bubbles: false,
2050
+ cancelable: false
2051
+ }
2052
+ },
2053
+ seeked: {
2054
+ EventType: "Event",
2055
+ defaultInit: {
2056
+ bubbles: false,
2057
+ cancelable: false
2058
+ }
2059
+ },
2060
+ seeking: {
2061
+ EventType: "Event",
2062
+ defaultInit: {
2063
+ bubbles: false,
2064
+ cancelable: false
2065
+ }
2066
+ },
2067
+ stalled: {
2068
+ EventType: "Event",
2069
+ defaultInit: {
2070
+ bubbles: false,
2071
+ cancelable: false
2072
+ }
2073
+ },
2074
+ suspend: {
2075
+ EventType: "Event",
2076
+ defaultInit: {
2077
+ bubbles: false,
2078
+ cancelable: false
2079
+ }
2080
+ },
2081
+ timeUpdate: {
2082
+ EventType: "Event",
2083
+ defaultInit: {
2084
+ bubbles: false,
2085
+ cancelable: false
2086
+ }
2087
+ },
2088
+ volumeChange: {
2089
+ EventType: "Event",
2090
+ defaultInit: {
2091
+ bubbles: false,
2092
+ cancelable: false
2093
+ }
2094
+ },
2095
+ waiting: {
2096
+ EventType: "Event",
2097
+ defaultInit: {
2098
+ bubbles: false,
2099
+ cancelable: false
2100
+ }
2101
+ },
2102
+ // Events
2103
+ load: {
2104
+ // TODO: load events can be UIEvent or Event depending on what generated them
2105
+ // This is where this abstraction breaks down.
2106
+ // But the common targets are <img />, <script /> and window.
2107
+ // Neither of these targets receive a UIEvent
2108
+ EventType: "Event",
2109
+ defaultInit: {
2110
+ bubbles: false,
2111
+ cancelable: false
2112
+ }
2113
+ },
2114
+ error: {
2115
+ EventType: "Event",
2116
+ defaultInit: {
2117
+ bubbles: false,
2118
+ cancelable: false
2119
+ }
2120
+ },
2121
+ // Animation Events
2122
+ animationStart: {
2123
+ EventType: "AnimationEvent",
2124
+ defaultInit: {
2125
+ bubbles: true,
2126
+ cancelable: false
2127
+ }
2128
+ },
2129
+ animationEnd: {
2130
+ EventType: "AnimationEvent",
2131
+ defaultInit: {
2132
+ bubbles: true,
2133
+ cancelable: false
2134
+ }
2135
+ },
2136
+ animationIteration: {
2137
+ EventType: "AnimationEvent",
2138
+ defaultInit: {
2139
+ bubbles: true,
2140
+ cancelable: false
2141
+ }
2142
+ },
2143
+ // Transition Events
2144
+ transitionCancel: {
2145
+ EventType: "TransitionEvent",
2146
+ defaultInit: {
2147
+ bubbles: true,
2148
+ cancelable: false
2149
+ }
2150
+ },
2151
+ transitionEnd: {
2152
+ EventType: "TransitionEvent",
2153
+ defaultInit: {
2154
+ bubbles: true,
2155
+ cancelable: true
2156
+ }
2157
+ },
2158
+ transitionRun: {
2159
+ EventType: "TransitionEvent",
2160
+ defaultInit: {
2161
+ bubbles: true,
2162
+ cancelable: false
2163
+ }
2164
+ },
2165
+ transitionStart: {
2166
+ EventType: "TransitionEvent",
2167
+ defaultInit: {
2168
+ bubbles: true,
2169
+ cancelable: false
2170
+ }
2171
+ },
2172
+ // pointer events
2173
+ pointerOver: {
2174
+ EventType: "PointerEvent",
2175
+ defaultInit: {
2176
+ bubbles: true,
2177
+ cancelable: true,
2178
+ composed: true
2179
+ }
2180
+ },
2181
+ pointerEnter: {
2182
+ EventType: "PointerEvent",
2183
+ defaultInit: {
2184
+ bubbles: false,
2185
+ cancelable: false
2186
+ }
2187
+ },
2188
+ pointerDown: {
2189
+ EventType: "PointerEvent",
2190
+ defaultInit: {
2191
+ bubbles: true,
2192
+ cancelable: true,
2193
+ composed: true
2194
+ }
2195
+ },
2196
+ pointerMove: {
2197
+ EventType: "PointerEvent",
2198
+ defaultInit: {
2199
+ bubbles: true,
2200
+ cancelable: true,
2201
+ composed: true
2202
+ }
2203
+ },
2204
+ pointerUp: {
2205
+ EventType: "PointerEvent",
2206
+ defaultInit: {
2207
+ bubbles: true,
2208
+ cancelable: true,
2209
+ composed: true
2210
+ }
2211
+ },
2212
+ pointerCancel: {
2213
+ EventType: "PointerEvent",
2214
+ defaultInit: {
2215
+ bubbles: true,
2216
+ cancelable: false,
2217
+ composed: true
2218
+ }
2219
+ },
2220
+ pointerOut: {
2221
+ EventType: "PointerEvent",
2222
+ defaultInit: {
2223
+ bubbles: true,
2224
+ cancelable: true,
2225
+ composed: true
2226
+ }
2227
+ },
2228
+ pointerLeave: {
2229
+ EventType: "PointerEvent",
2230
+ defaultInit: {
2231
+ bubbles: false,
2232
+ cancelable: false
2233
+ }
2234
+ },
2235
+ gotPointerCapture: {
2236
+ EventType: "PointerEvent",
2237
+ defaultInit: {
2238
+ bubbles: true,
2239
+ cancelable: false,
2240
+ composed: true
2241
+ }
2242
+ },
2243
+ lostPointerCapture: {
2244
+ EventType: "PointerEvent",
2245
+ defaultInit: {
2246
+ bubbles: true,
2247
+ cancelable: false,
2248
+ composed: true
2249
+ }
2250
+ },
2251
+ // history events
2252
+ popState: {
2253
+ EventType: "PopStateEvent",
2254
+ defaultInit: {
2255
+ bubbles: true,
2256
+ cancelable: false
2257
+ }
2258
+ },
2259
+ // window events
2260
+ offline: {
2261
+ EventType: "Event",
2262
+ defaultInit: {
2263
+ bubbles: false,
2264
+ cancelable: false
2265
+ }
2266
+ },
2267
+ online: {
2268
+ EventType: "Event",
2269
+ defaultInit: {
2270
+ bubbles: false,
2271
+ cancelable: false
2272
+ }
2273
+ }
2274
+ };
2275
+ const eventAliasMap = {
2276
+ doubleClick: "dblClick"
2277
+ };
2278
+ function fireEvent(element, event) {
2279
+ return getConfig().eventWrapper(() => {
2280
+ if (!event) {
2281
+ throw new Error("Unable to fire an event - please provide an event object.");
2282
+ }
2283
+ if (!element) {
2284
+ throw new Error('Unable to fire a "' + event.type + '" event - please provide a DOM element.');
2285
+ }
2286
+ return element.dispatchEvent(event);
2287
+ });
2288
+ }
2289
+ function createEvent(eventName, node, init, _temp) {
2290
+ let {
2291
+ EventType = "Event",
2292
+ defaultInit = {}
2293
+ } = _temp === void 0 ? {} : _temp;
2294
+ if (!node) {
2295
+ throw new Error('Unable to fire a "' + eventName + '" event - please provide a DOM element.');
2296
+ }
2297
+ const eventInit = {
2298
+ ...defaultInit,
2299
+ ...init
2300
+ };
2301
+ const {
2302
+ target: {
2303
+ value,
2304
+ files,
2305
+ ...targetProperties
2306
+ } = {}
2307
+ } = eventInit;
2308
+ if (value !== void 0) {
2309
+ setNativeValue(node, value);
2310
+ }
2311
+ if (files !== void 0) {
2312
+ Object.defineProperty(node, "files", {
2313
+ configurable: true,
2314
+ enumerable: true,
2315
+ writable: true,
2316
+ value: files
2317
+ });
2318
+ }
2319
+ Object.assign(node, targetProperties);
2320
+ const window2 = getWindowFromNode(node);
2321
+ const EventConstructor = window2[EventType] || window2.Event;
2322
+ let event;
2323
+ if (typeof EventConstructor === "function") {
2324
+ event = new EventConstructor(eventName, eventInit);
2325
+ } else {
2326
+ event = window2.document.createEvent(EventType);
2327
+ const {
2328
+ bubbles,
2329
+ cancelable,
2330
+ detail,
2331
+ ...otherInit
2332
+ } = eventInit;
2333
+ event.initEvent(eventName, bubbles, cancelable, detail);
2334
+ Object.keys(otherInit).forEach((eventKey) => {
2335
+ event[eventKey] = otherInit[eventKey];
2336
+ });
2337
+ }
2338
+ const dataTransferProperties = ["dataTransfer", "clipboardData"];
2339
+ dataTransferProperties.forEach((dataTransferKey) => {
2340
+ const dataTransferValue = eventInit[dataTransferKey];
2341
+ if (typeof dataTransferValue === "object") {
2342
+ if (typeof window2.DataTransfer === "function") {
2343
+ Object.defineProperty(event, dataTransferKey, {
2344
+ value: Object.getOwnPropertyNames(dataTransferValue).reduce((acc, propName) => {
2345
+ Object.defineProperty(acc, propName, {
2346
+ value: dataTransferValue[propName]
2347
+ });
2348
+ return acc;
2349
+ }, new window2.DataTransfer())
2350
+ });
2351
+ } else {
2352
+ Object.defineProperty(event, dataTransferKey, {
2353
+ value: dataTransferValue
2354
+ });
2355
+ }
2356
+ }
2357
+ });
2358
+ return event;
2359
+ }
2360
+ Object.keys(eventMap).forEach((key) => {
2361
+ const {
2362
+ EventType,
2363
+ defaultInit
2364
+ } = eventMap[key];
2365
+ const eventName = key.toLowerCase();
2366
+ createEvent[key] = (node, init) => createEvent(eventName, node, init, {
2367
+ EventType,
2368
+ defaultInit
2369
+ });
2370
+ fireEvent[key] = (node, init) => fireEvent(node, createEvent[key](node, init));
2371
+ });
2372
+ function setNativeValue(element, value) {
2373
+ const {
2374
+ set: valueSetter
2375
+ } = Object.getOwnPropertyDescriptor(element, "value") || {};
2376
+ const prototype = Object.getPrototypeOf(element);
2377
+ const {
2378
+ set: prototypeValueSetter
2379
+ } = Object.getOwnPropertyDescriptor(prototype, "value") || {};
2380
+ if (prototypeValueSetter && valueSetter !== prototypeValueSetter) {
2381
+ prototypeValueSetter.call(element, value);
2382
+ } else {
2383
+ if (valueSetter) {
2384
+ valueSetter.call(element, value);
2385
+ } else {
2386
+ throw new Error("The given element does not have a value setter");
2387
+ }
2388
+ }
2389
+ }
2390
+ Object.keys(eventAliasMap).forEach((aliasKey) => {
2391
+ const key = eventAliasMap[aliasKey];
2392
+ fireEvent[aliasKey] = function() {
2393
+ return fireEvent[key](...arguments);
2394
+ };
2395
+ });
2396
+ function unindent(string) {
2397
+ return string.replace(/[ \t]*[\n][ \t]*/g, "\n");
2398
+ }
2399
+ function encode(value) {
2400
+ return lzString.default.compressToEncodedURIComponent(unindent(value));
2401
+ }
2402
+ function getPlaygroundUrl(markup) {
2403
+ return "https://testing-playground.com/#markup=" + encode(markup);
2404
+ }
2405
+ const debug = (element, maxLength, options) => Array.isArray(element) ? element.forEach((el) => logDOM(el, maxLength, options)) : logDOM(element, maxLength, options);
2406
+ const logTestingPlaygroundURL = function(element) {
2407
+ if (element === void 0) {
2408
+ element = getDocument().body;
2409
+ }
2410
+ if (!element || !("innerHTML" in element)) {
2411
+ console.log("The element you're providing isn't a valid DOM element.");
2412
+ return;
2413
+ }
2414
+ if (!element.innerHTML) {
2415
+ console.log("The provided element doesn't have any children.");
2416
+ return;
2417
+ }
2418
+ const playgroundUrl = getPlaygroundUrl(element.innerHTML);
2419
+ console.log("Open this URL in your browser\n\n" + playgroundUrl);
2420
+ return playgroundUrl;
2421
+ };
2422
+ const initialValue = {
2423
+ debug,
2424
+ logTestingPlaygroundURL
2425
+ };
2426
+ const screen = typeof document !== "undefined" && document.body ? getQueriesForElement(document.body, queries, initialValue) : Object.keys(queries).reduce((helpers, key) => {
2427
+ helpers[key] = () => {
2428
+ throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error");
2429
+ };
2430
+ return helpers;
2431
+ }, initialValue);
2432
+ exports.buildQueries = buildQueries;
2433
+ exports.configure = configure;
2434
+ exports.createEvent = createEvent;
2435
+ exports.findAllByAltText = findAllByAltText;
2436
+ exports.findAllByDisplayValue = findAllByDisplayValue;
2437
+ exports.findAllByLabelText = findAllByLabelText;
2438
+ exports.findAllByPlaceholderText = findAllByPlaceholderText;
2439
+ exports.findAllByRole = findAllByRole;
2440
+ exports.findAllByTestId = findAllByTestId;
2441
+ exports.findAllByText = findAllByText;
2442
+ exports.findAllByTitle = findAllByTitle;
2443
+ exports.findByAltText = findByAltText;
2444
+ exports.findByDisplayValue = findByDisplayValue;
2445
+ exports.findByLabelText = findByLabelText;
2446
+ exports.findByPlaceholderText = findByPlaceholderText;
2447
+ exports.findByRole = findByRole;
2448
+ exports.findByTestId = findByTestId;
2449
+ exports.findByText = findByText;
2450
+ exports.findByTitle = findByTitle;
2451
+ exports.fireEvent = fireEvent;
2452
+ exports.getAllByAltText = getAllByAltText;
2453
+ exports.getAllByDisplayValue = getAllByDisplayValue;
2454
+ exports.getAllByLabelText = getAllByLabelTextWithSuggestions;
2455
+ exports.getAllByPlaceholderText = getAllByPlaceholderText;
2456
+ exports.getAllByRole = getAllByRole;
2457
+ exports.getAllByTestId = getAllByTestId;
2458
+ exports.getAllByText = getAllByText;
2459
+ exports.getAllByTitle = getAllByTitle;
2460
+ exports.getByAltText = getByAltText;
2461
+ exports.getByDisplayValue = getByDisplayValue;
2462
+ exports.getByLabelText = getByLabelTextWithSuggestions;
2463
+ exports.getByPlaceholderText = getByPlaceholderText;
2464
+ exports.getByRole = getByRole;
2465
+ exports.getByTestId = getByTestId;
2466
+ exports.getByText = getByText;
2467
+ exports.getByTitle = getByTitle;
2468
+ exports.getConfig = getConfig;
2469
+ exports.getDefaultNormalizer = getDefaultNormalizer;
2470
+ exports.getElementError = getElementError;
2471
+ exports.getMultipleElementsFoundError = getMultipleElementsFoundError;
2472
+ exports.getNodeText = getNodeText;
2473
+ exports.getQueriesForElement = getQueriesForElement;
2474
+ exports.getRoles = getRoles;
2475
+ exports.getSuggestedQuery = getSuggestedQuery;
2476
+ exports.isInaccessible = isInaccessible;
2477
+ exports.logDOM = logDOM;
2478
+ exports.makeFindQuery = makeFindQuery;
2479
+ exports.makeGetAllQuery = makeGetAllQuery;
2480
+ exports.makeSingleQuery = makeSingleQuery;
2481
+ exports.prettyDOM = prettyDOM;
2482
+ exports.queries = queries;
2483
+ exports.queryAllByAltText = queryAllByAltTextWithSuggestions;
2484
+ exports.queryAllByAttribute = queryAllByAttribute;
2485
+ exports.queryAllByDisplayValue = queryAllByDisplayValueWithSuggestions;
2486
+ exports.queryAllByLabelText = queryAllByLabelTextWithSuggestions;
2487
+ exports.queryAllByPlaceholderText = queryAllByPlaceholderTextWithSuggestions;
2488
+ exports.queryAllByRole = queryAllByRoleWithSuggestions;
2489
+ exports.queryAllByTestId = queryAllByTestIdWithSuggestions;
2490
+ exports.queryAllByText = queryAllByTextWithSuggestions;
2491
+ exports.queryAllByTitle = queryAllByTitleWithSuggestions;
2492
+ exports.queryByAltText = queryByAltText;
2493
+ exports.queryByDisplayValue = queryByDisplayValue;
2494
+ exports.queryByLabelText = queryByLabelText;
2495
+ exports.queryByPlaceholderText = queryByPlaceholderText;
2496
+ exports.queryByRole = queryByRole;
2497
+ exports.queryByTestId = queryByTestId;
2498
+ exports.queryByText = queryByText;
2499
+ exports.queryByTitle = queryByTitle;
2500
+ exports.screen = screen;
2501
+ exports.waitFor = waitForWrapper;
2502
+ exports.within = getQueriesForElement;
2503
+ exports.wrapAllByQueryWithSuggestion = wrapAllByQueryWithSuggestion;
2504
+ exports.wrapSingleQueryWithSuggestion = wrapSingleQueryWithSuggestion;