@onereach/ui-components 8.5.0 → 8.5.1-beta.3662.0

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 (1008) hide show
  1. package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +1 -0
  2. package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +47 -0
  3. package/dist/bundled/v3/components/OrAvatar/constants.d.ts +5 -0
  4. package/dist/bundled/v3/components/OrAvatar/constants.js +1 -0
  5. package/dist/bundled/v3/components/OrAvatar/index.d.ts +2 -0
  6. package/dist/bundled/v3/components/OrAvatar/index.js +1 -0
  7. package/dist/bundled/v3/components/OrAvatar-bfa6fd65.js +115 -0
  8. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +1 -0
  9. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +55 -0
  10. package/dist/bundled/v3/components/OrAvatarV3/index.d.ts +2 -0
  11. package/dist/bundled/v3/components/OrAvatarV3/index.js +1 -0
  12. package/dist/bundled/v3/components/OrAvatarV3/props.d.ts +15 -0
  13. package/dist/bundled/v3/components/OrAvatarV3/props.js +1 -0
  14. package/dist/bundled/v3/components/OrAvatarV3/styles.d.ts +6 -0
  15. package/dist/bundled/v3/components/OrAvatarV3/styles.js +1 -0
  16. package/dist/bundled/v3/components/OrAvatarV3-fad0711b.js +281 -0
  17. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +1 -0
  18. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +566 -0
  19. package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.d.ts +530 -0
  20. package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +2 -0
  21. package/dist/bundled/v3/components/OrBottomSheetV3/index.d.ts +2 -0
  22. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -0
  23. package/dist/bundled/v3/components/OrBottomSheetV3/props.d.ts +4 -0
  24. package/dist/bundled/v3/components/OrBottomSheetV3/props.js +1 -0
  25. package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +6 -0
  26. package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +1 -0
  27. package/dist/bundled/v3/components/OrBottomSheetV3-199292db.js +7048 -0
  28. package/dist/bundled/v3/components/OrButton/OrButton.js +1 -0
  29. package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +153 -0
  30. package/dist/bundled/v3/components/OrButton/constants.d.ts +21 -0
  31. package/dist/bundled/v3/components/OrButton/constants.js +1 -0
  32. package/dist/bundled/v3/components/OrButton/index.d.ts +2 -0
  33. package/dist/bundled/v3/components/OrButton/index.js +162 -0
  34. package/dist/bundled/v3/components/OrButtonGroupV3/OrButtonGroup.js +1 -0
  35. package/dist/bundled/v3/components/OrButtonGroupV3/OrButtonGroup.vue.d.ts +37 -0
  36. package/dist/bundled/v3/components/OrButtonGroupV3/index.d.ts +2 -0
  37. package/dist/bundled/v3/components/OrButtonGroupV3/index.js +2 -0
  38. package/dist/bundled/v3/components/OrButtonGroupV3/props.d.ts +1 -0
  39. package/dist/bundled/v3/components/OrButtonGroupV3/props.js +1 -0
  40. package/dist/bundled/v3/components/OrButtonGroupV3/styles.d.ts +3 -0
  41. package/dist/bundled/v3/components/OrButtonGroupV3/styles.js +2 -0
  42. package/dist/bundled/v3/components/OrButtonGroupV3-64d05d71.js +61 -0
  43. package/dist/bundled/v3/components/OrButtonV2/OrButton.js +1 -0
  44. package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +126 -0
  45. package/dist/bundled/v3/components/OrButtonV2/constants.d.ts +35 -0
  46. package/dist/bundled/v3/components/OrButtonV2/constants.js +1 -0
  47. package/dist/bundled/v3/components/OrButtonV2/index.d.ts +3 -0
  48. package/dist/bundled/v3/components/OrButtonV2/index.js +2 -0
  49. package/dist/bundled/v3/components/OrButtonV2-723fa64f.js +184 -0
  50. package/dist/bundled/v3/components/OrButtonV3/OrButton.js +1 -0
  51. package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +78 -0
  52. package/dist/bundled/v3/components/OrButtonV3/index.d.ts +2 -0
  53. package/dist/bundled/v3/components/OrButtonV3/index.js +1 -0
  54. package/dist/bundled/v3/components/OrButtonV3/props.d.ts +16 -0
  55. package/dist/bundled/v3/components/OrButtonV3/props.js +1 -0
  56. package/dist/bundled/v3/components/OrButtonV3/styles.d.ts +4 -0
  57. package/dist/bundled/v3/components/OrButtonV3/styles.js +1 -0
  58. package/dist/bundled/v3/components/OrButtonV3-c76677b3.js +180 -0
  59. package/dist/bundled/v3/components/OrCard/OrCard.js +40 -0
  60. package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +18 -0
  61. package/dist/bundled/v3/components/OrCard/index.d.ts +1 -0
  62. package/dist/bundled/v3/components/OrCard/index.js +1 -0
  63. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +1 -0
  64. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +86 -0
  65. package/dist/bundled/v3/components/OrCardCollection/constants.d.ts +4 -0
  66. package/dist/bundled/v3/components/OrCardCollection/constants.js +1 -0
  67. package/dist/bundled/v3/components/OrCardCollection/index.d.ts +3 -0
  68. package/dist/bundled/v3/components/OrCardCollection/index.js +190 -0
  69. package/dist/bundled/v3/components/OrCardCollection/types.d.ts +8 -0
  70. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +1 -0
  71. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +93 -0
  72. package/dist/bundled/v3/components/OrCardCollectionV3/index.d.ts +3 -0
  73. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -0
  74. package/dist/bundled/v3/components/OrCardCollectionV3/props.d.ts +8 -0
  75. package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -0
  76. package/dist/bundled/v3/components/OrCardCollectionV3/styles.d.ts +6 -0
  77. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -0
  78. package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +8 -0
  79. package/dist/bundled/v3/components/OrCardCollectionV3-ec53a965.js +243 -0
  80. package/dist/bundled/v3/components/OrCardV3/OrCard.js +1 -0
  81. package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +37 -0
  82. package/dist/bundled/v3/components/OrCardV3/index.d.ts +2 -0
  83. package/dist/bundled/v3/components/OrCardV3/index.js +1 -0
  84. package/dist/bundled/v3/components/OrCardV3/props.d.ts +5 -0
  85. package/dist/bundled/v3/components/OrCardV3/props.js +1 -0
  86. package/dist/bundled/v3/components/OrCardV3/styles.d.ts +4 -0
  87. package/dist/bundled/v3/components/OrCardV3/styles.js +1 -0
  88. package/dist/bundled/v3/components/OrCardV3-9d09fb37.js +75 -0
  89. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +151 -0
  90. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +73 -0
  91. package/dist/bundled/v3/components/OrCheckbox/index.d.ts +1 -0
  92. package/dist/bundled/v3/components/OrCheckbox/index.js +1 -0
  93. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +85 -0
  94. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +73 -0
  95. package/dist/bundled/v3/components/OrCheckboxGroupV3/index.d.ts +1 -0
  96. package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +1 -0
  97. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -0
  98. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +65 -0
  99. package/dist/bundled/v3/components/OrCheckboxTreeV3/index.d.ts +2 -0
  100. package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +1 -0
  101. package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.d.ts +2 -0
  102. package/dist/bundled/v3/components/OrCheckboxTreeV3/styles.js +1 -0
  103. package/dist/bundled/v3/components/OrCheckboxTreeV3/types.d.ts +8 -0
  104. package/dist/bundled/v3/components/OrCheckboxTreeV3/utils/extractChildrenValues.d.ts +2 -0
  105. package/dist/bundled/v3/components/OrCheckboxTreeV3/utils/extractChildrenValues.js +2 -0
  106. package/dist/bundled/v3/components/OrCheckboxTreeV3-a0f303f4.js +192 -0
  107. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +1 -0
  108. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +90 -0
  109. package/dist/bundled/v3/components/OrCheckboxV3/index.d.ts +1 -0
  110. package/dist/bundled/v3/components/OrCheckboxV3/index.js +1 -0
  111. package/dist/bundled/v3/components/OrCheckboxV3/styles.d.ts +3 -0
  112. package/dist/bundled/v3/components/OrCheckboxV3/styles.js +1 -0
  113. package/dist/bundled/v3/components/OrCheckboxV3-25ff00db.js +174 -0
  114. package/dist/bundled/v3/components/OrChip/OrChip.js +1 -0
  115. package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +42 -0
  116. package/dist/bundled/v3/components/OrChip/index.d.ts +1 -0
  117. package/dist/bundled/v3/components/OrChip/index.js +1 -0
  118. package/dist/bundled/v3/components/OrChips/OrChips.js +1 -0
  119. package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +69 -0
  120. package/dist/bundled/v3/components/OrChips/constants.d.ts +9 -0
  121. package/dist/bundled/v3/components/OrChips/constants.js +1 -0
  122. package/dist/bundled/v3/components/OrChips/index.d.ts +2 -0
  123. package/dist/bundled/v3/components/OrChips/index.js +1 -0
  124. package/dist/bundled/v3/components/OrChips-6304e385.js +305 -0
  125. package/dist/bundled/v3/components/OrCode/OrCode.js +1 -0
  126. package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +168 -0
  127. package/dist/bundled/v3/components/OrCode/constants.d.ts +8 -0
  128. package/dist/bundled/v3/components/OrCode/constants.js +1 -0
  129. package/dist/bundled/v3/components/OrCode/index.d.ts +3 -0
  130. package/dist/bundled/v3/components/OrCode/index.js +1 -0
  131. package/dist/bundled/v3/components/OrCode/lang.d.ts +11 -0
  132. package/dist/bundled/v3/components/OrCode/lang.js +1 -0
  133. package/dist/bundled/v3/components/OrCode/libs.d.ts +5 -0
  134. package/dist/bundled/v3/components/OrCode/libs.js +1 -0
  135. package/dist/bundled/v3/components/OrCode/theme.d.ts +24 -0
  136. package/dist/bundled/v3/components/OrCode/theme.js +1 -0
  137. package/dist/bundled/v3/components/OrCode-60e0faa8.js +31609 -0
  138. package/dist/bundled/v3/components/OrCodeV3/OrCode.js +1 -0
  139. package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +131 -0
  140. package/dist/bundled/v3/components/OrCodeV3/index.d.ts +3 -0
  141. package/dist/bundled/v3/components/OrCodeV3/index.js +2 -0
  142. package/dist/bundled/v3/components/OrCodeV3/libs.d.ts +6 -0
  143. package/dist/bundled/v3/components/OrCodeV3/libs.js +1 -0
  144. package/dist/bundled/v3/components/OrCodeV3/props.d.ts +8 -0
  145. package/dist/bundled/v3/components/OrCodeV3/props.js +1 -0
  146. package/dist/bundled/v3/components/OrCodeV3/styles.d.ts +4 -0
  147. package/dist/bundled/v3/components/OrCodeV3/styles.js +1 -0
  148. package/dist/bundled/v3/components/OrCodeV3-31d5f1e3.js +452 -0
  149. package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +145 -0
  150. package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +53 -0
  151. package/dist/bundled/v3/components/OrCollapse/index.d.ts +1 -0
  152. package/dist/bundled/v3/components/OrCollapse/index.js +1 -0
  153. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +1 -0
  154. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +48 -0
  155. package/dist/bundled/v3/components/OrColorPicker/constants.d.ts +575 -0
  156. package/dist/bundled/v3/components/OrColorPicker/constants.js +1 -0
  157. package/dist/bundled/v3/components/OrColorPicker/index.d.ts +3 -0
  158. package/dist/bundled/v3/components/OrColorPicker/index.js +1 -0
  159. package/dist/bundled/v3/components/OrColorPicker/types.d.ts +1 -0
  160. package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.d.ts +2 -0
  161. package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.js +1 -0
  162. package/dist/bundled/v3/components/OrColorPicker-88c33040.js +463 -0
  163. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +1 -0
  164. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +83 -0
  165. package/dist/bundled/v3/components/OrCombinedInputV3/index.d.ts +2 -0
  166. package/dist/bundled/v3/components/OrCombinedInputV3/index.js +2 -0
  167. package/dist/bundled/v3/components/OrCombinedInputV3/props.d.ts +1 -0
  168. package/dist/bundled/v3/components/OrCombinedInputV3/props.js +1 -0
  169. package/dist/bundled/v3/components/OrCombinedInputV3/styles.d.ts +2 -0
  170. package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +1 -0
  171. package/dist/bundled/v3/components/OrCombinedInputV3-fea65076.js +129 -0
  172. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +1 -0
  173. package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +176 -0
  174. package/dist/bundled/v3/components/OrConfirm/index.d.ts +1 -0
  175. package/dist/bundled/v3/components/OrConfirm/index.js +1 -0
  176. package/dist/bundled/v3/components/OrConfirm-af2badee.js +218 -0
  177. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +1 -0
  178. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +138 -0
  179. package/dist/bundled/v3/components/OrConfirmV3/index.d.ts +2 -0
  180. package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -0
  181. package/dist/bundled/v3/components/OrConfirmV3/props.d.ts +4 -0
  182. package/dist/bundled/v3/components/OrConfirmV3/props.js +1 -0
  183. package/dist/bundled/v3/components/OrConfirmV3/styles.d.ts +7 -0
  184. package/dist/bundled/v3/components/OrConfirmV3/styles.js +1 -0
  185. package/dist/bundled/v3/components/OrConfirmV3-feef2088.js +275 -0
  186. package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.js +1 -0
  187. package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.vue.d.ts +45 -0
  188. package/dist/bundled/v3/components/OrContextMenuV3/index.d.ts +2 -0
  189. package/dist/bundled/v3/components/OrContextMenuV3/index.js +83 -0
  190. package/dist/bundled/v3/components/OrContextMenuV3/props.d.ts +2 -0
  191. package/dist/bundled/v3/components/OrContextMenuV3/props.js +1 -0
  192. package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.js +1 -0
  193. package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.vue.d.ts +28 -0
  194. package/dist/bundled/v3/components/OrDateFormatV3/index.d.ts +1 -0
  195. package/dist/bundled/v3/components/OrDateFormatV3/index.js +1 -0
  196. package/dist/bundled/v3/components/OrDateFormatV3/styles.d.ts +1 -0
  197. package/dist/bundled/v3/components/OrDateFormatV3/styles.js +1 -0
  198. package/dist/bundled/v3/components/OrDateFormatV3-5a7e3aa6.js +48 -0
  199. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +1 -0
  200. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +263 -0
  201. package/dist/bundled/v3/components/OrDatePickerV3/index.d.ts +2 -0
  202. package/dist/bundled/v3/components/OrDatePickerV3/index.js +2 -0
  203. package/dist/bundled/v3/components/OrDatePickerV3/props.d.ts +1 -0
  204. package/dist/bundled/v3/components/OrDatePickerV3/props.js +1 -0
  205. package/dist/bundled/v3/components/OrDatePickerV3/styles.d.ts +2 -0
  206. package/dist/bundled/v3/components/OrDatePickerV3/styles.js +1 -0
  207. package/dist/bundled/v3/components/OrDatePickerV3-f4d5b501.js +344 -0
  208. package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +1 -0
  209. package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.vue.d.ts +553 -0
  210. package/dist/bundled/v3/components/OrDateRangePickerV3/index.d.ts +2 -0
  211. package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +2 -0
  212. package/dist/bundled/v3/components/OrDateRangePickerV3/props.d.ts +1 -0
  213. package/dist/bundled/v3/components/OrDateRangePickerV3/props.js +1 -0
  214. package/dist/bundled/v3/components/OrDateRangePickerV3/styles.d.ts +2 -0
  215. package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +1 -0
  216. package/dist/bundled/v3/components/OrDateRangePickerV3-b77f4355.js +383 -0
  217. package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.js +1 -0
  218. package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.vue.d.ts +39 -0
  219. package/dist/bundled/v3/components/OrDateTimeFormatV3/index.d.ts +1 -0
  220. package/dist/bundled/v3/components/OrDateTimeFormatV3/index.js +1 -0
  221. package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.d.ts +1 -0
  222. package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.js +1 -0
  223. package/dist/bundled/v3/components/OrDateTimeFormatV3-a096ac3f.js +53 -0
  224. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +1 -0
  225. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +270 -0
  226. package/dist/bundled/v3/components/OrDateTimePicker/constants.d.ts +24 -0
  227. package/dist/bundled/v3/components/OrDateTimePicker/constants.js +1 -0
  228. package/dist/bundled/v3/components/OrDateTimePicker/index.d.ts +2 -0
  229. package/dist/bundled/v3/components/OrDateTimePicker/index.js +1 -0
  230. package/dist/bundled/v3/components/OrDateTimePicker-cb5baefc.js +1182 -0
  231. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -0
  232. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +296 -0
  233. package/dist/bundled/v3/components/OrDateTimePickerV3/index.d.ts +5 -0
  234. package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +2 -0
  235. package/dist/bundled/v3/components/OrDateTimePickerV3/props.d.ts +6 -0
  236. package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +2 -0
  237. package/dist/bundled/v3/components/OrDateTimePickerV3/styles.d.ts +3 -0
  238. package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +1 -0
  239. package/dist/bundled/v3/components/OrDateTimePickerV3/types.d.ts +3 -0
  240. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.d.ts +1 -0
  241. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.js +1 -0
  242. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.d.ts +2 -0
  243. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.js +1 -0
  244. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.d.ts +1 -0
  245. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.js +1 -0
  246. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.d.ts +1 -0
  247. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +1 -0
  248. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.d.ts +1 -0
  249. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.js +1 -0
  250. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.d.ts +2 -0
  251. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +1 -0
  252. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.d.ts +6 -0
  253. package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.js +1 -0
  254. package/dist/bundled/v3/components/OrDateTimePickerV3-fe89f01d.js +1407 -0
  255. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.js +1 -0
  256. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +86 -0
  257. package/dist/bundled/v3/components/OrEmptyStateV3/index.d.ts +3 -0
  258. package/dist/bundled/v3/components/OrEmptyStateV3/index.js +1 -0
  259. package/dist/bundled/v3/components/OrEmptyStateV3/props.d.ts +4 -0
  260. package/dist/bundled/v3/components/OrEmptyStateV3/props.js +1 -0
  261. package/dist/bundled/v3/components/OrEmptyStateV3/styles.d.ts +10 -0
  262. package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +1 -0
  263. package/dist/bundled/v3/components/OrEmptyStateV3/types.d.ts +2 -0
  264. package/dist/bundled/v3/components/OrEmptyStateV3-964b6ea0.js +135 -0
  265. package/dist/bundled/v3/components/OrError/OrError.js +29 -0
  266. package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +15 -0
  267. package/dist/bundled/v3/components/OrError/index.d.ts +1 -0
  268. package/dist/bundled/v3/components/OrError/index.js +1 -0
  269. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.js +1 -0
  270. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +5 -0
  271. package/dist/bundled/v3/components/OrErrorTagV3/index.d.ts +1 -0
  272. package/dist/bundled/v3/components/OrErrorTagV3/index.js +1 -0
  273. package/dist/bundled/v3/components/OrErrorTagV3/styles.d.ts +1 -0
  274. package/dist/bundled/v3/components/OrErrorTagV3/styles.js +1 -0
  275. package/dist/bundled/v3/components/OrErrorTagV3-c3da8496.js +54 -0
  276. package/dist/bundled/v3/components/OrErrorV3/OrError.js +1 -0
  277. package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +19 -0
  278. package/dist/bundled/v3/components/OrErrorV3/index.d.ts +1 -0
  279. package/dist/bundled/v3/components/OrErrorV3/index.js +1 -0
  280. package/dist/bundled/v3/components/OrErrorV3/styles.d.ts +3 -0
  281. package/dist/bundled/v3/components/OrErrorV3/styles.js +1 -0
  282. package/dist/bundled/v3/components/OrErrorV3-f61387d6.js +63 -0
  283. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +1 -0
  284. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +73 -0
  285. package/dist/bundled/v3/components/OrExpansionPanelV3/index.d.ts +2 -0
  286. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -0
  287. package/dist/bundled/v3/components/OrExpansionPanelV3/props.d.ts +13 -0
  288. package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +1 -0
  289. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.d.ts +7 -0
  290. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +1 -0
  291. package/dist/bundled/v3/components/OrExpansionPanelV3-cacc7985.js +182 -0
  292. package/dist/bundled/v3/components/OrFabV3/OrFab.js +1 -0
  293. package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +37 -0
  294. package/dist/bundled/v3/components/OrFabV3/index.d.ts +2 -0
  295. package/dist/bundled/v3/components/OrFabV3/index.js +1 -0
  296. package/dist/bundled/v3/components/OrFabV3/props.d.ts +4 -0
  297. package/dist/bundled/v3/components/OrFabV3/props.js +1 -0
  298. package/dist/bundled/v3/components/OrFabV3/styles.d.ts +3 -0
  299. package/dist/bundled/v3/components/OrFabV3/styles.js +1 -0
  300. package/dist/bundled/v3/components/OrFabV3-1db7d013.js +80 -0
  301. package/dist/bundled/v3/components/OrFloating/OrFloating.js +1 -0
  302. package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +123 -0
  303. package/dist/bundled/v3/components/OrFloating/constants.d.ts +18 -0
  304. package/dist/bundled/v3/components/OrFloating/constants.js +1 -0
  305. package/dist/bundled/v3/components/OrFloating/index.d.ts +2 -0
  306. package/dist/bundled/v3/components/OrFloating/index.js +1 -0
  307. package/dist/bundled/v3/components/OrFloating-3ae45ca5.js +1631 -0
  308. package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +1 -0
  309. package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +67 -0
  310. package/dist/bundled/v3/components/OrFormGroupV3/index.d.ts +2 -0
  311. package/dist/bundled/v3/components/OrFormGroupV3/index.js +1 -0
  312. package/dist/bundled/v3/components/OrFormGroupV3/props.d.ts +4 -0
  313. package/dist/bundled/v3/components/OrFormGroupV3/props.js +1 -0
  314. package/dist/bundled/v3/components/OrFormGroupV3/styles.d.ts +5 -0
  315. package/dist/bundled/v3/components/OrFormGroupV3/styles.js +1 -0
  316. package/dist/bundled/v3/components/OrFormGroupV3-53cf45ee.js +122 -0
  317. package/dist/bundled/v3/components/OrHint/OrHint.js +30 -0
  318. package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +17 -0
  319. package/dist/bundled/v3/components/OrHint/index.d.ts +1 -0
  320. package/dist/bundled/v3/components/OrHint/index.js +1 -0
  321. package/dist/bundled/v3/components/OrHintV3/OrHint.js +1 -0
  322. package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +19 -0
  323. package/dist/bundled/v3/components/OrHintV3/index.d.ts +1 -0
  324. package/dist/bundled/v3/components/OrHintV3/index.js +1 -0
  325. package/dist/bundled/v3/components/OrHintV3/styles.d.ts +3 -0
  326. package/dist/bundled/v3/components/OrHintV3/styles.js +1 -0
  327. package/dist/bundled/v3/components/OrHintV3-1fcfaa19.js +63 -0
  328. package/dist/bundled/v3/components/OrIcon/OrIcon.js +1 -0
  329. package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +95 -0
  330. package/dist/bundled/v3/components/OrIcon/constants.d.ts +20 -0
  331. package/dist/bundled/v3/components/OrIcon/constants.js +1 -0
  332. package/dist/bundled/v3/components/OrIcon/index.d.ts +2 -0
  333. package/dist/bundled/v3/components/OrIcon/index.js +160 -0
  334. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +181 -0
  335. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +106 -0
  336. package/dist/bundled/v3/components/OrIconButtonV2/index.d.ts +1 -0
  337. package/dist/bundled/v3/components/OrIconButtonV2/index.js +1 -0
  338. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +1 -0
  339. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +82 -0
  340. package/dist/bundled/v3/components/OrIconButtonV3/index.d.ts +2 -0
  341. package/dist/bundled/v3/components/OrIconButtonV3/index.js +2 -0
  342. package/dist/bundled/v3/components/OrIconButtonV3/props.d.ts +7 -0
  343. package/dist/bundled/v3/components/OrIconButtonV3/props.js +2 -0
  344. package/dist/bundled/v3/components/OrIconButtonV3/styles.d.ts +3 -0
  345. package/dist/bundled/v3/components/OrIconButtonV3/styles.js +1 -0
  346. package/dist/bundled/v3/components/OrIconButtonV3-691e3bcd.js +181 -0
  347. package/dist/bundled/v3/components/OrIconV3/OrIcon.js +1 -0
  348. package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +36 -0
  349. package/dist/bundled/v3/components/OrIconV3/index.d.ts +2 -0
  350. package/dist/bundled/v3/components/OrIconV3/index.js +1 -0
  351. package/dist/bundled/v3/components/OrIconV3/props.d.ts +13 -0
  352. package/dist/bundled/v3/components/OrIconV3/props.js +1 -0
  353. package/dist/bundled/v3/components/OrIconV3/styles.d.ts +4 -0
  354. package/dist/bundled/v3/components/OrIconV3/styles.js +1 -0
  355. package/dist/bundled/v3/components/OrIconV3-85d7d26b.js +100 -0
  356. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.js +1 -0
  357. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +28 -0
  358. package/dist/bundled/v3/components/OrInlineInputBoxV3/index.d.ts +2 -0
  359. package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +1 -0
  360. package/dist/bundled/v3/components/OrInlineInputBoxV3/props.d.ts +4 -0
  361. package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +1 -0
  362. package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.d.ts +3 -0
  363. package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.js +1 -0
  364. package/dist/bundled/v3/components/OrInlineInputBoxV3-c2d12c4d.js +69 -0
  365. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +1 -0
  366. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +106 -0
  367. package/dist/bundled/v3/components/OrInlineInputV3/index.d.ts +2 -0
  368. package/dist/bundled/v3/components/OrInlineInputV3/index.js +2 -0
  369. package/dist/bundled/v3/components/OrInlineInputV3/props.d.ts +5 -0
  370. package/dist/bundled/v3/components/OrInlineInputV3/props.js +2 -0
  371. package/dist/bundled/v3/components/OrInlineInputV3/styles.d.ts +5 -0
  372. package/dist/bundled/v3/components/OrInlineInputV3/styles.js +1 -0
  373. package/dist/bundled/v3/components/OrInlineInputV3-fbc7511a.js +248 -0
  374. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -0
  375. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +157 -0
  376. package/dist/bundled/v3/components/OrInlineTextEdit/constants.d.ts +9 -0
  377. package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +1 -0
  378. package/dist/bundled/v3/components/OrInlineTextEdit/index.d.ts +2 -0
  379. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +353 -0
  380. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +1 -0
  381. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +86 -0
  382. package/dist/bundled/v3/components/OrInlineTextareaV3/index.d.ts +1 -0
  383. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +1 -0
  384. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.d.ts +3 -0
  385. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +1 -0
  386. package/dist/bundled/v3/components/OrInlineTextareaV3-253869cd.js +226 -0
  387. package/dist/bundled/v3/components/OrInput/OrInput.js +300 -0
  388. package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +153 -0
  389. package/dist/bundled/v3/components/OrInput/index.d.ts +1 -0
  390. package/dist/bundled/v3/components/OrInput/index.js +1 -0
  391. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.js +1 -0
  392. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +55 -0
  393. package/dist/bundled/v3/components/OrInputBoxV3/index.d.ts +2 -0
  394. package/dist/bundled/v3/components/OrInputBoxV3/index.js +1 -0
  395. package/dist/bundled/v3/components/OrInputBoxV3/props.d.ts +8 -0
  396. package/dist/bundled/v3/components/OrInputBoxV3/props.js +1 -0
  397. package/dist/bundled/v3/components/OrInputBoxV3/styles.d.ts +4 -0
  398. package/dist/bundled/v3/components/OrInputBoxV3/styles.js +1 -0
  399. package/dist/bundled/v3/components/OrInputBoxV3-a079251d.js +172 -0
  400. package/dist/bundled/v3/components/OrInputV3/OrInput.js +1 -0
  401. package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +156 -0
  402. package/dist/bundled/v3/components/OrInputV3/index.d.ts +2 -0
  403. package/dist/bundled/v3/components/OrInputV3/index.js +2 -0
  404. package/dist/bundled/v3/components/OrInputV3/props.d.ts +7 -0
  405. package/dist/bundled/v3/components/OrInputV3/props.js +2 -0
  406. package/dist/bundled/v3/components/OrInputV3/styles.d.ts +2 -0
  407. package/dist/bundled/v3/components/OrInputV3/styles.js +1 -0
  408. package/dist/bundled/v3/components/OrInputV3-4f742dc1.js +272 -0
  409. package/dist/bundled/v3/components/OrLabel/OrLabel.js +60 -0
  410. package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +32 -0
  411. package/dist/bundled/v3/components/OrLabel/index.d.ts +1 -0
  412. package/dist/bundled/v3/components/OrLabel/index.js +1 -0
  413. package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +1 -0
  414. package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +57 -0
  415. package/dist/bundled/v3/components/OrLabelV3/index.d.ts +2 -0
  416. package/dist/bundled/v3/components/OrLabelV3/index.js +1 -0
  417. package/dist/bundled/v3/components/OrLabelV3/props.d.ts +5 -0
  418. package/dist/bundled/v3/components/OrLabelV3/props.js +1 -0
  419. package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +5 -0
  420. package/dist/bundled/v3/components/OrLabelV3/styles.js +1 -0
  421. package/dist/bundled/v3/components/OrLabelV3-5fd72248.js +107 -0
  422. package/dist/bundled/v3/components/OrLinkV3/OrLink.js +1 -0
  423. package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +63 -0
  424. package/dist/bundled/v3/components/OrLinkV3/index.d.ts +2 -0
  425. package/dist/bundled/v3/components/OrLinkV3/index.js +1 -0
  426. package/dist/bundled/v3/components/OrLinkV3/props.d.ts +7 -0
  427. package/dist/bundled/v3/components/OrLinkV3/props.js +1 -0
  428. package/dist/bundled/v3/components/OrLinkV3/styles.d.ts +3 -0
  429. package/dist/bundled/v3/components/OrLinkV3/styles.js +1 -0
  430. package/dist/bundled/v3/components/OrLinkV3-ab4984cb.js +102 -0
  431. package/dist/bundled/v3/components/OrList/OrList.js +1 -0
  432. package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +125 -0
  433. package/dist/bundled/v3/components/OrList/index.d.ts +1 -0
  434. package/dist/bundled/v3/components/OrList/index.js +1 -0
  435. package/dist/bundled/v3/components/OrList-896979b0.js +5109 -0
  436. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +164 -0
  437. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +95 -0
  438. package/dist/bundled/v3/components/OrListOfInputs/index.d.ts +1 -0
  439. package/dist/bundled/v3/components/OrListOfInputs/index.js +1 -0
  440. package/dist/bundled/v3/components/OrListV3/OrList.js +1 -0
  441. package/dist/bundled/v3/components/OrListV3/OrList.vue.d.ts +96 -0
  442. package/dist/bundled/v3/components/OrListV3/index.d.ts +3 -0
  443. package/dist/bundled/v3/components/OrListV3/index.js +1 -0
  444. package/dist/bundled/v3/components/OrListV3/styles.d.ts +2 -0
  445. package/dist/bundled/v3/components/OrListV3/styles.js +1 -0
  446. package/dist/bundled/v3/components/OrListV3/types.d.ts +4 -0
  447. package/dist/bundled/v3/components/OrListV3-1cfd3c46.js +271 -0
  448. package/dist/bundled/v3/components/OrLoader/OrLoader.js +1 -0
  449. package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +57 -0
  450. package/dist/bundled/v3/components/OrLoader/constants.d.ts +6 -0
  451. package/dist/bundled/v3/components/OrLoader/constants.js +1 -0
  452. package/dist/bundled/v3/components/OrLoader/index.d.ts +2 -0
  453. package/dist/bundled/v3/components/OrLoader/index.js +95 -0
  454. package/dist/bundled/v3/components/OrLoader/types.d.ts +3 -0
  455. package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +1 -0
  456. package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +75 -0
  457. package/dist/bundled/v3/components/OrLoaderV3/index.d.ts +2 -0
  458. package/dist/bundled/v3/components/OrLoaderV3/index.js +1 -0
  459. package/dist/bundled/v3/components/OrLoaderV3/props.d.ts +13 -0
  460. package/dist/bundled/v3/components/OrLoaderV3/props.js +1 -0
  461. package/dist/bundled/v3/components/OrLoaderV3/styles.d.ts +6 -0
  462. package/dist/bundled/v3/components/OrLoaderV3/styles.js +1 -0
  463. package/dist/bundled/v3/components/OrLoaderV3-2aaeeb71.js +174 -0
  464. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +1 -0
  465. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +40 -0
  466. package/dist/bundled/v3/components/OrMenuItemV3/index.d.ts +1 -0
  467. package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -0
  468. package/dist/bundled/v3/components/OrMenuItemV3/styles.d.ts +1 -0
  469. package/dist/bundled/v3/components/OrMenuItemV3/styles.js +1 -0
  470. package/dist/bundled/v3/components/OrMenuItemV3-44a04ccd.js +83 -0
  471. package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +1 -0
  472. package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +66 -0
  473. package/dist/bundled/v3/components/OrMenuV3/index.d.ts +2 -0
  474. package/dist/bundled/v3/components/OrMenuV3/index.js +2 -0
  475. package/dist/bundled/v3/components/OrMenuV3/props.d.ts +2 -0
  476. package/dist/bundled/v3/components/OrMenuV3/props.js +1 -0
  477. package/dist/bundled/v3/components/OrMenuV3/styles.d.ts +1 -0
  478. package/dist/bundled/v3/components/OrMenuV3/styles.js +1 -0
  479. package/dist/bundled/v3/components/OrMenuV3-c69db72f.js +106 -0
  480. package/dist/bundled/v3/components/OrModal/OrModal.js +1 -0
  481. package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +85 -0
  482. package/dist/bundled/v3/components/OrModal/constants.d.ts +7 -0
  483. package/dist/bundled/v3/components/OrModal/constants.js +1 -0
  484. package/dist/bundled/v3/components/OrModal/index.d.ts +2 -0
  485. package/dist/bundled/v3/components/OrModal/index.js +1 -0
  486. package/dist/bundled/v3/components/OrModal-1367c582.js +1532 -0
  487. package/dist/bundled/v3/components/OrModalV3/OrModal.js +1 -0
  488. package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +44 -0
  489. package/dist/bundled/v3/components/OrModalV3/index.d.ts +2 -0
  490. package/dist/bundled/v3/components/OrModalV3/index.js +1 -0
  491. package/dist/bundled/v3/components/OrModalV3/props.d.ts +5 -0
  492. package/dist/bundled/v3/components/OrModalV3/props.js +1 -0
  493. package/dist/bundled/v3/components/OrModalV3/styles.d.ts +3 -0
  494. package/dist/bundled/v3/components/OrModalV3/styles.js +1 -0
  495. package/dist/bundled/v3/components/OrModalV3-60799d13.js +230 -0
  496. package/dist/bundled/v3/components/OrNotification/OrNotification.js +1 -0
  497. package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +65 -0
  498. package/dist/bundled/v3/components/OrNotification/constants.d.ts +10 -0
  499. package/dist/bundled/v3/components/OrNotification/constants.js +1 -0
  500. package/dist/bundled/v3/components/OrNotification/index.d.ts +2 -0
  501. package/dist/bundled/v3/components/OrNotification/index.js +114 -0
  502. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +1 -0
  503. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +30 -0
  504. package/dist/bundled/v3/components/OrNotificationV3/index.d.ts +2 -0
  505. package/dist/bundled/v3/components/OrNotificationV3/index.js +1 -0
  506. package/dist/bundled/v3/components/OrNotificationV3/props.d.ts +6 -0
  507. package/dist/bundled/v3/components/OrNotificationV3/props.js +1 -0
  508. package/dist/bundled/v3/components/OrNotificationV3/styles.d.ts +5 -0
  509. package/dist/bundled/v3/components/OrNotificationV3/styles.js +1 -0
  510. package/dist/bundled/v3/components/OrNotificationV3-685e12e3.js +137 -0
  511. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +171 -0
  512. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +139 -0
  513. package/dist/bundled/v3/components/OrNumberInput/index.d.ts +1 -0
  514. package/dist/bundled/v3/components/OrNumberInput/index.js +1 -0
  515. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +187 -0
  516. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +62 -0
  517. package/dist/bundled/v3/components/OrOverflowMenu/index.d.ts +2 -0
  518. package/dist/bundled/v3/components/OrOverflowMenu/index.js +1 -0
  519. package/dist/bundled/v3/components/OrOverflowMenu/types.d.ts +7 -0
  520. package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +48 -0
  521. package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +40 -0
  522. package/dist/bundled/v3/components/OrOverlay/index.d.ts +1 -0
  523. package/dist/bundled/v3/components/OrOverlay/index.js +1 -0
  524. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +1 -0
  525. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +17 -0
  526. package/dist/bundled/v3/components/OrOverlayV3/index.d.ts +1 -0
  527. package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -0
  528. package/dist/bundled/v3/components/OrOverlayV3/styles.d.ts +1 -0
  529. package/dist/bundled/v3/components/OrOverlayV3/styles.js +1 -0
  530. package/dist/bundled/v3/components/OrOverlayV3-93e7ea5a.js +64 -0
  531. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +1 -0
  532. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +57 -0
  533. package/dist/bundled/v3/components/OrPaginationV3/index.d.ts +2 -0
  534. package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -0
  535. package/dist/bundled/v3/components/OrPaginationV3/styles.d.ts +4 -0
  536. package/dist/bundled/v3/components/OrPaginationV3/styles.js +1 -0
  537. package/dist/bundled/v3/components/OrPaginationV3/types.d.ts +4 -0
  538. package/dist/bundled/v3/components/OrPaginationV3-a2d8d8b5.js +291 -0
  539. package/dist/bundled/v3/components/OrPassword/OrPassword.js +163 -0
  540. package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +117 -0
  541. package/dist/bundled/v3/components/OrPassword/index.d.ts +1 -0
  542. package/dist/bundled/v3/components/OrPassword/index.js +1 -0
  543. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +1 -0
  544. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +115 -0
  545. package/dist/bundled/v3/components/OrPopoverV3/hooks/types.d.ts +77 -0
  546. package/dist/bundled/v3/components/OrPopoverV3/hooks/useFloating.d.ts +4 -0
  547. package/dist/bundled/v3/components/OrPopoverV3/hooks/useFloating.js +3 -0
  548. package/dist/bundled/v3/components/OrPopoverV3/index.d.ts +2 -0
  549. package/dist/bundled/v3/components/OrPopoverV3/index.js +1 -0
  550. package/dist/bundled/v3/components/OrPopoverV3/props.d.ts +21 -0
  551. package/dist/bundled/v3/components/OrPopoverV3/props.js +1 -0
  552. package/dist/bundled/v3/components/OrPopoverV3/styles.d.ts +4 -0
  553. package/dist/bundled/v3/components/OrPopoverV3/styles.js +1 -0
  554. package/dist/bundled/v3/components/OrPopoverV3-eaf6b5b4.js +388 -0
  555. package/dist/bundled/v3/components/OrProgress/OrProgress.js +1 -0
  556. package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +122 -0
  557. package/dist/bundled/v3/components/OrProgress/constants.d.ts +11 -0
  558. package/dist/bundled/v3/components/OrProgress/constants.js +1 -0
  559. package/dist/bundled/v3/components/OrProgress/index.d.ts +2 -0
  560. package/dist/bundled/v3/components/OrProgress/index.js +1 -0
  561. package/dist/bundled/v3/components/OrProgress-2b208f99.js +265 -0
  562. package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +1 -0
  563. package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +105 -0
  564. package/dist/bundled/v3/components/OrProgressV3/index.d.ts +2 -0
  565. package/dist/bundled/v3/components/OrProgressV3/index.js +1 -0
  566. package/dist/bundled/v3/components/OrProgressV3/props.d.ts +11 -0
  567. package/dist/bundled/v3/components/OrProgressV3/props.js +1 -0
  568. package/dist/bundled/v3/components/OrProgressV3/styles.d.ts +11 -0
  569. package/dist/bundled/v3/components/OrProgressV3/styles.js +1 -0
  570. package/dist/bundled/v3/components/OrProgressV3-d2fbfed6.js +283 -0
  571. package/dist/bundled/v3/components/OrRadio/OrRadio.js +124 -0
  572. package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +68 -0
  573. package/dist/bundled/v3/components/OrRadio/index.d.ts +1 -0
  574. package/dist/bundled/v3/components/OrRadio/index.js +1 -0
  575. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.js +63 -0
  576. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +64 -0
  577. package/dist/bundled/v3/components/OrRadioGroup/index.d.ts +1 -0
  578. package/dist/bundled/v3/components/OrRadioGroup/index.js +1 -0
  579. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +84 -0
  580. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +83 -0
  581. package/dist/bundled/v3/components/OrRadioGroupV3/index.d.ts +1 -0
  582. package/dist/bundled/v3/components/OrRadioGroupV3/index.js +1 -0
  583. package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +1 -0
  584. package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +78 -0
  585. package/dist/bundled/v3/components/OrRadioV3/index.d.ts +1 -0
  586. package/dist/bundled/v3/components/OrRadioV3/index.js +1 -0
  587. package/dist/bundled/v3/components/OrRadioV3/styles.d.ts +3 -0
  588. package/dist/bundled/v3/components/OrRadioV3/styles.js +1 -0
  589. package/dist/bundled/v3/components/OrRadioV3-c96e2fbe.js +147 -0
  590. package/dist/bundled/v3/components/OrRangeSliderV3/OrRangeSlider.js +1 -0
  591. package/dist/bundled/v3/components/OrRangeSliderV3/OrRangeSlider.vue.d.ts +96 -0
  592. package/dist/bundled/v3/components/OrRangeSliderV3/index.d.ts +2 -0
  593. package/dist/bundled/v3/components/OrRangeSliderV3/index.js +2 -0
  594. package/dist/bundled/v3/components/OrRangeSliderV3/props.d.ts +1 -0
  595. package/dist/bundled/v3/components/OrRangeSliderV3/props.js +1 -0
  596. package/dist/bundled/v3/components/OrRangeSliderV3/styles.d.ts +14 -0
  597. package/dist/bundled/v3/components/OrRangeSliderV3/styles.js +2 -0
  598. package/dist/bundled/v3/components/OrRangeSliderV3-f81b142c.js +309 -0
  599. package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.js +1 -0
  600. package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.vue.d.ts +101 -0
  601. package/dist/bundled/v3/components/OrResizeablePanelV3/index.d.ts +2 -0
  602. package/dist/bundled/v3/components/OrResizeablePanelV3/index.js +1 -0
  603. package/dist/bundled/v3/components/OrResizeablePanelV3/props.d.ts +12 -0
  604. package/dist/bundled/v3/components/OrResizeablePanelV3/props.js +1 -0
  605. package/dist/bundled/v3/components/OrResizeablePanelV3/styles.d.ts +13 -0
  606. package/dist/bundled/v3/components/OrResizeablePanelV3/styles.js +1 -0
  607. package/dist/bundled/v3/components/OrResizeablePanelV3-50f76d0f.js +418 -0
  608. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -0
  609. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +119 -0
  610. package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +2 -0
  611. package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -0
  612. package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +5 -0
  613. package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +1 -0
  614. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +6 -0
  615. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -0
  616. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +3 -0
  617. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -0
  618. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +27 -0
  619. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +2 -0
  620. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +1 -0
  621. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -0
  622. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +17 -0
  623. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +3 -0
  624. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +19 -0
  625. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +3 -0
  626. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -0
  627. package/dist/bundled/v3/components/OrRichTextEditorV3-225a5878.js +27667 -0
  628. package/dist/bundled/v3/components/OrSearch/OrSearch.js +190 -0
  629. package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +140 -0
  630. package/dist/bundled/v3/components/OrSearch/index.d.ts +1 -0
  631. package/dist/bundled/v3/components/OrSearch/index.js +1 -0
  632. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +1 -0
  633. package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +81 -0
  634. package/dist/bundled/v3/components/OrSearchV3/index.d.ts +2 -0
  635. package/dist/bundled/v3/components/OrSearchV3/index.js +108 -0
  636. package/dist/bundled/v3/components/OrSearchV3/props.d.ts +1 -0
  637. package/dist/bundled/v3/components/OrSearchV3/props.js +1 -0
  638. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.js +1 -0
  639. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +50 -0
  640. package/dist/bundled/v3/components/OrSegmentedControlV3/index.d.ts +3 -0
  641. package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +1 -0
  642. package/dist/bundled/v3/components/OrSegmentedControlV3/props.d.ts +4 -0
  643. package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +1 -0
  644. package/dist/bundled/v3/components/OrSegmentedControlV3/styles.d.ts +3 -0
  645. package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +1 -0
  646. package/dist/bundled/v3/components/OrSegmentedControlV3/types.d.ts +4 -0
  647. package/dist/bundled/v3/components/OrSegmentedControlV3-3bee40ec.js +176 -0
  648. package/dist/bundled/v3/components/OrSelect/OrSelect.js +1 -0
  649. package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +181 -0
  650. package/dist/bundled/v3/components/OrSelect/constants.d.ts +50 -0
  651. package/dist/bundled/v3/components/OrSelect/constants.js +1 -0
  652. package/dist/bundled/v3/components/OrSelect/index.d.ts +2 -0
  653. package/dist/bundled/v3/components/OrSelect/index.js +1 -0
  654. package/dist/bundled/v3/components/OrSelect/types.d.ts +9 -0
  655. package/dist/bundled/v3/components/OrSelect-c37f0c44.js +1354 -0
  656. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -0
  657. package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +213 -0
  658. package/dist/bundled/v3/components/OrSelectV3/index.d.ts +3 -0
  659. package/dist/bundled/v3/components/OrSelectV3/index.js +2 -0
  660. package/dist/bundled/v3/components/OrSelectV3/props.d.ts +1 -0
  661. package/dist/bundled/v3/components/OrSelectV3/props.js +1 -0
  662. package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +8 -0
  663. package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -0
  664. package/dist/bundled/v3/components/OrSelectV3/types.d.ts +12 -0
  665. package/dist/bundled/v3/components/OrSelectV3-af2274d8.js +1013 -0
  666. package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +1 -0
  667. package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +63 -0
  668. package/dist/bundled/v3/components/OrSidebar/constants.d.ts +4 -0
  669. package/dist/bundled/v3/components/OrSidebar/constants.js +1 -0
  670. package/dist/bundled/v3/components/OrSidebar/index.d.ts +2 -0
  671. package/dist/bundled/v3/components/OrSidebar/index.js +125 -0
  672. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +1 -0
  673. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +159 -0
  674. package/dist/bundled/v3/components/OrSidebarV3/index.d.ts +2 -0
  675. package/dist/bundled/v3/components/OrSidebarV3/index.js +2 -0
  676. package/dist/bundled/v3/components/OrSidebarV3/props.d.ts +9 -0
  677. package/dist/bundled/v3/components/OrSidebarV3/props.js +2 -0
  678. package/dist/bundled/v3/components/OrSidebarV3/styles.d.ts +8 -0
  679. package/dist/bundled/v3/components/OrSidebarV3/styles.js +2 -0
  680. package/dist/bundled/v3/components/OrSidebarV3-6d8c261b.js +236 -0
  681. package/dist/bundled/v3/components/OrSkeleton/constants.d.ts +9 -0
  682. package/dist/bundled/v3/components/OrSkeleton/constants.js +1 -0
  683. package/dist/bundled/v3/components/OrSkeleton/index.d.ts +4 -0
  684. package/dist/bundled/v3/components/OrSkeleton/index.js +1 -0
  685. package/dist/bundled/v3/components/OrSkeleton-ae1ee1d4.js +311 -0
  686. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +1 -0
  687. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +32 -0
  688. package/dist/bundled/v3/components/OrSkeletonCircle/index.d.ts +2 -0
  689. package/dist/bundled/v3/components/OrSkeletonCircle/index.js +1 -0
  690. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.js +1 -0
  691. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +36 -0
  692. package/dist/bundled/v3/components/OrSkeletonCircleV3/index.d.ts +1 -0
  693. package/dist/bundled/v3/components/OrSkeletonCircleV3/index.js +1 -0
  694. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +1 -0
  695. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +43 -0
  696. package/dist/bundled/v3/components/OrSkeletonRect/index.d.ts +2 -0
  697. package/dist/bundled/v3/components/OrSkeletonRect/index.js +1 -0
  698. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.js +1 -0
  699. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +45 -0
  700. package/dist/bundled/v3/components/OrSkeletonRectV3/index.d.ts +1 -0
  701. package/dist/bundled/v3/components/OrSkeletonRectV3/index.js +1 -0
  702. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +1 -0
  703. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +57 -0
  704. package/dist/bundled/v3/components/OrSkeletonText/index.d.ts +2 -0
  705. package/dist/bundled/v3/components/OrSkeletonText/index.js +1 -0
  706. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +1 -0
  707. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +72 -0
  708. package/dist/bundled/v3/components/OrSkeletonTextV3/index.d.ts +1 -0
  709. package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +1 -0
  710. package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +3 -0
  711. package/dist/bundled/v3/components/OrSkeletonV3/index.js +1 -0
  712. package/dist/bundled/v3/components/OrSkeletonV3/styles.d.ts +6 -0
  713. package/dist/bundled/v3/components/OrSkeletonV3/styles.js +1 -0
  714. package/dist/bundled/v3/components/OrSkeletonV3-3b06eb3c.js +224 -0
  715. package/dist/bundled/v3/components/OrSlider/OrSlider.js +321 -0
  716. package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +136 -0
  717. package/dist/bundled/v3/components/OrSlider/index.d.ts +1 -0
  718. package/dist/bundled/v3/components/OrSlider/index.js +1 -0
  719. package/dist/bundled/v3/components/OrSliderV3/OrSlider.js +1 -0
  720. package/dist/bundled/v3/components/OrSliderV3/OrSlider.vue.d.ts +89 -0
  721. package/dist/bundled/v3/components/OrSliderV3/index.d.ts +2 -0
  722. package/dist/bundled/v3/components/OrSliderV3/index.js +1 -0
  723. package/dist/bundled/v3/components/OrSliderV3/props.d.ts +8 -0
  724. package/dist/bundled/v3/components/OrSliderV3/props.js +1 -0
  725. package/dist/bundled/v3/components/OrSliderV3/styles.d.ts +12 -0
  726. package/dist/bundled/v3/components/OrSliderV3/styles.js +1 -0
  727. package/dist/bundled/v3/components/OrSliderV3-f42f08d5.js +259 -0
  728. package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +1 -0
  729. package/dist/bundled/v3/components/OrSortingV3/OrSorting.vue.d.ts +35 -0
  730. package/dist/bundled/v3/components/OrSortingV3/index.d.ts +2 -0
  731. package/dist/bundled/v3/components/OrSortingV3/index.js +1 -0
  732. package/dist/bundled/v3/components/OrSortingV3/styles.d.ts +2 -0
  733. package/dist/bundled/v3/components/OrSortingV3/styles.js +1 -0
  734. package/dist/bundled/v3/components/OrSortingV3/types.d.ts +4 -0
  735. package/dist/bundled/v3/components/OrSortingV3-0d2f8610.js +116 -0
  736. package/dist/bundled/v3/components/OrStepper/OrStepper.js +426 -0
  737. package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +79 -0
  738. package/dist/bundled/v3/components/OrStepper/index.d.ts +1 -0
  739. package/dist/bundled/v3/components/OrStepper/index.js +1 -0
  740. package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +124 -0
  741. package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +70 -0
  742. package/dist/bundled/v3/components/OrSwitch/index.d.ts +1 -0
  743. package/dist/bundled/v3/components/OrSwitch/index.js +1 -0
  744. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +1 -0
  745. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +89 -0
  746. package/dist/bundled/v3/components/OrSwitchV3/index.d.ts +1 -0
  747. package/dist/bundled/v3/components/OrSwitchV3/index.js +1 -0
  748. package/dist/bundled/v3/components/OrSwitchV3/styles.d.ts +5 -0
  749. package/dist/bundled/v3/components/OrSwitchV3/styles.js +1 -0
  750. package/dist/bundled/v3/components/OrSwitchV3-aff6367b.js +186 -0
  751. package/dist/bundled/v3/components/OrTab/OrTab.js +74 -0
  752. package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +44 -0
  753. package/dist/bundled/v3/components/OrTab/index.d.ts +1 -0
  754. package/dist/bundled/v3/components/OrTab/index.js +1 -0
  755. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +85 -0
  756. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +49 -0
  757. package/dist/bundled/v3/components/OrTabHeaderItem/index.d.ts +1 -0
  758. package/dist/bundled/v3/components/OrTabHeaderItem/index.js +1 -0
  759. package/dist/bundled/v3/components/OrTabV3/OrTab.js +1 -0
  760. package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +21 -0
  761. package/dist/bundled/v3/components/OrTabV3/index.d.ts +1 -0
  762. package/dist/bundled/v3/components/OrTabV3/index.js +1 -0
  763. package/dist/bundled/v3/components/OrTabV3/styles.d.ts +1 -0
  764. package/dist/bundled/v3/components/OrTabV3/styles.js +1 -0
  765. package/dist/bundled/v3/components/OrTabV3-2de446b8.js +60 -0
  766. package/dist/bundled/v3/components/OrTabs/OrTabs.js +86 -0
  767. package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +13 -0
  768. package/dist/bundled/v3/components/OrTabs/index.d.ts +1 -0
  769. package/dist/bundled/v3/components/OrTabs/index.js +1 -0
  770. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +1 -0
  771. package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +57 -0
  772. package/dist/bundled/v3/components/OrTabsV3/index.d.ts +3 -0
  773. package/dist/bundled/v3/components/OrTabsV3/index.js +1 -0
  774. package/dist/bundled/v3/components/OrTabsV3/props.d.ts +4 -0
  775. package/dist/bundled/v3/components/OrTabsV3/props.js +1 -0
  776. package/dist/bundled/v3/components/OrTabsV3/styles.d.ts +5 -0
  777. package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -0
  778. package/dist/bundled/v3/components/OrTabsV3/types.d.ts +4 -0
  779. package/dist/bundled/v3/components/OrTabsV3-de5abf65.js +226 -0
  780. package/dist/bundled/v3/components/OrTag/OrTag.js +88 -0
  781. package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +54 -0
  782. package/dist/bundled/v3/components/OrTag/index.d.ts +1 -0
  783. package/dist/bundled/v3/components/OrTag/index.js +1 -0
  784. package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +1 -0
  785. package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.vue.d.ts +150 -0
  786. package/dist/bundled/v3/components/OrTagInputV3/index.d.ts +2 -0
  787. package/dist/bundled/v3/components/OrTagInputV3/index.js +2 -0
  788. package/dist/bundled/v3/components/OrTagInputV3/props.d.ts +1 -0
  789. package/dist/bundled/v3/components/OrTagInputV3/props.js +1 -0
  790. package/dist/bundled/v3/components/OrTagInputV3/styles.d.ts +3 -0
  791. package/dist/bundled/v3/components/OrTagInputV3/styles.js +1 -0
  792. package/dist/bundled/v3/components/OrTagInputV3-293d7ddb.js +330 -0
  793. package/dist/bundled/v3/components/OrTagV3/OrTag.js +1 -0
  794. package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +43 -0
  795. package/dist/bundled/v3/components/OrTagV3/index.d.ts +2 -0
  796. package/dist/bundled/v3/components/OrTagV3/index.js +1 -0
  797. package/dist/bundled/v3/components/OrTagV3/props.d.ts +9 -0
  798. package/dist/bundled/v3/components/OrTagV3/props.js +1 -0
  799. package/dist/bundled/v3/components/OrTagV3/styles.d.ts +4 -0
  800. package/dist/bundled/v3/components/OrTagV3/styles.js +1 -0
  801. package/dist/bundled/v3/components/OrTagV3-68d3d15e.js +123 -0
  802. package/dist/bundled/v3/components/OrTagsV3/OrTags.js +1 -0
  803. package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +66 -0
  804. package/dist/bundled/v3/components/OrTagsV3/index.d.ts +2 -0
  805. package/dist/bundled/v3/components/OrTagsV3/index.js +1 -0
  806. package/dist/bundled/v3/components/OrTagsV3/props.d.ts +6 -0
  807. package/dist/bundled/v3/components/OrTagsV3/props.js +1 -0
  808. package/dist/bundled/v3/components/OrTagsV3/styles.d.ts +6 -0
  809. package/dist/bundled/v3/components/OrTagsV3/styles.js +1 -0
  810. package/dist/bundled/v3/components/OrTagsV3/types.d.ts +6 -0
  811. package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.d.ts +2 -0
  812. package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.js +1 -0
  813. package/dist/bundled/v3/components/OrTagsV3-cca93357.js +239 -0
  814. package/dist/bundled/v3/components/OrTeleport/OrTeleport.js +1 -0
  815. package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +27 -0
  816. package/dist/bundled/v3/components/OrTeleport/constants.d.ts +12 -0
  817. package/dist/bundled/v3/components/OrTeleport/constants.js +1 -0
  818. package/dist/bundled/v3/components/OrTeleport/index.d.ts +2 -0
  819. package/dist/bundled/v3/components/OrTeleport/index.js +1 -0
  820. package/dist/bundled/v3/components/OrTeleport-5a34b07f.js +34 -0
  821. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.js +27 -0
  822. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +23 -0
  823. package/dist/bundled/v3/components/OrTeleportV3/index.d.ts +1 -0
  824. package/dist/bundled/v3/components/OrTeleportV3/index.js +1 -0
  825. package/dist/bundled/v3/components/OrTextV3/OrText.js +1 -0
  826. package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +54 -0
  827. package/dist/bundled/v3/components/OrTextV3/index.d.ts +1 -0
  828. package/dist/bundled/v3/components/OrTextV3/index.js +1 -0
  829. package/dist/bundled/v3/components/OrTextV3/styles.d.ts +3 -0
  830. package/dist/bundled/v3/components/OrTextV3/styles.js +1 -0
  831. package/dist/bundled/v3/components/OrTextV3-ff806d55.js +108 -0
  832. package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +295 -0
  833. package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +131 -0
  834. package/dist/bundled/v3/components/OrTextarea/index.d.ts +1 -0
  835. package/dist/bundled/v3/components/OrTextarea/index.js +1 -0
  836. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +1 -0
  837. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +117 -0
  838. package/dist/bundled/v3/components/OrTextareaV3/index.d.ts +2 -0
  839. package/dist/bundled/v3/components/OrTextareaV3/index.js +2 -0
  840. package/dist/bundled/v3/components/OrTextareaV3/props.d.ts +1 -0
  841. package/dist/bundled/v3/components/OrTextareaV3/props.js +1 -0
  842. package/dist/bundled/v3/components/OrTextareaV3/styles.d.ts +2 -0
  843. package/dist/bundled/v3/components/OrTextareaV3/styles.js +1 -0
  844. package/dist/bundled/v3/components/OrTextareaV3-87015dd2.js +200 -0
  845. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +1 -0
  846. package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +257 -0
  847. package/dist/bundled/v3/components/OrTextbox/constants.d.ts +8 -0
  848. package/dist/bundled/v3/components/OrTextbox/constants.js +1 -0
  849. package/dist/bundled/v3/components/OrTextbox/index.d.ts +2 -0
  850. package/dist/bundled/v3/components/OrTextbox/index.js +484 -0
  851. package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.js +1 -0
  852. package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.vue.d.ts +38 -0
  853. package/dist/bundled/v3/components/OrTimeFormatV3/index.d.ts +1 -0
  854. package/dist/bundled/v3/components/OrTimeFormatV3/index.js +1 -0
  855. package/dist/bundled/v3/components/OrTimeFormatV3/styles.d.ts +1 -0
  856. package/dist/bundled/v3/components/OrTimeFormatV3/styles.js +1 -0
  857. package/dist/bundled/v3/components/OrTimeFormatV3-db17eb52.js +52 -0
  858. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +1 -0
  859. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +263 -0
  860. package/dist/bundled/v3/components/OrTimePickerV3/index.d.ts +2 -0
  861. package/dist/bundled/v3/components/OrTimePickerV3/index.js +3 -0
  862. package/dist/bundled/v3/components/OrTimePickerV3/props.d.ts +2 -0
  863. package/dist/bundled/v3/components/OrTimePickerV3/props.js +2 -0
  864. package/dist/bundled/v3/components/OrTimePickerV3/styles.d.ts +2 -0
  865. package/dist/bundled/v3/components/OrTimePickerV3/styles.js +1 -0
  866. package/dist/bundled/v3/components/OrTimePickerV3-cfe2ece3.js +310 -0
  867. package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +1 -0
  868. package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.vue.d.ts +559 -0
  869. package/dist/bundled/v3/components/OrTimeRangePickerV3/index.d.ts +2 -0
  870. package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +3 -0
  871. package/dist/bundled/v3/components/OrTimeRangePickerV3/props.d.ts +2 -0
  872. package/dist/bundled/v3/components/OrTimeRangePickerV3/props.js +2 -0
  873. package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.d.ts +2 -0
  874. package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +1 -0
  875. package/dist/bundled/v3/components/OrTimeRangePickerV3-414a6ce6.js +347 -0
  876. package/dist/bundled/v3/components/OrToast/OrToast.js +1 -0
  877. package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +61 -0
  878. package/dist/bundled/v3/components/OrToast/Timer.d.ts +11 -0
  879. package/dist/bundled/v3/components/OrToast/Timer.js +2 -0
  880. package/dist/bundled/v3/components/OrToast/composable/index.d.ts +2 -0
  881. package/dist/bundled/v3/components/OrToast/composable/index.js +1 -0
  882. package/dist/bundled/v3/components/OrToast/composable/useQueue.d.ts +8 -0
  883. package/dist/bundled/v3/components/OrToast/composable/useQueue.js +2 -0
  884. package/dist/bundled/v3/components/OrToast/composable/useToast.d.ts +8 -0
  885. package/dist/bundled/v3/components/OrToast/composable/useToast.js +1 -0
  886. package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.d.ts +9 -0
  887. package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +2 -0
  888. package/dist/bundled/v3/components/OrToast/constants.d.ts +18 -0
  889. package/dist/bundled/v3/components/OrToast/constants.js +1 -0
  890. package/dist/bundled/v3/components/OrToast/index.d.ts +5 -0
  891. package/dist/bundled/v3/components/OrToast/index.js +1 -0
  892. package/dist/bundled/v3/components/OrToast/types.d.ts +35 -0
  893. package/dist/bundled/v3/components/OrToast-2a03def2.js +470 -0
  894. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +1 -0
  895. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +63 -0
  896. package/dist/bundled/v3/components/OrToastContainer/index.d.ts +4 -0
  897. package/dist/bundled/v3/components/OrToastContainer/index.js +1 -0
  898. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +1 -0
  899. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +57 -0
  900. package/dist/bundled/v3/components/OrToastContainerV3/index.d.ts +4 -0
  901. package/dist/bundled/v3/components/OrToastContainerV3/index.js +1 -0
  902. package/dist/bundled/v3/components/OrToastV3/OrToast.js +1 -0
  903. package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +56 -0
  904. package/dist/bundled/v3/components/OrToastV3/Timer.d.ts +11 -0
  905. package/dist/bundled/v3/components/OrToastV3/Timer.js +2 -0
  906. package/dist/bundled/v3/components/OrToastV3/composable/index.d.ts +2 -0
  907. package/dist/bundled/v3/components/OrToastV3/composable/index.js +1 -0
  908. package/dist/bundled/v3/components/OrToastV3/composable/useQueue.d.ts +8 -0
  909. package/dist/bundled/v3/components/OrToastV3/composable/useQueue.js +2 -0
  910. package/dist/bundled/v3/components/OrToastV3/composable/useToast.d.ts +8 -0
  911. package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +1 -0
  912. package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.d.ts +9 -0
  913. package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +2 -0
  914. package/dist/bundled/v3/components/OrToastV3/index.d.ts +5 -0
  915. package/dist/bundled/v3/components/OrToastV3/index.js +1 -0
  916. package/dist/bundled/v3/components/OrToastV3/props.d.ts +18 -0
  917. package/dist/bundled/v3/components/OrToastV3/props.js +1 -0
  918. package/dist/bundled/v3/components/OrToastV3/styles.d.ts +5 -0
  919. package/dist/bundled/v3/components/OrToastV3/styles.js +1 -0
  920. package/dist/bundled/v3/components/OrToastV3/types.d.ts +35 -0
  921. package/dist/bundled/v3/components/OrToastV3-5860b60b.js +585 -0
  922. package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +1 -0
  923. package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +73 -0
  924. package/dist/bundled/v3/components/OrTooltip/index.d.ts +2 -0
  925. package/dist/bundled/v3/components/OrTooltip/index.js +191 -0
  926. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +1 -0
  927. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +28 -0
  928. package/dist/bundled/v3/components/OrTooltipContent/index.d.ts +1 -0
  929. package/dist/bundled/v3/components/OrTooltipContent/index.js +1 -0
  930. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +1 -0
  931. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +82 -0
  932. package/dist/bundled/v3/components/OrTooltipV3/index.d.ts +2 -0
  933. package/dist/bundled/v3/components/OrTooltipV3/index.js +2 -0
  934. package/dist/bundled/v3/components/OrTooltipV3/props.d.ts +2 -0
  935. package/dist/bundled/v3/components/OrTooltipV3/props.js +1 -0
  936. package/dist/bundled/v3/components/OrTooltipV3/styles.d.ts +4 -0
  937. package/dist/bundled/v3/components/OrTooltipV3/styles.js +2 -0
  938. package/dist/bundled/v3/components/OrTooltipV3-7d835c0c.js +150 -0
  939. package/dist/bundled/v3/components/OrTreeV3/OrTree.js +1 -0
  940. package/dist/bundled/v3/components/OrTreeV3/OrTree.vue.d.ts +35 -0
  941. package/dist/bundled/v3/components/OrTreeV3/index.d.ts +2 -0
  942. package/dist/bundled/v3/components/OrTreeV3/index.js +342 -0
  943. package/dist/bundled/v3/components/OrTreeV3/types.d.ts +15 -0
  944. package/dist/bundled/v3/components/index.d.ts +119 -0
  945. package/dist/bundled/v3/components/index.js +119 -0
  946. package/dist/bundled/v3/directives/dropdown-close.d.ts +6 -0
  947. package/dist/bundled/v3/directives/dropdown-close.js +2 -0
  948. package/dist/bundled/v3/directives/dropdown-open.d.ts +6 -0
  949. package/dist/bundled/v3/directives/dropdown-open.js +2 -0
  950. package/dist/bundled/v3/directives/index.d.ts +2 -0
  951. package/dist/bundled/v3/directives/index.js +1 -0
  952. package/dist/bundled/v3/hooks/index.d.ts +10 -0
  953. package/dist/bundled/v3/hooks/index.js +1 -0
  954. package/dist/bundled/v3/hooks/useControlAttributes.d.ts +7 -0
  955. package/dist/bundled/v3/hooks/useControlAttributes.js +2 -0
  956. package/dist/bundled/v3/hooks/useElevation.d.ts +3 -0
  957. package/dist/bundled/v3/hooks/useElevation.js +2 -0
  958. package/dist/bundled/v3/hooks/useIdAttribute.d.ts +2 -0
  959. package/dist/bundled/v3/hooks/useIdAttribute.js +2 -0
  960. package/dist/bundled/v3/hooks/useOverflow.d.ts +11 -0
  961. package/dist/bundled/v3/hooks/useOverflow.js +2 -0
  962. package/dist/bundled/v3/hooks/usePopoverState.d.ts +12 -0
  963. package/dist/bundled/v3/hooks/usePopoverState.js +2 -0
  964. package/dist/bundled/v3/hooks/useProxyModelValue.d.ts +8 -0
  965. package/dist/bundled/v3/hooks/useProxyModelValue.js +2 -0
  966. package/dist/bundled/v3/hooks/useResponsive/index.d.ts +1 -0
  967. package/dist/bundled/v3/hooks/useResponsive/index.js +1 -0
  968. package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +6 -0
  969. package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +2 -0
  970. package/dist/bundled/v3/hooks/useTheme.d.ts +3 -0
  971. package/dist/bundled/v3/hooks/useTheme.js +1 -0
  972. package/dist/bundled/v3/hooks/useToggle.d.ts +8 -0
  973. package/dist/bundled/v3/hooks/useToggle.js +2 -0
  974. package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +11 -0
  975. package/dist/bundled/v3/hooks/useValidationAttributes.js +2 -0
  976. package/dist/bundled/v3/index.d.ts +5 -0
  977. package/dist/bundled/v3/index.js +123 -0
  978. package/dist/bundled/v3/utils/constants/color.d.ts +14 -0
  979. package/dist/bundled/v3/utils/constants/color.js +1 -0
  980. package/dist/bundled/v3/utils/constants/key-codes.d.ts +14 -0
  981. package/dist/bundled/v3/utils/constants/key-codes.js +1 -0
  982. package/dist/bundled/v3/utils/constants/poper.d.ts +8 -0
  983. package/dist/bundled/v3/utils/constants/poper.js +1 -0
  984. package/dist/bundled/v3/utils/constants/regex.d.ts +42 -0
  985. package/dist/bundled/v3/utils/constants/regex.js +1 -0
  986. package/dist/bundled/v3/utils/functions/color.d.ts +19 -0
  987. package/dist/bundled/v3/utils/functions/color.js +1 -0
  988. package/dist/bundled/v3/utils/functions/dom.d.ts +31 -0
  989. package/dist/bundled/v3/utils/functions/dom.js +1 -0
  990. package/dist/bundled/v3/utils/functions/flattenDeep.d.ts +2 -0
  991. package/dist/bundled/v3/utils/functions/flattenDeep.js +1 -0
  992. package/dist/bundled/v3/utils/functions/hash.d.ts +2 -0
  993. package/dist/bundled/v3/utils/functions/hash.js +1 -0
  994. package/dist/bundled/v3/utils/functions/px-to-rem.d.ts +1 -0
  995. package/dist/bundled/v3/utils/functions/px-to-rem.js +1 -0
  996. package/dist/bundled/v3/utils/functions/text.d.ts +1 -0
  997. package/dist/bundled/v3/utils/functions/text.js +2 -0
  998. package/dist/bundled/v3/utils/index.d.ts +14 -0
  999. package/dist/bundled/v3/utils/index.js +2 -0
  1000. package/dist/bundled/v3/utils/isEmpty.d.ts +1 -0
  1001. package/dist/bundled/v3/utils/isEmpty.js +1 -0
  1002. package/dist/bundled/v3/utils/isEmptyValue.d.ts +1 -0
  1003. package/dist/bundled/v3/utils/isEmptyValue.js +1 -0
  1004. package/dist/bundled/v3/utils/isEqualValue.d.ts +1 -0
  1005. package/dist/bundled/v3/utils/isEqualValue.js +1 -0
  1006. package/dist/bundled/v3/utils/isVisible.d.ts +2 -0
  1007. package/dist/bundled/v3/utils/isVisible.js +1 -0
  1008. package/package.json +3 -4
