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