@@ -0,0 +1,1532 @@
1
+ import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeClass, renderSlot, toDisplayString, withDirectives, vShow, createCommentVNode } from 'vue';
2
+ import { s as styleInject } from './OrAvatar-bfa6fd65.js';
3
+ import { ref, watch, defineComponent, onBeforeUnmount } from 'vue-demi';
4
+ import { U as unrefElement, V as tryOnScopeDispose, o as onClickOutside } from './OrBottomSheetV3-199292db.js';
5
+ import script$1 from './OrIconButtonV2/OrIconButton.js';
6
+ import script$2 from './OrOverlay/OrOverlay.js';
7
+
8
+ var OrModalSizes;
9
+ (function (OrModalSizes) {
10
+ OrModalSizes["tiny"] = "tiny";
11
+ OrModalSizes["small"] = "small";
12
+ OrModalSizes["medium"] = "medium";
13
+ OrModalSizes["large"] = "large";
14
+ OrModalSizes["fullScreen"] = "fullScreen";
15
+ })(OrModalSizes || (OrModalSizes = {}));
16
+
17
+ /*!
18
+ * tabbable 6.2.0
19
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
20
+ */
21
+ // NOTE: separate `:not()` selectors has broader browser support than the newer
22
+ // `:not([inert], [inert] *)` (Feb 2023)
23
+ // CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
24
+ // the entire query to fail, resulting in no nodes found, which will break a lot
25
+ // of things... so we have to rely on JS to identify nodes inside an inert container
26
+ var candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable="false"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];
27
+ var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
28
+ var NoElement = typeof Element === 'undefined';
29
+ var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
30
+ var getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {
31
+ var _element$getRootNode;
32
+ return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);
33
+ } : function (element) {
34
+ return element === null || element === void 0 ? void 0 : element.ownerDocument;
35
+ };
36
+
37
+ /**
38
+ * Determines if a node is inert or in an inert ancestor.
39
+ * @param {Element} [node]
40
+ * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
41
+ * see if any of them are inert. If false, only `node` itself is considered.
42
+ * @returns {boolean} True if inert itself or by way of being in an inert ancestor.
43
+ * False if `node` is falsy.
44
+ */
45
+ var isInert = function isInert(node, lookUp) {
46
+ var _node$getAttribute;
47
+ if (lookUp === void 0) {
48
+ lookUp = true;
49
+ }
50
+ // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`
51
+ // JS API property; we have to check the attribute, which can either be empty or 'true';
52
+ // if it's `null` (not specified) or 'false', it's an active element
53
+ var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');
54
+ var inert = inertAtt === '' || inertAtt === 'true';
55
+
56
+ // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`
57
+ // if it weren't for `matches()` not being a function on shadow roots; the following
58
+ // code works for any kind of node
59
+ // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`
60
+ // so it likely would not support `:is([inert] *)` either...
61
+ var result = inert || lookUp && node && isInert(node.parentNode); // recursive
62
+
63
+ return result;
64
+ };
65
+
66
+ /**
67
+ * Determines if a node's content is editable.
68
+ * @param {Element} [node]
69
+ * @returns True if it's content-editable; false if it's not or `node` is falsy.
70
+ */
71
+ var isContentEditable = function isContentEditable(node) {
72
+ var _node$getAttribute2;
73
+ // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have
74
+ // to use the attribute directly to check for this, which can either be empty or 'true';
75
+ // if it's `null` (not specified) or 'false', it's a non-editable element
76
+ var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');
77
+ return attValue === '' || attValue === 'true';
78
+ };
79
+
80
+ /**
81
+ * @param {Element} el container to check in
82
+ * @param {boolean} includeContainer add container to check
83
+ * @param {(node: Element) => boolean} filter filter candidates
84
+ * @returns {Element[]}
85
+ */
86
+ var getCandidates = function getCandidates(el, includeContainer, filter) {
87
+ // even if `includeContainer=false`, we still have to check it for inertness because
88
+ // if it's inert, all its children are inert
89
+ if (isInert(el)) {
90
+ return [];
91
+ }
92
+ var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
93
+ if (includeContainer && matches.call(el, candidateSelector)) {
94
+ candidates.unshift(el);
95
+ }
96
+ candidates = candidates.filter(filter);
97
+ return candidates;
98
+ };
99
+
100
+ /**
101
+ * @callback GetShadowRoot
102
+ * @param {Element} element to check for shadow root
103
+ * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
104
+ */
105
+
106
+ /**
107
+ * @callback ShadowRootFilter
108
+ * @param {Element} shadowHostNode the element which contains shadow content
109
+ * @returns {boolean} true if a shadow root could potentially contain valid candidates.
110
+ */
111
+
112
+ /**
113
+ * @typedef {Object} CandidateScope
114
+ * @property {Element} scopeParent contains inner candidates
115
+ * @property {Element[]} candidates list of candidates found in the scope parent
116
+ */
117
+
118
+ /**
119
+ * @typedef {Object} IterativeOptions
120
+ * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
121
+ * if a function, implies shadow support is enabled and either returns the shadow root of an element
122
+ * or a boolean stating if it has an undisclosed shadow root
123
+ * @property {(node: Element) => boolean} filter filter candidates
124
+ * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
125
+ * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
126
+ */
127
+
128
+ /**
129
+ * @param {Element[]} elements list of element containers to match candidates from
130
+ * @param {boolean} includeContainer add container list to check
131
+ * @param {IterativeOptions} options
132
+ * @returns {Array.<Element|CandidateScope>}
133
+ */
134
+ var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
135
+ var candidates = [];
136
+ var elementsToCheck = Array.from(elements);
137
+ while (elementsToCheck.length) {
138
+ var element = elementsToCheck.shift();
139
+ if (isInert(element, false)) {
140
+ // no need to look up since we're drilling down
141
+ // anything inside this container will also be inert
142
+ continue;
143
+ }
144
+ if (element.tagName === 'SLOT') {
145
+ // add shadow dom slot scope (slot itself cannot be focusable)
146
+ var assigned = element.assignedElements();
147
+ var content = assigned.length ? assigned : element.children;
148
+ var nestedCandidates = getCandidatesIteratively(content, true, options);
149
+ if (options.flatten) {
150
+ candidates.push.apply(candidates, nestedCandidates);
151
+ } else {
152
+ candidates.push({
153
+ scopeParent: element,
154
+ candidates: nestedCandidates
155
+ });
156
+ }
157
+ } else {
158
+ // check candidate element
159
+ var validCandidate = matches.call(element, candidateSelector);
160
+ if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
161
+ candidates.push(element);
162
+ }
163
+
164
+ // iterate over shadow content if possible
165
+ var shadowRoot = element.shadowRoot ||
166
+ // check for an undisclosed shadow
167
+ typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
168
+
169
+ // no inert look up because we're already drilling down and checking for inertness
170
+ // on the way down, so all containers to this root node should have already been
171
+ // vetted as non-inert
172
+ var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
173
+ if (shadowRoot && validShadowRoot) {
174
+ // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
175
+ // shadow exists, so look at light dom children as fallback BUT create a scope for any
176
+ // child candidates found because they're likely slotted elements (elements that are
177
+ // children of the web component element (which has the shadow), in the light dom, but
178
+ // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
179
+ // _after_ we return from this recursive call
180
+ var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
181
+ if (options.flatten) {
182
+ candidates.push.apply(candidates, _nestedCandidates);
183
+ } else {
184
+ candidates.push({
185
+ scopeParent: element,
186
+ candidates: _nestedCandidates
187
+ });
188
+ }
189
+ } else {
190
+ // there's not shadow so just dig into the element's (light dom) children
191
+ // __without__ giving the element special scope treatment
192
+ elementsToCheck.unshift.apply(elementsToCheck, element.children);
193
+ }
194
+ }
195
+ }
196
+ return candidates;
197
+ };
198
+
199
+ /**
200
+ * @private
201
+ * Determines if the node has an explicitly specified `tabindex` attribute.
202
+ * @param {HTMLElement} node
203
+ * @returns {boolean} True if so; false if not.
204
+ */
205
+ var hasTabIndex = function hasTabIndex(node) {
206
+ return !isNaN(parseInt(node.getAttribute('tabindex'), 10));
207
+ };
208
+
209
+ /**
210
+ * Determine the tab index of a given node.
211
+ * @param {HTMLElement} node
212
+ * @returns {number} Tab order (negative, 0, or positive number).
213
+ * @throws {Error} If `node` is falsy.
214
+ */
215
+ var getTabIndex = function getTabIndex(node) {
216
+ if (!node) {
217
+ throw new Error('No node provided');
218
+ }
219
+ if (node.tabIndex < 0) {
220
+ // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
221
+ // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
222
+ // yet they are still part of the regular tab order; in FF, they get a default
223
+ // `tabIndex` of 0; since Chrome still puts those elements in the regular tab
224
+ // order, consider their tab index to be 0.
225
+ // Also browsers do not return `tabIndex` correctly for contentEditable nodes;
226
+ // so if they don't have a tabindex attribute specifically set, assume it's 0.
227
+ if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {
228
+ return 0;
229
+ }
230
+ }
231
+ return node.tabIndex;
232
+ };
233
+
234
+ /**
235
+ * Determine the tab index of a given node __for sort order purposes__.
236
+ * @param {HTMLElement} node
237
+ * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,
238
+ * has tabIndex -1, but needs to be sorted by document order in order for its content to be
239
+ * inserted into the correct sort position.
240
+ * @returns {number} Tab order (negative, 0, or positive number).
241
+ */
242
+ var getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {
243
+ var tabIndex = getTabIndex(node);
244
+ if (tabIndex < 0 && isScope && !hasTabIndex(node)) {
245
+ return 0;
246
+ }
247
+ return tabIndex;
248
+ };
249
+ var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
250
+ return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
251
+ };
252
+ var isInput = function isInput(node) {
253
+ return node.tagName === 'INPUT';
254
+ };
255
+ var isHiddenInput = function isHiddenInput(node) {
256
+ return isInput(node) && node.type === 'hidden';
257
+ };
258
+ var isDetailsWithSummary = function isDetailsWithSummary(node) {
259
+ var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
260
+ return child.tagName === 'SUMMARY';
261
+ });
262
+ return r;
263
+ };
264
+ var getCheckedRadio = function getCheckedRadio(nodes, form) {
265
+ for (var i = 0; i < nodes.length; i++) {
266
+ if (nodes[i].checked && nodes[i].form === form) {
267
+ return nodes[i];
268
+ }
269
+ }
270
+ };
271
+ var isTabbableRadio = function isTabbableRadio(node) {
272
+ if (!node.name) {
273
+ return true;
274
+ }
275
+ var radioScope = node.form || getRootNode(node);
276
+ var queryRadios = function queryRadios(name) {
277
+ return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
278
+ };
279
+ var radioSet;
280
+ if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
281
+ radioSet = queryRadios(window.CSS.escape(node.name));
282
+ } else {
283
+ try {
284
+ radioSet = queryRadios(node.name);
285
+ } catch (err) {
286
+ // eslint-disable-next-line no-console
287
+ console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
288
+ return false;
289
+ }
290
+ }
291
+ var checked = getCheckedRadio(radioSet, node.form);
292
+ return !checked || checked === node;
293
+ };
294
+ var isRadio = function isRadio(node) {
295
+ return isInput(node) && node.type === 'radio';
296
+ };
297
+ var isNonTabbableRadio = function isNonTabbableRadio(node) {
298
+ return isRadio(node) && !isTabbableRadio(node);
299
+ };
300
+
301
+ // determines if a node is ultimately attached to the window's document
302
+ var isNodeAttached = function isNodeAttached(node) {
303
+ var _nodeRoot;
304
+ // The root node is the shadow root if the node is in a shadow DOM; some document otherwise
305
+ // (but NOT _the_ document; see second 'If' comment below for more).
306
+ // If rootNode is shadow root, it'll have a host, which is the element to which the shadow
307
+ // is attached, and the one we need to check if it's in the document or not (because the
308
+ // shadow, and all nodes it contains, is never considered in the document since shadows
309
+ // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
310
+ // is hidden, or is not in the document itself but is detached, it will affect the shadow's
311
+ // visibility, including all the nodes it contains). The host could be any normal node,
312
+ // or a custom element (i.e. web component). Either way, that's the one that is considered
313
+ // part of the document, not the shadow root, nor any of its children (i.e. the node being
314
+ // tested).
315
+ // To further complicate things, we have to look all the way up until we find a shadow HOST
316
+ // that is attached (or find none) because the node might be in nested shadows...
317
+ // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
318
+ // document (per the docs) and while it's a Document-type object, that document does not
319
+ // appear to be the same as the node's `ownerDocument` for some reason, so it's safer
320
+ // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
321
+ // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
322
+ // node is actually detached.
323
+ // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
324
+ // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
325
+ // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
326
+ // `ownerDocument` will be `null`, hence the optional chaining on it.
327
+ var nodeRoot = node && getRootNode(node);
328
+ var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;
329
+
330
+ // in some cases, a detached node will return itself as the root instead of a document or
331
+ // shadow root object, in which case, we shouldn't try to look further up the host chain
332
+ var attached = false;
333
+ if (nodeRoot && nodeRoot !== node) {
334
+ var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;
335
+ attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));
336
+ while (!attached && nodeRootHost) {
337
+ var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;
338
+ // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
339
+ // which means we need to get the host's host and check if that parent host is contained
340
+ // in (i.e. attached to) the document
341
+ nodeRoot = getRootNode(nodeRootHost);
342
+ nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;
343
+ attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));
344
+ }
345
+ }
346
+ return attached;
347
+ };
348
+ var isZeroArea = function isZeroArea(node) {
349
+ var _node$getBoundingClie = node.getBoundingClientRect(),
350
+ width = _node$getBoundingClie.width,
351
+ height = _node$getBoundingClie.height;
352
+ return width === 0 && height === 0;
353
+ };
354
+ var isHidden = function isHidden(node, _ref) {
355
+ var displayCheck = _ref.displayCheck,
356
+ getShadowRoot = _ref.getShadowRoot;
357
+ // NOTE: visibility will be `undefined` if node is detached from the document
358
+ // (see notes about this further down), which means we will consider it visible
359
+ // (this is legacy behavior from a very long way back)
360
+ // NOTE: we check this regardless of `displayCheck="none"` because this is a
361
+ // _visibility_ check, not a _display_ check
362
+ if (getComputedStyle(node).visibility === 'hidden') {
363
+ return true;
364
+ }
365
+ var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
366
+ var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
367
+ if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
368
+ return true;
369
+ }
370
+ if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
371
+ if (typeof getShadowRoot === 'function') {
372
+ // figure out if we should consider the node to be in an undisclosed shadow and use the
373
+ // 'non-zero-area' fallback
374
+ var originalNode = node;
375
+ while (node) {
376
+ var parentElement = node.parentElement;
377
+ var rootNode = getRootNode(node);
378
+ if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
379
+ ) {
380
+ // node has an undisclosed shadow which means we can only treat it as a black box, so we
381
+ // fall back to a non-zero-area test
382
+ return isZeroArea(node);
383
+ } else if (node.assignedSlot) {
384
+ // iterate up slot
385
+ node = node.assignedSlot;
386
+ } else if (!parentElement && rootNode !== node.ownerDocument) {
387
+ // cross shadow boundary
388
+ node = rootNode.host;
389
+ } else {
390
+ // iterate up normal dom
391
+ node = parentElement;
392
+ }
393
+ }
394
+ node = originalNode;
395
+ }
396
+ // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
397
+ // (i.e. it does not also presume that all nodes might have undisclosed shadows); or
398
+ // it might be a falsy value, which means shadow DOM support is disabled
399
+
400
+ // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
401
+ // now we can just test to see if it would normally be visible or not, provided it's
402
+ // attached to the main document.
403
+ // NOTE: We must consider case where node is inside a shadow DOM and given directly to
404
+ // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
405
+
406
+ if (isNodeAttached(node)) {
407
+ // this works wherever the node is: if there's at least one client rect, it's
408
+ // somehow displayed; it also covers the CSS 'display: contents' case where the
409
+ // node itself is hidden in place of its contents; and there's no need to search
410
+ // up the hierarchy either
411
+ return !node.getClientRects().length;
412
+ }
413
+
414
+ // Else, the node isn't attached to the document, which means the `getClientRects()`
415
+ // API will __always__ return zero rects (this can happen, for example, if React
416
+ // is used to render nodes onto a detached tree, as confirmed in this thread:
417
+ // https://github.com/facebook/react/issues/9117#issuecomment-284228870)
418
+ //
419
+ // It also means that even window.getComputedStyle(node).display will return `undefined`
420
+ // because styles are only computed for nodes that are in the document.
421
+ //
422
+ // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
423
+ // somehow. Though it was never stated officially, anyone who has ever used tabbable
424
+ // APIs on nodes in detached containers has actually implicitly used tabbable in what
425
+ // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
426
+ // considering __everything__ to be visible because of the innability to determine styles.
427
+ //
428
+ // v6.0.0: As of this major release, the default 'full' option __no longer treats detached
429
+ // nodes as visible with the 'none' fallback.__
430
+ if (displayCheck !== 'legacy-full') {
431
+ return true; // hidden
432
+ }
433
+ // else, fallback to 'none' mode and consider the node visible
434
+ } else if (displayCheck === 'non-zero-area') {
435
+ // NOTE: Even though this tests that the node's client rect is non-zero to determine
436
+ // whether it's displayed, and that a detached node will __always__ have a zero-area
437
+ // client rect, we don't special-case for whether the node is attached or not. In
438
+ // this mode, we do want to consider nodes that have a zero area to be hidden at all
439
+ // times, and that includes attached or not.
440
+ return isZeroArea(node);
441
+ }
442
+
443
+ // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
444
+ // it's visible
445
+ return false;
446
+ };
447
+
448
+ // form fields (nested) inside a disabled fieldset are not focusable/tabbable
449
+ // unless they are in the _first_ <legend> element of the top-most disabled
450
+ // fieldset
451
+ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
452
+ if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
453
+ var parentNode = node.parentElement;
454
+ // check if `node` is contained in a disabled <fieldset>
455
+ while (parentNode) {
456
+ if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
457
+ // look for the first <legend> among the children of the disabled <fieldset>
458
+ for (var i = 0; i < parentNode.children.length; i++) {
459
+ var child = parentNode.children.item(i);
460
+ // when the first <legend> (in document order) is found
461
+ if (child.tagName === 'LEGEND') {
462
+ // if its parent <fieldset> is not nested in another disabled <fieldset>,
463
+ // return whether `node` is a descendant of its first <legend>
464
+ return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
465
+ }
466
+ }
467
+ // the disabled <fieldset> containing `node` has no <legend>
468
+ return true;
469
+ }
470
+ parentNode = parentNode.parentElement;
471
+ }
472
+ }
473
+
474
+ // else, node's tabbable/focusable state should not be affected by a fieldset's
475
+ // enabled/disabled state
476
+ return false;
477
+ };
478
+ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
479
+ if (node.disabled ||
480
+ // we must do an inert look up to filter out any elements inside an inert ancestor
481
+ // because we're limited in the type of selectors we can use in JSDom (see related
482
+ // note related to `candidateSelectors`)
483
+ isInert(node) || isHiddenInput(node) || isHidden(node, options) ||
484
+ // For a details element with a summary, the summary element gets the focus
485
+ isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
486
+ return false;
487
+ }
488
+ return true;
489
+ };
490
+ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
491
+ if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
492
+ return false;
493
+ }
494
+ return true;
495
+ };
496
+ var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
497
+ var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
498
+ if (isNaN(tabIndex) || tabIndex >= 0) {
499
+ return true;
500
+ }
501
+ // If a custom element has an explicit negative tabindex,
502
+ // browsers will not allow tab targeting said element's children.
503
+ return false;
504
+ };
505
+
506
+ /**
507
+ * @param {Array.<Element|CandidateScope>} candidates
508
+ * @returns Element[]
509
+ */
510
+ var sortByOrder = function sortByOrder(candidates) {
511
+ var regularTabbables = [];
512
+ var orderedTabbables = [];
513
+ candidates.forEach(function (item, i) {
514
+ var isScope = !!item.scopeParent;
515
+ var element = isScope ? item.scopeParent : item;
516
+ var candidateTabindex = getSortOrderTabIndex(element, isScope);
517
+ var elements = isScope ? sortByOrder(item.candidates) : element;
518
+ if (candidateTabindex === 0) {
519
+ isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
520
+ } else {
521
+ orderedTabbables.push({
522
+ documentOrder: i,
523
+ tabIndex: candidateTabindex,
524
+ item: item,
525
+ isScope: isScope,
526
+ content: elements
527
+ });
528
+ }
529
+ });
530
+ return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {
531
+ sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
532
+ return acc;
533
+ }, []).concat(regularTabbables);
534
+ };
535
+ var tabbable = function tabbable(container, options) {
536
+ options = options || {};
537
+ var candidates;
538
+ if (options.getShadowRoot) {
539
+ candidates = getCandidatesIteratively([container], options.includeContainer, {
540
+ filter: isNodeMatchingSelectorTabbable.bind(null, options),
541
+ flatten: false,
542
+ getShadowRoot: options.getShadowRoot,
543
+ shadowRootFilter: isValidShadowRootTabbable
544
+ });
545
+ } else {
546
+ candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
547
+ }
548
+ return sortByOrder(candidates);
549
+ };
550
+ var focusable = function focusable(container, options) {
551
+ options = options || {};
552
+ var candidates;
553
+ if (options.getShadowRoot) {
554
+ candidates = getCandidatesIteratively([container], options.includeContainer, {
555
+ filter: isNodeMatchingSelectorFocusable.bind(null, options),
556
+ flatten: true,
557
+ getShadowRoot: options.getShadowRoot
558
+ });
559
+ } else {
560
+ candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
561
+ }
562
+ return candidates;
563
+ };
564
+ var isTabbable = function isTabbable(node, options) {
565
+ options = options || {};
566
+ if (!node) {
567
+ throw new Error('No node provided');
568
+ }
569
+ if (matches.call(node, candidateSelector) === false) {
570
+ return false;
571
+ }
572
+ return isNodeMatchingSelectorTabbable(options, node);
573
+ };
574
+ var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
575
+ var isFocusable = function isFocusable(node, options) {
576
+ options = options || {};
577
+ if (!node) {
578
+ throw new Error('No node provided');
579
+ }
580
+ if (matches.call(node, focusableCandidateSelector) === false) {
581
+ return false;
582
+ }
583
+ return isNodeMatchingSelectorFocusable(options, node);
584
+ };
585
+
586
+ /*!
587
+ * focus-trap 7.2.0
588
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
589
+ */
590
+ function ownKeys(object, enumerableOnly) {
591
+ var keys = Object.keys(object);
592
+ if (Object.getOwnPropertySymbols) {
593
+ var symbols = Object.getOwnPropertySymbols(object);
594
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
595
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
596
+ })), keys.push.apply(keys, symbols);
597
+ }
598
+ return keys;
599
+ }
600
+ function _objectSpread2(target) {
601
+ for (var i = 1; i < arguments.length; i++) {
602
+ var source = null != arguments[i] ? arguments[i] : {};
603
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
604
+ _defineProperty(target, key, source[key]);
605
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
606
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
607
+ });
608
+ }
609
+ return target;
610
+ }
611
+ function _defineProperty(obj, key, value) {
612
+ key = _toPropertyKey(key);
613
+ if (key in obj) {
614
+ Object.defineProperty(obj, key, {
615
+ value: value,
616
+ enumerable: true,
617
+ configurable: true,
618
+ writable: true
619
+ });
620
+ } else {
621
+ obj[key] = value;
622
+ }
623
+ return obj;
624
+ }
625
+ function _toPrimitive(input, hint) {
626
+ if (typeof input !== "object" || input === null) return input;
627
+ var prim = input[Symbol.toPrimitive];
628
+ if (prim !== undefined) {
629
+ var res = prim.call(input, hint || "default");
630
+ if (typeof res !== "object") return res;
631
+ throw new TypeError("@@toPrimitive must return a primitive value.");
632
+ }
633
+ return (hint === "string" ? String : Number)(input);
634
+ }
635
+ function _toPropertyKey(arg) {
636
+ var key = _toPrimitive(arg, "string");
637
+ return typeof key === "symbol" ? key : String(key);
638
+ }
639
+ var activeFocusTraps = {
640
+ activateTrap: function activateTrap(trapStack, trap) {
641
+ if (trapStack.length > 0) {
642
+ var activeTrap = trapStack[trapStack.length - 1];
643
+ if (activeTrap !== trap) {
644
+ activeTrap.pause();
645
+ }
646
+ }
647
+ var trapIndex = trapStack.indexOf(trap);
648
+ if (trapIndex === -1) {
649
+ trapStack.push(trap);
650
+ } else {
651
+ // move this existing trap to the front of the queue
652
+ trapStack.splice(trapIndex, 1);
653
+ trapStack.push(trap);
654
+ }
655
+ },
656
+ deactivateTrap: function deactivateTrap(trapStack, trap) {
657
+ var trapIndex = trapStack.indexOf(trap);
658
+ if (trapIndex !== -1) {
659
+ trapStack.splice(trapIndex, 1);
660
+ }
661
+ if (trapStack.length > 0) {
662
+ trapStack[trapStack.length - 1].unpause();
663
+ }
664
+ }
665
+ };
666
+ var isSelectableInput = function isSelectableInput(node) {
667
+ return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
668
+ };
669
+ var isEscapeEvent = function isEscapeEvent(e) {
670
+ return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;
671
+ };
672
+ var isTabEvent = function isTabEvent(e) {
673
+ return e.key === 'Tab' || e.keyCode === 9;
674
+ };
675
+
676
+ // checks for TAB by default
677
+ var isKeyForward = function isKeyForward(e) {
678
+ return isTabEvent(e) && !e.shiftKey;
679
+ };
680
+
681
+ // checks for SHIFT+TAB by default
682
+ var isKeyBackward = function isKeyBackward(e) {
683
+ return isTabEvent(e) && e.shiftKey;
684
+ };
685
+ var delay = function delay(fn) {
686
+ return setTimeout(fn, 0);
687
+ };
688
+
689
+ // Array.find/findIndex() are not supported on IE; this replicates enough
690
+ // of Array.findIndex() for our needs
691
+ var findIndex = function findIndex(arr, fn) {
692
+ var idx = -1;
693
+ arr.every(function (value, i) {
694
+ if (fn(value)) {
695
+ idx = i;
696
+ return false; // break
697
+ }
698
+
699
+ return true; // next
700
+ });
701
+
702
+ return idx;
703
+ };
704
+
705
+ /**
706
+ * Get an option's value when it could be a plain value, or a handler that provides
707
+ * the value.
708
+ * @param {*} value Option's value to check.
709
+ * @param {...*} [params] Any parameters to pass to the handler, if `value` is a function.
710
+ * @returns {*} The `value`, or the handler's returned value.
711
+ */
712
+ var valueOrHandler = function valueOrHandler(value) {
713
+ for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
714
+ params[_key - 1] = arguments[_key];
715
+ }
716
+ return typeof value === 'function' ? value.apply(void 0, params) : value;
717
+ };
718
+ var getActualTarget = function getActualTarget(event) {
719
+ // NOTE: If the trap is _inside_ a shadow DOM, event.target will always be the
720
+ // shadow host. However, event.target.composedPath() will be an array of
721
+ // nodes "clicked" from inner-most (the actual element inside the shadow) to
722
+ // outer-most (the host HTML document). If we have access to composedPath(),
723
+ // then use its first element; otherwise, fall back to event.target (and
724
+ // this only works for an _open_ shadow DOM; otherwise,
725
+ // composedPath()[0] === event.target always).
726
+ return event.target.shadowRoot && typeof event.composedPath === 'function' ? event.composedPath()[0] : event.target;
727
+ };
728
+
729
+ // NOTE: this must be _outside_ `createFocusTrap()` to make sure all traps in this
730
+ // current instance use the same stack if `userOptions.trapStack` isn't specified
731
+ var internalTrapStack = [];
732
+ var createFocusTrap = function createFocusTrap(elements, userOptions) {
733
+ // SSR: a live trap shouldn't be created in this type of environment so this
734
+ // should be safe code to execute if the `document` option isn't specified
735
+ var doc = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.document) || document;
736
+ var trapStack = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.trapStack) || internalTrapStack;
737
+ var config = _objectSpread2({
738
+ returnFocusOnDeactivate: true,
739
+ escapeDeactivates: true,
740
+ delayInitialFocus: true,
741
+ isKeyForward: isKeyForward,
742
+ isKeyBackward: isKeyBackward
743
+ }, userOptions);
744
+ var state = {
745
+ // containers given to createFocusTrap()
746
+ // @type {Array<HTMLElement>}
747
+ containers: [],
748
+ // list of objects identifying tabbable nodes in `containers` in the trap
749
+ // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
750
+ // is active, but the trap should never get to a state where there isn't at least one group
751
+ // with at least one tabbable node in it (that would lead to an error condition that would
752
+ // result in an error being thrown)
753
+ // @type {Array<{
754
+ // container: HTMLElement,
755
+ // tabbableNodes: Array<HTMLElement>, // empty if none
756
+ // focusableNodes: Array<HTMLElement>, // empty if none
757
+ // firstTabbableNode: HTMLElement|null,
758
+ // lastTabbableNode: HTMLElement|null,
759
+ // nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
760
+ // }>}
761
+ containerGroups: [],
762
+ // same order/length as `containers` list
763
+
764
+ // references to objects in `containerGroups`, but only those that actually have
765
+ // tabbable nodes in them
766
+ // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
767
+ // the same length
768
+ tabbableGroups: [],
769
+ nodeFocusedBeforeActivation: null,
770
+ mostRecentlyFocusedNode: null,
771
+ active: false,
772
+ paused: false,
773
+ // timer ID for when delayInitialFocus is true and initial focus in this trap
774
+ // has been delayed during activation
775
+ delayInitialFocusTimer: undefined
776
+ };
777
+ var trap; // eslint-disable-line prefer-const -- some private functions reference it, and its methods reference private functions, so we must declare here and define later
778
+
779
+ /**
780
+ * Gets a configuration option value.
781
+ * @param {Object|undefined} configOverrideOptions If true, and option is defined in this set,
782
+ * value will be taken from this object. Otherwise, value will be taken from base configuration.
783
+ * @param {string} optionName Name of the option whose value is sought.
784
+ * @param {string|undefined} [configOptionName] Name of option to use __instead of__ `optionName`
785
+ * IIF `configOverrideOptions` is not defined. Otherwise, `optionName` is used.
786
+ */
787
+ var getOption = function getOption(configOverrideOptions, optionName, configOptionName) {
788
+ return configOverrideOptions && configOverrideOptions[optionName] !== undefined ? configOverrideOptions[optionName] : config[configOptionName || optionName];
789
+ };
790
+
791
+ /**
792
+ * Finds the index of the container that contains the element.
793
+ * @param {HTMLElement} element
794
+ * @returns {number} Index of the container in either `state.containers` or
795
+ * `state.containerGroups` (the order/length of these lists are the same); -1
796
+ * if the element isn't found.
797
+ */
798
+ var findContainerIndex = function findContainerIndex(element) {
799
+ // NOTE: search `containerGroups` because it's possible a group contains no tabbable
800
+ // nodes, but still contains focusable nodes (e.g. if they all have `tabindex=-1`)
801
+ // and we still need to find the element in there
802
+ return state.containerGroups.findIndex(function (_ref) {
803
+ var container = _ref.container,
804
+ tabbableNodes = _ref.tabbableNodes;
805
+ return container.contains(element) ||
806
+ // fall back to explicit tabbable search which will take into consideration any
807
+ // web components if the `tabbableOptions.getShadowRoot` option was used for
808
+ // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
809
+ // look inside web components even if open)
810
+ tabbableNodes.find(function (node) {
811
+ return node === element;
812
+ });
813
+ });
814
+ };
815
+
816
+ /**
817
+ * Gets the node for the given option, which is expected to be an option that
818
+ * can be either a DOM node, a string that is a selector to get a node, `false`
819
+ * (if a node is explicitly NOT given), or a function that returns any of these
820
+ * values.
821
+ * @param {string} optionName
822
+ * @returns {undefined | false | HTMLElement | SVGElement} Returns
823
+ * `undefined` if the option is not specified; `false` if the option
824
+ * resolved to `false` (node explicitly not given); otherwise, the resolved
825
+ * DOM node.
826
+ * @throws {Error} If the option is set, not `false`, and is not, or does not
827
+ * resolve to a node.
828
+ */
829
+ var getNodeForOption = function getNodeForOption(optionName) {
830
+ var optionValue = config[optionName];
831
+ if (typeof optionValue === 'function') {
832
+ for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
833
+ params[_key2 - 1] = arguments[_key2];
834
+ }
835
+ optionValue = optionValue.apply(void 0, params);
836
+ }
837
+ if (optionValue === true) {
838
+ optionValue = undefined; // use default value
839
+ }
840
+
841
+ if (!optionValue) {
842
+ if (optionValue === undefined || optionValue === false) {
843
+ return optionValue;
844
+ }
845
+ // else, empty string (invalid), null (invalid), 0 (invalid)
846
+
847
+ throw new Error("`".concat(optionName, "` was specified but was not a node, or did not return a node"));
848
+ }
849
+ var node = optionValue; // could be HTMLElement, SVGElement, or non-empty string at this point
850
+
851
+ if (typeof optionValue === 'string') {
852
+ node = doc.querySelector(optionValue); // resolve to node, or null if fails
853
+ if (!node) {
854
+ throw new Error("`".concat(optionName, "` as selector refers to no known node"));
855
+ }
856
+ }
857
+ return node;
858
+ };
859
+ var getInitialFocusNode = function getInitialFocusNode() {
860
+ var node = getNodeForOption('initialFocus');
861
+
862
+ // false explicitly indicates we want no initialFocus at all
863
+ if (node === false) {
864
+ return false;
865
+ }
866
+ if (node === undefined) {
867
+ // option not specified: use fallback options
868
+ if (findContainerIndex(doc.activeElement) >= 0) {
869
+ node = doc.activeElement;
870
+ } else {
871
+ var firstTabbableGroup = state.tabbableGroups[0];
872
+ var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
873
+
874
+ // NOTE: `fallbackFocus` option function cannot return `false` (not supported)
875
+ node = firstTabbableNode || getNodeForOption('fallbackFocus');
876
+ }
877
+ }
878
+ if (!node) {
879
+ throw new Error('Your focus-trap needs to have at least one focusable element');
880
+ }
881
+ return node;
882
+ };
883
+ var updateTabbableNodes = function updateTabbableNodes() {
884
+ state.containerGroups = state.containers.map(function (container) {
885
+ var tabbableNodes = tabbable(container, config.tabbableOptions);
886
+
887
+ // NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
888
+ // are a superset of tabbable nodes
889
+ var focusableNodes = focusable(container, config.tabbableOptions);
890
+ return {
891
+ container: container,
892
+ tabbableNodes: tabbableNodes,
893
+ focusableNodes: focusableNodes,
894
+ firstTabbableNode: tabbableNodes.length > 0 ? tabbableNodes[0] : null,
895
+ lastTabbableNode: tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : null,
896
+ /**
897
+ * Finds the __tabbable__ node that follows the given node in the specified direction,
898
+ * in this container, if any.
899
+ * @param {HTMLElement} node
900
+ * @param {boolean} [forward] True if going in forward tab order; false if going
901
+ * in reverse.
902
+ * @returns {HTMLElement|undefined} The next tabbable node, if any.
903
+ */
904
+ nextTabbableNode: function nextTabbableNode(node) {
905
+ var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
906
+ // NOTE: If tabindex is positive (in order to manipulate the tab order separate
907
+ // from the DOM order), this __will not work__ because the list of focusableNodes,
908
+ // while it contains tabbable nodes, does not sort its nodes in any order other
909
+ // than DOM order, because it can't: Where would you place focusable (but not
910
+ // tabbable) nodes in that order? They have no order, because they aren't tabbale...
911
+ // Support for positive tabindex is already broken and hard to manage (possibly
912
+ // not supportable, TBD), so this isn't going to make things worse than they
913
+ // already are, and at least makes things better for the majority of cases where
914
+ // tabindex is either 0/unset or negative.
915
+ // FYI, positive tabindex issue: https://github.com/focus-trap/focus-trap/issues/375
916
+ var nodeIdx = focusableNodes.findIndex(function (n) {
917
+ return n === node;
918
+ });
919
+ if (nodeIdx < 0) {
920
+ return undefined;
921
+ }
922
+ if (forward) {
923
+ return focusableNodes.slice(nodeIdx + 1).find(function (n) {
924
+ return isTabbable(n, config.tabbableOptions);
925
+ });
926
+ }
927
+ return focusableNodes.slice(0, nodeIdx).reverse().find(function (n) {
928
+ return isTabbable(n, config.tabbableOptions);
929
+ });
930
+ }
931
+ };
932
+ });
933
+ state.tabbableGroups = state.containerGroups.filter(function (group) {
934
+ return group.tabbableNodes.length > 0;
935
+ });
936
+
937
+ // throw if no groups have tabbable nodes and we don't have a fallback focus node either
938
+ if (state.tabbableGroups.length <= 0 && !getNodeForOption('fallbackFocus') // returning false not supported for this option
939
+ ) {
940
+ throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
941
+ }
942
+ };
943
+ var tryFocus = function tryFocus(node) {
944
+ if (node === false) {
945
+ return;
946
+ }
947
+ if (node === doc.activeElement) {
948
+ return;
949
+ }
950
+ if (!node || !node.focus) {
951
+ tryFocus(getInitialFocusNode());
952
+ return;
953
+ }
954
+ node.focus({
955
+ preventScroll: !!config.preventScroll
956
+ });
957
+ state.mostRecentlyFocusedNode = node;
958
+ if (isSelectableInput(node)) {
959
+ node.select();
960
+ }
961
+ };
962
+ var getReturnFocusNode = function getReturnFocusNode(previousActiveElement) {
963
+ var node = getNodeForOption('setReturnFocus', previousActiveElement);
964
+ return node ? node : node === false ? false : previousActiveElement;
965
+ };
966
+
967
+ // This needs to be done on mousedown and touchstart instead of click
968
+ // so that it precedes the focus event.
969
+ var checkPointerDown = function checkPointerDown(e) {
970
+ var target = getActualTarget(e);
971
+ if (findContainerIndex(target) >= 0) {
972
+ // allow the click since it ocurred inside the trap
973
+ return;
974
+ }
975
+ if (valueOrHandler(config.clickOutsideDeactivates, e)) {
976
+ // immediately deactivate the trap
977
+ trap.deactivate({
978
+ // if, on deactivation, we should return focus to the node originally-focused
979
+ // when the trap was activated (or the configured `setReturnFocus` node),
980
+ // then assume it's also OK to return focus to the outside node that was
981
+ // just clicked, causing deactivation, as long as that node is focusable;
982
+ // if it isn't focusable, then return focus to the original node focused
983
+ // on activation (or the configured `setReturnFocus` node)
984
+ // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
985
+ // which will result in the outside click setting focus to the node
986
+ // that was clicked, whether it's focusable or not; by setting
987
+ // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
988
+ // on activation (or the configured `setReturnFocus` node)
989
+ returnFocus: config.returnFocusOnDeactivate && !isFocusable(target, config.tabbableOptions)
990
+ });
991
+ return;
992
+ }
993
+
994
+ // This is needed for mobile devices.
995
+ // (If we'll only let `click` events through,
996
+ // then on mobile they will be blocked anyways if `touchstart` is blocked.)
997
+ if (valueOrHandler(config.allowOutsideClick, e)) {
998
+ // allow the click outside the trap to take place
999
+ return;
1000
+ }
1001
+
1002
+ // otherwise, prevent the click
1003
+ e.preventDefault();
1004
+ };
1005
+
1006
+ // In case focus escapes the trap for some strange reason, pull it back in.
1007
+ var checkFocusIn = function checkFocusIn(e) {
1008
+ var target = getActualTarget(e);
1009
+ var targetContained = findContainerIndex(target) >= 0;
1010
+
1011
+ // In Firefox when you Tab out of an iframe the Document is briefly focused.
1012
+ if (targetContained || target instanceof Document) {
1013
+ if (targetContained) {
1014
+ state.mostRecentlyFocusedNode = target;
1015
+ }
1016
+ } else {
1017
+ // escaped! pull it back in to where it just left
1018
+ e.stopImmediatePropagation();
1019
+ tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
1020
+ }
1021
+ };
1022
+
1023
+ // Hijack key nav events on the first and last focusable nodes of the trap,
1024
+ // in order to prevent focus from escaping. If it escapes for even a
1025
+ // moment it can end up scrolling the page and causing confusion so we
1026
+ // kind of need to capture the action at the keydown phase.
1027
+ var checkKeyNav = function checkKeyNav(event) {
1028
+ var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
1029
+ var target = getActualTarget(event);
1030
+ updateTabbableNodes();
1031
+ var destinationNode = null;
1032
+ if (state.tabbableGroups.length > 0) {
1033
+ // make sure the target is actually contained in a group
1034
+ // NOTE: the target may also be the container itself if it's focusable
1035
+ // with tabIndex='-1' and was given initial focus
1036
+ var containerIndex = findContainerIndex(target);
1037
+ var containerGroup = containerIndex >= 0 ? state.containerGroups[containerIndex] : undefined;
1038
+ if (containerIndex < 0) {
1039
+ // target not found in any group: quite possible focus has escaped the trap,
1040
+ // so bring it back into...
1041
+ if (isBackward) {
1042
+ // ...the last node in the last group
1043
+ destinationNode = state.tabbableGroups[state.tabbableGroups.length - 1].lastTabbableNode;
1044
+ } else {
1045
+ // ...the first node in the first group
1046
+ destinationNode = state.tabbableGroups[0].firstTabbableNode;
1047
+ }
1048
+ } else if (isBackward) {
1049
+ // REVERSE
1050
+
1051
+ // is the target the first tabbable node in a group?
1052
+ var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref2) {
1053
+ var firstTabbableNode = _ref2.firstTabbableNode;
1054
+ return target === firstTabbableNode;
1055
+ });
1056
+ if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
1057
+ // an exception case where the target is either the container itself, or
1058
+ // a non-tabbable node that was given focus (i.e. tabindex is negative
1059
+ // and user clicked on it or node was programmatically given focus)
1060
+ // and is not followed by any other tabbable node, in which
1061
+ // case, we should handle shift+tab as if focus were on the container's
1062
+ // first tabbable node, and go to the last tabbable node of the LAST group
1063
+ startOfGroupIndex = containerIndex;
1064
+ }
1065
+ if (startOfGroupIndex >= 0) {
1066
+ // YES: then shift+tab should go to the last tabbable node in the
1067
+ // previous group (and wrap around to the last tabbable node of
1068
+ // the LAST group if it's the first tabbable node of the FIRST group)
1069
+ var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
1070
+ var destinationGroup = state.tabbableGroups[destinationGroupIndex];
1071
+ destinationNode = destinationGroup.lastTabbableNode;
1072
+ } else if (!isTabEvent(event)) {
1073
+ // user must have customized the nav keys so we have to move focus manually _within_
1074
+ // the active group: do this based on the order determined by tabbable()
1075
+ destinationNode = containerGroup.nextTabbableNode(target, false);
1076
+ }
1077
+ } else {
1078
+ // FORWARD
1079
+
1080
+ // is the target the last tabbable node in a group?
1081
+ var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
1082
+ var lastTabbableNode = _ref3.lastTabbableNode;
1083
+ return target === lastTabbableNode;
1084
+ });
1085
+ if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
1086
+ // an exception case where the target is the container itself, or
1087
+ // a non-tabbable node that was given focus (i.e. tabindex is negative
1088
+ // and user clicked on it or node was programmatically given focus)
1089
+ // and is not followed by any other tabbable node, in which
1090
+ // case, we should handle tab as if focus were on the container's
1091
+ // last tabbable node, and go to the first tabbable node of the FIRST group
1092
+ lastOfGroupIndex = containerIndex;
1093
+ }
1094
+ if (lastOfGroupIndex >= 0) {
1095
+ // YES: then tab should go to the first tabbable node in the next
1096
+ // group (and wrap around to the first tabbable node of the FIRST
1097
+ // group if it's the last tabbable node of the LAST group)
1098
+ var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
1099
+ var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
1100
+ destinationNode = _destinationGroup.firstTabbableNode;
1101
+ } else if (!isTabEvent(event)) {
1102
+ // user must have customized the nav keys so we have to move focus manually _within_
1103
+ // the active group: do this based on the order determined by tabbable()
1104
+ destinationNode = containerGroup.nextTabbableNode(target);
1105
+ }
1106
+ }
1107
+ } else {
1108
+ // no groups available
1109
+ // NOTE: the fallbackFocus option does not support returning false to opt-out
1110
+ destinationNode = getNodeForOption('fallbackFocus');
1111
+ }
1112
+ if (destinationNode) {
1113
+ if (isTabEvent(event)) {
1114
+ // since tab natively moves focus, we wouldn't have a destination node unless we
1115
+ // were on the edge of a container and had to move to the next/previous edge, in
1116
+ // which case we want to prevent default to keep the browser from moving focus
1117
+ // to where it normally would
1118
+ event.preventDefault();
1119
+ }
1120
+ tryFocus(destinationNode);
1121
+ }
1122
+ // else, let the browser take care of [shift+]tab and move the focus
1123
+ };
1124
+
1125
+ var checkKey = function checkKey(event) {
1126
+ if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {
1127
+ event.preventDefault();
1128
+ trap.deactivate();
1129
+ return;
1130
+ }
1131
+ if (config.isKeyForward(event) || config.isKeyBackward(event)) {
1132
+ checkKeyNav(event, config.isKeyBackward(event));
1133
+ }
1134
+ };
1135
+ var checkClick = function checkClick(e) {
1136
+ var target = getActualTarget(e);
1137
+ if (findContainerIndex(target) >= 0) {
1138
+ return;
1139
+ }
1140
+ if (valueOrHandler(config.clickOutsideDeactivates, e)) {
1141
+ return;
1142
+ }
1143
+ if (valueOrHandler(config.allowOutsideClick, e)) {
1144
+ return;
1145
+ }
1146
+ e.preventDefault();
1147
+ e.stopImmediatePropagation();
1148
+ };
1149
+
1150
+ //
1151
+ // EVENT LISTENERS
1152
+ //
1153
+
1154
+ var addListeners = function addListeners() {
1155
+ if (!state.active) {
1156
+ return;
1157
+ }
1158
+
1159
+ // There can be only one listening focus trap at a time
1160
+ activeFocusTraps.activateTrap(trapStack, trap);
1161
+
1162
+ // Delay ensures that the focused element doesn't capture the event
1163
+ // that caused the focus trap activation.
1164
+ state.delayInitialFocusTimer = config.delayInitialFocus ? delay(function () {
1165
+ tryFocus(getInitialFocusNode());
1166
+ }) : tryFocus(getInitialFocusNode());
1167
+ doc.addEventListener('focusin', checkFocusIn, true);
1168
+ doc.addEventListener('mousedown', checkPointerDown, {
1169
+ capture: true,
1170
+ passive: false
1171
+ });
1172
+ doc.addEventListener('touchstart', checkPointerDown, {
1173
+ capture: true,
1174
+ passive: false
1175
+ });
1176
+ doc.addEventListener('click', checkClick, {
1177
+ capture: true,
1178
+ passive: false
1179
+ });
1180
+ doc.addEventListener('keydown', checkKey, {
1181
+ capture: true,
1182
+ passive: false
1183
+ });
1184
+ return trap;
1185
+ };
1186
+ var removeListeners = function removeListeners() {
1187
+ if (!state.active) {
1188
+ return;
1189
+ }
1190
+ doc.removeEventListener('focusin', checkFocusIn, true);
1191
+ doc.removeEventListener('mousedown', checkPointerDown, true);
1192
+ doc.removeEventListener('touchstart', checkPointerDown, true);
1193
+ doc.removeEventListener('click', checkClick, true);
1194
+ doc.removeEventListener('keydown', checkKey, true);
1195
+ return trap;
1196
+ };
1197
+
1198
+ //
1199
+ // TRAP DEFINITION
1200
+ //
1201
+
1202
+ trap = {
1203
+ get active() {
1204
+ return state.active;
1205
+ },
1206
+ get paused() {
1207
+ return state.paused;
1208
+ },
1209
+ activate: function activate(activateOptions) {
1210
+ if (state.active) {
1211
+ return this;
1212
+ }
1213
+ var onActivate = getOption(activateOptions, 'onActivate');
1214
+ var onPostActivate = getOption(activateOptions, 'onPostActivate');
1215
+ var checkCanFocusTrap = getOption(activateOptions, 'checkCanFocusTrap');
1216
+ if (!checkCanFocusTrap) {
1217
+ updateTabbableNodes();
1218
+ }
1219
+ state.active = true;
1220
+ state.paused = false;
1221
+ state.nodeFocusedBeforeActivation = doc.activeElement;
1222
+ if (onActivate) {
1223
+ onActivate();
1224
+ }
1225
+ var finishActivation = function finishActivation() {
1226
+ if (checkCanFocusTrap) {
1227
+ updateTabbableNodes();
1228
+ }
1229
+ addListeners();
1230
+ if (onPostActivate) {
1231
+ onPostActivate();
1232
+ }
1233
+ };
1234
+ if (checkCanFocusTrap) {
1235
+ checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
1236
+ return this;
1237
+ }
1238
+ finishActivation();
1239
+ return this;
1240
+ },
1241
+ deactivate: function deactivate(deactivateOptions) {
1242
+ if (!state.active) {
1243
+ return this;
1244
+ }
1245
+ var options = _objectSpread2({
1246
+ onDeactivate: config.onDeactivate,
1247
+ onPostDeactivate: config.onPostDeactivate,
1248
+ checkCanReturnFocus: config.checkCanReturnFocus
1249
+ }, deactivateOptions);
1250
+ clearTimeout(state.delayInitialFocusTimer); // noop if undefined
1251
+ state.delayInitialFocusTimer = undefined;
1252
+ removeListeners();
1253
+ state.active = false;
1254
+ state.paused = false;
1255
+ activeFocusTraps.deactivateTrap(trapStack, trap);
1256
+ var onDeactivate = getOption(options, 'onDeactivate');
1257
+ var onPostDeactivate = getOption(options, 'onPostDeactivate');
1258
+ var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
1259
+ var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
1260
+ if (onDeactivate) {
1261
+ onDeactivate();
1262
+ }
1263
+ var finishDeactivation = function finishDeactivation() {
1264
+ delay(function () {
1265
+ if (returnFocus) {
1266
+ tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
1267
+ }
1268
+ if (onPostDeactivate) {
1269
+ onPostDeactivate();
1270
+ }
1271
+ });
1272
+ };
1273
+ if (returnFocus && checkCanReturnFocus) {
1274
+ checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
1275
+ return this;
1276
+ }
1277
+ finishDeactivation();
1278
+ return this;
1279
+ },
1280
+ pause: function pause() {
1281
+ if (state.paused || !state.active) {
1282
+ return this;
1283
+ }
1284
+ state.paused = true;
1285
+ removeListeners();
1286
+ return this;
1287
+ },
1288
+ unpause: function unpause() {
1289
+ if (!state.paused || !state.active) {
1290
+ return this;
1291
+ }
1292
+ state.paused = false;
1293
+ updateTabbableNodes();
1294
+ addListeners();
1295
+ return this;
1296
+ },
1297
+ updateContainerElements: function updateContainerElements(containerElements) {
1298
+ var elementsAsArray = [].concat(containerElements).filter(Boolean);
1299
+ state.containers = elementsAsArray.map(function (element) {
1300
+ return typeof element === 'string' ? doc.querySelector(element) : element;
1301
+ });
1302
+ if (state.active) {
1303
+ updateTabbableNodes();
1304
+ }
1305
+ return this;
1306
+ }
1307
+ };
1308
+
1309
+ // initialize container elements
1310
+ trap.updateContainerElements(elements);
1311
+ return trap;
1312
+ };
1313
+
1314
+ var __defProp = Object.defineProperty;
1315
+ var __defProps = Object.defineProperties;
1316
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
1317
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
1318
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
1319
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
1320
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1321
+ var __spreadValues = (a, b) => {
1322
+ for (var prop in b || (b = {}))
1323
+ if (__hasOwnProp.call(b, prop))
1324
+ __defNormalProp(a, prop, b[prop]);
1325
+ if (__getOwnPropSymbols)
1326
+ for (var prop of __getOwnPropSymbols(b)) {
1327
+ if (__propIsEnum.call(b, prop))
1328
+ __defNormalProp(a, prop, b[prop]);
1329
+ }
1330
+ return a;
1331
+ };
1332
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
1333
+ var __objRest = (source, exclude) => {
1334
+ var target = {};
1335
+ for (var prop in source)
1336
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
1337
+ target[prop] = source[prop];
1338
+ if (source != null && __getOwnPropSymbols)
1339
+ for (var prop of __getOwnPropSymbols(source)) {
1340
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
1341
+ target[prop] = source[prop];
1342
+ }
1343
+ return target;
1344
+ };
1345
+ function useFocusTrap(target, options = {}) {
1346
+ let trap;
1347
+ const _a = options, { immediate } = _a, focusTrapOptions = __objRest(_a, ["immediate"]);
1348
+ const hasFocus = ref(false);
1349
+ const isPaused = ref(false);
1350
+ const activate = (opts) => trap && trap.activate(opts);
1351
+ const deactivate = (opts) => trap && trap.deactivate(opts);
1352
+ const pause = () => {
1353
+ if (trap) {
1354
+ trap.pause();
1355
+ isPaused.value = true;
1356
+ }
1357
+ };
1358
+ const unpause = () => {
1359
+ if (trap) {
1360
+ trap.unpause();
1361
+ isPaused.value = false;
1362
+ }
1363
+ };
1364
+ watch(() => unrefElement(target), (el) => {
1365
+ if (!el)
1366
+ return;
1367
+ trap = createFocusTrap(el, __spreadProps(__spreadValues({}, focusTrapOptions), {
1368
+ onActivate() {
1369
+ hasFocus.value = true;
1370
+ if (options.onActivate)
1371
+ options.onActivate();
1372
+ },
1373
+ onDeactivate() {
1374
+ hasFocus.value = false;
1375
+ if (options.onDeactivate)
1376
+ options.onDeactivate();
1377
+ }
1378
+ }));
1379
+ if (immediate)
1380
+ activate();
1381
+ }, { flush: "post" });
1382
+ tryOnScopeDispose(() => deactivate());
1383
+ return {
1384
+ hasFocus,
1385
+ isPaused,
1386
+ activate,
1387
+ deactivate,
1388
+ pause,
1389
+ unpause
1390
+ };
1391
+ }
1392
+
1393
+ var script = defineComponent({
1394
+ name: 'OrModal',
1395
+ components: {
1396
+ OrIconButton: script$1,
1397
+ OrOverlay: script$2
1398
+ },
1399
+ props: {
1400
+ titleText: {
1401
+ type: String,
1402
+ required: false,
1403
+ default: null
1404
+ },
1405
+ showClose: {
1406
+ type: Boolean,
1407
+ default: true
1408
+ },
1409
+ closeOnClickOutside: {
1410
+ type: Boolean,
1411
+ required: false,
1412
+ default: false
1413
+ },
1414
+ size: {
1415
+ type: String,
1416
+ required: false,
1417
+ default: OrModalSizes.small
1418
+ },
1419
+ isOpen: {
1420
+ type: Boolean,
1421
+ required: true
1422
+ },
1423
+ isWithoutOverlay: {
1424
+ type: Boolean,
1425
+ required: false,
1426
+ default: false
1427
+ },
1428
+ trapFocus: {
1429
+ type: Boolean,
1430
+ default: true
1431
+ }
1432
+ },
1433
+ emits: ['close'],
1434
+ setup(props, _ref) {
1435
+ let {
1436
+ emit
1437
+ } = _ref;
1438
+ const overlay = ref();
1439
+ let container = ref(null);
1440
+ let trap = useFocusTrap(container, {
1441
+ immediate: props.trapFocus,
1442
+ fallbackFocus: '.container',
1443
+ allowOutsideClick: true
1444
+ });
1445
+ const handleClose = () => emit('close');
1446
+ onClickOutside(container, evt => {
1447
+ if (!evt.composedPath().includes(overlay.value.$el)) return;
1448
+ if (props.closeOnClickOutside) handleClose();
1449
+ });
1450
+ const toggleFocusTrap = isNeedToTrap => {
1451
+ if (isNeedToTrap && props.isOpen) {
1452
+ trap.activate();
1453
+ } else {
1454
+ trap === null || trap === void 0 ? void 0 : trap.deactivate();
1455
+ }
1456
+ };
1457
+ watch(() => props.trapFocus, toggleFocusTrap, {
1458
+ immediate: true
1459
+ });
1460
+ watch(() => props.isOpen, isOpen => {
1461
+ toggleFocusTrap(false);
1462
+ if (isOpen) {
1463
+ container = ref(null);
1464
+ } else {
1465
+ trap === null || trap === void 0 ? void 0 : trap.deactivate();
1466
+ }
1467
+ });
1468
+ onBeforeUnmount(() => {
1469
+ trap === null || trap === void 0 ? void 0 : trap.deactivate();
1470
+ });
1471
+ return {
1472
+ container,
1473
+ overlay,
1474
+ handleClose
1475
+ };
1476
+ },
1477
+ computed: {
1478
+ sizeClass() {
1479
+ return `is-${this.size}`;
1480
+ }
1481
+ }
1482
+ });
1483
+
1484
+ const _hoisted_1 = {
1485
+ key: 0,
1486
+ class: "or-modal"
1487
+ };
1488
+ const _hoisted_2 = {
1489
+ class: "header"
1490
+ };
1491
+ const _hoisted_3 = {
1492
+ class: "title"
1493
+ };
1494
+ const _hoisted_4 = {
1495
+ class: "content"
1496
+ };
1497
+ const _hoisted_5 = {
1498
+ class: "footer"
1499
+ };
1500
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
1501
+ const _component_or_icon_button = resolveComponent("or-icon-button");
1502
+ const _component_or_overlay = resolveComponent("or-overlay");
1503
+ return _ctx.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(_component_or_overlay, {
1504
+ ref: "overlay",
1505
+ "is-active": "",
1506
+ "is-without-background": _ctx.isWithoutOverlay
1507
+ }, {
1508
+ default: withCtx(() => [createElementVNode("div", {
1509
+ ref: "container",
1510
+ class: normalizeClass([_ctx.sizeClass, 'container', {
1511
+ 'is-without-overlay': _ctx.isWithoutOverlay
1512
+ }])
1513
+ }, [renderSlot(_ctx.$slots, "header", {}, () => [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "title", {}, () => [createElementVNode("div", _hoisted_3, toDisplayString(_ctx.titleText), 1 /* TEXT */)]), withDirectives(createVNode(_component_or_icon_button, {
1514
+ icon: "close",
1515
+ "icon-color": "neutral-6",
1516
+ onClick: _ctx.handleClose
1517
+ }, null, 8 /* PROPS */, ["onClick"]), [[vShow, _ctx.showClose]])])]), renderSlot(_ctx.$slots, "content", {}, () => [createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "default")])]), withDirectives(createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "footer", {
1518
+ close: _ctx.handleClose
1519
+ })], 512 /* NEED_PATCH */), [[vShow, _ctx.$slots.footer]])], 2 /* CLASS */)]),
1520
+
1521
+ _: 3 /* FORWARDED */
1522
+ }, 8 /* PROPS */, ["is-without-background"])])) : createCommentVNode("v-if", true);
1523
+ }
1524
+
1525
+ var css_248z = "/**\n * A simple way to manage mobile breakpoints described in https://davidwalsh.name/write-media-queries-sass.\n * Can be further extended using following approach https://rimdev.io/making-media-query-mixins-with-sass/\n */\n@keyframes spinAround-083760a4 {\nfrom {\n transform: rotate(0);\n}\nto {\n transform: rotate(359deg);\n}\n}\n@keyframes fade-083760a4 {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.or-modal[data-v-083760a4] {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 50;\n width: 100%;\n height: 100%;\n}\n.or-modal .or-overlay[data-v-083760a4] {\n align-items: center;\n justify-content: center;\n}\n.or-modal .container[data-v-083760a4] {\n position: absolute;\n display: flex;\n flex-flow: column;\n max-width: 100%;\n max-height: 80%;\n background-color: var(--c-neutral-0);\n border-radius: var(--s-2);\n outline: none;\n}\n.or-modal .container.is-without-overlay[data-v-083760a4] {\n box-shadow: 0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.1);\n}\n.or-modal .container.is-fullScreen[data-v-083760a4] {\n width: calc(100% - var(--s-7));\n height: calc(100% - var(--s-7));\n max-height: calc(100% - var(--s-7));\n margin: 0 auto;\n}\n.or-modal .container.is-tiny[data-v-083760a4] {\n width: 320px;\n}\n.or-modal .container.is-small[data-v-083760a4] {\n width: 480px;\n}\n.or-modal .container.is-medium[data-v-083760a4] {\n width: 700px;\n}\n.or-modal .container.is-large[data-v-083760a4] {\n width: 1049px;\n}\n.or-modal .container .header[data-v-083760a4] {\n display: flex;\n justify-content: space-between;\n padding: 24px 24px 20px 24px;\n border-radius: var(--s-2) var(--s-2) 0 0;\n}\n.or-modal .container .header .title[data-v-083760a4] {\n font-size: 1.125rem;\n font-weight: bold;\n}\n.or-modal .container .content[data-v-083760a4] {\n flex-grow: 1;\n padding: 0 24px 24px 24px;\n overflow: auto;\n}\n.or-modal .container .footer[data-v-083760a4] {\n padding: 16px 24px 24px 24px;\n border-radius: 0 0 var(--s-2) var(--s-2);\n box-shadow: 0 -3px 4px 0 rgba(0, 0, 0, 0.08);\n}";
1526
+ styleInject(css_248z);
1527
+
1528
+ script.render = render;
1529
+ script.__scopeId = "data-v-083760a4";
1530
+ script.__file = "src/components/or-modal/OrModal.vue";
1531
+
1532
+ export { OrModalSizes as O, script as s, useFocusTrap as u };